Frame 1
setLevel = function (newLevel, newStart_point) {
levelData = newLevel;
start_point = newStart_point;
levelFromEditor = true;
};
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 () {
};
}
};
onUnload = function () {
mdm.Exception.DebugWindow.trace("game.swf unload()");
};
Frame 3
stop();
_global.TRACE_SCRIPT = false;
_quality = "low";
XML.prototype.ignoreWhite = true;
findXmlTag = function (findThis, this_xml) {
var _local1 = 0;
while (_local1 < this_xml.childNodes.length) {
var _local2 = this_xml.childNodes[_local1].nodeName;
if (_local2 == findThis) {
var _local4 = this_xml.childNodes[_local1];
}
_local1++;
}
return(_local4);
};
readXml_getValue = function (newValue) {
var _local4 = null;
var _local7 = newValue.substr(0, 4);
if (_local7 == "bol_") {
var _local8 = newValue.substr(4);
newValue = _local8 == "true";
_local4 = newValue;
} else if (_local7 == "num_") {
var _local8 = newValue.substr(4);
newValue = Number(_local8);
_local4 = newValue;
} else if (_local7 == "str_") {
var _local8 = newValue.substr(4);
newValue = String(_local8);
_local4 = newValue;
} else if (isNaN(Number(newValue))) {
if (newValue == "true") {
_local4 = true;
} else if (newValue == "false") {
_local4 = false;
} else {
var _local5 = "";
var _local6 = String.fromCharCode(10);
var _local3 = 0;
var _local1 = 0;
while (_local1 != undefined) {
_local1 = newValue.indexOf(_local6, _local3);
if (_local1 == -1) {
_local1 = undefined;
}
stringSlice = newValue.slice(_local3, _local1);
_local3 = _local1 + 1;
_local5 = _local5 + stringSlice;
}
newValue = _local5;
_local4 = newValue;
}
} else {
_local4 = Number(newValue);
}
return(_local4);
};
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;
};
emptyObject = function (inputObject) {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
};
getType = function (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);
};
copyObject = function (srcObj, destObj) {
emptyObject(destObj);
for (var _local5 in srcObj) {
var _local1 = srcObj[_local5];
var _local3 = getType(_local1);
if (_local3 == "variable") {
destObj[_local5] = _local1;
}
if (_local3 == "bitmap") {
destObj[_local5] = _local1.clone();
}
if (_local3 == "xml") {
destObj[_local5] = _local1.cloneNode(true);
}
if (_local3 == "array") {
destObj[_local5] = new Array();
copyObject(_local1, destObj[_local5]);
}
if (_local3 == "object") {
destObj[_local5] = new Object();
copyObject(_local1, destObj[_local5]);
}
}
};
_this = this;
_global.ROOT = this;
if (!_global.RAM) {
_global.RAM = {};
}
_global.ROM = {};
_global.SPRITES = {};
_global.HUD.removeMovieClip();
_global.HUD = _this.createEmptyMovieClip("HUD", 7);
HUD.removeAll = function () {
for (var _local1 in HUD) {
HUD[_local1].removeMovieClip();
}
};
HUD.clear = HUD.removeAll;
makeLoopManager = function (parent_mc, instanceName, depth) {
var _this = parent_mc.createEmptyMovieClip(instanceName, depth);
_this.loopSets = new Object();
_this.loop_array = new Array();
_this.loop = function () {
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 = function () {
_this.loop();
};
_this.addObject = function (newObject, setName) {
if (_this.loopSets[setName] == undefined) {
_this.loopSets[setName] = new Array();
}
var _local2 = _this.loopSets[setName];
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) {
var _local2 = _this.loopSets[setName];
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] == findObject) {
_local2.splice(_local1, 1);
}
_local1++;
}
};
_this.removeSet = function (setName) {
delete _this.loopSets[setName];
};
_this.pauseSet = function (setName, pauseValue) {
var _local1 = _this.loopSets[setName];
for (var _local2 in _local1) {
_local1[_local2].isPaused = pauseValue;
}
};
_this.pauseObject = function (myObject, pauseValue) {
myObject.isPaused = pauseValue;
};
return(_this);
};
_global.LOOP = makeLoopManager(_this, "loop_mc", 10);
makeStereoMusic = function (target_mc, newName, newDepth) {
target_mc = ((target_mc != undefined) ? (target_mc) : this);
newName = ((newName != undefined) ? (newName) : "musicSystem_mc");
_global.nextDepth = function (this_mc, maxDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = 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.playSong = 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);
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();
};
_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.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.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();
};
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", 11);
makeSoundSystem = function (target_mc, name, depth) {
target_mc = ((target_mc != undefined) ? (target_mc) : this);
name = ((target_mc != undefined) ? (name) : "soundSystem_mc");
_global.nextDepth = function (this_mc, maxDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = 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;
_this.play = function (soundName, volume, loop) {
if (soundName.length > 0) {
volume = ((volume != undefined) ? (volume) : 100);
loop = ((loop != undefined) ? (loop) : false);
var _local6 = "transformClip_" + Math.floor(Math.random() * 999);
var _local5 = _this.createEmptyMovieClip(_local6, 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(0, 99999);
} else {
new_sound.start();
}
new_sound.remove = function () {
var _local2 = 0;
while (_local2 < _this.sound_array.length) {
if (this == _this.sound_array[_local2]) {
_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.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", 12);
soundLoop = [];
soundLoop.addSound = function (loopName, soundObj) {
for (var _local2 in this) {
if (this[_local2].loopName == loopName) {
this.remove(loopName);
break;
}
}
var _local3 = {loopName:loopName, sound:soundObj};
this.push(_local3);
};
soundLoop.remove = function (loopName) {
for (var _local2 in this) {
if (isNaN(_local2) == false) {
if (this[_local2].loopName == loopName) {
this[_local2].sound.remove();
this.splice(_local2, 1);
}
}
}
};
_global.TRANSITION = this.attachMovie("transition_mc", "transition_mc", 6);
if (!levelFromEditor) {
levelData = {};
}
getDatabaseXml = function (internal_xml) {
readXml(internal_xml.firstChild, ROM);
for (var _local1 in ROM.ram) {
RAM[_local1] = ROM.ram[_local1];
}
RAM.playerSprite = {};
copyObject(ROM.playerSprite, RAM.playerSprite);
startGame();
};
ROOT.internalDatabase.removeMovieClip();
ROOT.internalDatabase._name = null;
ROOT.attachMovie("database.xml", "internalDatabase", 4, {onLoad:getDatabaseXml});
if (internalDatabase == undefined) {
database_xml = new XML();
database_xml.onLoad = function (success) {
if (success) {
getDatabaseXml(database_xml);
}
};
database_xml.load("database.xml");
}
startGame = function () {
if (levelFromEditor) {
_this.attachMovie("game_mc", "game_mc", 0, {start_point:start_point, levelData:levelData});
} else {
_this.attachMovie("titleScreen_mc", "titleScreen_mc", 0);
}
};
callUnload = function (parent) {
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();
parent.removeEventListener("keyDown", parent);
parent.removeEventListener("keyUp", parent);
Key.removeListener(parent);
Mouse.removeListener(parent);
};
level_xml = new XML();
loadLevel = function (filePath, start_point) {
RAM.swfLoader.tempSwf = [];
callUnload(game_mc);
game_mc.removeMovieClip();
level_xml.filePath = filePath;
level_xml.start_point = start_point;
var _local2 = function (internal_xml) {
ROOT.internalLevel.removeMovieClip();
ROOT.internalLevel._name = null;
var _local1 = {};
readXml(internal_xml.firstChild, _local1);
ROOT.attachMovie("game_mc", "game_mc", 0, {start_point:level_xml.start_point, levelData:_local1.level});
};
ROOT.internalLevel.removeMovieClip();
ROOT.internalLevel._name = null;
ROOT.attachMovie(filePath, "internalLevel", 5, {onLoad:_local2});
if (!ROOT.internalLevel) {
level_xml.onLoad = function (success) {
if (success) {
var _local1 = findXmlTag("data", level_xml);
var _local2 = findXmlTag("level", _local1);
readXml(_local2, levelData);
_this.attachMovie("game_mc", "game_mc", 0, {start_point:level_xml.start_point, levelData:levelData});
}
};
level_xml.load(filePath);
}
};
RAM.gameId = "humbird0_rpg";
emptyObject = function (inputObject) {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
};
getType = function (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);
};
copyObject = function (srcObj, destObj) {
emptyObject(destObj);
for (var _local5 in srcObj) {
var _local1 = srcObj[_local5];
var _local3 = getType(_local1);
if (_local3 == "variable") {
destObj[_local5] = _local1;
}
if (_local3 == "bitmap") {
destObj[_local5] = _local1.clone();
}
if (_local3 == "xml") {
destObj[_local5] = _local1.cloneNode(true);
}
if (_local3 == "array") {
destObj[_local5] = new Array();
copyObject(_local1, destObj[_local5]);
}
if (_local3 == "object") {
destObj[_local5] = new Object();
copyObject(_local1, destObj[_local5]);
}
}
};
storeSave = function (saveData, gameId) {
gameId = (gameId ? (gameId) : "humbird0_rpg");
if (saveData) {
var _local1 = SharedObject.getLocal(gameId);
_local1.clear();
_local1.data.ram = {};
copyObject(RAM, _local1.data.ram);
var _local2 = _local1.flush();
if (_local2 == true) {
return(true);
}
trace("Save Failed");
return(false);
}
};
saveGame = function (gameId) {
if (ROOT.level_xml.filePath) {
RAM.saveSettings = {};
RAM.saveSettings.level = ROOT.level_xml.filePath;
if (SPRITES.player) {
var _local2 = SPRITES.player.image.getParams();
if (_local2) {
RAM.playerSprite = _local2;
}
RAM.saveSettings.playerPosition = {x:SPRITES.player._x, y:SPRITES.player._y};
}
RAM.saveSettings.music = {songName:MUSIC.songName, isPlaying:MUSIC.isPlaying, volume:MUSIC.volume, songVolume:MUSIC.songVolume};
RAM.saveSettings.sound = {volume:SOUND.volume};
var _local1 = {};
copyObject(RAM, _local1);
var _local3 = storeSave(_local1, gameId);
}
return(_local3);
};
emptyObject = function (inputObject) {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
};
getType = function (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);
};
copyObject = function (srcObj, destObj) {
emptyObject(destObj);
for (var _local5 in srcObj) {
var _local1 = srcObj[_local5];
var _local3 = getType(_local1);
if (_local3 == "variable") {
destObj[_local5] = _local1;
}
if (_local3 == "bitmap") {
destObj[_local5] = _local1.clone();
}
if (_local3 == "xml") {
destObj[_local5] = _local1.cloneNode(true);
}
if (_local3 == "array") {
destObj[_local5] = new Array();
copyObject(_local1, destObj[_local5]);
}
if (_local3 == "object") {
destObj[_local5] = new Object();
copyObject(_local1, destObj[_local5]);
}
}
};
restoreData = function (loadedData) {
if (loadedData) {
ROOT.game_mc.removeMovieClip();
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);
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();
}
ROOT.loadLevel(RAM.saveSettings.level, RAM.saveSettings.playerPosition);
var removeSwf = function (swfCommand) {
var command_obj = {};
getImpliedValue = function (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);
};
resolveContainer = function (containerName, thisRef) {
thisRef = (thisRef ? (thisRef) : 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);
};
resolveContainerStr = function (containerName, thisName) {
thisName = (thisName ? (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]) {
_local2 = containerName;
}
return(_local2);
};
evalPath = function (inputPath, defaultContainer_str, thisName) {
var thisName = (thisName ? (thisName) : "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = thisName;
}
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(this, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
};
nestedEval = function (inputPath, defaultContainer_str, thisName) {
if (typeof(inputPath) == "string") {
thisName = (thisName ? (thisName) : "this");
inputPath = String(inputPath);
var _local10 = "";
if (!defaultContainer_str) {
defaultContainer_str = "this";
}
var _local6 = inputPath.split("[");
var _local1 = _local6.length - 1;
while (_local1 > 0) {
var _local2 = _local6[_local1] + _local10;
var _local3 = _local2.indexOf("]");
_local10 = _local2.substr(_local3 + 1);
var _local5 = _local2.substr(0, _local3);
var _local4 = evalPath(_local5, defaultContainer_str, thisName);
_local10 = _local4 + _local10;
_local1--;
}
_local10 = _local6[0] + _local10;
} else {
var _local10 = inputPath;
}
return(_local10);
};
command_obj.run = function (thisCommand_obj, preserveSwfloader) {
if (!preserveSwfloader) {
ROOT.swfLoader.remove(thisCommand_obj.data);
}
if (TRACE_SCRIPT) {
trace("removeSwf");
}
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);
}
var targetName = nestedEval(thisCommand_obj.data.name, "RAM", "_this");
if (target_str == "SPRITES") {
target[targetName].remove();
}
target[targetName].unload();
target[targetName].onUnload();
target[targetName].removeMovieClip();
target[targetName]._name = null;
thisCommand_obj.nextEvent();
} else {
if (TRACE_SCRIPT) {
trace("\t too early, wait for 1 millisecond");
}
setTimeout(thisCommand_obj.run, autoDelay, thisCommand_obj);
}
};
command_obj.data = swfCommand;
var startTime = 0;
command_obj.run(command_obj, true);
};
var s = (RAM.swfLoader.permSwf.length - 1);
while (s >= 0) {
removeSwf(RAM.swfLoader.permSwf[s]);
s--;
}
var restoreSwf = function (swfCommand) {
var command_obj = {};
_global.nextDepth = function (this_mc, maxDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = 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);
};
emptyObject = function (inputObject) {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
};
getType = function (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);
};
copyObject = function (srcObj, destObj) {
emptyObject(destObj);
for (var _local5 in srcObj) {
var _local1 = srcObj[_local5];
var _local3 = getType(_local1);
if (_local3 == "variable") {
destObj[_local5] = _local1;
}
if (_local3 == "bitmap") {
destObj[_local5] = _local1.clone();
}
if (_local3 == "xml") {
destObj[_local5] = _local1.cloneNode(true);
}
if (_local3 == "array") {
destObj[_local5] = new Array();
copyObject(_local1, destObj[_local5]);
}
if (_local3 == "object") {
destObj[_local5] = new Object();
copyObject(_local1, destObj[_local5]);
}
}
};
getImpliedValue = function (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);
};
resolveContainer = function (containerName, thisRef) {
thisRef = (thisRef ? (thisRef) : 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);
};
resolveContainerStr = function (containerName, thisName) {
thisName = (thisName ? (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]) {
_local2 = containerName;
}
return(_local2);
};
evalPath = function (inputPath, defaultContainer_str, thisName) {
var thisName = (thisName ? (thisName) : "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = thisName;
}
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(this, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
};
nestedEval = function (inputPath, defaultContainer_str, thisName) {
if (typeof(inputPath) == "string") {
thisName = (thisName ? (thisName) : "this");
inputPath = String(inputPath);
var _local10 = "";
if (!defaultContainer_str) {
defaultContainer_str = "this";
}
var _local6 = inputPath.split("[");
var _local1 = _local6.length - 1;
while (_local1 > 0) {
var _local2 = _local6[_local1] + _local10;
var _local3 = _local2.indexOf("]");
_local10 = _local2.substr(_local3 + 1);
var _local5 = _local2.substr(0, _local3);
var _local4 = evalPath(_local5, defaultContainer_str, thisName);
_local10 = _local4 + _local10;
_local1--;
}
_local10 = _local6[0] + _local10;
} else {
var _local10 = inputPath;
}
return(_local10);
};
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);
};
command_obj.run = function (thisCommand_obj, skipSwfloader) {
var _local4 = evalPath(thisCommand_obj.data.target, "RAM", "_this");
var _local3 = nestedEval(thisCommand_obj.data.name, "RAM", "_this");
var _local5 = 0;
if ((_local3 == "") || (_local3 == undefined)) {
do {
_local3 = "swf_" + _local5;
_local5++;
} while (_local4[_local3]);
}
if (TRACE_SCRIPT) {
trace((("swf: " + _local3) + " waitForEnd: ") + thisCommand_obj.data.waitForEnd);
}
var _local7 = ((thisCommand_obj.data.depth == -1) ? (nextDepth(_local4)) : (nestedEval(thisCommand_obj.data.depth, "RAM", "_this")));
var _local8 = {};
copyObject(thisCommand_obj.data, _local8);
_local8.name = _local3;
_local8.depth = _local7;
if (!skipSwfloader) {
ROOT.swfLoader.add(_local8);
}
var swfLoader = new MovieClipLoader();
swfLoader.commandData = thisCommand_obj.data.data;
swfLoader.nextEvent = thisCommand_obj.nextEvent;
swfLoader.waitForEnd = thisCommand_obj.data.waitForEnd;
_local4[_local3].removeMovieClip();
var _local10 = _local4.getInstanceAtDepth(_local7);
_local10.removeMovieClip();
var _local6 = thisCommand_obj.data.linkage;
_local6 = nestedEval(_local6, "RAM", "_this");
var _local11 = false;
_local4.attachMovie(_local6, _local3, _local7);
if ((_local4[_local3] == _local4) || (_local4[_local3] == undefined)) {
_local4.createEmptyMovieClip(_local3, _local7);
var _local12 = flash.display.BitmapData.loadBitmap(_local6);
_local4[_local3].attachBitmap(_local12, 0);
if ((_local4[_local3]._width == undefined) || (_local4[_local3]._width == 0)) {
_local11 = true;
} else {
thisCommand_obj.data.waitForEnd = false;
}
}
swfLoader.passData = function (newClip, commandData) {
newClip.parentSprite = _this;
for (var _local4 in commandData) {
var _local1 = nestedEval(commandData[_local4], "RAM", "_this");
_local1 = makeStringObject(_local1, "RAM", "_this");
newClip[_local4] = _local1;
}
newClip.onClose = function () {
ROOT.swfLoader.remove(thisCommand_obj.data);
};
newClip.onData();
};
swfLoader.detectLastFrame = function (newClip, nextEvent) {
newClip.detectLastFrame = {parent:newClip, nextEvent:nextEvent, swfData:thisCommand_obj.data, loop:function (thisObj) {
if ((thisObj.parent._currentframe == thisObj.parent._totalframes) || (thisObj.parent._currentframe == undefined)) {
ROOT.swfLoader.remove(thisObj.swfData);
clearInterval(thisObj.intervalId);
thisObj.nextEvent();
}
}, intervalId:null, start:function () {
if (this.intervalId != null) {
clearInterval(this.intervalId);
}
this.intervalId = setInterval(this.loop, 34, this);
}};
newClip.detectLastFrame.start();
};
if (_local11) {
swfLoader.onLoadInit = function (newClip) {
swfLoader.passData(newClip, this.commandData);
if (swfLoader.waitForEnd) {
swfLoader.detectLastFrame(newClip, this.nextEvent);
}
delete swfLoader;
};
swfLoader.onLoadError = function (newClip) {
this.unloadClip(newClip);
newClip.removeMovieClip();
delete swfLoader;
};
swfLoader.loadClip(_local6, _local4[_local3]);
} else {
swfLoader.passData(_local4[_local3], swfLoader.commandData);
if (swfLoader.waitForEnd) {
swfLoader.detectLastFrame(_local4[_local3], thisCommand_obj.nextEvent);
}
delete swfLoader;
}
if (thisCommand_obj.data.waitForEnd == false) {
thisCommand_obj.nextEvent();
}
};
command_obj.data = swfCommand;
command_obj.run(command_obj, true);
};
var s = 0;
while (s < RAM.swfLoader.permSwf.length) {
restoreSwf(RAM.swfLoader.permSwf[s]);
s++;
}
var s = 0;
while (s < RAM.swfLoader.tempSwf.length) {
restoreSwf(RAM.swfLoader.tempSwf[s]);
s++;
}
}
};
loadGame = function (gameId) {
gameId = (gameId ? (gameId) : "humbird0_pokemon");
var _local1 = SharedObject.getLocal(gameId);
if (_local1.data.ram) {
restoreData(_local1.data.ram);
}
};
RAM.swfLoader = {tempSwf:[], permSwf:[]};
ROOT.swfLoader = {tempContainers:["MAP", "PANORAMA", "UNDERLAY", "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 (swfData) {
var _local2 = this.getStorage(swfData.target);
var _local3 = this.findCommand(_local2, swfData);
if (_local3 == undefined) {
_local2.push(swfData);
} else {
_local2[_local3] = swfData;
}
}, remove:function (swfData) {
var _local3 = this.getStorage(swfData.target);
var _local2 = this.findCommand(_local3, swfData);
if (_local2 != undefined) {
_local3.splice(_local2, 1);
}
}};
onUnload = function () {
mdm.Exception.DebugWindow.trace("game unload()");
_this.game_mc.removeMovieClip();
_global.ROOT = null;
delete _global.ROOT;
_global.RAM = null;
delete _global.RAM;
_global.ROM = null;
delete _global.ROM;
_global.MAP = null;
delete _global.MAP;
_global.SPRITES = null;
delete _global.SPRITES;
_global.PANORAMA = null;
delete _global.PANORAMA;
_global.UNDERLAY = null;
delete _global.UNDERLAY;
_global.OVERLAY = null;
delete _global.OVERLAY;
_global.HUD = null;
delete _global.HUD;
_global.TRANSITION = null;
delete _global.TRANSITION;
_global.LOOP = null;
delete _global.LOOP;
MUSIC.stopMusic();
_global.MUSIC = null;
delete _global.MUSIC;
SOUND.stopAll();
_global.SOUND = null;
delete _global.SOUND;
};
Symbol 9 MovieClip [loadInterface1] Frame 1
Symbol 20 MovieClip [loadInterface0] Frame 1
this.onEnterFrame = function () {
glow_mc._x = fill_mc._x + fill_mc._width;
};
Symbol 26 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 28 MovieClip [imageLoader] Frame 1
#initclip 42
Object.registerClass("imageLoader", mx.core.UIComponent);
#endinitclip
_this = this;
stop();
fullWidth = __width;
fullHeight = __height;
fullRatio = fullWidth / fullHeight;
imageScale = 100;
nextFrame();
_global.nextDepth = function (this_mc, maxDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = 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);
};
loadImage = function (file, target, newName, newDepth) {
target = (target ? (target) : this);
newDepth = ((newDepth != undefined) ? (newDepth) : (nextDepth(target)));
newName = (newName ? (newName) : ("image_" + newDepth));
if (target[newName]) {
target[newName].removeMovieClip();
}
target[newName].unloadMovie();
var _local4 = target.attachMovie(file, newName, newDepth);
_local4 = target[newName];
if (((_local4 == target) || (_local4._width == undefined)) || (_local4._width == 0)) {
_local4 = target.createEmptyMovieClip(newName, newDepth);
var _local8 = flash.display.BitmapData.loadBitmap(file);
_local4.attachBitmap(_local8, 0, true, true);
if ((_local4._width == undefined) || (_local4._width == 0)) {
var _local6 = new MovieClipLoader();
_local6.loadClip(file, _local4);
return(_local6);
}
}
};
resizeImage = function () {
if (scaleContent) {
var _local2 = image_mc._width / image_mc._height;
if (_local2 >= fullRatio) {
var _local1 = (fullWidth * 100) / image_mc._width;
} else {
var _local1 = (fullHeight * 100) / image_mc._height;
}
imageScale = _local1;
image_mc._xscale = (image_mc._yscale = _local1);
}
};
initFile = file;
_file = "";
_this.getFile = function () {
return(_file);
};
_this.setFile = function (newValue, doEvent) {
_file = newValue;
loader = loadImage(newValue, _this, "image_mc", 0);
success = function () {
_this.resizeImage();
_this.dispatchEvent({type:"complete"});
_this.complete();
};
loader.onLoadInit = success;
if (!loader) {
success();
}
loader.onLoadError = function () {
_this.dispatchEvent({type:"error"});
_this.error();
};
};
_this.addProperty("file", _this.getFile, _this.setFile);
file = initFile;
Symbol 30 MovieClip [textbox_mc] Frame 1
stop();
_this = this;
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);
}
};
makeProperty("closeOnSpace", true);
makeProperty("closeOnClick", true);
makeProperty("typeDelay", 0);
makeProperty("skipKey", 16);
makeProperty("typingSound", "");
makeProperty("soundSystem", SOUND);
get_background = function () {
return(bg.image);
};
set_background = function (newValue, doEvent) {
bg.image = newValue;
};
makeProperty("background");
var offset = 16;
faceLoader = new MovieClipLoader();
minTextWidth = 240;
minTextOffset = 72;
maxTextWidth = 296;
maxTextOffset = 16;
set_face = function (newValue, doEvent) {
face_mc.complete = function () {
var _local2 = face_mc._x + face_mc._width;
var _local1 = maxTextWidth - face_mc._width;
_this.message_txt._width = _local1;
_this.message_txt._x = _local2;
};
face_mc.error = function () {
var _local2 = face_mc._x;
var _local1 = maxTextWidth;
_this.message_txt._width = _local1;
_this.message_txt._x = _local2;
};
face_mc.file = newValue;
};
makeProperty("face");
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) {
var _local3 = 0;
var _local6 = String.fromCharCode(10);
while (newValue.indexOf(_local6, _local3) != -1) {
var _local2 = newValue.indexOf(_local6, _local3);
var _local5 = newValue.slice(0, _local2);
var _local4 = newValue.slice(_local2 + 1);
newValue = _local5 + _local4;
_local3 = _local2;
}
_local3 = 0;
_local6 = String.fromCharCode(13);
while (newValue.indexOf(_local6, _local3) != -1) {
var _local2 = newValue.indexOf(_local6, _local3);
var _local5 = newValue.slice(0, _local2);
var _local4 = newValue.slice(_local2 + 1);
newValue = (_local5 + "\\n") + _local4;
_local3 = _local2;
_local3 = _local3 + 2;
}
_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;
setTimeout(_this.typeMessage, 34);
}
};
typeMessage = function () {
if (!_this.doneTyping) {
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 != 32) {
_this.soundSystem.play(_this.typingSound);
_this.forceSound = false;
}
}
_this._html = _this._html + _local1;
}
_this.message_txt.htmlText = _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;
_this.messageDone();
}
}
};
makeProperty("text");
instantDisplay = initInstantDisplay;
if (_this.instantDisplay) {
clearTimeout(_this.delayTimeout);
setTimeout(_this.typeMessage, 34);
}
closeTriggers = {};
close = function () {
if (_this.doneTyping) {
_this.nextFrame();
}
};
closeTriggers.onMouseUp = function () {
if (_this.closeOnClick) {
close();
}
if (_this.waitForClick) {
_this.waitForClick = false;
typeMessage();
}
};
Mouse.addListener(closeTriggers);
if (Key.isDown(32) || (Key.isDown(27))) {
waitForInitRelease = true;
}
closeTriggers.onKeyUp = function () {
var _local1 = Key.getCode();
if (!waitForInitRelease) {
if (Key.isDown(16)) {
_this.waitForClick = false;
clearTimeout(_this.delayTimeout);
_this.typeMessage();
}
if ((((_local1 == 32) || (_local1 == 27)) && (_this.closeOnSpace)) && (!_this.waitForClick)) {
close();
}
if (_this.waitForClick) {
_this.waitForClick = false;
typeMessage();
}
} else if (!(Key.isDown(32) || (Key.isDown(27)))) {
waitForInitRelease = false;
}
};
Key.addListener(closeTriggers);
onUnload = function () {
clearTimeout(_this.delayTimeout);
Mouse.removeListener(closeTriggers);
Key.removeListener(closeTriggers);
};
Instance of Symbol 26 MovieClip "bg" in Symbol 30 MovieClip [textbox_mc] Frame 1
//component parameters
onClipEvent (construct) {
image = "";
}
Instance of Symbol 28 MovieClip [imageLoader] "face_mc" in Symbol 30 MovieClip [textbox_mc] Frame 1
//component parameters
onClipEvent (construct) {
file = "";
enabled = true;
visible = true;
scaleContent = false;
}
Symbol 30 MovieClip [textbox_mc] Frame 2
stop();
_name = "";
_this.onClose();
removeThis = function (_this) {
_this.onUnload();
_this.removeMovieClip();
};
setTimeout(removeThis, 34, this);
Symbol 33 MovieClip [loadSwf] Frame 1
_this = this;
image.file = data.file;
Instance of Symbol 28 MovieClip [imageLoader] "image" in Symbol 33 MovieClip [loadSwf] Frame 1
//component parameters
onClipEvent (construct) {
file = "";
enabled = true;
visible = true;
scaleContent = false;
}
Symbol 44 MovieClip [BrdrShdw] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "shadowColor");
Symbol 46 MovieClip [BrdrFace] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "buttonColor");
Symbol 49 MovieClip [BrdrBlk] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "borderColor");
Symbol 51 MovieClip [BrdrHilght] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "highlightColor");
Symbol 54 MovieClip [Defaults] Frame 1
#initclip 29
Object.registerClass("Defaults", mx.skins.halo.Defaults);
#endinitclip
Symbol 55 MovieClip [UIObjectExtensions] Frame 1
#initclip 30
Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions);
#endinitclip
Symbol 56 MovieClip [UIObject] Frame 1
#initclip 31
Object.registerClass("UIObject", mx.core.UIObject);
#endinitclip
stop();
Symbol 59 Button
on (keyPress "<Tab>") {
this.tabHandler();
}
Symbol 60 MovieClip Frame 1
#initclip 32
Object.registerClass("FocusManager", mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--);
}
#endinitclip
Symbol 61 MovieClip [FocusRect] Frame 1
#initclip 33
Object.registerClass("FocusRect", mx.skins.halo.FocusRect);
#endinitclip
Symbol 62 MovieClip [FocusManager] Frame 1
#initclip 34
Object.registerClass("FocusManager", mx.managers.FocusManager);
#endinitclip
stop();
Symbol 63 MovieClip [UIComponentExtensions] Frame 1
#initclip 35
Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions);
#endinitclip
Symbol 64 MovieClip [UIComponent] Frame 1
#initclip 36
Object.registerClass("UIComponent", mx.core.UIComponent);
#endinitclip
stop();
Symbol 65 MovieClip [SimpleButton] Frame 1
#initclip 37
Object.registerClass("SimpleButton", mx.controls.SimpleButton);
#endinitclip
stop();
Symbol 66 MovieClip [Border] Frame 1
#initclip 38
Object.registerClass("Border", mx.skins.Border);
#endinitclip
stop();
Symbol 67 MovieClip [RectBorder] Frame 1
#initclip 39
mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder));
Object.registerClass("RectBorder", mx.skins.halo.RectBorder);
#endinitclip
stop();
Symbol 68 MovieClip [ButtonSkin] Frame 1
#initclip 40
Object.registerClass("ButtonSkin", mx.skins.halo.ButtonSkin);
#endinitclip
Symbol 69 MovieClip [Button] Frame 1
#initclip 41
Object.registerClass("Button", mx.controls.Button);
#endinitclip
stop();
Instance of Symbol 65 MovieClip [SimpleButton] in Symbol 69 MovieClip [Button] Frame 2
//component parameters
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 37 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 70 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 71 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 73 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 72 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 38 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 186 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 187 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 188 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 189 MovieClip [__Packages.WalkCollisionSystem] Frame 0
class WalkCollisionSystem
{
var collisionMethods, player_mc, walk_obj, xOffset, yOffset;
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);
}
function run() {
var _local2 = 0;
while (_local2 < collisionMethods.length) {
collisionMethods[_local2].call(this);
_local2++;
}
}
}
Symbol 39 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 40 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 74 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 75 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 76 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 77 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 78 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 79 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 80 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 81 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 82 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 83 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 84 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 85 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 86 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 87 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 88 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 89 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 93 MovieClip [levels\wolf orphanage\_init.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\wolf orphanage\\_init.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><1 name=\"str_rpgSprite_0\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><1 transition=\"str_transition_cut\" level=\"str_levels\\wolf orphanage\\orphanageInner.lvl\" type=\"str_teleport\" relativeLevel=\"str_orphanageInner.lvl\" xmlType=\"object\"><position y=\"num_192\" x=\"num_400\" xmlType=\"object\" /></1><0 type=\"str_setVariable\" update=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_1\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_story\" xmlType=\"variable\" /></condition></0></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></1><0 name=\"str_plan\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_24\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><17 message=\"str_pretend to be an orphanage... that's always closed\" type=\"str_comment\" xmlType=\"object\" /><16 message=\"str_wolves in charge\" type=\"str_comment\" xmlType=\"object\" /><15 message=\"str_mistriss didn't bother to come back\" type=\"str_comment\" xmlType=\"object\" /><14 message=\"str_orphanage is unlocked\" type=\"str_comment\" xmlType=\"object\" /><13 message=\"str_hunters seemingly drive off wolves,\rwolves hide in orphanage\" type=\"str_comment\" xmlType=\"object\" /><12 message=\"str_they start picking favorite wolves\" type=\"str_comment\" xmlType=\"object\" /><11 message=\"str_they get used to the routine\" type=\"str_comment\" xmlType=\"object\" /><10 message=\"str_wolves bring food for them\" type=\"str_comment\" xmlType=\"object\" /><9 message=\"str_getting low on food\" type=\"str_comment\" xmlType=\"object\" /><8 message=\"str_wolves come and go as they please\" type=\"str_comment\" xmlType=\"object\" /><7 message=\"str_no escape, so get it over with quicklly\" type=\"str_comment\" xmlType=\"object\" /><6 message=\"str_nobody knows how they get in or out\" type=\"str_comment\" xmlType=\"object\" /><5 message=\"str_wolf sneaks in\" type=\"str_comment\" xmlType=\"object\" /><4 message=\"str_girls think they're safe\" type=\"str_comment\" xmlType=\"object\" /><3 message=\"str_lock buildings\" type=\"str_comment\" xmlType=\"object\" /><2 message=\"str_everyone supposedly evacuated\" type=\"str_comment\" xmlType=\"object\" /><1 message=\"str_wolf raid\" type=\"str_comment\" xmlType=\"object\" /><0 message=\"str_mistriss is lazy\" type=\"str_comment\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_2\" height=\"num_1\" chipset=\"str_chipset\\basis.png\" collision=\"str__00\" xmlType=\"object\"><layers xmlType=\"array\"><0 value=\"str__0000\" xmlType=\"variable\" /></layers></map></level></data>";
data = new XML(data_txt);
onLoad(data);
Symbol 94 MovieClip [levels\wolf orphanage\bathroom.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\wolf orphanage\\bathroom.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><9 name=\"str_EVENTS_11\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_24\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_story=11\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_theEnd\" linkage=\"str_swf\\theEnd.swf\" type=\"str_swf\" xmlType=\"object\"><data y=\"str_0\" x=\"str_0\" level=\"str_levels\\wolf orphanage\\_init.lvl\" replay=\"str_true\" xmlType=\"object\" /></14><13 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><12 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_\\.Hey,\\. stop struggling.\\2\rYou act like you've never been\rfucked by a wolf before.\" type=\"str_textbox\" xmlType=\"object\" /></12><11 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><10 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><9 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_160\" x=\"num_120\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\nude\\walk.png\" animDirection=\"num_1\" xmlType=\"object\" /></0></9><8 type=\"str_move\" sprite=\"str_julia\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_144\" x=\"num_56\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_10\" 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\\julia\\nude\\sleep2.png\" animDirection=\"num_1\" xmlType=\"object\" /></0></8><7 type=\"str_move\" sprite=\"str_wolf_2\" xmlType=\"array\"><2 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_128\" x=\"num_166\" xmlType=\"object\" /></2><1 value=\"bol_true\" type=\"str_anim\" xmlType=\"object\" /><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></7><6 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_160\" x=\"num_152\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_4\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\kara\\nude\\ride.png\" animDirection=\"num_1\" xmlType=\"object\" /></0></6><5 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_129\" x=\"num_200\" xmlType=\"object\" /></1><0 value=\"bol_true\" type=\"str_anim\" xmlType=\"object\" /></5><4 type=\"str_move\" sprite=\"str_lilly\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_128\" x=\"num_200\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_0\" directions=\"num_1\" charset=\"str_charset\\lilly\\dressed\\splitScrew.png\" animDirection=\"num_1\" xmlType=\"object\" /></0></4><3 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_128\" x=\"num_120\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\marle\\nude\\mountWolf.png\" animDirection=\"num_1\" xmlType=\"object\" /></0></3><2 message=\"str_wolves in charge\" type=\"str_comment\" xmlType=\"object\" /><1 isPaused=\"bol_true\" system=\"str_player\" type=\"str_pause\" xmlType=\"object\" /><0 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></9><8 name=\"str_marle\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\marle\\dressed\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_104\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_5\" 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\\marle\\dressed\\walk.png\" xmlType=\"object\" /></data></8><7 name=\"str_cum\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\cum_splatter.png\" direction=\"num_3\" directions=\"num_4\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_2\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_104\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" rows=\"num_1\" columns=\"num_2\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\cum_splatter.png\" xmlType=\"object\" /></data></7><6 name=\"str_wolf_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\wolf.png\" direction=\"num_0\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_88\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\wolf.png\" xmlType=\"object\" /></data></6><5 name=\"str_lilly\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\lilly\\dressed\\walk.png\" direction=\"num_0\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_88\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\lilly\\dressed\\walk.png\" xmlType=\"object\" /></data></5><4 name=\"str_red\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\ridingHood\\nightie\\walk.png\" direction=\"num_0\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_56\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\nightie\\walk.png\" xmlType=\"object\" /></data></4><3 name=\"str_kara\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\kara\\dressed\\walk.png\" direction=\"num_0\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_56\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /></data></3><2 name=\"str_wolf_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\wolf.png\" direction=\"num_0\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_72\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\wolf.png\" xmlType=\"object\" /></data></2><1 name=\"str_julia\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\julia\\nude\\walk.png\" direction=\"num_0\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_72\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\julia\\nude\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS_4\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_story=4\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><62 message=\"str_wolves come and go as they please\" type=\"str_comment\" xmlType=\"object\" /><61 transition=\"str_transition_fade\" level=\"str_levels\\wolf orphanage\\bedroom.lvl\" type=\"str_teleport\" relativeLevel=\"str_bedroom.lvl\" xmlType=\"object\"><position y=\"num_160\" x=\"num_768\" xmlType=\"object\" /></61><60 type=\"str_setVariable\" update=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_5\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_story\" xmlType=\"variable\" /></condition></60><59 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><58 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_blackFade.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_78\" text=\"str_\\#ffffffFrom that day on,\\.\rwolves ruled the orphanage.\" type=\"str_textbox\" xmlType=\"object\" /></58><57 target=\"str_OVERLAY\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_fadeOut\" linkage=\"str_swf\\fadeOut.swf\" type=\"str_swf\" xmlType=\"object\"><data _alpha=\"str_50\" xmlType=\"object\" /></57><56 value=\"num_3\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><55 name=\"str_myLoopingSound\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\sx_surprise3.mp3\" type=\"str_sound\" xmlType=\"object\" /><54 name=\"str_myLoopingSound\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\sx_screwing.mp3\" type=\"str_sound\" xmlType=\"object\" /><53 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_0\" directions=\"num_1\" charset=\"str_charset\\kara\\dressed\\screw.png\" xmlType=\"object\" /></0></53><52 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><1 duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\mountWolf.png\" xmlType=\"object\" /></0></52><51 value=\"str_wolf_2\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><50 type=\"str_move\" sprite=\"str_wolf_2\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\invisible.png\" xmlType=\"object\" /></1><0 duration=\"num_0.195169197428795\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-1\" x=\"num_24\" xmlType=\"object\" /></0></50><49 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><1 value=\"bol_true\" type=\"str_anim\" xmlType=\"object\" /><0 duration=\"num_0.251875\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-31\" x=\"num_0\" xmlType=\"object\" /></0></49><48 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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 do they want?\" type=\"str_textbox\" xmlType=\"object\" /></48><47 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></47><46 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><45 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><1 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><0 duration=\"num_0.183847763108502\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_-16\" xmlType=\"object\" /></0></45><44 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_1\" directions=\"num_3\" charset=\"str_charset\\kara\\dressed\\mpose_sleep.png\" xmlType=\"object\" /></0></44><43 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_\\.Er...\\. Here you go.\" type=\"str_textbox\" xmlType=\"object\" /></43><42 value=\"str_kara\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><41 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><6 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_0\" directions=\"num_3\" charset=\"str_charset\\kara\\dressed\\mpose_awake.png\" xmlType=\"object\" /></6><5 value=\"num_0.3\" type=\"str_moveWait\" xmlType=\"object\" /><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_1\" directions=\"num_5\" charset=\"str_charset\\kara\\dressed\\underSkirt.png\" xmlType=\"object\" /></4><3 value=\"num_0.3\" type=\"str_moveWait\" xmlType=\"object\" /><2 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><1 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_5\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\kara\\dressed\\walk.png\" animDirection=\"num_1\" xmlType=\"object\" /></0></41><40 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_\\.N\\.-Nice wolfie...\" type=\"str_textbox\" xmlType=\"object\" /></40><39 value=\"str_kara\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><38 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><1 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_5\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_0\" directions=\"num_1\" charset=\"str_charset\\kara\\dressed\\liftDress.png\" animDirection=\"num_1\" xmlType=\"object\" /></0></38><37 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><36 value=\"str_wolf_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><35 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><0 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></35><34 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><33 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_\\.W\\.-Whatever they want us to.\" type=\"str_textbox\" xmlType=\"object\" /></33><32 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></32><31 message=\"str_no escape, so get it over with quicklly\" type=\"str_comment\" xmlType=\"object\" /><30 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><29 value=\"str_wolf_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><28 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><3 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 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 value=\"num_0.2\" type=\"str_moveWait\" xmlType=\"object\" /><0 duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></0></28><27 type=\"str_move\" sprite=\"str_julia\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\julia\\nude\\squirmScrew.png\" xmlType=\"object\" /></0></27><26 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_120\" x=\"num_168\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_2\" frame=\"num_0\" frames=\"num_1\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\cum_splatter.png\" animDirection=\"num_1\" xmlType=\"object\" /></0></26><25 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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 do we do?\" type=\"str_textbox\" xmlType=\"object\" /></25><24 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></24><23 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><22 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_The whole orphanage is full of wolves.\rWe're trapped!\" type=\"str_textbox\" xmlType=\"object\" /></22><21 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><5 value=\"num_0.3\" type=\"str_moveWait\" xmlType=\"object\" /><4 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><3 value=\"num_0.3\" type=\"str_moveWait\" xmlType=\"object\" /><2 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><1 value=\"num_0.3\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_right\" 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_textbox_mc\" 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_Eep!\" type=\"str_textbox\" xmlType=\"object\" /></19><18 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><0 duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></0></18><17 value=\"str_red\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><16 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><1 duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></1><0 value=\"num_0.3\" type=\"str_moveWait\" xmlType=\"object\" /></16><15 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><1 duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-32\" xmlType=\"object\" /></1><0 value=\"num_0.2\" type=\"str_moveWait\" xmlType=\"object\" /></15><14 type=\"str_move\" sprite=\"str_wolf_2\" xmlType=\"array\"><3 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /><2 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 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_208\" x=\"num_72\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\wolf.png\" xmlType=\"object\" /></0></14><13 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_A wolf?\\.\\.\rHere??\\!\rBut...\\. How did it get in!?\" type=\"str_textbox\" xmlType=\"object\" /></13><12 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><0 duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></0></12><11 message=\"str_nobody knows how they get in or out\" type=\"str_comment\" 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_textbox_mc\" 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_A wolf!\" type=\"str_textbox\" xmlType=\"object\" /></9><8 value=\"str_kara\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><7 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><4 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><3 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 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 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_208\" x=\"num_72\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\kara\\dressed\\walk.png\" xmlType=\"object\" /></0></7><6 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><4 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 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 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_208\" x=\"num_72\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\" /></0></6><5 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><4 name=\"str_myLoopingSound\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\sx_screwing.mp3\" type=\"str_sound\" xmlType=\"object\" /><3 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_113\" x=\"num_168\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" 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\\wolf.png\" xmlType=\"object\" /></0></3><2 type=\"str_move\" sprite=\"str_julia\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_112\" x=\"num_168\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" 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\\julia\\nude\\squirmScrew.png\" xmlType=\"object\" /></0></2><1 isPaused=\"bol_true\" system=\"str_player\" type=\"str_pause\" xmlType=\"object\" /><0 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_true\" de";
data_txt = data_txt + "lay=\"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\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\spo.png\" collision=\"str__111111111111111111111111111111111111111111111111111100011111111111100000011111111110011111111111100011111111111100011111111111110011111111111100011111111111100011111111111110011111111111100011111111111100011111111111110011111111111100011111111111111111111111111111111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__00000000byby00000000000000000000000000byby00000000000000000000000000bzbz0000000000bybybyby0000000000000000000000bybybyby0000000000000000000000bybybyby00000000byby0000000000bybybyby0000000000000000000000bybybyby000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><1 value=\"str__0000000000000000000000000000by0000000000000000000000000000by00000000000000000000000000000000000000000000c70000000000000000000000000000c800000000000000000000000000000000000000000000000000007a820000000000000000000000000081830000000000000000by0000000000000000000000000000by000000007a820000000000000000by0000000081830000000000000000by0000000000000000000000000000by000000007a820000000000000000by0000000081830000000000000000by0000000000000000000000000000by00000000007b8500000000000000by0000000000000000000000000000by0000000000000000000000000000by0000000000000000000000000000by0000000000000000000000000000by\" xmlType=\"variable\" /><0 value=\"str__bybybyby1616bybybybybybybybybybybybyby1616bybybybybybybybybybybybyby1616bzbzbzbzby16161616bybybycs2828c0161616b516161616bybybycs2828c11717171716161616bybybyby16169k9k1616b316161616bybybycs9k9k9i171717b416161616bybybycs9k9k9j161616b4bybybybybybybybybyby9k9k1717b4bybybybybybybycs9k9k9i161616b4bybybybybybybycs9k9k9j171717b4bybybybybybybybybyby9k9k1616b4bybybybybybybycs9k9k9i171717b4bybybybybybybycs9k9k9j161616b4bybybybybybybybybyby9k9k1717b4bybybybybybybycs9k9k16161616b4bybybybybybybybybxbxbxbxbxbxbybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybyby\" xmlType=\"variable\" /></layers></map></level></data>";
data = new XML(data_txt);
onLoad(data);
Symbol 95 MovieClip [levels\wolf orphanage\bedroom.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\wolf orphanage\\bedroom.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><7 name=\"str_marle\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\marle\\dressed\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_336\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_5\" 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\\marle\\dressed\\walk.png\" xmlType=\"object\" /></data></7><6 name=\"str_wolf_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\wolf.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_336\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\wolf.png\" xmlType=\"object\" /></data></6><5 name=\"str_wolf_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\wolf.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_336\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\wolf.png\" xmlType=\"object\" /></data></5><4 name=\"str_kara\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\kara\\dressed\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_336\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /></data></4><3 name=\"str_red\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\ridingHood\\nightie\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_336\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\walk.png\" xmlType=\"object\" /></data></3><2 name=\"str_lilly\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\lilly\\dressed\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_336\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\lilly\\dressed\\walk.png\" xmlType=\"object\" /></data></2><1 name=\"str_julia\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\julia\\noPants\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_336\" y=\"num_24\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\julia\\noPants\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS_5\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_story=5\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><27 message=\"str_wolves come and go as they please\" type=\"str_comment\" xmlType=\"object\" /><26 transition=\"str_transition_fade\" level=\"str_levels\\wolf orphanage\\orphanageOuter.lvl\" type=\"str_teleport\" relativeLevel=\"str_orphanageOuter.lvl\" xmlType=\"object\"><position y=\"num_304\" x=\"num_864\" xmlType=\"object\" /></26><25 type=\"str_setVariable\" update=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_6\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_story\" xmlType=\"variable\" /></condition></25><24 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><23 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><22 type=\"str_move\" sprite=\"str_julia\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\julia\\nude\\mountWolf.png\" xmlType=\"object\" /></0></22><21 value=\"str_wolf_2\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><20 type=\"str_move\" sprite=\"str_wolf_2\" xmlType=\"array\"><6 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\invisible.png\" xmlType=\"object\" /></6><5 duration=\"num_0.102774023955472\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_12\" xmlType=\"object\" /></5><4 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><3 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /><2 duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_96\" x=\"num_16\" xmlType=\"object\" /></2><1 duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_80\" x=\"num_152\" xmlType=\"object\" /></0></20><19 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_5\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\sitScrew.png\" xmlType=\"object\" /></0></19><18 value=\"str_wolf_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><17 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><9 duration=\"num_0.0325\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_0\" xmlType=\"object\" /></9><8 value=\"bol_true\" type=\"str_anim\" xmlType=\"object\" /><7 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><6 duration=\"num_0.04875\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_6\" x=\"num_0\" xmlType=\"object\" /></6><5 duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></5><4 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><3 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><2 duration=\"num_0.290688837074973\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-32\" xmlType=\"object\" /></2><1 value=\"num_0.3\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></17><16 value=\"str_red\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><15 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><6 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_5\" 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\" /></6><5 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\sitScrew.png\" xmlType=\"object\" /></4><3 duration=\"num_0.065\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_8\" x=\"num_0\" xmlType=\"object\" /></3><2 duration=\"num_0.26\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-40\" x=\"num_0\" xmlType=\"object\" /></2><1 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></15><14 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_2\" direction=\"num_0\" directions=\"num_1\" charset=\"str_charset\\kara\\dressed\\liftDress.png\" xmlType=\"object\" /></2><1 value=\"num_0.4\" type=\"str_moveWait\" xmlType=\"object\" /><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\kara\\dressed\\liftDress.png\" xmlType=\"object\" /></0></14><13 type=\"str_move\" sprite=\"str_julia\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\julia\\nude\\mount.png\" xmlType=\"object\" /></1><0 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></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_textbox_mc\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_blackFade.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_78\" text=\"str_\r\\#ffffff They screwed the girls every day.\" type=\"str_textbox\" xmlType=\"object\" /></11><10 type=\"str_move\" sprite=\"str_julia\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></10><9 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><8 value=\"str_wolf_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><7 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><1 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_80\" x=\"num_152\" xmlType=\"object\" /></0></7><6 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><5 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_128\" x=\"num_120\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\nightie\\walk.png\" xmlType=\"object\" /></0></5><4 type=\"str_move\" sprite=\"str_julia\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_192\" x=\"num_152\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\julia\\nude\\walk.png\" xmlType=\"object\" /></0></4><3 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_192\" x=\"num_136\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\kara\\dressed\\walk.png\" xmlType=\"object\" /></0></3><2 type=\"str_move\" sprite=\"str_lilly\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_160\" x=\"num_184\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\lilly\\dressed\\sleep.png\" xmlType=\"object\" /></0></2><1 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><0 isPaused=\"bol_true\" system=\"str_player\" type=\"str_pause\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_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\\mario.png\" collision=\"str__111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101110111111111101110111111110000000111111000000000111111110000000111111111101110111111111101110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><0 value=\"str__8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8h8h8h8h8h8h8h8h8h8g8g8g8g8g9a663o4i5c0g3o4i5c0g7m8g8g8g8g9a663p4j5d0g3p4j5d0g7m8g8g8g8g9a66700g0g0g0g0g0g0g7m8g8g8g8g9a7y8s0g0g0g0g0g0g0g7m8g8g8g8g9a66700g0g0g0g0g0g0g7m8g8g8g8g9a663o4i5c0g3o4i5c0g7m8g8g8g8g9a663p4j5d0g3p4j5d0g7m8g8g8g8g8g8f8f8f8f8f8f8f8f8f8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g8g\" xmlType=\"variable\" /></layers></map></level></data>";
data = new XML(data_txt);
onLoad(data);
Symbol 96 MovieClip [levels\wolf orphanage\orphanageInner.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\wolf orphanage\\orphanageInner.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><15 name=\"str_guard_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\people2.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_4\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_328\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_5\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_4\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></15><14 name=\"str_guard_0\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\people2.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_4\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_312\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_5\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_4\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></14><13 name=\"str_EVENTS_10\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_408\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_story=10\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><62 message=\"str_wolves in charge\" type=\"str_comment\" xmlType=\"object\" /><61 transition=\"str_transition_cut\" relativeLevel=\"str_bathroom.lvl\" level=\"str_levels\\wolf orphanage\\bathroom.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_144\" xmlType=\"object\" /></61><60 update=\"bol_false\" type=\"str_setVariable\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_11\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_story\" xmlType=\"variable\" /></condition></60><59 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><58 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_Here,\\. I'll show you!\" type=\"str_textbox\" xmlType=\"object\" /></58><57 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><2 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><1 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 duration=\"num_0.290688837074973\" 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.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><55 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_So what do you guys do for fun\raround here?\" type=\"str_textbox\" xmlType=\"object\" /></55><54 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_5\" 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\\marle\\dressed\\kiss.png\" xmlType=\"object\" /></0></54><53 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_You're only pretending to be an orphanage?\\! That's clever!\" type=\"str_textbox\" xmlType=\"object\" /></53><52 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_5\" 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\\marle\\dressed\\armsOut.png\" xmlType=\"object\" /></0></52><51 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><50 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_The truth is,\\. I'm not really in charge.\" type=\"str_textbox\" xmlType=\"object\" /></50><49 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><0 duration=\"num_0.290688837074973\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_32\" xmlType=\"object\" /></0></49><48 value=\"str_guard_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><47 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><1 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.1625\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-12\" xmlType=\"object\" /></0></47><46 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><45 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><1 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.1625\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_12\" xmlType=\"object\" /></0></45><44 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_5\" 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\\marle\\dressed\\giggle.png\" xmlType=\"object\" /></0></44><43 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_Nobody cares what you think!\\!\rYou're staying here from now on.\" type=\"str_textbox\" xmlType=\"object\" /></43><42 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><1 duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></1><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></42><41 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><1 duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></1><0 value=\"str_up\" type=\"str_direction\" 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_textbox_mc\" 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_Wanna know what I think?\" type=\"str_textbox\" xmlType=\"object\" /></39><38 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_5\" 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\\marle\\dressed\\armsOut.png\" xmlType=\"object\" /></0></38><37 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><36 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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 the hell should I know?\\!\rI don't know the first thing about orphanages.\" type=\"str_textbox\" xmlType=\"object\" /></36><35 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><0 duration=\"num_0.208101537716568\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_4\" x=\"num_5\" xmlType=\"object\" /></0></35><34 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><33 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_Hey boss,\\. isn't she a little young to be running this place?\" type=\"str_textbox\" xmlType=\"object\" /></33><32 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><0 duration=\"num_0.208101537716568\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_4\" x=\"num_-5\" xmlType=\"object\" /></0></32><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_textbox_mc\" 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_Is this an orphan?\\!\rDon't worry,\\. we'll take GOOD care of her!\" type=\"str_textbox\" xmlType=\"object\" /></30><29 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><2 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /><1 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 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></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_textbox_mc\" 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_Of course the orphanage is open!\\2\rThat's what I'm been trying to tell you.\" type=\"str_textbox\" xmlType=\"object\" /></27><26 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><1 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><0 duration=\"num_0.0585902082262898\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_-6\" 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_textbox_mc\" 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,\\. you ARE open.\" type=\"str_textbox\" xmlType=\"object\" /></24><23 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><1 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><0 duration=\"num_0.0585902082262898\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_6\" 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_textbox_mc\" 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_Can I help you?\" type=\"str_textbox\" xmlType=\"object\" /></21><20 value=\"str_red\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><19 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><2 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><1 duration=\"num_1.43\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_176\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_192\" x=\"num_232\" xmlType=\"object\" /></0></19><18 message=\"str_new girl arrives.\" type=\"str_comment\" xmlType=\"object\" /><17 message=\"str_pretend to be an orphanage.\" type=\"str_comment\" xmlType=\"object\" /><16 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_24\" text=\"str_You idiot!\\2\rWhy didn't you check first?\" type=\"str_textbox\" xmlType=\"object\" /></16><15 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><0 duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_4\" x=\"num_6\" 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_textbox_mc\" 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_24\" text=\"str_\\.Psst...\\!\rThe head mistriss came back,\\. didn't she?\" type=\"str_textbox\" xmlType=\"object\" /></13><12 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><0 duration=\"num_0.175770624678869\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_4\" x=\"num_-6\" 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_textbox_mc\" 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_Nobody's home.\" type=\"str_textbox\" xmlType=\"object\" /></10><9 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><0 value=\"bol_false\" type=\"str_anim\" xmlType=\"object\" /></9><8 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_\\.Huh.\\2\rIt looks like you won't be able to throw me\rin the orphanage after all.\" type=\"str_textbox\" xmlType=\"object\" /></8><7 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><0 value=\"bol_true\" type=\"str_anim\" xmlType=\"object\" /></7><6 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><5 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><1 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_256\" x=\"num_424\" xmlType=\"object\" /></0></5><4 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><1 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_256\" x=\"num_392\" xmlType=\"object\" /></0></4><3 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_5\" 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\\marle\\dressed\\stand.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_408\" xmlType=\"object\" /></0></3><2 message=\"str_mistriss didn't bother to come back\" type=\"str_comment\" xmlType=\"object\" /><1 isPaused=\"bol_true\" system=\"str_player\" type=\"str_pause\" xmlType=\"object\" /><0 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></13><12 name=\"str_marle\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\marle\\dressed\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_280\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_5\" 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\\marle\\dressed\\walk.png\" xmlType=\"object\" /></data></12><11 name=\"str_lilly\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\lilly\\dressed\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\lilly\\dressed\\walk.png\" xmlType=\"object\" /></data></11><10 name=\"str_EVENTS_7\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_536\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_story=7\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><35 message=\"str_hunters re-open the town, thinking the wolves have left.\" type=\"str_comment\" xmlType=\"object\" /><34 transition=\"str_transition_cut\" relativeLevel=\"str_orphanageOuter.lvl\" level=\"str_levels\\wolf orphanage\\orphanageOuter.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_208\" x=\"num_672\" xmlType=\"object\" /></34><33 update=\"bol_false\" type=\"str_setVariable\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_8\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_story\" xmlType=\"variable\" /></condition></33><32 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><31 value=\"str_kara\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><30 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><2 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 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 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></30><29 value=\"str_kara\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><28 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><1 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 duration=\"num_1.3\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-160\" xmlType=\"object\" /></0></28><27 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><1 duration=\"num_0.13\" autoAnim=\"bol_true\" 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\" 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\\kara\\nude\\walk.png\" xmlType=\"object\" /></0></27><26 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_Crap!\\.\rWe gotta hurry!\" type=\"str_textbox\" xmlType=\"object\" /></26><25 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><5 value=\"bol_false\" type=\"str_anim\" xmlType=\"object\" /><4 value=\"num_0.4\" type=\"str_moveWait\" xmlType=\"object\" /><3 duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></3><2 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></2><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_96\" x=\"num_552\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_0\" directions=\"num_1\" charset=\"str_charset\\kara\\nude\\bounce.png\" xmlType=\"object\" /></0></25><24 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><0 value=\"bol_false\" type=\"str_anim\" xmlType=\"object\" /></24><23 value=\"str_red\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><22 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\invisible.png\" xmlType=\"object\" /></1><0 duration=\"num_1.43\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-176\" xmlType=\"object\" /></0></22><21 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_Hurry up,\\. little miss dairy cow.\" type=\"str_textbox\" xmlType=\"object\" /></21><20 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><3 duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></3><2 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></2><1 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 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></0></20><19 value=\"str_red\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><18 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><0 duration=\"num_0.91\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_112\" xmlType=\"object\" /></0></18><17 value=\"num_2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><16 type=\"str_move\" sprite=\"str_lilly\" xmlType=\"array\"><1 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 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></16><15 type=\"str_move\" sprite=\"str_wolf_2\" xmlType=\"array\"><0 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></15><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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 hunters are back.\\!\rQuick!\\. Hide the wolves.\" type=\"str_textbox\" xmlType=\"object\" /></14><13 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><1 duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_96\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_96\" x=\"num_280\" xmlType=\"object\" /></0></13><12 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><11 type=\"str_move\" sprite=\"str_wolf_2\" xmlType=\"array\"><1 duration=\"num_0.91\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_112\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_96\" x=\"num_296\" xmlType=\"object\" /></0></11><10 type=\"str_move\" sprite=\"str_lilly\" xmlType=\"array\"><3 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><2 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 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_96\" x=\"num_312\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\lilly\\nude\\walk.png\" xmlType=\"object\" /></0></10><9 message=\"str_they hide the wolves in the orphanage\" type=\"str_comment\" xmlType=\"object\" /><8 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><7 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_\\.\\3Oooh...\\s1\\!\rI think this one's my favorite.\" type=\"str_textbox\" xmlType=\"object\" /></7><6 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><5 message=\"str_they start picking favorite wolves\" type=\"str_comment\" xmlType=\"object\" /><4 message=\"str_they get used to the routine\" type=\"str_comment\" xmlType=\"object\" /><3 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_127\" x=\"num_555\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\kara\\n";
data_txt = data_txt + "ude\\ride.png\" xmlType=\"object\" /></0></3><2 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><1 value=\"bol_true\" type=\"str_anim\" xmlType=\"object\" /><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_96\" x=\"num_568\" xmlType=\"object\" /></0></2><1 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><0 isPaused=\"bol_true\" system=\"str_player\" type=\"str_pause\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></10><9 name=\"str_scroll_1\" type=\"str_scroll\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" animDirection=\"num_1\" delay=\"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_1\" charset=\"str_sprites/scroll/area.swf\" xmlType=\"object\" /><position x=\"num_408\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_skip\" xmlType=\"variable\" /></flags><data target=\"str_player\" mode=\"str_chase\" smoothness=\"num_0.2\" xmlType=\"object\" /></9><8 name=\"str_wolf_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\wolf.png\" direction=\"num_3\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_232\" y=\"num_248\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\wolf.png\" xmlType=\"object\" /></data></8><7 name=\"str_kara\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\kara\\dressed\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /></data></7><6 name=\"str_red\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\ridingHood\\nightie\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\walk.png\" xmlType=\"object\" /></data></6><5 name=\"str_wolf_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\wolf.png\" direction=\"num_3\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_232\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\wolf.png\" xmlType=\"object\" /></data></5><4 name=\"str_scroll_3\" type=\"str_scroll\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" animDirection=\"num_1\" delay=\"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_1\" charset=\"str_sprites/scroll/area.swf\" xmlType=\"object\" /><position x=\"num_344\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_skip\" xmlType=\"variable\" /></flags><data target=\"str_player\" mode=\"str_chase\" smoothness=\"num_0.2\" xmlType=\"object\" /></4><3 name=\"str_EVENTS_3\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_328\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_story=3\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><23 message=\"str_nobody knows how they get in or out\" type=\"str_comment\" xmlType=\"object\" /><22 transition=\"str_transition_cut\" level=\"str_levels\\wolf orphanage\\bathroom.lvl\" type=\"str_teleport\" relativeLevel=\"str_bathroom.lvl\" xmlType=\"object\"><position y=\"num_224\" x=\"num_304\" xmlType=\"object\" /></22><21 type=\"str_setVariable\" update=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_4\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_story\" xmlType=\"variable\" /></condition></21><20 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><19 value=\"num_1.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><18 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></18><17 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></17><16 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><15 name=\"str_myLoopingSound\" volume=\"num_75\" loop=\"bol_false\" file=\"str_sound\\sexy\\sx_surprise5.mp3\" type=\"str_sound\" xmlType=\"object\" /><14 value=\"str_wolf_1\" 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_textbox_mc\" 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_Huh?\\.\rWhy would she lock us in?\" type=\"str_textbox\" xmlType=\"object\" /></12><11 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></11><10 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><5 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\invisible.png\" xmlType=\"object\" /></5><4 duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></4><3 value=\"num_1\" type=\"str_moveWait\" xmlType=\"object\" /><2 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><1 duration=\"num_1.82\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-112\" xmlType=\"object\" /></1><0 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /></10><9 value=\"str_player\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><8 value=\"str_red\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><7 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><1 duration=\"num_0.78\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" 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_208\" x=\"num_344\" xmlType=\"object\" /></0></7><6 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_That's weird,\\. the door's locked.\" type=\"str_textbox\" xmlType=\"object\" /></6><5 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><4 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_288\" x=\"num_408\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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></4><3 type=\"str_move\" sprite=\"str_red\" xmlType=\"array\"><2 duration=\"num_2.86\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_176\" xmlType=\"object\" /></2><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_192\" x=\"num_168\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\nightie\\walk.png\" xmlType=\"object\" /></0></3><2 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_96\" x=\"num_520\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\wolf.png\" xmlType=\"object\" /></0></2><1 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><0 isPaused=\"bol_true\" system=\"str_player\" type=\"str_pause\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></3><2 name=\"str_julia\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\julia\\dressed\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\julia\\dressed\\walk.png\" xmlType=\"object\" /></data></2><1 name=\"str_mistriss\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\people1.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_7\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_392\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_story=1\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><19 message=\"str_wolf raid\" type=\"str_comment\" xmlType=\"object\" /><18 transition=\"str_transition_fade\" level=\"str_levels\\wolf orphanage\\orphanageOuter.lvl\" type=\"str_teleport\" relativeLevel=\"str_orphanageOuter.lvl\" xmlType=\"object\"><position y=\"num_128\" x=\"num_144\" xmlType=\"object\" /></18><17 type=\"str_setVariable\" update=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_2\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_story\" xmlType=\"variable\" /></condition></17><16 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><15 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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 I don't have any pants!\" type=\"str_textbox\" xmlType=\"object\" /></14><13 type=\"str_move\" sprite=\"str_julia\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></13><12 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><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_textbox_mc\" 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_Not now.\\.\rI'm on my break.\" type=\"str_textbox\" xmlType=\"object\" /></10><9 type=\"str_move\" sprite=\"str_mistriss\" xmlType=\"array\"><0 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></9><8 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><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_textbox_mc\" 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_Is the laundry done yet?\" type=\"str_textbox\" xmlType=\"object\" /></6><5 type=\"str_move\" sprite=\"str_julia\" xmlType=\"array\"><0 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></5><4 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><3 message=\"str_mistriss is lazy\" type=\"str_comment\" xmlType=\"object\" /><2 type=\"str_move\" sprite=\"str_julia\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\julia\\noPants\\walk.png\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_192\" x=\"num_232\" xmlType=\"object\" /></0></2><1 type=\"str_move\" sprite=\"str_mistriss\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_7\" rows=\"num_2\" columns=\"num_4\" frame=\"num_1\" frames=\"num_3\" direction=\"num_0\" 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_240\" x=\"num_408\" xmlType=\"object\" /></0></1><0 isPaused=\"bol_true\" system=\"str_player\" type=\"str_pause\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_40\" height=\"num_20\" chipset=\"str_chipset\\iog_indoors.png\" collision=\"str__11111111111111111111111110111111111000111110001111111110001111111011111111111111111110111111111111111111101111111111111111111011111111100011111110111111111000111111101111111110001111111011111111100011111110111110000000111111100000001111111111100011111011111111111110111110111111111111101111101111111111111011111011111111111110111110111111111111101111101111111111111011111011111111111110111110111111111111101111101111111111111011111011111111111110111110000000111111101111101100001111111011111011000011111000111110110000001111101111101100001111111011111011000011111110111110110000111111101111111111111111111000111110000000111110001111100000001111100011111000000011111000111110000000111110001111100000001111100011111000000011111110111110000000111111101111100000001111111111111000000000000000000000000000\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__0000000000000000000000000000000000000000690fb60000000000000000000000000000000000690gb70000000000000000000000000000000000690hb800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000690fb60000000000000000000069696969696900690gb70000000000000000006969696969696900690hb800000000000000000069696969696969000000000000000000000000006969696969696900000000000000000000000000696969696969690000000000000000000000000069696969696969000000000000000000000000006969696969696900000000000000000000000000696969696969690000000000000000000000000069696969696969000000000000000000000000006969696969696900000000000000000000000000006969696969690000000000000000000000000000000000000000000000000000000000000000000000000000000000690fb600000000000000000000000000000069b6690gb700000000000000000000000000000069b7690hb800000000000000000000000000000069b80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005m000000000000000000000000000000000000005m0000000000000000000000000000000000000000000000000000000000000000000000000000005m000000000000000000000000000000000000005m0000000000000000000000000000000000000000000000000000000000000000000000000000005m000000000000000000000000000000000000005m0000000000000000000000000000000000000000000000000000000000000000d400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d50000000000000000000000000000000000000000000000000000000000000000000000000000000000001i2c0000000000000000000000000000000000001k2e0000000000000000000000000000000000001k2e0000000000000000000000000000000000001k2e0000000000000000000000000000000000001m2g0000000000000000000000000000000000000000000000000000000000d5000000000000000000000000000000000000000000000000000000000000000000000000000000000000b9c3cx0000000000000000000000000000000000bac4cy00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007f890000b9c3cx0000000000000000000000000000000000bac4cy0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__6969696969696969696969696969696969696924690fb6c0cu6o69696969690g24244l6o6o6o6924690gb769cv6o69696969690g24244l6o6o6o696o690hb8c2cw6o69696969690g24244l6o6o6o696o690g24244l6o69696969690g24244l6o6o6o6924690g24244l6o69696969690g24244l6o6o6o696o690g24244l6o69696969690g24244l6o6o6o696o690g24244l6o69696969690g24244l6o6o6o6924690g24244l6o69696969690g24244l6o6o6o696o690g24244l6o69696969690g24244l6o6o6o696o690g24244l6o690fb6c0cu6o6o6o6o6o6o6o6924690fb6c0cu6o690gb769cv6o6o6o6o6o6o6o6o24690gb769cv6o690hb8c2cw6o6o6o6o6o6o6o6o24690hb8c2cw6o690g24244l6o6o6o6o6o6o6o6o24690g24244l6o690g24244l6o6o6o6o6o6o6o6o24690g24244l6o690g24244l6o6o6o6o6o6o6o6o24690g24244l6o690g24244l6o6o6o6o6o6o6o6o24690g24244l6o690g24244l6o6o6o6o6o6o6o6o24690g24244l6o690g24244l6o6o6o6o6o6o6o6o24690g24244l6o690g24244l6o6o6o6o6o6o6o6o24690g24244l6o690g24244l6o6o6o6o6o6o6o6o24690g24244l6o690g24244l6o6o6o6o6o6o6o6o24690g24244l6o690g24244l6o6o6o6o6o6o6o6924690g24244l6o690g24244l6o16206o6o6o6o6924690fb6c0cu6o690g24244l6o17216o6o6o6o69b6690gb769cv6o690g24244l6o16206o6o6o6o69b7690hb8c2cw6o690g24244l6o17216o6o6o6o69b8690g24244l6o690g24244l6o16206o6o6o6o6924690g24244l6o690g24244l6o17216o6o6o6o6924690g24244l6o6o69696969696969696969696925698r8r8r8ra0a0a0692424241g6r6r6r6r6r6r6r698s8s8s8sa0a0a069a0a0a01g6r6r6r6r6r6r6r698s8s8s8sa0a0a069a0a0a01g6r6r6r6r6r6r6r698s8s8s8sa0a0a0692424241g6r6r6r6r6r6r6r698s8s8s8sa0a0a0692424241g6r6r6r6r6r6r6r698s8s8s8sa0a0a069a0a0a01g6r6r6r6r6r6r6r698t8t8t8t1620a069a0a0a01g6r6r6r6r6r6r6r695g6a6a6a1721a0692424241g6r6r6r6r6r6r6r6969696969696969692525251g6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r6r\" xmlType=\"variable\" /></layers></map></level></data>";
data = new XML(data_txt);
onLoad(data);
Symbol 97 MovieClip [levels\wolf orphanage\orphanageOuter.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\wolf orphanage\\orphanageOuter.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><17 name=\"str_marle\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\marle\\dressed\\walk.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_520\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_5\" 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\\marle\\dressed\\walk.png\" xmlType=\"object\" /></data></17><16 name=\"str_stray_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\people2.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_6\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_504\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_5\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_6\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></16><15 name=\"str_stray_0\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\people3.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_3\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_488\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_5\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_3\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people3.png\" xmlType=\"object\" /></data></15><14 name=\"str_EVENTS_9\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_120\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_story=9\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><32 transition=\"str_transition_cut\" relativeLevel=\"str_orphanageInner.lvl\" level=\"str_levels\\wolf orphanage\\orphanageInner.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_304\" x=\"num_400\" xmlType=\"object\" /></32><31 update=\"bol_false\" type=\"str_setVariable\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_10\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_story\" xmlType=\"variable\" /></condition></31><30 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><29 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_Not so fast!\\.\rWe can't have stray kids running around.\\2\rIt's not safe for you.\" type=\"str_textbox\" xmlType=\"object\" /></29><28 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_5\" 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\\marle\\dressed\\flinch.png\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-1\" x=\"num_0\" xmlType=\"object\" /></0></28><27 value=\"str_guard_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><26 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><2 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><1 duration=\"num_0.0325\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-4\" xmlType=\"object\" /></1><0 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></26><25 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><2 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /><1 duration=\"num_0.0325\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_4\" xmlType=\"object\" /></1><0 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></25><24 value=\"str_guard_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><23 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><1 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_272\" x=\"num_56\" xmlType=\"object\" /></0></23><22 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><21 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><3 duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_0\" xmlType=\"object\" /></3><2 value=\"num_0.1\" type=\"str_moveWait\" xmlType=\"object\" /><1 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 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></0></21><20 value=\"str_marle\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><19 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><1 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 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_176\" x=\"num_-8\" xmlType=\"object\" /></0></19><18 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><0 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></18><17 value=\"str_marle\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><16 type=\"str_move\" sprite=\"str_marle\" xmlType=\"array\"><1 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_128\" x=\"num_120\" xmlType=\"object\" /></0></16><15 value=\"str_stray_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_84\" text=\"str_\rOut!\\. Out!\\. Get out of my house!\" type=\"str_textbox\" xmlType=\"object\" /></14><13 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><12 type=\"str_move\" sprite=\"str_stray_1\" xmlType=\"array\"><3 duration=\"num_1.30648383074572\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-160\" x=\"num_16\" xmlType=\"object\" /></3><2 duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_96\" xmlType=\"object\" /></2><1 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_128\" x=\"num_120\" xmlType=\"object\" /></0></12><11 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><10 type=\"str_move\" sprite=\"str_stray_0\" xmlType=\"array\"><3 duration=\"num_0.91\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-112\" xmlType=\"object\" /></3><2 duration=\"num_0.183847763108502\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-16\" xmlType=\"object\" /></2><1 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_128\" x=\"num_120\" xmlType=\"object\" /></0></10><9 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_90\" text=\"str_\\s2Eeeeek!\\!\\s1\rThere are a bunch of stray kids in my house!\" type=\"str_textbox\" xmlType=\"object\" /></9><8 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><7 value=\"str_woman\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><6 type=\"str_move\" sprite=\"str_woman\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_2\" columns=\"num_4\" frame=\"num_1\" frames=\"num_3\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></1><0 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 value=\"num_0.3\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><4 type=\"str_move\" sprite=\"str_door_L\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_7\" rows=\"num_2\" columns=\"num_4\" frame=\"num_1\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></2><1 value=\"num_0.1\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></4><3 name=\"str_myLoopingSound\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\open.mp3\" type=\"str_sound\" xmlType=\"object\" /><2 value=\"str_woman\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><1 type=\"str_move\" sprite=\"str_woman\" xmlType=\"array\"><3 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><2 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 duration=\"num_1.82\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_112\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_176\" x=\"num_-8\" xmlType=\"object\" /></0></1><0 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></14><13 name=\"str_guard_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\people2.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_4\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_648\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_5\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_4\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></13><12 name=\"str_guard_0\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\people2.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_4\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_5\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_4\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></12><11 name=\"str_EVENTS_8\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_680\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_story=8\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><28 message=\"str_mistriss didn't bother to come back\" type=\"str_comment\" xmlType=\"object\" /><27 transition=\"str_transition_fade\" relativeLevel=\"str_orphanageOuter.lvl\" level=\"str_levels\\wolf orphanage\\orphanageOuter.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_64\" x=\"num_112\" xmlType=\"object\" /></27><26 update=\"bol_false\" type=\"str_setVariable\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_9\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_story\" xmlType=\"variable\" /></condition></26><25 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><24 value=\"num_0.3\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><23 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><1 duration=\"num_0.65\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-80\" xmlType=\"object\" /></1><0 duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_0\" xmlType=\"object\" /></0></23><22 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><21 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><0 duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-64\" xmlType=\"object\" /></0></21><20 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><19 name=\"str_myLoopingSound\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\lock.mp3\" type=\"str_sound\" xmlType=\"object\" /><18 value=\"str_guard_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><17 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><0 duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></0></17><16 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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 doesn't matter.\\2\rThey're gone,\\. aren't they?\\!\rStart unlocking the houses.\" type=\"str_textbox\" xmlType=\"object\" /></16><15 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></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_textbox_mc\" 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_Eh,\\. sir.\\!\rThe animal experts say the wolves\rweren't looking for food.\" type=\"str_textbox\" xmlType=\"object\" /></13><12 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><0 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></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_textbox_mc\" 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_Good.\rThe wolves probably high-tailed it \rsince all the food was locked up.\" type=\"str_textbox\" xmlType=\"object\" /></10><9 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></9><8 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><7 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_Sir!\\2\rNo wolves have been spotted.\\!\rWe're ready to re-open the town.\" type=\"str_textbox\" 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_textbox_mc\" 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_Status report?\" type=\"str_textbox\" xmlType=\"object\" /></5><4 value=\"str_guard_0\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><3 type=\"str_move\" sprite=\"str_guard_0\" xmlType=\"array\"><1 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 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_320\" x=\"num_504\" xmlType=\"object\" /></0></3><2 value=\"str_guard_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><1 type=\"str_move\" sprite=\"str_guard_1\" xmlType=\"array\"><1 duration=\"num_2.08\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-256\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_320\" x=\"num_840\" xmlType=\"object\" /></0></1><0 message=\"str_hunters re-open the town, thinking the wolves have left.\" type=\"str_comment\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></11><10 name=\"str_wolf_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\wolf.png\" direction=\"num_3\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_552\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\wolf.png\" xmlType=\"object\" /></data></10><9 name=\"str_EVENTS_6\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_776\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_story=6\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><16 message=\"str_they get used to the routine\" type=\"str_comment\" xmlType=\"object\" /><15 transition=\"str_transition_cut\" relativeLevel=\"str_orphanageInner.lvl\" level=\"str_levels\\wolf orphanage\\orphanageInner.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_528\" xmlType=\"object\" /></15><14 update=\"bol_false\" type=\"str_setVariable\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_7\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_story\" xmlType=\"variable\" /></condition></14><13 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><12 value=\"str_wolf_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><11 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><2 duration=\"num_0.919238815542512\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-112\" x=\"num_-16\" xmlType=\"object\" /></2><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_336\" x=\"num_824\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" 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\\wolf.png\" xmlType=\"object\" /></0></11><10 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><9 value=\"str_wolf_2\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><8 value=\"str_wolf_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><7 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_blackFade.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_78\" text=\"str_\r\\#ffffffDay after day,\\. they were fucked non-stop.\" type=\"str_textbox\" xmlType=\"object\" /></7><6 type=\"str_move\" sprite=\"str_wolf_2\" xmlType=\"array\"><8 duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_64\" xmlType=\"object\" /></8><7 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><6 duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_36\" x=\"num_0\" xmlType=\"object\" /></6><5 duration=\"num_0.0325\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_0\" xmlType=\"object\" /></5><4 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><3 duration=\"num_0.04875\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_6\" x=\"num_0\" xmlType=\"object\" /></3><2 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_184\" x=\"num_824\" xmlType=\"object\" /></2><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\wolf.png\" xmlType=\"object\" /></1><0 value=\"num_0.7\" type=\"str_moveWait\" xmlType=\"object\" /></6><5 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><8 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" 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\\invisible.png\" xmlType=\"object\" /></8><7 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><6 value=\"bol_true\" type=\"str_anim\" xmlType=\"object\" /><5 value=\"num_0.2\" type=\"str_moveWait\" xmlType=\"object\" /><4 duration=\"num_0.0975\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_12\" x=\"num_0\" xmlType=\"object\" /></4><3 duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></3><2 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><1 duration=\"num_0.91\" 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_336\" x=\"num_744\" xmlType=\"object\" /></0></5><4 message=\"str_wolves come and go as they please\" type=\"str_comment\" xmlType=\"object\" /><3 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 type=\"str_move\" sprite=\"str_wolf_2\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_336\" x=\"num_744\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\wolf.png\" xmlType=\"object\" /></0></2><1 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_224\" x=\"num_888\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\wolf.png\" xmlType=\"object\" /></0></1><0 isPaused=\"bol_true\" system=\"str_player\" type=\"str_pause\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></9><8 name=\"str_door_L\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors.png\" direction=\"num_0\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_7\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_120\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance isAnimating=\"bol_true\" 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\\objects\\doors.png\" xmlType=\"object\" /></data></8><7 name=\"str_woman\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\people2.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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\\people2.png\" xmlType=\"object\" /></data></7><6 name=\"str_man\" type=\"str_r";
data_txt = data_txt + "pgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\people1.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_600\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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></6><5 name=\"str_mistriss\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\people1.png\" direction=\"num_2\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_7\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_584\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></5><4 name=\"str_wolf_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\wolf.png\" direction=\"num_3\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_568\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></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_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\wolf.png\" xmlType=\"object\" /></data></4><3 name=\"str_scroll_2-2\" type=\"str_scroll\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" animDirection=\"num_1\" delay=\"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_1\" charset=\"str_sprites/scroll/area.swf\" xmlType=\"object\" /><position x=\"num_648\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_skip\" xmlType=\"variable\" /></flags><data target=\"str_player\" mode=\"str_chase\" smoothness=\"num_0.2\" xmlType=\"object\" /></3><2 name=\"str_scroll_2\" type=\"str_scroll\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" animDirection=\"num_1\" delay=\"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_1\" charset=\"str_sprites/scroll/area.swf\" xmlType=\"object\" /><position x=\"num_168\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_skip\" xmlType=\"variable\" /></flags><data target=\"str_player\" mode=\"str_chase\" smoothness=\"num_0.2\" xmlType=\"object\" /></2><1 name=\"str_EVENTS_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\invisible.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_152\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_story=2\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\"><39 message=\"str_girls think they're safe\" type=\"str_comment\" xmlType=\"object\" /><38 transition=\"str_transition_cut\" level=\"str_levels\\wolf orphanage\\orphanageInner.lvl\" type=\"str_teleport\" relativeLevel=\"str_orphanageInner.lvl\" xmlType=\"object\"><position y=\"num_192\" x=\"num_336\" xmlType=\"object\" /></38><37 type=\"str_setVariable\" update=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_3\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_story\" xmlType=\"variable\" /></condition></37><36 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><35 value=\"str_wolf_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><34 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><12 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\invisible.png\" xmlType=\"object\" /></12><11 duration=\"num_0.065\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-8\" x=\"num_0\" xmlType=\"object\" /></11><10 value=\"num_0.3\" type=\"str_moveWait\" xmlType=\"object\" /><9 duration=\"num_0.04875\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_6\" x=\"num_0\" xmlType=\"object\" /></9><8 duration=\"num_0.325\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-40\" x=\"num_0\" xmlType=\"object\" /></8><7 value=\"num_0.3\" type=\"str_moveWait\" xmlType=\"object\" /><6 duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></6><5 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><4 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><3 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><2 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 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_240\" x=\"num_808\" xmlType=\"object\" /></1><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></34><33 message=\"str_wolf sneaks in\" type=\"str_comment\" xmlType=\"object\" /><32 value=\"str_man\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><31 type=\"str_move\" sprite=\"str_man\" xmlType=\"array\"><2 value=\"num_1\" type=\"str_moveWait\" xmlType=\"object\" /><1 duration=\"num_0.91\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-112\" xmlType=\"object\" /></1><0 duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_0\" xmlType=\"object\" /></0></31><30 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><29 name=\"str_myLoopingSound\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\lock.mp3\" type=\"str_sound\" xmlType=\"object\" /><28 value=\"str_man\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><27 type=\"str_move\" sprite=\"str_man\" xmlType=\"array\"><5 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><4 duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></4><3 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 value=\"num_1\" type=\"str_moveWait\" xmlType=\"object\" /><1 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><0 value=\"num_0.3\" type=\"str_moveWait\" xmlType=\"object\" /></27><26 message=\"str_lock orphanage\" type=\"str_comment\" xmlType=\"object\" /><25 type=\"str_move\" sprite=\"str_mistriss\" xmlType=\"array\"><1 duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-96\" xmlType=\"object\" /></1><0 duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_-32\" xmlType=\"object\" /></0></25><24 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_Wolves!?\\.\\.\rUh,\\. sure...\\.\\. no problem.\\!\rI was just leaving.\" type=\"str_textbox\" xmlType=\"object\" /></24><23 type=\"str_move\" sprite=\"str_mistriss\" xmlType=\"array\"><0 value=\"str_left\" 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_textbox_mc\" 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_Hey you!\\.\rA pack of wolves are coming.\\.\rHas everyone been evacuated?\" type=\"str_textbox\" xmlType=\"object\" /></21><20 type=\"str_move\" sprite=\"str_mistriss\" xmlType=\"array\"><0 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></20><19 message=\"str_everyone supposedly evacuated\" type=\"str_comment\" xmlType=\"object\" /><18 value=\"str_man\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><17 type=\"str_move\" sprite=\"str_man\" xmlType=\"array\"><1 duration=\"num_2.6\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_320\" xmlType=\"object\" /></1><0 duration=\"num_1.04\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_128\" x=\"num_0\" xmlType=\"object\" /></0></17><16 type=\"str_move\" sprite=\"str_mistriss\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_288\" x=\"num_568\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_7\" 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\" /></0></16><15 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><1 duration=\"num_3.51\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_480\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_176\" x=\"num_168\" xmlType=\"object\" /></0></15><14 value=\"num_0.6\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><13 type=\"str_move\" sprite=\"str_woman\" xmlType=\"array\"><2 duration=\"num_1.04\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-128\" x=\"num_0\" xmlType=\"object\" /></2><1 value=\"num_0.5\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></13><12 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_textbox_mc\" 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_Hurry up and evacuate!\\.\rWolves have gotten into town again.\\.\rWe're locking up until the hunters get here.\" type=\"str_textbox\" xmlType=\"object\" /></11><10 value=\"str_man\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><9 type=\"str_move\" sprite=\"str_man\" xmlType=\"array\"><3 duration=\"num_1.04\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-128\" x=\"num_0\" xmlType=\"object\" /></3><2 value=\"num_0.1\" type=\"str_moveWait\" xmlType=\"object\" /><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_320\" x=\"num_216\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_2\" columns=\"num_4\" frame=\"num_1\" frames=\"num_3\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></0></9><8 type=\"str_move\" sprite=\"str_woman\" xmlType=\"array\"><1 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><0 duration=\"num_0.65\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_80\" x=\"num_0\" xmlType=\"object\" /></0></8><7 value=\"str_wolf_1\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><6 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><2 duration=\"num_1.17\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-144\" xmlType=\"object\" /></2><1 value=\"num_1\" type=\"str_moveWait\" xmlType=\"object\" /><0 duration=\"num_1.17\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-144\" x=\"num_0\" xmlType=\"object\" /></0></6><5 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><4 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><3 type=\"str_move\" sprite=\"str_woman\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_80\" x=\"num_216\" xmlType=\"object\" /></0></3><2 type=\"str_move\" sprite=\"str_wolf_1\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" 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\\wolf.png\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_304\" x=\"num_120\" xmlType=\"object\" /></0></2><1 message=\"str_wolf raid\" type=\"str_comment\" xmlType=\"object\" /><0 isPaused=\"bol_true\" system=\"str_player\" type=\"str_pause\" xmlType=\"object\" /></auto><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></1><0 name=\"str_door_R\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors.png\" direction=\"num_0\" directions=\"num_4\" frame=\"num_1\" frames=\"num_3\" pose=\"num_7\" columns=\"num_4\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_568\" y=\"num_264\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><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\\objects\\doors.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_55\" height=\"num_20\" chipset=\"str_chipset\\iog_freejia.png\" collision=\"str__00000000000000000000000000000000000000001111111110000000000011111111100000000000111111111000000000001111111110000000000011111111100000000000111111100000000000001111111110000000000011111111100000000000111111111000000000001111111110000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000111111111111111111001111111111111111110011111111111111111100111111111111111111001111111111111111110011111111111111111100111111111111111111001111111111111111110011111111111111111100111111111111111111001111111111111111110011111111111111111100111111111111111111001111111111111111110011111111111111111100111111111111111111001111111111111111110011111111111111111100111111111111111110001111111111111110000011111111111111111000111111111111111111001111111111111111110011111111111111111100111111111111111111001111111111111111110011111111111111111100111111111111111111001111111111111111110011111111111110000000111111111111100000001111111111111000000011111111111110000000111111111111100000001111111111111000000011111111111110000000111111111111100000001111111111111000000000000000000000000000\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005m5m0000000000000000000000000000000000005m5m0000000000000000000000000000000000005m5m000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005m5m0000000000000000000000000000000000005m5m0000000000000000000000000000000000005m5m000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005m5m0000000000000000000000000000000000005m5m0000000000000000000000000000000000005m5m00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000000000000000007b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000al00000000000000000000000000000000000000am00000000000000000000000000000000000000an00000000000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000000000000000007b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000000000000000007b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000000000000000007b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000000000000000007b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000000000000000007b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007a0000007a0000000000000000000000000000007b0000007b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007a0000007a0000000000000000000000000000007b0000007b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007a0000007a0000000000000000000000000000007b0000007b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__6o6o6o6o6o6o6o6o6o6oa0a0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6oa0a0a0a0a0a0a0a0a0a0b6b6c0cu7x8r8r8r9l6oa0a0a0a0a0a0a0a0a0a0a3a3c1cv7y8s0k1e9m6oa0a0a0a0a0a0a0a0a0a0a3a3c1cv7y8s0l1f9m6oa0a0a0a0a0a0a0a0a0a0a3a3c1cv7y8s8s8s9m6oa0a0a0a0a0a0a0a0a0a0a3a3c1cv7y8sc3cxcx6oa0a0a0a0a0a0a0a0a0a0a3a3c1cv7y8sc4cycy6oa0a0a0a0a0a0a0a0a0a0a3a3c1cv7y8sc5czcz6oa0a0a0a0a0a0a0a0a0a0a3a3c1cv7y8s8s8s9m6oa0a0a0a0a0a0a0a0a0a0a3a3c1cv7y8s0k1e9m6oa0a0a0a0a0a0a0a0a0a0a3a3c1cv7y8s0l1f9m6oa0a0a0a0a0a0a0a0a0a0b8b8c2cw7z8t8t8t9n6oa0a0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6oa0a0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6oa0a0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6oa0a0a0a0a0a0a0a0a0a07u7u7u7u7u7u7u8o9i69737373697373732wa0a07u7u7u7u7u8o9i8p9j6a7474746a7474742wa0a08f8f8f8f998p9j8p9j6a7474746a7474742wa0a08g8g8g8g9a8p9j8p9j6a7474746a74cycy2wa0a08g8g8g8g9a8p9j8p9j6a740k1e6a74cycy2wa0a08g8g8g8g9a8p9j8p9j6a740l1f6a74cycy2wa0a08g8g8g8g9a8p9j8p9j6a7474746a7474742wa0a08g8g8g8g9a8p9j8p9j6a7474746a7474742wa0a08g8g8g8g9a8p9j8p9j6a7474746a74cycy2wa0a08g8g8g8g9a8p9j8p9j6a740k1e6a74cycy2wa0a08g8g8g8g9a8p9j8p9j6a740l1f6a74cycy2wa0a08g8g8g8g9a8p9j8p9j6a7474746a7474742wa0a08g8g8g8g9a8p9j8p9j6a7474746a7474742wa0a08g8g8g8g9a8p9j8p9j6a7474746a74cycy2wa0a08g8g8g8g9a8p9j8p9j6a740k1e6a74cycy2wa0a08g8g8g8g9a8p9j8p9j6a740l1f6a74cycy2wa0a08g8g8g8g9a8p9j8p9j6a7474746a7474742wa0a08g8g8g8g9a8p9j8p9j6a7474746a7474742wa0a08g8g8g8g9a8p9j8p9j6a7474746ac3cxcx2x2xa08g8g8g8g9a8p9j8p9j6a740k1e6ac4cycy2y2ya08g8g8g8g9a8p9j8p9j6a740l1f6ac5czcz2z2za08g8g8g8g9a8p9j8p9j6a7474746a7474742wa0a08g8g8g8g9a8p9j8p9j6a7474746a7474742wa0a08g8g8g8g9a8p9j8p9j6a7474746a7474742wa0a08g8g8g8g9a8p9j8p9j6a740k1e6a740k1e2wa0a08g8g8g8g9a8p9j8p9j6a740l1f6a740l1f2wa0a08h8h8h8h9b8p9j8p9j6a7474746a7474742wa0a05d677w7w7w8q9k8p9j6a7474746a7474742wa0a08p9j5d677w7w7w8q9k6b7575756b7575752wa0a08p9j8p9j6a7474746a7474742wa0a0a0a0a0a0a08p9j8p9j6a740k1e6a7428322wa0a0a0a0a0a0a08p9j8p9j6a740l1f6a7429332wa0a06o6o6o6o6o8p9j8p9j6a7474746a7474742wa0a06o6o6o6o6o8p9j8p9j6a7474746a7474742wa0a06o6o6o6o6o8p9j8p9j6a740k1e6a7428322wa0a06o6o6o6o6o8p9j8p9j6a740l1f6a7429332wa0a06o6o6o6o6o8q9k8p9j6a7474746a7474742wa0a06o6o6o6o6o7w7w8q9k6b7575756b7575752wa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o\" xmlType=\"variable\" /></layers></map></level></data>";
data = new XML(data_txt);
onLoad(data);
Symbol 104 MovieClip [database.xml] Frame 1
data_txt = "<data titleScreen=\"str_swf\\wolfOrphanage\\title.jpg\" xmlType=\"object\"><ram 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\" /><startingPlace y=\"num_17\" x=\"num_8\" level=\"str_levels\\wolf orphanage\\_init.lvl\" xmlType=\"object\" /></data>";
data = new XML(data_txt);
onLoad(data);
Symbol 110 MovieClip Frame 15
stop();
Symbol 111 MovieClip [swf\fadeOut.swf] Frame 1
trace("fadeOut loaded");
Symbol 111 MovieClip [swf\fadeOut.swf] Frame 16
stop();
_name = "";
_this.onClose();
Instance of Symbol 119 MovieClip "replay_mc" in Symbol 120 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 121 MovieClip Frame 1
inter.level = level;
inter.x = x;
inter.y = y;
inter.replay = replay;
Symbol 121 MovieClip Frame 31
stop();
Symbol 122 MovieClip [swf\theEnd.swf] Frame 2
stop();
inter.level = level;
inter.x = x;
inter.y = y;
inter.replay = replay;
Symbol 167 MovieClip Frame 1
stop();
Symbol 168 MovieClip [scroll] Frame 1
stop();
_this = this;
if (data == undefined) {
data = {target:"player", smoothness:0.2, mode:"chase"};
}
if (_parent == SPRITES) {
OVERLAY.attachMovie("scroll", "scroll", nextDepth(OVERLAY), {data:data, _x:_x, _y:_y});
_this.removeMovieClip();
}
LOOP.addObject(_this, "scroll");
data.target = (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);
target = initTarget;
data.smoothness = (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);
smoothness = initSmoothness;
data.mode = (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);
mode = initMode;
Symbol 168 MovieClip [scroll] Frame 2
loop = function () {
_this._x = target._x;
_this._y = target._y;
};
Symbol 168 MovieClip [scroll] Frame 10
loop = function () {
};
Symbol 173 MovieClip [rpgSprite] Frame 1
function newSprite(newSettings, newTarget, newName, newDepth) {
newTarget = (newTarget ? (newTarget) : this);
newName = (newName ? (newName) : ("sprite_" + Math.floor(Math.random() * 9999)));
while (newTarget[newName]) {
newName = "sprite_" + Math.floor(Math.random() * 9999);
}
_global.nextDepth = function (this_mc, maxDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = 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 != undefined) ? (newDepth) : (nextDepth(newTarget)));
var _this = newTarget.createEmptyMovieClip(newName, newDepth);
var _local8 = {};
_local8.charset = newSettings.charset;
_local8.direction = ((newSettings.direction != undefined) ? (newSettings.direction) : 0);
_local8.directions = ((newSettings.directions != undefined) ? (newSettings.directions) : 1);
_local8.frame = ((newSettings.frame != undefined) ? (newSettings.frame) : 0);
_local8.frames = ((newSettings.frames != undefined) ? (newSettings.frames) : 1);
_local8.pose = ((newSettings.pose != undefined) ? (newSettings.pose) : 0);
_local8.columns = ((newSettings.columns != undefined) ? (newSettings.columns) : 1);
_local8.rows = ((newSettings.rows != undefined) ? (newSettings.rows) : 1);
_local8.animType = ((newSettings.animType != undefined) ? (newSettings.animType) : "loop");
_local8.animDirection = ((newSettings.animDirection != undefined) ? (newSettings.animDirection) : 1);
_local8.delay = ((newSettings.delay != undefined) ? (newSettings.delay) : 4);
_local8.isAnimating = ((newSettings.isAnimating != undefined) ? (newSettings.isAnimating) : true);
_this.init = {};
_this.internal = {};
_this.spriteWidth = 0;
_this.spriteHeight = 0;
_this.mask_mc = _this.createEmptyMovieClip("mask_mc", 1);
_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.offsetX = 0;
_this.offsetY = 0;
_this.refresh = false;
_this.loader = new MovieClipLoader();
_this.update = function () {
var _local2 = _this.internal.pose % _this.internal.columns;
_this.image_mc._x = (_this.offsetX - ((_local2 * _this.spriteWidth) * _this.internal.frames)) - (_this.internal.frame * _this.spriteWidth);
var _local1 = Math.floor(_this.internal.pose / _this.internal.columns);
_this.image_mc._y = (_this.offsetY - ((_local1 * _this.spriteHeight) * _this.internal.directions)) - (_this.internal.direction * _this.spriteHeight);
_this.refresh = false;
};
_this.updateMask = function () {
_this.mask_mc._width = _this.spriteWidth;
_this.mask_mc._height = _this.spriteHeight;
_this.mask_mc._x = _this.offsetX;
_this.mask_mc._y = _this.offsetY;
};
_this.updateSize = function () {
_this.spriteWidth = (_this.image_mc._width / _this.internal.columns) / _this.internal.frames;
_this.spriteHeight = (_this.image_mc._height / _this.internal.rows) / _this.internal.directions;
_this.offsetX = (-_this.spriteWidth) / 2;
_this.offsetY = -_this.spriteHeight;
_this.updateMask();
};
_this.set_charset = function (new_charset, newThis) {
var _this = (newThis || (_this));
_this.removeSnapshot = function () {
_this.previous_mc.removeMovieClip();
};
delete _this.previous_pic;
_this.previous_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0);
var _local2 = new flash.geom.Matrix();
_local2.translate(-_this.offsetX, -_this.offsetY);
_this.previous_pic.draw(_this, _local2);
_this.previous_mc.removeMovieClip();
_this.createEmptyMovieClip("previous_mc", 0);
_this.previous_mc.attachBitmap(_this.previous_pic, 0);
_this.previous_mc._x = _this.offsetX;
_this.previous_mc._y = _this.offsetY;
_this.loader.new_charset = new_charset;
_this.loader._this = _this;
_this.internal.frame = _this.init.frame;
_this.loader.onLoadInit = function (image_mc) {
var _local1 = image_mc._parent;
_local1.updateSize();
_local1.image_mc.setMask(_local1.mask_mc);
_local1.previous_mc.removeMovieClip();
_local1.update();
_local1.image_mc._alpha = 100;
_local1.onLoad();
};
_this.loader.onLoadError = function () {
};
_this.loader.externalFile = false;
_this.image_mc.removeMovieClip();
_this.createEmptyMovieClip("image_mc", 2);
_this.image_mc._alpha = 0;
_this.image_mc.attachMovie(new_charset, "image", 2);
if ((_this.image_mc._width == undefined) || (_this.image_mc._width == 0)) {
_this.image_pic.dispose();
_this.image_pic = flash.display.BitmapData.loadBitmap(new_charset);
_this.image_mc.attachBitmap(_this.image_pic, 0);
if ((_this.image_mc._width == undefined) || (_this.image_mc._width == 0)) {
_this.loader.externalFile = true;
_this.loader.loadClip(new_charset, _this.image_mc);
} else {
setTimeout(_this.loader.onLoadInit, 1, _this.image_mc);
}
} else {
setTimeout(_this.loader.onLoadInit, 1, _this.image_mc);
}
_this.internal.charset = new_charset;
};
_this.set_directions = function (new_directions) {
if (new_directions < 0) {
new_directions = 1;
}
_this.internal.directions = Math.floor(Math.abs(Number(new_directions)));
_this.internal.direction = _this.internal.direction % _this.internal.directions;
_this.updateSize();
_this.refresh = true;
};
_this.set_direction = function (new_direction) {
var _local2 = _this.internal.directions / 4;
if (new_direction == "up") {
new_direction = 0;
} else if (new_direction == "right") {
new_direction = Math.floor(1 * _local2);
} else if (new_direction == "down") {
new_direction = Math.floor(2 * _local2);
} else if (new_direction == "left") {
new_direction = Math.floor(3 * _local2);
}
while (new_direction < 0) {
new_direction = new_direction + _this.internal.directions;
}
new_direction = new_direction % _this.internal.directions;
_this.refresh = true;
_this.internal.direction = Math.floor(Number(new_direction));
};
_this.set_frames = function (new_frames) {
if (_this.internal.frame > (new_frames - 1)) {
_this.internal.frame = new_frames - 1;
}
if (_this.init.frame > (new_frames - 1)) {
_this.init.frame = new_frames - 1;
}
_this.internal.frames = Math.floor(Math.abs(Number(new_frames)));
if (_this.internal.frame > (_this.internal.frames - 1)) {
_this.internal.frame = _this.internal.frames - 1;
}
_this.init.frame = _this.internal.frame;
_this.updateSize();
_this.refresh = true;
};
_this.set_frame = function (new_frame) {
if (new_frame < 0) {
new_frame = 0;
}
if (new_frame > (_this.internal.frames - 1)) {
new_frame = _this.internal.frames - 1;
}
_this.refresh = true;
_this.init.frame = (_this.internal.frame = Math.floor(Math.abs(Number(new_frame))));
};
_this.set_columns = function (new_columns) {
_this.internal.columns = Math.floor(Math.abs(Number(new_columns)));
_this.updateSize();
_this.refresh = true;
};
_this.set_rows = function (new_rows) {
_this.internal.rows = Math.floor(Math.abs(Number(new_rows)));
_this.updateSize();
_this.refresh = true;
};
_this.set_pose = function (new_pose) {
var _local1 = (_this.internal.columns * _this.internal.rows) - 1;
if (new_pose < 0) {
new_pose = 0;
}
if (new_pose > _local1) {
new_pose = _local1;
}
_this.refresh = true;
_this.internal.pose = Math.floor(Math.abs(Number(new_pose)));
};
_this.set_animType = function (new_animType) {
if (((new_animType == "loop") || (new_animType == "yoyo")) || (new_animType == "once")) {
_this.internal.animType = String(new_animType);
}
};
_this.set_animDirection = function (new_animDirection) {
if (new_animDirection < -1) {
new_animDirection = -1;
}
if (new_animDirection > 1) {
new_animDirection = 1;
}
if ((new_animDirection == -1) || (new_animDirection == 1)) {
_this.internal.animDirection = Number(new_animDirection);
}
};
_this.set_delay = function (new_delay) {
if (new_delay <= 0) {
new_delay = 1;
}
_this.internal.delay = Number(new_delay);
};
_this.set_isAnimating = function (new_isAnimating) {
if (new_isAnimating.toLowerCase() == "true") {
new_isAnimating = true;
}
if (new_isAnimating.toLowerCase() == "false") {
new_isAnimating = false;
}
if (new_isAnimating != _this.internal.isAnimating) {
if (new_isAnimating) {
_this.advanceAnimation();
} else {
_this.internal.frame = Number(_this.init.frame);
}
_this.refresh = true;
}
_this.internal.isAnimating = Boolean(new_isAnimating);
};
_this.setParams = function (newSettings) {
if ((newSettings.charset != undefined) && (newSettings.charset != _this.internal.charset)) {
_this.set_charset(newSettings.charset);
_this.init.charset = _this.internal.charset;
}
if ((newSettings.directions != undefined) && (newSettings.directions != _this.internal.directions)) {
_this.set_directions(newSettings.directions);
_this.init.directions = _this.internal.directions;
}
if ((newSettings.direction != undefined) && (newSettings.direction != _this.internal.direction)) {
_this.set_direction(newSettings.direction);
_this.init.direction = _this.internal.direction;
}
if ((newSettings.frames != undefined) && (newSettings.frames != _this.internal.frames)) {
_this.set_frames(newSettings.frames);
_this.init.frames = _this.internal.frames;
}
if ((newSettings.frame != undefined) && (newSettings.frame != _this.internal.frame)) {
_this.set_frame(newSettings.frame);
_this.init.frame = _this.internal.frame;
}
if ((newSettings.columns != undefined) && (newSettings.columns != _this.internal.columns)) {
_this.set_columns(newSettings.columns);
_this.init.columns = _this.internal.columns;
}
if ((newSettings.rows != undefined) && (newSettings.rows != _this.internal.rows)) {
_this.set_rows(newSettings.rows);
_this.init.rows = _this.internal.rows;
}
if ((newSettings.pose != undefined) && (newSettings.pose != _this.internal.pose)) {
_this.set_pose(newSettings.pose);
_this.init.pose = _this.internal.pose;
}
if ((newSettings.animType != undefined) && (newSettings.animType != _this.internal.animType)) {
_this.set_animType(newSettings.animType);
_this.init.animType = _this.internal.animType;
}
if ((newSettings.animDirection != undefined) && (newSettings.animDirection != _this.internal.animDirection)) {
_this.set_animDirection(newSettings.animDirection);
_this.init.animDirection = _this.internal.animDirection;
}
if ((newSettings.delay != undefined) && (newSettings.delay != _this.internal.delay)) {
_this.set_delay(newSettings.delay);
_this.init.delay = _this.internal.delay;
}
if ((newSettings.isAnimating != undefined) && (newSettings.isAnimating != _this.internal.isAnimating)) {
_this.set_isAnimating(newSettings.isAnimating);
_this.init.isAnimating = _this.internal.isAnimating;
}
if (_this.refresh) {
_this.update();
}
};
_this.getParams = function () {
var _local1 = {};
for (var _local2 in _this.init) {
_local1[_local2] = _this.init[_local2];
}
return(_local1);
};
_this.getParam = function (varName) {
return(_this.internal[varName]);
};
_this.advanceAnimation = function () {
_this.internal.frame = _this.internal.frame + _this.internal.animDirection;
switch (_this.internal.animType) {
case "loop" :
if (_this.internal.frame < 0) {
_this.internal.frame = _this.internal.frame + _this.internal.frames;
} else if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = _this.internal.frame - _this.internal.frames;
}
return;
case "once" :
if (_this.internal.frame < 0) {
_this.internal.frame = 0;
} else if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = _this.internal.frames - 1;
}
return;
case "yoyo" :
if (_this.internal.frame < 0) {
_this.internal.frame = _this.internal.frame + 2;
_this.internal.animDirection = _this.internal.animDirection * -1;
} else if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = _this.internal.frame - 2;
_this.internal.animDirection = _this.internal.animDirection * -1;
}
if (_this.internal.frame < 0) {
_this.internal.frame = 0;
}
if (_this.internal.frame < _this.internal.frames) {
break;
}
_this.internal.frame = _this.internal.frames - 1;
}
};
_this.fps = 30;
_this.loop = function () {
if (_this.internal.isAnimating) {
_this.advanceAnimation();
}
_this.update();
_this.loopInterval = setTimeout(_this.loop, (1000 / _this.fps) * _this.internal.delay);
};
_this.loopInterval = setTimeout(_this.loop, 0);
_this.lookAt = function (sprite1, sprite2) {
var _local2 = sprite2._x - sprite1._x;
var _local1 = sprite2._y - sprite1._y;
var _local3 = Math.sqrt((_local2 * _local2) + (_local1 * _local1));
var _local4 = _local2 / _local3;
var _local5 = _local1 / _local3;
if (Math.abs(_local5) > Math.abs(_local4)) {
if (_local5 < 0) {
_this.setParams({direction:"up"});
} else {
_this.setParams({direction:"down"});
}
} else if (_local4 < 0) {
_this.setParams({direction:"left"});
} else {
_this.setParams({direction:"right"});
}
};
_this.isFacing = function (checkDir) {
var _local2 = _this.internal.directions / 4;
if (checkDir == "up") {
checkDir = 0;
} else if (checkDir == "right") {
checkDir = Math.floor(1 * _local2);
} else if (checkDir == "down") {
checkDir = Math.floor(2 * _local2);
} else if (checkDir == "left") {
checkDir = Math.floor(3 * _local2);
}
while (checkDir < 0) {
checkDir = checkDir + _this.internal.directions;
}
checkDir = checkDir % _this.internal.directions;
return(_this.internal.direction == checkDir);
};
_this.setParams(_local8);
_this.onUnload = function () {
clearTimeout(_this.loopInterval);
};
return(_this);
}
_this = this;
image = newSprite(data.initialAppearance, this, "image", 0);
image._y = 8;
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 () {
var _local1 = moveTimeout.length - 1;
while (_local1 >= 0) {
clearTimeout(moveTimeout[_local1].timeoutID);
moveTimeout.splice(_local1, 1);
_local1--;
}
};
makeDefaultScriptFunction = function (nam) {
_this["allow_" + nam] = true;
_this[nam] = function () {
if (((_this.scripts[nam].length > 0) && (_this["allow_" + nam])) && (_this.isPaused != true)) {
_this["allow_" + nam] = false;
_this.scripts[nam].done = function () {
var _local1 = function (_this) {
_this["allow_" + nam] = true;
};
setTimeout(_local1, 34, _this);
};
scripts[nam].runEvent(0);
}
};
};
makeScriptSystem = function () {
var _this = [];
_this.index = 0;
_this.runEvent = function (eventIndex) {
eventIndex = ((eventIndex != undefined) ? (eventIndex) : 0);
_this.index = eventIndex;
if (eventIndex >= _this.length) {
_this.isDone = true;
if (eventIndex == _this.length) {
_this.done();
}
} else {
_this.isDone = false;
_this[eventIndex].run(_this[eventIndex]);
}
};
_this.nextEvent = function () {
_this.runEvent(_this.index + 1);
};
return(_this);
};
scripts = {};
addScripting = function (sourceArray, destScript, scriptBase) {
var commandIndex = 0;
while (commandIndex < sourceArray.length) {
if (isNaN(commandIndex) == false) {
var commandData = sourceArray[commandIndex];
var command_obj = {};
destScript[commandIndex] = command_obj;
command_obj.data = commandData;
command_obj.nextEvent = destScript.nextEvent;
command_obj.storeTimeout = function (timeoutID) {
scriptBase.timeoutID = timeoutID;
};
if (commandData.type == "comment") {
getImpliedValue = function (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);
};
resolveContainer = function (containerName, thisRef) {
thisRef = (thisRef ? (thisRef) : 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);
};
resolveContainerStr = function (containerName, thisName) {
thisName = (thisName ? (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]) {
_local2 = containerName;
}
return(_local2);
};
evalPath = function (inputPath, defaultContainer_str, thisName) {
var thisName = (thisName ? (thisName) : "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = thisName;
}
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(this, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
};
nestedEval = function (inputPath, defaultContainer_str, thisName) {
if (typeof(inputPath) == "string") {
thisName = (thisName ? (thisName) : "this");
inputPath = String(inputPath);
var _local10 = "";
if (!defaultContainer_str) {
defaultContainer_str = "this";
}
var _local6 = inputPath.split("[");
var _local1 = _local6.length - 1;
while (_local1 > 0) {
var _local2 = _local6[_local1] + _local10;
var _local3 = _local2.indexOf("]");
_local10 = _local2.substr(_local3 + 1);
var _local5 = _local2.substr(0, _local3);
var _local4 = evalPath(_local5, defaultContainer_str, thisName);
_local10 = _local4 + _local10;
_local1--;
}
_local10 = _local6[0] + _local10;
} else {
var _local10 = inputPath;
}
return(_local10);
};
command_obj.run = function (thisCommand_obj) {
var _local1 = nestedEval(thisCommand_obj.data.message, "RAM", "_this");
trace("comment: " + _local1);
thisCommand_obj.nextEvent();
};
} else if (commandData.type == "wait") {
command_obj.run = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("wait");
}
switch (thisCommand_obj.data.mode) {
case "time" :
var _local6 = setTimeout(thisCommand_obj.nextEvent, thisCommand_obj.data.value * 1000);
thisCommand_obj.storeTimeout(_local6);
break;
case "movement" :
var _local4 = thisCommand_obj.data.value;
thisCommand_obj.spritesLeft = [];
if (_local4 == "ALL") {
for (var _local3 in SPRITES) {
var sprite = SPRITES[_local3];
if (sprite.lastMove) {
var _local2 = {sprite:sprite, thisCommand_obj:thisCommand_obj};
thisCommand_obj.spritesLeft.push(_local2);
}
}
} else {
if (_local4 == "this") {
_local4 = _this._name;
}
var sprite = SPRITES[_local4];
if (sprite.lastMove) {
var _local2 = {sprite:sprite, thisCommand_obj:thisCommand_obj};
thisCommand_obj.spritesLeft.push(_local2);
}
}
if (thisCommand_obj.spritesLeft.length > 0) {
for (var _local3 in thisCommand_obj.spritesLeft) {
var _local2 = thisCommand_obj.spritesLeft[_local3];
var sprite = _local2.sprite;
_local2.onMotionFinished = function () {
this.sprite.lastMove.removeListener(this);
this.thisCommand_obj.spritesLeft.pop();
if (this.thisCommand_obj.spritesLeft.length <= 0) {
setTimeout(this.thisCommand_obj.nextEvent, 1);
}
};
sprite.lastMove.addListener(_local2);
}
} else {
thisCommand_obj.nextEvent();
}
break;
case "fadeMusic" :
MUSIC.addListener(thisCommand_obj);
thisCommand_obj.storeTimeout(999);
thisCommand_obj.onFadeComplete = function () {
MUSIC.removeListener(thisCommand_obj);
if (this.getTimeout() != null) {
thisCommand_obj.nextEvent();
}
};
break;
case "sound" :
var _local5 = {onSoundComplete:function () {
thisCommand_obj.nextEvent();
}};
ROOT.soundLoop[thisCommand_obj.data.value].sound.addListener(_local5);
}
};
command_obj.scriptBase = scriptBase;
command_obj.getTimeout = function () {
return(this.scriptBase.timeoutID);
};
} else if (commandData.type == "swf") {
_global.nextDepth = function (this_mc, maxDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = 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);
};
emptyObject = function (inputObject) {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
};
getType = function (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);
};
copyObject = function (srcObj, destObj) {
emptyObject(destObj);
for (var _local5 in srcObj) {
var _local1 = srcObj[_local5];
var _local3 = getType(_local1);
if (_local3 == "variable") {
destObj[_local5] = _local1;
}
if (_local3 == "bitmap") {
destObj[_local5] = _local1.clone();
}
if (_local3 == "xml") {
destObj[_local5] = _local1.cloneNode(true);
}
if (_local3 == "array") {
destObj[_local5] = new Array();
copyObject(_local1, destObj[_local5]);
}
if (_local3 == "object") {
destObj[_local5] = new Object();
copyObject(_local1, destObj[_local5]);
}
}
};
getImpliedValue = function (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);
};
resolveContainer = function (containerName, thisRef) {
thisRef = (thisRef ? (thisRef) : 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);
};
resolveContainerStr = function (containerName, thisName) {
thisName = (thisName ? (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]) {
_local2 = containerName;
}
return(_local2);
};
evalPath = function (inputPath, defaultContainer_str, thisName) {
var thisName = (thisName ? (thisName) : "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = thisName;
}
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(this, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
};
nestedEval = function (inputPath, defaultContainer_str, thisName) {
if (typeof(inputPath) == "string") {
thisName = (thisName ? (thisName) : "this");
inputPath = String(inputPath);
var _local10 = "";
if (!defaultContainer_str) {
defaultContainer_str = "this";
}
var _local6 = inputPath.split("[");
var _local1 = _local6.length - 1;
while (_local1 > 0) {
var _local2 = _local6[_local1] + _local10;
var _local3 = _local2.indexOf("]");
_local10 = _local2.substr(_local3 + 1);
var _local5 = _local2.substr(0, _local3);
var _local4 = evalPath(_local5, defaultContainer_str, thisName);
_local10 = _local4 + _local10;
_local1--;
}
_local10 = _local6[0] + _local10;
} else {
var _local10 = inputPath;
}
return(_local10);
};
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);
};
command_obj.run = function (thisCommand_obj, skipSwfloader) {
var _local4 = evalPath(thisCommand_obj.data.target, "RAM", "_this");
var _local3 = nestedEval(thisCommand_obj.data.name, "RAM", "_this");
var _local5 = 0;
if ((_local3 == "") || (_local3 == undefined)) {
do {
_local3 = "swf_" + _local5;
_local5++;
} while (_local4[_local3]);
}
if (TRACE_SCRIPT) {
trace((("swf: " + _local3) + " waitForEnd: ") + thisCommand_obj.data.waitForEnd);
}
var _local7 = ((thisCommand_obj.data.depth == -1) ? (nextDepth(_local4)) : (nestedEval(thisCommand_obj.data.depth, "RAM", "_this")));
var _local8 = {};
copyObject(thisCommand_obj.data, _local8);
_local8.name = _local3;
_local8.depth = _local7;
if (!skipSwfloader) {
ROOT.swfLoader.add(_local8);
}
var swfLoader = new MovieClipLoader();
swfLoader.commandData = thisCommand_obj.data.data;
swfLoader.nextEvent = thisCommand_obj.nextEvent;
swfLoader.waitForEnd = thisCommand_obj.data.waitForEnd;
_local4[_local3].removeMovieClip();
var _local10 = _local4.getInstanceAtDepth(_local7);
_local10.removeMovieClip();
var _local6 = thisCommand_obj.data.linkage;
_local6 = nestedEval(_local6, "RAM", "_this");
var _local11 = false;
_local4.attachMovie(_local6, _local3, _local7);
if ((_local4[_local3] == _local4) || (_local4[_local3] == undefined)) {
_local4.createEmptyMovieClip(_local3, _local7);
var _local12 = flash.display.BitmapData.loadBitmap(_local6);
_local4[_local3].attachBitmap(_local12, 0);
if ((_local4[_local3]._width == undefined) || (_local4[_local3]._width == 0)) {
_local11 = true;
} else {
thisCommand_obj.data.waitForEnd = false;
}
}
swfLoader.passData = function (newClip, commandData) {
newClip.parentSprite = _this;
for (var _local4 in commandData) {
var _local1 = nestedEval(commandData[_local4], "RAM", "_this");
_local1 = makeStringObject(_local1, "RAM", "_this");
newClip[_local4] = _local1;
}
newClip.onClose = function () {
ROOT.swfLoader.remove(thisCommand_obj.data);
};
newClip.onData();
};
swfLoader.detectLastFrame = function (newClip, nextEvent) {
newClip.detectLastFrame = {parent:newClip, nextEvent:nextEvent, swfData:thisCommand_obj.data, loop:function (thisObj) {
if ((thisObj.parent._currentframe == thisObj.parent._totalframes) || (thisObj.parent._currentframe == undefined)) {
ROOT.swfLoader.remove(thisObj.swfData);
clearInterval(thisObj.intervalId);
thisObj.nextEvent();
}
}, intervalId:null, start:function () {
if (this.intervalId != null) {
clearInterval(this.intervalId);
}
this.intervalId = setInterval(this.loop, 34, this);
}};
newClip.detectLastFrame.start();
};
if (_local11) {
swfLoader.onLoadInit = function (newClip) {
swfLoader.passData(newClip, this.commandData);
if (swfLoader.waitForEnd) {
swfLoader.detectLastFrame(newClip, this.nextEvent);
}
delete swfLoader;
};
swfLoader.onLoadError = function (newClip) {
this.unloadClip(newClip);
newClip.removeMovieClip();
delete swfLoader;
};
swfLoader.loadClip(_local6, _local4[_local3]);
} else {
swfLoader.passData(_local4[_local3], swfLoader.commandData);
if (swfLoader.waitForEnd) {
swfLoader.detectLastFrame(_local4[_local3], thisCommand_obj.nextEvent);
}
delete swfLoader;
}
if (thisCommand_obj.data.waitForEnd == false) {
thisCommand_obj.nextEvent();
}
};
} else if (commandData.type == "removeSwf") {
getImpliedValue = function (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);
};
resolveContainer = function (containerName, thisRef) {
thisRef = (thisRef ? (thisRef) : 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);
};
resolveContainerStr = function (containerName, thisName) {
thisName = (thisName ? (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]) {
_local2 = containerName;
}
return(_local2);
};
evalPath = function (inputPath, defaultContainer_str, thisName) {
var thisName = (thisName ? (thisName) : "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = thisName;
}
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(this, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
};
nestedEval = function (inputPath, defaultContainer_str, thisName) {
if (typeof(inputPath) == "string") {
thisName = (thisName ? thisName : "this");
inputPath = String(inputPath);
var _local10 = "";
if (!defaultContainer_str) {
defaultContainer_str = "this";
}
var _local6 = inputPath.split("[");
var _local1 = _local6.length - 1;
while (_local1 > 0) {
var _local2 = _local6[_local1] + _local10;
var _local3 = _local2.indexOf("]");
_local10 = _local2.substr(_local3 + 1);
var _local5 = _local2.substr(0, _local3);
var _local4 = evalPath(_local5, defaultContainer_str, thisName);
_local10 = _local4 + _local10;
_local1--;
}
_local10 = _local6[0] + _local10;
} else {
var _local10 = inputPath;
}
return(_local10);
};
command_obj.run = function (thisCommand_obj, preserveSwfloader) {
if (!preserveSwfloader) {
ROOT.swfLoader.remove(thisCommand_obj.data);
}
if (TRACE_SCRIPT) {
trace("removeSwf");
}
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);
}
var targetName = nestedEval(thisCommand_obj.data.name, "RAM", "_this");
if (target_str == "SPRITES") {
target[targetName].remove();
}
target[targetName].unload();
target[targetName].onUnload();
target[targetName].removeMovieClip();
target[targetName]._name = null;
thisCommand_obj.nextEvent();
} else {
if (TRACE_SCRIPT) {
trace("\t too early, wait for 1 millisecond");
}
setTimeout(thisCommand_obj.run, autoDelay, thisCommand_obj);
}
};
} else if (commandData.type == "music") {
command_obj.run = function (thisCommand_obj) {
var _local2 = MUSIC.volume;
var _local4 = 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;
thisCommand_obj.nextEvent();
};
} else if (commandData.type == "fadeMusic") {
command_obj.run = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("fadeMusic");
}
var _local3 = thisCommand_obj.data.volume;
var _local1 = thisCommand_obj.data.duration;
MUSIC.fadeTo(_local3, _local1);
thisCommand_obj.nextEvent();
};
} else if (commandData.type == "sound") {
command_obj.run = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("sound");
}
var _local2 = thisCommand_obj.data.file;
var _local3 = thisCommand_obj.data.name;
if (_local2 != "") {
var _local5 = thisCommand_obj.data.volume;
var _local4 = thisCommand_obj.data.loop;
var _local6 = SOUND.play(_local2, _local5, _local4);
ROOT.soundLoop.addSound(_local3, _local6, true);
} else {
ROOT.soundLoop.remove(_local3);
}
thisCommand_obj.nextEvent();
};
command_obj.soundLoop = soundLoop;
} else if (commandData.type == "pause") {
command_obj.run = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("pause");
}
var _local3 = thisCommand_obj.data.system;
var _local1 = thisCommand_obj.data.isPaused;
LOOP.pauseSet(_local3, _local1);
thisCommand_obj.nextEvent();
};
} else if (commandData.type == "setVariable") {
getImpliedValue = function (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);
};
resolveContainer = function (containerName, thisRef) {
thisRef = (thisRef ? thisRef : 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);
};
resolveContainerStr = function (containerName, thisName) {
thisName = (thisName ? 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]) {
_local2 = containerName;
}
return(_local2);
};
evalPath = function (inputPath, defaultContainer_str, thisName) {
var thisName = (thisName ? thisName : "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = thisName;
}
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(this, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
};
nestedEval = function (inputPath, defaultContainer_str, thisName) {
if (typeof(inputPath) == "string") {
thisName = (thisName ? thisName : "this");
inputPath = String(inputPath);
var _local10 = "";
if (!defaultContainer_str) {
defaultContainer_str = "this";
}
var _local6 = inputPath.split("[");
var _local1 = _local6.length - 1;
while (_local1 > 0) {
var _local2 = _local6[_local1] + _local10;
var _local3 = _local2.indexOf("]");
_local10 = _local2.substr(_local3 + 1);
var _local5 = _local2.substr(0, _local3);
var _local4 = evalPath(_local5, defaultContainer_str, thisName);
_local10 = _local4 + _local10;
_local1--;
}
_local10 = _local6[0] + _local10;
} else {
var _local10 = inputPath;
}
return(_local10);
};
command_obj.run = function (thisCommand_obj) {
var _local9 = 1;
var _local11 = getTimer();
var _local10 = _local11 - startTime;
if (isNaN(_local10) || (_local10 > _local9)) {
if (thisCommand_obj.data.update == undefined) {
thisCommand_obj.data.update = true;
}
var _local4 = thisCommand_obj.data;
var _local7 = nestedEval(_local4.condition[0], "RAM", "_this");
var _local8 = _local7.lastIndexOf(".");
if (_local8 == -1) {
var _local12 = "RAM";
var _local2 = RAM;
} else {
var _local12 = _local7.substr(0, _local8);
var _local2 = evalPath(_local12, "RAM", "_this");
}
var _local1 = _local7.substr(_local8 + 1);
var _local14 = false;
var _local5 = getImpliedValue(_local4.condition[2]);
if (_local5 == "\\object") {
_local2[_local1] = {};
_local14 = true;
} else if (_local5 == "\\delete") {
_local2[_local1] = undefined;
delete _local2[_local1];
_local14 = true;
}
_local5 = nestedEval(_local5, "RAM", "_this");
var _local3 = getImpliedValue(_local5);
if (!_local14) {
if (TRACE_SCRIPT) {
trace(((((((("setVariable: " + _local1) + " (") + _local2[_local1]) + " ") + _local4.condition[1]) + " ") + _local3) + ")");
}
switch (_local4.condition[1]) {
case "=" :
_local2[_local1] = _local3;
break;
case "+" :
var _local13 = (!isNaN(_local2[_local1])) && (!isNaN(_local3));
if (_local13) {
_local2[_local1] = Number(_local2[_local1]) + Number(_local3);
} else {
_local2[_local1] = String(_local2[_local1]) + String(_local3);
}
break;
case "-" :
_local2[_local1] = _local2[_local1] - _local3;
break;
case "*" :
_local2[_local1] = _local2[_local1] * _local3;
break;
case "/" :
if (_local3 == 0) {
_local2[_local1] = undefined;
} else {
_local2[_local1] = _local2[_local1] / _local3;
}
break;
case "%" :
if (_local3 == 0) {
_local2[_local1] = undefined;
} else {
_local2[_local1] = _local2[_local1] % _local3;
}
break;
case "!" :
if (typeof(_local3) != "boolean") {
break;
}
_local2[_local1] = !_local3;
}
if ((typeof(_local2[_local1]) == "number") && isNaN(_local2[_local1])) {
_local2[_local1] = undefined;
}
}
if (_local4.update) {
SPRITES.updateSprites();
}
thisCommand_obj.nextEvent();
} else {
setTimeout(thisCommand_obj.run, _local9, thisCommand_obj);
}
};
} else if (commandData.type == "teleport") {
command_obj.run = function (thisCommand_obj) {
LOOP.removeSet("player");
LOOP.removeSet("scroll");
LOOP.removeSet("sprites");
thisCommand_obj.fadeOutDone = function () {
trace("");
if (TRACE_SCRIPT) {
trace("teleport");
}
var _local2 = this.data.relativeLevel;
var _local6 = this.data.level;
if (TRACE_SCRIPT) {
trace(" fullPath: " + _local6);
trace(" relativePath: " + _local2);
}
if (_local2 != undefined) {
var _local7 = ROOT.level_xml.filePath;
var _local3 = _local7.lastIndexOf("\\");
if (_local3 == -1) {
var _local4 = "";
} else {
var _local4 = _local7.substr(0, _local3 + 1);
}
var _local5 = -1;
while (_local5 = _local2.indexOf("..") , _local5 != -1) {
_local3 = _local4.lastIndexOf("\\", _local3 - 1);
var _local4 = _local4.substr(0, _local3 + 1);
_local2 = _local2.substr(_local5 + 3);
}
_local6 = _local4 + _local2;
}
if (TRACE_SCRIPT) {
trace(" teleporting to: " + _local6);
}
if (typeof(this.data.position.x) == "string") {
if (this.data.position.x.charAt(0) != "[") {
this.data.position.x = ("[" + this.data.position.x) + "]";
}
}
if (typeof(this.data.position.y) == "string") {
if (this.data.position.y.charAt(0) != "[") {
this.data.position.y = ("[" + this.data.position.y) + "]";
}
}
var _local11 = Number(nestedEval(this.data.position.x, "RAM", "_this"));
var _local10 = Number(nestedEval(this.data.position.y, "RAM", "_this"));
if (this.data.position) {
var _local9 = {x:_local11 + 8, y:_local10 + 8};
var _local8 = _local9;
} else {
var _local8 = {x:SPRITES.player._x, y:SPRITES.player._y};
}
ROOT.loadLevel(_local6, _local8);
};
thisCommand_obj.fadeInDone = function () {
TRANSITION.removeListener(this);
};
var _local9 = SPRITES.player.image.getParams();
if (_local9) {
RAM.playerSprite = _local9;
}
var _local8 = thisCommand_obj.data.transition;
_local8 = nestedEval(_local8, "RAM", "_this");
TRANSITION.addListener(thisCommand_obj);
if (!TRANSITION.image) {
TRANSITION.start(_local8);
} else {
thisCommand_obj.fadeOutDone();
}
};
} else if (commandData.type == "if") {
getImpliedValue = function (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);
};
resolveContainer = function (containerName, thisRef) {
thisRef = (thisRef ? thisRef : 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);
};
resolveContainerStr = function (containerName, thisName) {
thisName = (thisName ? 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]) {
_local2 = containerName;
}
return(_local2);
};
evalPath = function (inputPath, defaultContainer_str, thisName) {
var thisName = (thisName ? thisName : "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = thisName;
}
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(this, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
};
nestedEval = function (inputPath, defaultContainer_str, thisName) {
if (typeof(inputPath) == "string") {
thisName = (thisName ? thisName : "this");
inputPath = String(inputPath);
var _local10 = "";
if (!defaultContainer_str) {
defaultContainer_str = "this";
}
var _local6 = inputPath.split("[");
var _local1 = _local6.length - 1;
while (_local1 > 0) {
var _local2 = _local6[_local1] + _local10;
var _local3 = _local2.indexOf("]");
_local10 = _local2.substr(_local3 + 1);
var _local5 = _local2.substr(0, _local3);
var _local4 = evalPath(_local5, defaultContainer_str, thisName);
_local10 = _local4 + _local10;
_local1--;
}
_local10 = _local6[0] + _local10;
} else {
var _local10 = inputPath;
}
return(_local10);
};
command_obj.run = function (thisCommand_obj) {
var _local3 = thisCommand_obj.data;
var _local6 = nestedEval(_local3.condition[0], "RAM", "_this");
var _local2 = evalPath(_local6, "RAM", "_this");
var _local4 = getImpliedValue(_local3.condition[2]);
_local4 = nestedEval(_local4, "RAM", "_this");
var _local1 = getImpliedValue(_local4);
var _local5 = false;
switch (_local3.condition[1]) {
case "=" :
_local5 = _local2 == _local1;
break;
case "!=" :
_local5 = _local2 != _local1;
break;
case ">" :
if ((isNaN(_local2) == false) && (isNaN(_local1) == false)) {
_local5 = _local2 > _local1;
}
break;
case ">=" :
if ((isNaN(_local2) == false) && (isNaN(_local1) == false)) {
_local5 = _local2 >= _local1;
}
break;
case "<" :
if ((isNaN(_local2) == false) && (isNaN(_local1) == false)) {
_local5 = _local2 < _local1;
}
break;
case "<=" :
if (!((isNaN(_local2) == false) && (isNaN(_local1) == false))) {
break;
}
_local5 = _local2 <= _local1;
}
if (TRACE_SCRIPT) {
trace((((("if: " + _local3.condition[0]) + " ") + _local3.condition[1]) + " ") + _local3.condition[2]);
trace((((((((("\t (" + _local2) + " ") + _local3.condition[1]) + " ") + _local1) + ")") + " (") + _local5) + ")");
}
if (_local5 && (_local3.length > 0)) {
thisCommand_obj.script.done = function () {
thisCommand_obj.nextEvent();
};
thisCommand_obj.script.runEvent(0);
} else {
thisCommand_obj.nextEvent();
}
};
} else if (commandData.type == "while") {
getImpliedValue = function (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);
};
resolveContainer = function (containerName, thisRef) {
thisRef = (thisRef ? thisRef : 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);
};
resolveContainerStr = function (containerName, thisName) {
thisName = (thisName ? 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]) {
_local2 = containerName;
}
return(_local2);
};
evalPath = function (inputPath, defaultContainer_str, thisName) {
var thisName = (thisName ? thisName : "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = thisName;
}
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(this, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
};
nestedEval = function (inputPath, defaultContainer_str, thisName) {
if (typeof(inputPath) == "string") {
thisName = (thisName ? thisName : "this");
inputPath = String(inputPath);
var _local10 = "";
if (!defaultContainer_str) {
defaultContainer_str = "this";
}
var _local6 = inputPath.split("[");
var _local1 = _local6.length - 1;
while (_local1 > 0) {
var _local2 = _local6[_local1] + _local10;
var _local3 = _local2.indexOf("]");
_local10 = _local2.substr(_local3 + 1);
var _local5 = _local2.substr(0, _local3);
var _local4 = evalPath(_local5, defaultContainer_str, thisName);
_local10 = _local4 + _local10;
_local1--;
}
_local10 = _local6[0] + _local10;
} else {
var _local10 = inputPath;
}
return(_local10);
};
command_obj.run = function (thisCommand_obj) {
var _local2 = thisCommand_obj.getConditionResult(thisCommand_obj);
var _local1 = thisCommand_obj.data.condition;
if (TRACE_SCRIPT) {
trace((((((("while: " + _local1[0]) + " ") + _local1[1]) + " ") + _local1[2]) + " result: ") + _local2);
}
if (_local2 == true) {
thisCommand_obj.script.done = function () {
var _local1 = setTimeout(thisCommand_obj.run, 1, thisCommand_obj);
thisCommand_obj.storeTimeout(_local1);
};
if (thisCommand_obj.script.length > 0) {
thisCommand_obj.script.runEvent(0);
} else {
var _local3 = setTimeout(thisCommand_obj.run, 34, thisCommand_obj);
thisCommand_obj.storeTimeout(_local3);
}
} else {
thisCommand_obj.nextEvent();
}
};
command_obj.getConditionResult = function (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);
};
} else if (commandData.type == "move") {
command_obj.run = function (thisCommand_obj) {
var _local3 = nestedEval(thisCommand_obj.data.sprite, "RAM", "_this");
if (_local3 == "this") {
_local3 = _this._name;
}
thisCommand_obj.sprite = evalPath(_local3, "SPRITES", "_this");
if (TRACE_SCRIPT) {
trace("move: " + _local3);
}
var _local2 = 0;
while (_local2 < this.script.length) {
this.script[_local2].sprite = thisCommand_obj.sprite;
_local2++;
}
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);
}
this.thisCommand_obj.sprite.lastMove.broadcastMessage("onMotionFinished");
delete this.thisCommand_obj.sprite.lastMove;
};
thisCommand_obj.script.runEvent(0);
setTimeout(thisCommand_obj.nextEvent, 1);
};
} else if (commandData.type == "direction") {
command_obj.run = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("direction");
}
var _local1 = thisCommand_obj.data.value;
thisCommand_obj.sprite.image.setParams({direction:_local1});
thisCommand_obj.nextEvent();
};
} else if (commandData.type == "lookAt") {
command_obj.run = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("lookAt");
}
var _local2 = thisCommand_obj.sprite;
var _local1 = SPRITES[thisCommand_obj.data.value];
if (!_local1) {
_local1 = _this;
}
var _local3 = _local1;
_local2.image.lookAt(_local2, _local3);
thisCommand_obj.nextEvent();
};
} else if (commandData.type == "anim") {
command_obj.run = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("set isAnimating");
}
var _local1 = thisCommand_obj.data.value;
thisCommand_obj.sprite.image.setParams({isAnimating:_local1});
thisCommand_obj.nextEvent();
};
} else if (commandData.type == "moveWait") {
command_obj.run = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("moveWait");
}
var _local3 = function (thisCommand_obj) {
thisCommand_obj.moveTimeout.remove();
thisCommand_obj.nextEvent();
};
var _local2 = thisCommand_obj.data.value * 1000;
thisCommand_obj.timeout = setTimeout(_local3, _local2, thisCommand_obj);
thisCommand_obj.moveTimeout.addTimeout(thisCommand_obj.timeout);
};
command_obj.moveTimeout = moveTimeout;
} else if (commandData.type == "appearance") {
getImpliedValue = function (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);
};
resolveContainer = function (containerName, thisRef) {
thisRef = (thisRef ? thisRef : 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);
};
resolveContainerStr = function (containerName, thisName) {
thisName = (thisName ? 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]) {
_local2 = containerName;
}
return(_local2);
};
evalPath = function (inputPath, defaultContainer_str, thisName) {
var thisName = (thisName ? thisName : "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = thisName;
}
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(this, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
};
nestedEval = function (inputPath, defaultContainer_str, thisName) {
if (typeof(inputPath) == "string") {
thisName = (thisName ? thisName : "this");
inputPath = String(inputPath);
var _local10 = "";
if (!defaultContainer_str) {
defaultContainer_str = "this";
}
var _local6 = inputPath.split("[");
var _local1 = _local6.length - 1;
while (_local1 > 0) {
var _local2 = _local6[_local1] + _local10;
var _local3 = _local2.indexOf("]");
_local10 = _local2.substr(_local3 + 1);
var _local5 = _local2.substr(0, _local3);
var _local4 = evalPath(_local5, defaultContainer_str, thisName);
_local10 = _local4 + _local10;
_local1--;
}
_local10 = _local6[0] + _local10;
} else {
var _local10 = inputPath;
}
return(_local10);
};
command_obj.run = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("appearance");
}
var _local3 = thisCommand_obj.sprite.image;
var _local1 = thisCommand_obj.data.value;
_local1.charset = nestedEval(_local1.charset, "RAM", "_this");
_local1.animDirection = 1;
thisCommand_obj.sprite.image.setParams(_local1);
thisCommand_obj.nextEvent();
};
} else if (commandData.type == "moveRelative") {
command_obj.run = function (thisCommand_obj) {
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 _local3 = Number(nestedEval(thisCommand_obj.data.position.x, "RAM", "_this"));
var _local4 = Number(nestedEval(thisCommand_obj.data.position.y, "RAM", "_this"));
if (thisCommand_obj.data.autoDirection) {
if (Math.abs(_local4) > Math.abs(_local3)) {
if (_local4 < 0) {
thisCommand_obj.sprite.image.setParams({direction:"up"});
} else {
thisCommand_obj.sprite.image.setParams({direction:"down"});
}
} else if (_local3 < 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 _local6 = thisCommand_obj.sprite._x;
var _local5 = thisCommand_obj.sprite._y;
var _local12 = _local6 + _local3;
var _local11 = _local5 + _local4;
if (thisCommand_obj.data.duration == 0) {
thisCommand_obj.data.duration = 0.001;
}
thisCommand_obj.slideX = new mx.transitions.Tween(thisCommand_obj.sprite, "_x", null, _local6, _local12, thisCommand_obj.data.duration, true);
thisCommand_obj.slideY = new mx.transitions.Tween(thisCommand_obj.sprite, "_y", null, _local5, _local11, thisCommand_obj.data.duration, true);
thisCommand_obj.slideY.thisCommand_obj = thisCommand_obj;
var _local7 = function (thisTween) {
var _local1 = thisTween.thisCommand_obj;
_local1.slideX.onMotionFinished = null;
_local1.slideY.onMotionFinished = null;
if (_local1.data.autoAnim) {
_local1.sprite.image.setParams({isAnimating:false});
}
_local1.slideX.stop();
_local1.slideY.stop();
delete _local1.slideX;
delete _local1.slideY;
var _local2 = _local1.moveTimeout.exists(_local1.timeout);
if (_local2) {
_local1.moveTimeout.remove(_local1.timeout);
_local1.nextEvent();
}
};
thisCommand_obj.slideX.onMotionFinished = _local7;
thisCommand_obj.slideY.onMotionFinished = _local7;
thisCommand_obj.slideY.onMotionChanged = function () {
var _local2 = this.thisCommand_obj;
var _local3 = _local2.moveTimeout.exists(_local2.timeout);
if (_local3 == false) {
this.onMotionFinished(this);
}
};
var _local9 = function () {
};
var _local8 = thisCommand_obj.data.duration * 1000;
thisCommand_obj.timeout = setTimeout(_local9, _local8, thisCommand_obj);
thisCommand_obj.moveTimeout.addTimeout(thisCommand_obj.timeout);
};
command_obj.moveTimeout = moveTimeout;
} else if (commandData.type == "moveAbsolute") {
command_obj.run = function (thisCommand_obj) {
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 _local7 = Number(nestedEval(thisCommand_obj.data.position.x, "RAM", "_this"));
var _local6 = Number(nestedEval(thisCommand_obj.data.position.y, "RAM", "_this") - 8);
var _local4 = thisCommand_obj.sprite._x;
var _local3 = thisCommand_obj.sprite._y;
if (thisCommand_obj.data.autoDirection) {
var _local8 = _local7 - _local4;
var _local9 = _local6 - _local3;
if (Math.abs(_local9) > Math.abs(_local8)) {
if (_local9 < 0) {
thisCommand_obj.sprite.image.setParams({direction:"up"});
} else {
thisCommand_obj.sprite.image.setParams({direction:"down"});
}
} else if (_local8 < 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.data.duration = 0.001;
}
thisCommand_obj.slideX = new mx.transitions.Tween(thisCommand_obj.sprite, "_x", null, _local4, _local7, thisCommand_obj.data.duration, true);
thisCommand_obj.slideY = new mx.transitions.Tween(thisCommand_obj.sprite, "_y", null, _local3, _local6, thisCommand_obj.data.duration, true);
thisCommand_obj.slideY.thisCommand_obj = thisCommand_obj;
var _local5 = function (thisTween) {
var _local1 = thisTween.thisCommand_obj;
_local1.slideX.onMotionFinished = null;
_local1.slideY.onMotionFinished = null;
if (_local1.data.autoAnim) {
_local1.sprite.image.setParams({isAnimating:false});
}
_local1.slideX.stop();
_local1.slideY.stop();
delete _local1.slideX;
delete _local1.slideY;
var _local2 = _local1.moveTimeout.exists(_local1.timeout);
if (_local2) {
_local1.moveTimeout.remove(_local1.timeout);
_local1.nextEvent();
}
};
thisCommand_obj.slideX.onMotionFinished = _local5;
thisCommand_obj.slideY.onMotionFinished = _local5;
thisCommand_obj.slideY.onMotionChanged = function () {
var _local2 = this.thisCommand_obj;
var _local3 = _local2.moveTimeout.exists(_local2.timeout);
if (_local3 == false) {
this.onMotionFinished(this);
}
};
var _local11 = function () {
};
var _local10 = thisCommand_obj.data.duration * 1000;
thisCommand_obj.timeout = setTimeout(_local11, _local10, thisCommand_obj);
thisCommand_obj.moveTimeout.addTimeout(thisCommand_obj.timeout);
};
command_obj.moveTimeout = moveTimeout;
}
if (commandData.length > 0) {
command_obj.script = makeScriptSystem();
addScripting(commandData, command_obj.script, scriptBase);
}
}
commandIndex++;
}
};
for (var nam in data.scripts) {
scripts[nam] = makeScriptSystem();
addScripting(data.scripts[nam], scripts[nam], scripts[nam]);
makeDefaultScriptFunction(nam);
}
auto = function () {
if (scripts.auto.length > 0) {
startTime = getTimer();
scripts.auto.runEvent(0);
}
};
auto();
talk = function () {
if (scripts.talk.length > 0) {
var _local1 = SPRITES.player.isPaused;
LOOP.pauseSet("player", true);
playerWasAnimating = SPRITES.player.image.init.isAnimating;
SPRITES.player.image.setParams({isAnimating:false});
scripts.talk.done = function () {
var _local1 = ((playerWasPaused != undefined) ? (playerWasPaused) : false);
LOOP.pauseSet("player", _local1);
SPRITES.player.image.setParams({isAnimating:playerWasAnimating});
};
scripts.talk.runEvent(0);
}
};
collision = function () {
scripts.collision.done = function () {
HUD.ask.sprite = null;
};
scripts.collision.runEvent(0);
};
lastCollision = true;
checkCollision = function () {
bumpThreshold = (this.noCollide ? 8 : 16);
var _local3 = _this._x - SPRITES.player._x;
var _local2 = _this._y - SPRITES.player._y;
var _local5 = Math.sqrt((_local3 * _local3) + (_local2 * _local2));
var _local4 = _local5 < bumpThreshold;
if (_local4 && (!lastCollision)) {
collision();
}
lastCollision = _local4;
};
see = function () {
if (scripts.see.length > 0) {
canSee = false;
scripts.see.done = function () {
HUD.ask.sprite = null;
var _local1 = function (_this) {
_this.canSee = true;
};
setTimeout(_local1, 34, _this);
};
scripts.see.runEvent(0);
}
};
seeDistance = 7;
canSee = true;
checkSee = function () {
if ((scripts.see.length > 0) && (canSee)) {
var _local7 = new flash.geom.Point(0, 0);
if (image.isFacing("up")) {
_local7.y = -16;
} else if (image.isFacing("down")) {
_local7.y = 16;
} else if (image.isFacing("left")) {
_local7.x = -16;
} else if (image.isFacing("right")) {
_local7.x = 16;
}
seePoint = new flash.geom.Point(_x, _y);
var _local8 = false;
var _local3 = 0;
while (_local3 < seeDistance) {
seePoint = seePoint.add(_local7);
var _local5 = Math.floor(seePoint.x / 16);
var _local4 = Math.floor(seePoint.y / 16);
var _local6 = MAP.collision_array[_local5][_local4];
if (_local6 == 1) {
break;
}
var _local2 = seePoint.clone();
_parent.localToGlobal(_local2);
if (SPRITES.player.hit.hitTest(_local2.x, _local2.y, false)) {
_local8 = true;
break;
}
_local3++;
}
if (_local8) {
see();
}
}
};
canClick = true;
click = function () {
if (((scripts.click.length > 0) && (canClick)) && (_this.isPaused != true)) {
canClick = false;
scripts.click.done = function () {
HUD.ask.sprite = null;
var _local1 = function (_this) {
_this.canClick = true;
};
setTimeout(_local1, 34, _this);
};
scripts.click.runEvent(0);
}
};
if (scripts.click.length > 0) {
image.mask_mc.onRelease = click;
}
loop = function () {
checkSee();
checkCollision();
};
onUnload = function () {
for (var _local1 in scripts) {
clearTimeout(scripts[_local1].timeoutID);
scripts[_local1].timeoutID = null;
}
moveTimeout.removeAll();
LOOP.removeObject(_this, "sprites");
};
Symbol 174 MovieClip [player] Frame 1
function newSprite(newSettings, newTarget, newName, newDepth) {
newTarget = (newTarget ? (newTarget) : this);
newName = (newName ? (newName) : ("sprite_" + Math.floor(Math.random() * 9999)));
while (newTarget[newName]) {
newName = "sprite_" + Math.floor(Math.random() * 9999);
}
_global.nextDepth = function (this_mc, maxDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = 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 != undefined) ? (newDepth) : (nextDepth(newTarget)));
var _this = newTarget.createEmptyMovieClip(newName, newDepth);
var _local8 = {};
_local8.charset = newSettings.charset;
_local8.direction = ((newSettings.direction != undefined) ? (newSettings.direction) : 0);
_local8.directions = ((newSettings.directions != undefined) ? (newSettings.directions) : 1);
_local8.frame = ((newSettings.frame != undefined) ? (newSettings.frame) : 0);
_local8.frames = ((newSettings.frames != undefined) ? (newSettings.frames) : 1);
_local8.pose = ((newSettings.pose != undefined) ? (newSettings.pose) : 0);
_local8.columns = ((newSettings.columns != undefined) ? (newSettings.columns) : 1);
_local8.rows = ((newSettings.rows != undefined) ? (newSettings.rows) : 1);
_local8.animType = ((newSettings.animType != undefined) ? (newSettings.animType) : "loop");
_local8.animDirection = ((newSettings.animDirection != undefined) ? (newSettings.animDirection) : 1);
_local8.delay = ((newSettings.delay != undefined) ? (newSettings.delay) : 4);
_local8.isAnimating = ((newSettings.isAnimating != undefined) ? (newSettings.isAnimating) : true);
_this.init = {};
_this.internal = {};
_this.spriteWidth = 0;
_this.spriteHeight = 0;
_this.mask_mc = _this.createEmptyMovieClip("mask_mc", 1);
_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.offsetX = 0;
_this.offsetY = 0;
_this.refresh = false;
_this.loader = new MovieClipLoader();
_this.update = function () {
var _local2 = _this.internal.pose % _this.internal.columns;
_this.image_mc._x = (_this.offsetX - ((_local2 * _this.spriteWidth) * _this.internal.frames)) - (_this.internal.frame * _this.spriteWidth);
var _local1 = Math.floor(_this.internal.pose / _this.internal.columns);
_this.image_mc._y = (_this.offsetY - ((_local1 * _this.spriteHeight) * _this.internal.directions)) - (_this.internal.direction * _this.spriteHeight);
_this.refresh = false;
};
_this.updateMask = function () {
_this.mask_mc._width = _this.spriteWidth;
_this.mask_mc._height = _this.spriteHeight;
_this.mask_mc._x = _this.offsetX;
_this.mask_mc._y = _this.offsetY;
};
_this.updateSize = function () {
_this.spriteWidth = (_this.image_mc._width / _this.internal.columns) / _this.internal.frames;
_this.spriteHeight = (_this.image_mc._height / _this.internal.rows) / _this.internal.directions;
_this.offsetX = (-_this.spriteWidth) / 2;
_this.offsetY = -_this.spriteHeight;
_this.updateMask();
};
_this.set_charset = function (new_charset, newThis) {
var _this = (newThis || (_this));
_this.removeSnapshot = function () {
_this.previous_mc.removeMovieClip();
};
delete _this.previous_pic;
_this.previous_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0);
var _local2 = new flash.geom.Matrix();
_local2.translate(-_this.offsetX, -_this.offsetY);
_this.previous_pic.draw(_this, _local2);
_this.previous_mc.removeMovieClip();
_this.createEmptyMovieClip("previous_mc", 0);
_this.previous_mc.attachBitmap(_this.previous_pic, 0);
_this.previous_mc._x = _this.offsetX;
_this.previous_mc._y = _this.offsetY;
_this.loader.new_charset = new_charset;
_this.loader._this = _this;
_this.internal.frame = _this.init.frame;
_this.loader.onLoadInit = function (image_mc) {
var _local1 = image_mc._parent;
_local1.updateSize();
_local1.image_mc.setMask(_local1.mask_mc);
_local1.previous_mc.removeMovieClip();
_local1.update();
_local1.image_mc._alpha = 100;
_local1.onLoad();
};
_this.loader.onLoadError = function () {
};
_this.loader.externalFile = false;
_this.image_mc.removeMovieClip();
_this.createEmptyMovieClip("image_mc", 2);
_this.image_mc._alpha = 0;
_this.image_mc.attachMovie(new_charset, "image", 2);
if ((_this.image_mc._width == undefined) || (_this.image_mc._width == 0)) {
_this.image_pic.dispose();
_this.image_pic = flash.display.BitmapData.loadBitmap(new_charset);
_this.image_mc.attachBitmap(_this.image_pic, 0);
if ((_this.image_mc._width == undefined) || (_this.image_mc._width == 0)) {
_this.loader.externalFile = true;
_this.loader.loadClip(new_charset, _this.image_mc);
} else {
setTimeout(_this.loader.onLoadInit, 1, _this.image_mc);
}
} else {
setTimeout(_this.loader.onLoadInit, 1, _this.image_mc);
}
_this.internal.charset = new_charset;
};
_this.set_directions = function (new_directions) {
if (new_directions < 0) {
new_directions = 1;
}
_this.internal.directions = Math.floor(Math.abs(Number(new_directions)));
_this.internal.direction = _this.internal.direction % _this.internal.directions;
_this.updateSize();
_this.refresh = true;
};
_this.set_direction = function (new_direction) {
var _local2 = _this.internal.directions / 4;
if (new_direction == "up") {
new_direction = 0;
} else if (new_direction == "right") {
new_direction = Math.floor(1 * _local2);
} else if (new_direction == "down") {
new_direction = Math.floor(2 * _local2);
} else if (new_direction == "left") {
new_direction = Math.floor(3 * _local2);
}
while (new_direction < 0) {
new_direction = new_direction + _this.internal.directions;
}
new_direction = new_direction % _this.internal.directions;
_this.refresh = true;
_this.internal.direction = Math.floor(Number(new_direction));
};
_this.set_frames = function (new_frames) {
if (_this.internal.frame > (new_frames - 1)) {
_this.internal.frame = new_frames - 1;
}
if (_this.init.frame > (new_frames - 1)) {
_this.init.frame = new_frames - 1;
}
_this.internal.frames = Math.floor(Math.abs(Number(new_frames)));
if (_this.internal.frame > (_this.internal.frames - 1)) {
_this.internal.frame = _this.internal.frames - 1;
}
_this.init.frame = _this.internal.frame;
_this.updateSize();
_this.refresh = true;
};
_this.set_frame = function (new_frame) {
if (new_frame < 0) {
new_frame = 0;
}
if (new_frame > (_this.internal.frames - 1)) {
new_frame = _this.internal.frames - 1;
}
_this.refresh = true;
_this.init.frame = (_this.internal.frame = Math.floor(Math.abs(Number(new_frame))));
};
_this.set_columns = function (new_columns) {
_this.internal.columns = Math.floor(Math.abs(Number(new_columns)));
_this.updateSize();
_this.refresh = true;
};
_this.set_rows = function (new_rows) {
_this.internal.rows = Math.floor(Math.abs(Number(new_rows)));
_this.updateSize();
_this.refresh = true;
};
_this.set_pose = function (new_pose) {
var _local1 = (_this.internal.columns * _this.internal.rows) - 1;
if (new_pose < 0) {
new_pose = 0;
}
if (new_pose > _local1) {
new_pose = _local1;
}
_this.refresh = true;
_this.internal.pose = Math.floor(Math.abs(Number(new_pose)));
};
_this.set_animType = function (new_animType) {
if (((new_animType == "loop") || (new_animType == "yoyo")) || (new_animType == "once")) {
_this.internal.animType = String(new_animType);
}
};
_this.set_animDirection = function (new_animDirection) {
if (new_animDirection < -1) {
new_animDirection = -1;
}
if (new_animDirection > 1) {
new_animDirection = 1;
}
if ((new_animDirection == -1) || (new_animDirection == 1)) {
_this.internal.animDirection = Number(new_animDirection);
}
};
_this.set_delay = function (new_delay) {
if (new_delay <= 0) {
new_delay = 1;
}
_this.internal.delay = Number(new_delay);
};
_this.set_isAnimating = function (new_isAnimating) {
if (new_isAnimating.toLowerCase() == "true") {
new_isAnimating = true;
}
if (new_isAnimating.toLowerCase() == "false") {
new_isAnimating = false;
}
if (new_isAnimating != _this.internal.isAnimating) {
if (new_isAnimating) {
_this.advanceAnimation();
} else {
_this.internal.frame = Number(_this.init.frame);
}
_this.refresh = true;
}
_this.internal.isAnimating = Boolean(new_isAnimating);
};
_this.setParams = function (newSettings) {
if ((newSettings.charset != undefined) && (newSettings.charset != _this.internal.charset)) {
_this.set_charset(newSettings.charset);
_this.init.charset = _this.internal.charset;
}
if ((newSettings.directions != undefined) && (newSettings.directions != _this.internal.directions)) {
_this.set_directions(newSettings.directions);
_this.init.directions = _this.internal.directions;
}
if ((newSettings.direction != undefined) && (newSettings.direction != _this.internal.direction)) {
_this.set_direction(newSettings.direction);
_this.init.direction = _this.internal.direction;
}
if ((newSettings.frames != undefined) && (newSettings.frames != _this.internal.frames)) {
_this.set_frames(newSettings.frames);
_this.init.frames = _this.internal.frames;
}
if ((newSettings.frame != undefined) && (newSettings.frame != _this.internal.frame)) {
_this.set_frame(newSettings.frame);
_this.init.frame = _this.internal.frame;
}
if ((newSettings.columns != undefined) && (newSettings.columns != _this.internal.columns)) {
_this.set_columns(newSettings.columns);
_this.init.columns = _this.internal.columns;
}
if ((newSettings.rows != undefined) && (newSettings.rows != _this.internal.rows)) {
_this.set_rows(newSettings.rows);
_this.init.rows = _this.internal.rows;
}
if ((newSettings.pose != undefined) && (newSettings.pose != _this.internal.pose)) {
_this.set_pose(newSettings.pose);
_this.init.pose = _this.internal.pose;
}
if ((newSettings.animType != undefined) && (newSettings.animType != _this.internal.animType)) {
_this.set_animType(newSettings.animType);
_this.init.animType = _this.internal.animType;
}
if ((newSettings.animDirection != undefined) && (newSettings.animDirection != _this.internal.animDirection)) {
_this.set_animDirection(newSettings.animDirection);
_this.init.animDirection = _this.internal.animDirection;
}
if ((newSettings.delay != undefined) && (newSettings.delay != _this.internal.delay)) {
_this.set_delay(newSettings.delay);
_this.init.delay = _this.internal.delay;
}
if ((newSettings.isAnimating != undefined) && (newSettings.isAnimating != _this.internal.isAnimating)) {
_this.set_isAnimating(newSettings.isAnimating);
_this.init.isAnimating = _this.internal.isAnimating;
}
if (_this.refresh) {
_this.update();
}
};
_this.getParams = function () {
var _local1 = {};
for (var _local2 in _this.init) {
_local1[_local2] = _this.init[_local2];
}
return(_local1);
};
_this.getParam = function (varName) {
return(_this.internal[varName]);
};
_this.advanceAnimation = function () {
_this.internal.frame = _this.internal.frame + _this.internal.animDirection;
switch (_this.internal.animType) {
case "loop" :
if (_this.internal.frame < 0) {
_this.internal.frame = _this.internal.frame + _this.internal.frames;
} else if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = _this.internal.frame - _this.internal.frames;
}
return;
case "once" :
if (_this.internal.frame < 0) {
_this.internal.frame = 0;
} else if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = _this.internal.frames - 1;
}
return;
case "yoyo" :
if (_this.internal.frame < 0) {
_this.internal.frame = _this.internal.frame + 2;
_this.internal.animDirection = _this.internal.animDirection * -1;
} else if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = _this.internal.frame - 2;
_this.internal.animDirection = _this.internal.animDirection * -1;
}
if (_this.internal.frame < 0) {
_this.internal.frame = 0;
}
if (_this.internal.frame < _this.internal.frames) {
break;
}
_this.internal.frame = _this.internal.frames - 1;
}
};
_this.fps = 30;
_this.loop = function () {
if (_this.internal.isAnimating) {
_this.advanceAnimation();
}
_this.update();
_this.loopInterval = setTimeout(_this.loop, (1000 / _this.fps) * _this.internal.delay);
};
_this.loopInterval = setTimeout(_this.loop, 0);
_this.lookAt = function (sprite1, sprite2) {
var _local2 = sprite2._x - sprite1._x;
var _local1 = sprite2._y - sprite1._y;
var _local3 = Math.sqrt((_local2 * _local2) + (_local1 * _local1));
var _local4 = _local2 / _local3;
var _local5 = _local1 / _local3;
if (Math.abs(_local5) > Math.abs(_local4)) {
if (_local5 < 0) {
_this.setParams({direction:"up"});
} else {
_this.setParams({direction:"down"});
}
} else if (_local4 < 0) {
_this.setParams({direction:"left"});
} else {
_this.setParams({direction:"right"});
}
};
_this.isFacing = function (checkDir) {
var _local2 = _this.internal.directions / 4;
if (checkDir == "up") {
checkDir = 0;
} else if (checkDir == "right") {
checkDir = Math.floor(1 * _local2);
} else if (checkDir == "down") {
checkDir = Math.floor(2 * _local2);
} else if (checkDir == "left") {
checkDir = Math.floor(3 * _local2);
}
while (checkDir < 0) {
checkDir = checkDir + _this.internal.directions;
}
checkDir = checkDir % _this.internal.directions;
return(_this.internal.direction == checkDir);
};
_this.setParams(_local8);
_this.onUnload = function () {
clearTimeout(_this.loopInterval);
};
return(_this);
}
function makeTileCollision(walk_obj, wallValues) {
walk_obj.wallValues = wallValues;
var _local28 = function () {
if (this.walk_obj.wallValues) {
this.walk_obj.wallValues = [1];
}
var _local2 = 5;
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 / 16);
var _local18 = Math.floor(_local22 / 16);
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 / 16);
var _local17 = Math.floor(_local14 / 16);
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 ((_local7 == undefined) || (_local6 == undefined)) {
_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 / 16);
var _local28 = Math.floor(_local24 / 16);
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 / 16);
var _local29 = Math.floor(_local20 / 16);
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 ((_local8 == undefined) || (_local5 == undefined)) {
_local4 = true;
}
if (_local4) {
this.walk_obj.yVel = 0;
}
};
return(_local28);
}
function makeSpriteCollision() {
var _local15 = function () {
var _local3 = 5;
var _local7 = this.walk_obj.xVel;
var _local6 = this.walk_obj.yVel;
for (var _local14 in this.spriteLayer_mc) {
var _local2 = this.spriteLayer_mc[_local14];
if ((_local2 != this.player_mc) && (_local2.noCollide != true)) {
var _local4 = Math.abs(_local7) / _local7;
if (_local4) {
var _local8 = ((this.player_mc._x + (_local3 * _local4)) + _local7) - this.xOffset;
var _local9 = (this.player_mc._y - _local3) - this.yOffset;
if ((((_local8 > (_local2._x - 8)) && (_local9 > (_local2._y - 8))) && (_local8 < (_local2._x + 8))) && (_local9 < (_local2._y + 8))) {
var _local12 = 1;
} else {
var _local12 = 0;
}
_local8 = ((this.player_mc._x + (_local3 * _local4)) + _local7) - this.xOffset;
_local9 = (this.player_mc._y + _local3) - this.yOffset;
if ((((_local8 > (_local2._x - 8)) && (_local9 > (_local2._y - 8))) && (_local8 < (_local2._x + 8))) && (_local9 < (_local2._y + 8))) {
var _local11 = 1;
} else {
var _local11 = 0;
}
if ((_local12 != 0) || (_local11 != 0)) {
this.walk_obj.xVel = 0;
}
}
var _local5 = Math.abs(_local6) / _local6;
if (_local5) {
var _local8 = (this.player_mc._x - _local3) - this.xOffset;
var _local9 = ((this.player_mc._y + (_local3 * _local5)) + _local6) - this.yOffset;
if ((((_local8 > (_local2._x - 8)) && (_local9 > (_local2._y - 8))) && (_local8 < (_local2._x + 8))) && (_local9 < (_local2._y + 8))) {
var _local13 = 1;
} else {
var _local13 = 0;
}
_local8 = (this.player_mc._x + _local3) - this.xOffset;
_local9 = ((this.player_mc._y + (_local3 * _local5)) + _local6) - this.yOffset;
if ((((_local8 > (_local2._x - 8)) && (_local9 > (_local2._y - 8))) && (_local8 < (_local2._x + 8))) && (_local9 < (_local2._y + 8))) {
var _local10 = 1;
} else {
var _local10 = 0;
}
if ((_local13 != 0) || (_local10 != 0)) {
this.walk_obj.yVel = 0;
}
}
}
}
};
return(_local15);
}
_this = this;
this.onEnterFrame = function () {
if (isPaused && (!lastPaused)) {
image.setParams({isAnimating:false});
}
lastPaused = isPaused;
};
LOOP.addObject(this, "player");
var newTarget = this;
var newCharset = RAM.playerSprite.charset;
var newName = "image";
var newDepth = nextDepth(SPRITES);
var playerImage_mc = newSprite(RAM.playerSprite, newTarget, newName, newDepth);
playerImage_mc._x = 0;
playerImage_mc._y = 6;
makeWalk = function (player_mc, playerSprite_mc) {
var _this = new Object();
_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(_this.down_key)) {
_this.playerSprite_mc.setParams({direction:"down"});
if (_this.yVel < _this.walkSpeed) {
_this.yVel = _this.yVel + _this.acel;
}
} else if (Key.isDown(_this.up_key)) {
_this.playerSprite_mc.setParams({direction:"up"});
if (_this.yVel > (-_this.walkSpeed)) {
_this.yVel = _this.yVel - _this.acel;
}
} else if (Math.abs(_this.yVel) > 1) {
_this.yVel = _this.yVel * _this.decel;
} else {
_this.yVel = 0;
}
if (Key.isDown(_this.right_key)) {
_this.playerSprite_mc.setParams({direction:"right"});
if (_this.xVel < _this.walkSpeed) {
_this.xVel = _this.xVel + _this.acel;
}
} else if (Key.isDown(_this.left_key)) {
_this.playerSprite_mc.setParams({direction:"left"});
if (_this.xVel > (-_this.walkSpeed)) {
_this.xVel = _this.xVel - _this.acel;
}
} 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, 33.3333333333333);
return(_this);
};
this.walk_obj = makeWalk(this, playerImage_mc);
clearInterval(this.walk_obj.loopInterval);
LOOP.addObject(this.walk_obj, "player");
this.walk_obj.collision = new WalkCollisionSystem(_this, _this.walk_obj, 0, 0);
this.walk_obj.collision.collision_array = MAP.collision_array;
this.walk_obj.collision.collisionMethods.push(makeTileCollision(this.walk_obj, [1]));
this.walk_obj.collision.spriteLayer_mc = SPRITES;
this.walk_obj.collision.collisionMethods.push(makeSpriteCollision());
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(_this.talk_key)) {
if (_this.lastKey == false) {
_this.lastKey = true;
switch (_this.playerImage_mc.internal.direction) {
case 0 :
var _local6 = 0;
var _local5 = -16;
break;
case 1 :
_local6 = 16;
_local5 = 0;
break;
case 2 :
_local6 = 0;
_local5 = 16;
break;
case 3 :
_local6 = -16;
_local5 = 0;
}
var _local2 = (_this.player_mc._x + _local6) + _this.xOffset;
var _local3 = (_this.player_mc._y + _local5) + _this.yOffset;
for (var _local4 in _this.spriteLayer_mc) {
var _local1 = _this.spriteLayer_mc[_local4];
if ((((_local2 > (_local1._x - 8)) && (_local3 > (_local1._y - 8))) && (_local2 < (_local1._x + 8))) && (_local3 < (_local1._y + 8))) {
_local1.talk();
}
}
}
} else {
_this.lastKey = false;
}
};
_this.loopInterval = setInterval(_this.loop, 33);
return(_this);
};
this.talk_obj = makeTalk(this, playerImage_mc, SPRITES, 32, 0, 0);
clearInterval(this.talk_obj.loopInterval);
LOOP.addObject(this.talk_obj, "player");
this.onUnload = function () {
LOOP.removeSet("player");
};
Symbol 175 MovieClip [game_mc] Frame 1
_this = this;
makeMap = function (instanceName, target_mc, depth, width, height) {
function addCollisionMethods(_this) {
_this.twoPointCollide = function (side, sprite_mc, velocity_obj, xOffset, yOffset) {
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 = _this[_local1.x][_local1.y];
var _local7 = _this[_local3.x][_local3.y];
var _local4 = 0;
if ((_local5 > 0) || (_local7 > 0)) {
if ((_local5 == 1) || (_local7 == 1)) {
_local4 = 1;
} else {
_local4 = _local5;
}
}
return(_local4);
};
_this.getPixelCollision = function (x, y) {
x = Math.floor(x / 16);
y = Math.floor(y / 16);
return(_this[x][y]);
};
_this.getTileCollision(x, y);
return(_this[x][y]);
}
_global.nextDepth = function (this_mc, maxDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = 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) {
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 = _this[_local1.x][_local1.y];
var _local7 = _this[_local3.x][_local3.y];
var _local4 = 0;
if ((_local5 > 0) || (_local7 > 0)) {
if ((_local5 == 1) || (_local7 == 1)) {
_local4 = 1;
} else {
_local4 = _local5;
}
}
return(_local4);
};
_this.getPixelCollision = function (x, y) {
x = Math.floor(x / 16);
y = Math.floor(y / 16);
return(_this[x][y]);
};
_this.getTileCollision(x, y);
return(_this[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 _local2 = ("layer" + layer) + "_mc";
var _local3 = ("layer" + layer) + "_pic";
if (_this[_local2] == undefined) {
var _local7 = (_this[_local3] = new flash.display.BitmapData(_this.width * 16, _this.height * 16, true, 0));
_this.createEmptyMovieClip(_local2, layer * 10);
_this[_local2].attachBitmap(_local7, 0, true, false);
}
_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();
_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 _local10 = new flash.geom.Rectangle(0, 0, 480, 256);
_this.chipset_pic.fillRect(_local10, 0);
var _local9 = flash.display.BitmapData.loadBitmap(data_obj.chipset);
if (_local9.width > -1) {
_this.chipset_pic = _local9.clone();
_local9.dispose();
lay = 0;
while (lay < data_obj.layers.length) {
var x = 0;
while (x < _this.width) {
var y = 0;
while (y < _this.height) {
var _local1 = data_obj.layers[lay][x][y];
_this.setTile(x, y, _local1, lay);
y++;
}
x++;
}
lay++;
}
_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 _local4 = new flash.display.BitmapData(480, 256, true, 0);
_local4.draw(_this.load_mc);
var _local5 = new flash.geom.Rectangle(0, 0, 480, 256);
_this.chipset_pic.copyPixels(_local4, _local5, {x:0, y:0});
_this.loader.unloadClip(_this.load_mc);
lay = 0;
while (lay < data_obj.layers.length) {
var _local2 = 0;
while (_local2 < _this.width) {
var _local1 = 0;
while (_local1 < _this.height) {
var _local3 = data_obj.layers[lay][_local2][_local1];
_this.setTile(_local2, _local1, _local3, lay);
_local1++;
}
_local2++;
}
lay++;
}
_this.onLoad();
delete _this.loadData;
delete _this.loader;
};
}
};
_this.drawCompactObj = function (data_obj) {
_this.reset();
_this.width = data_obj.width;
_this.height = data_obj.height;
var _local3 = 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(_local3);
if (_local1 == "0x") {
var _local2 = 33;
} else {
var _local2 = parseInt(_local1, 36);
}
_local3++;
_this.collision_array[x][y] = _local2;
y++;
}
x++;
}
addCollisionMethods(_this.collision_array);
}
var _local12 = new flash.geom.Rectangle(0, 0, 480, 256);
_this.chipset_pic.fillRect(_local12, 0);
var drawLayers = function () {
lay = 0;
while (lay < data_obj.layers.length) {
var _local5 = 1;
var _local3 = 0;
while (_local3 < _this.width) {
var _local1 = 0;
while (_local1 < _this.height) {
var _local2 = data_obj.layers[lay].substr(_local5, 2);
if (_local2 == "0x") {
var _local4 = 33;
} else {
var _local4 = parseInt(_local2, 36);
}
_local5 = _local5 + 2;
_this.setTile(_local3, _local1, _local4, lay);
_local1++;
}
_local3++;
}
lay++;
}
};
var _local11 = flash.display.BitmapData.loadBitmap(data_obj.chipset);
if (_local11.width > -1) {
_this.chipset_pic = _local11.clone();
_local11.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 _local4 = null;
var _local7 = newValue.substr(0, 4);
if (_local7 == "bol_") {
var _local8 = newValue.substr(4);
newValue = _local8 == "true";
_local4 = newValue;
} else if (_local7 == "num_") {
var _local8 = newValue.substr(4);
newValue = Number(_local8);
_local4 = newValue;
} else if (_local7 == "str_") {
var _local8 = newValue.substr(4);
newValue = String(_local8);
_local4 = newValue;
} else if (isNaN(Number(newValue))) {
if (newValue == "true") {
_local4 = true;
} else if (newValue == "false") {
_local4 = false;
} else {
var _local5 = "";
var _local6 = String.fromCharCode(10);
var _local3 = 0;
var _local1 = 0;
while (_local1 != undefined) {
_local1 = newValue.indexOf(_local6, _local3);
if (_local1 == -1) {
_local1 = undefined;
}
stringSlice = newValue.slice(_local3, _local1);
_local3 = _local1 + 1;
_local5 = _local5 + stringSlice;
}
newValue = _local5;
_local4 = newValue;
}
} else {
_local4 = Number(newValue);
}
return(_local4);
};
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 _local4 = null;
var _local7 = newValue.substr(0, 4);
if (_local7 == "bol_") {
var _local8 = newValue.substr(4);
newValue = _local8 == "true";
_local4 = newValue;
} else if (_local7 == "num_") {
var _local8 = newValue.substr(4);
newValue = Number(_local8);
_local4 = newValue;
} else if (_local7 == "str_") {
var _local8 = newValue.substr(4);
newValue = String(_local8);
_local4 = newValue;
} else if (isNaN(Number(newValue))) {
if (newValue == "true") {
_local4 = true;
} else if (newValue == "false") {
_local4 = false;
} else {
var _local5 = "";
var _local6 = String.fromCharCode(10);
var _local3 = 0;
var _local1 = 0;
while (_local1 != undefined) {
_local1 = newValue.indexOf(_local6, _local3);
if (_local1 == -1) {
_local1 = undefined;
}
stringSlice = newValue.slice(_local3, _local1);
_local3 = _local1 + 1;
_local5 = _local5 + stringSlice;
}
newValue = _local5;
_local4 = newValue;
}
} else {
_local4 = Number(newValue);
}
return(_local4);
};
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.scroll = function (x, y, screenWidth, screenHeight, smoothness) {
screenWidth = (screenWidth ? (screenWidth) : 320);
screenHeight = (screenHeight ? (screenHeight) : 240);
smoothness = (smoothness ? (smoothness) : 1);
var _local5 = screenWidth / 2;
var _local7 = screenHeight / 2;
var _local2 = _this.width * 16;
var _local4 = _this.height * 16;
var _local8 = _this._x;
var _local6 = _this._y;
if (x < _local5) {
var _local10 = 0;
} else if (x > (_local2 - _local5)) {
var _local10 = (-_local2) + screenWidth;
} else {
var _local10 = (-x) + _local5;
}
if (y < _local7) {
var _local11 = 0;
} else if (y > (_local4 - _local7)) {
var _local11 = (-_local4) + screenHeight;
} else {
var _local11 = (-y) + _local7;
}
if (_local2 < screenWidth) {
var _local13 = screenWidth - _local2;
_local8 = _local13 / 2;
} else {
_local8 = _local8 + ((_local10 - _this._x) * smoothness);
}
if (_local4 < screenHeight) {
var _local12 = screenHeight - _local4;
_local6 = _local12 / 2;
} else {
_local6 = _local6 + ((_local11 - _this._y) * smoothness);
}
_this._x = Math.floor(_local8);
_this._y = Math.floor(_local6);
};
return(_this);
};
_global.MAP = makeMap("map_mc", _this, 1);
_global.PANORAMA.removeMovieClip();
_global.PANORAMA = _this.createEmptyMovieClip("PANORAMA", 0);
MAP.onLoad = function () {
function newSprite(newSettings, newTarget, newName, newDepth) {
newTarget = (newTarget ? (newTarget) : this);
newName = (newName ? (newName) : ("sprite_" + Math.floor(Math.random() * 9999)));
while (newTarget[newName]) {
newName = "sprite_" + Math.floor(Math.random() * 9999);
}
_global.nextDepth = function (this_mc, maxDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = 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 != undefined) ? (newDepth) : (nextDepth(newTarget)));
var _this = newTarget.createEmptyMovieClip(newName, newDepth);
var _local8 = {};
_local8.charset = newSettings.charset;
_local8.direction = ((newSettings.direction != undefined) ? (newSettings.direction) : 0);
_local8.directions = ((newSettings.directions != undefined) ? (newSettings.directions) : 1);
_local8.frame = ((newSettings.frame != undefined) ? (newSettings.frame) : 0);
_local8.frames = ((newSettings.frames != undefined) ? (newSettings.frames) : 1);
_local8.pose = ((newSettings.pose != undefined) ? (newSettings.pose) : 0);
_local8.columns = ((newSettings.columns != undefined) ? (newSettings.columns) : 1);
_local8.rows = ((newSettings.rows != undefined) ? (newSettings.rows) : 1);
_local8.animType = ((newSettings.animType != undefined) ? (newSettings.animType) : "loop");
_local8.animDirection = ((newSettings.animDirection != undefined) ? (newSettings.animDirection) : 1);
_local8.delay = ((newSettings.delay != undefined) ? (newSettings.delay) : 4);
_local8.isAnimating = ((newSettings.isAnimating != undefined) ? (newSettings.isAnimating) : true);
_this.init = {};
_this.internal = {};
_this.spriteWidth = 0;
_this.spriteHeight = 0;
_this.mask_mc = _this.createEmptyMovieClip("mask_mc", 1);
_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.offsetX = 0;
_this.offsetY = 0;
_this.refresh = false;
_this.loader = new MovieClipLoader();
_this.update = function () {
var _local2 = _this.internal.pose % _this.internal.columns;
_this.image_mc._x = (_this.offsetX - ((_local2 * _this.spriteWidth) * _this.internal.frames)) - (_this.internal.frame * _this.spriteWidth);
var _local1 = Math.floor(_this.internal.pose / _this.internal.columns);
_this.image_mc._y = (_this.offsetY - ((_local1 * _this.spriteHeight) * _this.internal.directions)) - (_this.internal.direction * _this.spriteHeight);
_this.refresh = false;
};
_this.updateMask = function () {
_this.mask_mc._width = _this.spriteWidth;
_this.mask_mc._height = _this.spriteHeight;
_this.mask_mc._x = _this.offsetX;
_this.mask_mc._y = _this.offsetY;
};
_this.updateSize = function () {
_this.spriteWidth = (_this.image_mc._width / _this.internal.columns) / _this.internal.frames;
_this.spriteHeight = (_this.image_mc._height / _this.internal.rows) / _this.internal.directions;
_this.offsetX = (-_this.spriteWidth) / 2;
_this.offsetY = -_this.spriteHeight;
_this.updateMask();
};
_this.set_charset = function (new_charset, newThis) {
var _this = (newThis || (_this));
_this.removeSnapshot = function () {
_this.previous_mc.removeMovieClip();
};
delete _this.previous_pic;
_this.previous_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0);
var _local2 = new flash.geom.Matrix();
_local2.translate(-_this.offsetX, -_this.offsetY);
_this.previous_pic.draw(_this, _local2);
_this.previous_mc.removeMovieClip();
_this.createEmptyMovieClip("previous_mc", 0);
_this.previous_mc.attachBitmap(_this.previous_pic, 0);
_this.previous_mc._x = _this.offsetX;
_this.previous_mc._y = _this.offsetY;
_this.loader.new_charset = new_charset;
_this.loader._this = _this;
_this.internal.frame = _this.init.frame;
_this.loader.onLoadInit = function (image_mc) {
var _local1 = image_mc._parent;
_local1.updateSize();
_local1.image_mc.setMask(_local1.mask_mc);
_local1.previous_mc.removeMovieClip();
_local1.update();
_local1.image_mc._alpha = 100;
_local1.onLoad();
};
_this.loader.onLoadError = function () {
};
_this.loader.externalFile = false;
_this.image_mc.removeMovieClip();
_this.createEmptyMovieClip("image_mc", 2);
_this.image_mc._alpha = 0;
_this.image_mc.attachMovie(new_charset, "image", 2);
if ((_this.image_mc._width == undefined) || (_this.image_mc._width == 0)) {
_this.image_pic.dispose();
_this.image_pic = flash.display.BitmapData.loadBitmap(new_charset);
_this.image_mc.attachBitmap(_this.image_pic, 0);
if ((_this.image_mc._width == undefined) || (_this.image_mc._width == 0)) {
_this.loader.externalFile = true;
_this.loader.loadClip(new_charset, _this.image_mc);
} else {
setTimeout(_this.loader.onLoadInit, 1, _this.image_mc);
}
} else {
setTimeout(_this.loader.onLoadInit, 1, _this.image_mc);
}
_this.internal.charset = new_charset;
};
_this.set_directions = function (new_directions) {
if (new_directions < 0) {
new_directions = 1;
}
_this.internal.directions = Math.floor(Math.abs(Number(new_directions)));
_this.internal.direction = _this.internal.direction % _this.internal.directions;
_this.updateSize();
_this.refresh = true;
};
_this.set_direction = function (new_direction) {
var _local2 = _this.internal.directions / 4;
if (new_direction == "up") {
new_direction = 0;
} else if (new_direction == "right") {
new_direction = Math.floor(1 * _local2);
} else if (new_direction == "down") {
new_direction = Math.floor(2 * _local2);
} else if (new_direction == "left") {
new_direction = Math.floor(3 * _local2);
}
while (new_direction < 0) {
new_direction = new_direction + _this.internal.directions;
}
new_direction = new_direction % _this.internal.directions;
_this.refresh = true;
_this.internal.direction = Math.floor(Number(new_direction));
};
_this.set_frames = function (new_frames) {
if (_this.internal.frame > (new_frames - 1)) {
_this.internal.frame = new_frames - 1;
}
if (_this.init.frame > (new_frames - 1)) {
_this.init.frame = new_frames - 1;
}
_this.internal.frames = Math.floor(Math.abs(Number(new_frames)));
if (_this.internal.frame > (_this.internal.frames - 1)) {
_this.internal.frame = _this.internal.frames - 1;
}
_this.init.frame = _this.internal.frame;
_this.updateSize();
_this.refresh = true;
};
_this.set_frame = function (new_frame) {
if (new_frame < 0) {
new_frame = 0;
}
if (new_frame > (_this.internal.frames - 1)) {
new_frame = _this.internal.frames - 1;
}
_this.refresh = true;
_this.init.frame = (_this.internal.frame = Math.floor(Math.abs(Number(new_frame))));
};
_this.set_columns = function (new_columns) {
_this.internal.columns = Math.floor(Math.abs(Number(new_columns)));
_this.updateSize();
_this.refresh = true;
};
_this.set_rows = function (new_rows) {
_this.internal.rows = Math.floor(Math.abs(Number(new_rows)));
_this.updateSize();
_this.refresh = true;
};
_this.set_pose = function (new_pose) {
var _local1 = (_this.internal.columns * _this.internal.rows) - 1;
if (new_pose < 0) {
new_pose = 0;
}
if (new_pose > _local1) {
new_pose = _local1;
}
_this.refresh = true;
_this.internal.pose = Math.floor(Math.abs(Number(new_pose)));
};
_this.set_animType = function (new_animType) {
if (((new_animType == "loop") || (new_animType == "yoyo")) || (new_animType == "once")) {
_this.internal.animType = String(new_animType);
}
};
_this.set_animDirection = function (new_animDirection) {
if (new_animDirection < -1) {
new_animDirection = -1;
}
if (new_animDirection > 1) {
new_animDirection = 1;
}
if ((new_animDirection == -1) || (new_animDirection == 1)) {
_this.internal.animDirection = Number(new_animDirection);
}
};
_this.set_delay = function (new_delay) {
if (new_delay <= 0) {
new_delay = 1;
}
_this.internal.delay = Number(new_delay);
};
_this.set_isAnimating = function (new_isAnimating) {
if (new_isAnimating.toLowerCase() == "true") {
new_isAnimating = true;
}
if (new_isAnimating.toLowerCase() == "false") {
new_isAnimating = false;
}
if (new_isAnimating != _this.internal.isAnimating) {
if (new_isAnimating) {
_this.advanceAnimation();
} else {
_this.internal.frame = Number(_this.init.frame);
}
_this.refresh = true;
}
_this.internal.isAnimating = Boolean(new_isAnimating);
};
_this.setParams = function (newSettings) {
if ((newSettings.charset != undefined) && (newSettings.charset != _this.internal.charset)) {
_this.set_charset(newSettings.charset);
_this.init.charset = _this.internal.charset;
}
if ((newSettings.directions != undefined) && (newSettings.directions != _this.internal.directions)) {
_this.set_directions(newSettings.directions);
_this.init.directions = _this.internal.directions;
}
if ((newSettings.direction != undefined) && (newSettings.direction != _this.internal.direction)) {
_this.set_direction(newSettings.direction);
_this.init.direction = _this.internal.direction;
}
if ((newSettings.frames != undefined) && (newSettings.frames != _this.internal.frames)) {
_this.set_frames(newSettings.frames);
_this.init.frames = _this.internal.frames;
}
if ((newSettings.frame != undefined) && (newSettings.frame != _this.internal.frame)) {
_this.set_frame(newSettings.frame);
_this.init.frame = _this.internal.frame;
}
if ((newSettings.columns != undefined) && (newSettings.columns != _this.internal.columns)) {
_this.set_columns(newSettings.columns);
_this.init.columns = _this.internal.columns;
}
if ((newSettings.rows != undefined) && (newSettings.rows != _this.internal.rows)) {
_this.set_rows(newSettings.rows);
_this.init.rows = _this.internal.rows;
}
if ((newSettings.pose != undefined) && (newSettings.pose != _this.internal.pose)) {
_this.set_pose(newSettings.pose);
_this.init.pose = _this.internal.pose;
}
if ((newSettings.animType != undefined) && (newSettings.animType != _this.internal.animType)) {
_this.set_animType(newSettings.animType);
_this.init.animType = _this.internal.animType;
}
if ((newSettings.animDirection != undefined) && (newSettings.animDirection != _this.internal.animDirection)) {
_this.set_animDirection(newSettings.animDirection);
_this.init.animDirection = _this.internal.animDirection;
}
if ((newSettings.delay != undefined) && (newSettings.delay != _this.internal.delay)) {
_this.set_delay(newSettings.delay);
_this.init.delay = _this.internal.delay;
}
if ((newSettings.isAnimating != undefined) && (newSettings.isAnimating != _this.internal.isAnimating)) {
_this.set_isAnimating(newSettings.isAnimating);
_this.init.isAnimating = _this.internal.isAnimating;
}
if (_this.refresh) {
_this.update();
}
};
_this.getParams = function () {
var _local1 = {};
for (var _local2 in _this.init) {
_local1[_local2] = _this.init[_local2];
}
return(_local1);
};
_this.getParam = function (varName) {
return(_this.internal[varName]);
};
_this.advanceAnimation = function () {
_this.internal.frame = _this.internal.frame + _this.internal.animDirection;
switch (_this.internal.animType) {
case "loop" :
if (_this.internal.frame < 0) {
_this.internal.frame = _this.internal.frame + _this.internal.frames;
} else if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = _this.internal.frame - _this.internal.frames;
}
return;
case "once" :
if (_this.internal.frame < 0) {
_this.internal.frame = 0;
} else if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = _this.internal.frames - 1;
}
return;
case "yoyo" :
if (_this.internal.frame < 0) {
_this.internal.frame = _this.internal.frame + 2;
_this.internal.animDirection = _this.internal.animDirection * -1;
} else if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = _this.internal.frame - 2;
_this.internal.animDirection = _this.internal.animDirection * -1;
}
if (_this.internal.frame < 0) {
_this.internal.frame = 0;
}
if (_this.internal.frame < _this.internal.frames) {
break;
}
_this.internal.frame = _this.internal.frames - 1;
}
};
_this.fps = 30;
_this.loop = function () {
if (_this.internal.isAnimating) {
_this.advanceAnimation();
}
_this.update();
_this.loopInterval = setTimeout(_this.loop, (1000 / _this.fps) * _this.internal.delay);
};
_this.loopInterval = setTimeout(_this.loop, 0);
_this.lookAt = function (sprite1, sprite2) {
var _local2 = sprite2._x - sprite1._x;
var _local1 = sprite2._y - sprite1._y;
var _local3 = Math.sqrt((_local2 * _local2) + (_local1 * _local1));
var _local4 = _local2 / _local3;
var _local5 = _local1 / _local3;
if (Math.abs(_local5) > Math.abs(_local4)) {
if (_local5 < 0) {
_this.setParams({direction:"up"});
} else {
_this.setParams({direction:"down"});
}
} else if (_local4 < 0) {
_this.setParams({direction:"left"});
} else {
_this.setParams({direction:"right"});
}
};
_this.isFacing = function (checkDir) {
var _local2 = _this.internal.directions / 4;
if (checkDir == "up") {
checkDir = 0;
} else if (checkDir == "right") {
checkDir = Math.floor(1 * _local2);
} else if (checkDir == "down") {
checkDir = Math.floor(2 * _local2);
} else if (checkDir == "left") {
checkDir = Math.floor(3 * _local2);
}
while (checkDir < 0) {
checkDir = checkDir + _this.internal.directions;
}
checkDir = checkDir % _this.internal.directions;
return(_this.internal.direction == checkDir);
};
_this.setParams(_local8);
_this.onUnload = function () {
clearTimeout(_this.loopInterval);
};
return(_this);
}
_global.UNDERLAY.removeMovieClip();
_global.UNDERLAY = MAP.createEmptyMovieClip("UNDERLAY", 1);
_global.SPRITES.removeMovieClip();
_global.SPRITES = MAP.createEmptyMovieClip("SPRITES", 11);
_global.OVERLAY.removeMovieClip();
_global.OVERLAY = MAP.createEmptyMovieClip("OVERLAY", 101);
var newX = (start_point ? (start_point.x) : 0);
var newY = (start_point ? (start_point.y) : 0);
player_mc = SPRITES.attachMovie("player", "player", nextDepth(SPRITES));
player_mc._x = newX;
player_mc._y = newY;
SPRITES.spritesRemaining = [];
var s = 0;
while (s < levelData.sprites.length) {
SPRITES.spritesRemaining.push(levelData.sprites[s]);
s++;
}
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--;
}
};
updateFlaggedSprites = function (sprites, flagRoot, addSprite, removeSprite) {
var getFlagParts = function (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);
};
var checkFlag = function (spriteFlag, flagRoot) {
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 endAt = variable.lastIndexOf(".");
if (endAt != -1) {
var flagPath = variable.substr(0, endAt);
var flagName = variable.substr(endAt + 1);
var flagPath = ("flagRoot." + flagPath);
} else {
var flagName = variable;
var flagPath = "flagRoot";
}
var displayValue = eval ((flagPath + ".") + flagName);
switch (operation) {
case "!" :
output = (displayValue == undefined) || (displayValue == false);
break;
case "=" :
output = displayValue == value;
break;
case "!=" :
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 s = 0;
while (s < sprites.length) {
var thisSprite = sprites[s];
var testResult = true;
var sf = 0;
while (sf < thisSprite.flags.length) {
var thisSpriteFlag = thisSprite.flags[sf];
testResult = checkFlag(thisSpriteFlag, flagRoot);
if (testResult == false) {
break;
}
sf++;
}
if (testResult == true) {
addSprite(thisSprite);
} else if (testResult == false) {
removeSprite(thisSprite);
}
s++;
}
};
_global.nextDepth = function (this_mc, maxDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = 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);
};
SPRITES.updateSprites = function () {
var _local7 = function (thisSprite) {
var _local4 = SPRITES[thisSprite.name];
if (_local4 == undefined) {
var _local10 = thisSprite.type;
var _local5 = thisSprite.name;
var _local6 = nextDepth(SPRITES);
var _local9 = thisSprite.position.x;
var _local8 = thisSprite.position.y;
var _local7 = thisSprite.data;
var _local3 = SPRITES.attachMovie(_local10, _local5, _local6, {_x:_local9, _y:_local8, data:_local7});
_local3.remove = function () {
LOOP.removeObject(this, "sprites");
SPRITES.spritesRemaining.remove(this._name);
this.removeMovieClip();
};
LOOP.addObject(_local3, "sprites");
}
};
var _local10 = function (thisSprite) {
var _local1 = SPRITES[thisSprite.name];
if (_local1) {
LOOP.removeObject(_local1, "sprites");
_local1.removeMovieClip();
}
};
var _local12 = updateFlaggedSprites(SPRITES.spritesRemaining, RAM, _local7, _local10);
};
SPRITES.updateSprites();
addAutoSort = function (spriteLayer_mc) {
var _this = new Object();
_this.spriteLayer_mc = spriteLayer_mc;
_this.parallelSprites = 10;
_this.loop = function () {
if (_this.spriteLayer_mc._name != undefined) {
for (var _local5 in spriteLayer_mc) {
var _local1 = _this.spriteLayer_mc[_local5];
if (_local1._y != 0) {
var _local2 = _local1._y * _this.parallelSprites;
if (_local1.overAll) {
_local2 = (2880 * _this.parallelSprites) + _this.parallelSprites;
}
var _local4 = _local1.getDepth();
var _local3 = _this.spriteLayer_mc.getInstanceAtDepth(_local2);
while ((_local3 != undefined) && (_local3 != _local1)) {
_local2++;
_local3 = _this.spriteLayer_mc.getInstanceAtDepth(_local2);
}
_local1.swapDepths(_local2);
}
}
} else {
clearInterval(_this.loopInterval);
}
};
_this.loopInterval = setInterval(_this.loop, 33.3333333333333);
return(_this);
};
autoSorter = addAutoSort(SPRITES, 16);
MAP.scroll(player_mc._x, player_mc._y, 320, 240, 1);
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);
};
scroll_obj = addAutoScroll(MAP, SPRITES.player, 320, 240, 1);
clearInterval(scroll_obj.loopInterval);
LOOP.addObject(scroll_obj, "scroll");
OVERLAY.attachMovie("scroll", "scroll", nextDepth(OVERLAY), {smoothness:0.2, mode:"chase", target:"player"});
TRANSITION.fadeIn();
MAP.onUnload = function () {
clearInterval(autoSorter.loopInterval);
LOOP.removeObject(scroll_obj, "scroll");
};
_this.onLoad();
};
MAP.drawObj(levelData.map);
onUnload = function () {
LOOP.removeSet("sprites");
_global.MAP = null;
delete _global.MAP;
_global.SPRITES = null;
delete _global.SPRITES;
_global.PANORAMA = null;
delete _global.PANORAMA;
_global.UNDERLAY = null;
delete _global.UNDERLAY;
_global.OVERLAY = null;
delete _global.OVERLAY;
};
Symbol 179 MovieClip [titleScreen_mc] Frame 1
_this = this;
for (var nam in HUD) {
HUD[nam].removeMovieClip();
}
start_mc.swapDepths(1);
newGame = function () {
var _local2 = ROM.startingPlace.level;
var _local1 = {x:ROM.startingPlace.x, y:ROM.startingPlace.y};
ROOT.loadLevel(_local2, _local1);
_this.removeMovieClip();
};
key = {};
key.onKeyUp = function () {
newGame();
};
Key.addListener(key);
onPress = function () {
newGame();
};
_global.nextDepth = function (this_mc, maxDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = 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);
};
loadImage = function (file, target, newName, newDepth) {
target = (target ? (target) : this);
newDepth = ((newDepth != undefined) ? (newDepth) : (nextDepth(target)));
newName = (newName ? (newName) : ("image_" + newDepth));
if (target[newName]) {
target[newName].removeMovieClip();
}
target[newName].unloadMovie();
var _local4 = target.attachMovie(file, newName, newDepth);
_local4 = target[newName];
if (((_local4 == target) || (_local4._width == undefined)) || (_local4._width == 0)) {
_local4 = target.createEmptyMovieClip(newName, newDepth);
var _local8 = flash.display.BitmapData.loadBitmap(file);
_local4.attachBitmap(_local8, 0, true, true);
if ((_local4._width == undefined) || (_local4._width == 0)) {
var _local6 = new MovieClipLoader();
_local6.loadClip(file, _local4);
return(_local6);
}
}
};
loader = loadImage(ROM.titleScreen, this, "title_mc", 0);
loader.onLoadError = function () {
newGame();
};
onUnload = function () {
Key.removeListener(key);
};
Symbol 180 MovieClip [transition_mc] Frame 1
_this = this;
AsBroadcaster.initialize(_this);
start = function (linkage) {
_this.image.removeMovieClip();
_this.attachMovie(linkage, "image", 0);
fadeOut();
};
fadeOut = function () {
if (_this.image) {
_this.image.gotoAndPlay("fadeOut");
} else {
trace("NO TRANSITION FOUND");
_this.fadeOutDone();
_this.broadcastMessage("fadeOutDone");
}
};
fadeIn = function () {
if (_this.image) {
_this.image.gotoAndPlay("fadeIn");
} else {
_this.fadeInDone();
_this.broadcastMessage("fadeInDone");
}
};
Symbol 181 MovieClip [transition_cut] Frame 1
snapshot_pic = new flash.display.BitmapData(320, 240, false, 0);
snapshot_pic.draw(ROOT);
this.createEmptyMovieClip("snapshot_mc", 0);
snapshot_mc.attachBitmap(snapshot_pic, 0);
stop();
_parent.fadeOutDone();
_parent.broadcastMessage("fadeOutDone");
Symbol 181 MovieClip [transition_cut] Frame 8
play();
_parent.fadeInDone();
_parent.broadcastMessage("fadeInDone");
Symbol 181 MovieClip [transition_cut] Frame 9
stop();
this.removeMovieClip();
Symbol 183 MovieClip [transition_fade] Frame 15
stop();
_parent.fadeOutDone();
_parent.broadcastMessage("fadeOutDone");
Symbol 183 MovieClip [transition_fade] Frame 30
stop();
_parent.fadeInDone();
_parent.broadcastMessage("fadeInDone");
this.removeMovieClip();
Symbol 184 MovieClip [loadSave] Frame 2
stop();
Instance of Symbol 69 MovieClip [Button] "save_btn" in Symbol 184 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 69 MovieClip [Button] "load_btn" in Symbol 184 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 185 MovieClip Frame 1
stop();
Instance of Symbol 168 MovieClip [scroll] in Symbol 185 MovieClip Frame 10
//component parameters
onClipEvent (construct) {
mode = "chase";
target = "player";
smoothness = 2;
}