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

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

Platformer.swf

This is the info page for
Flash #173759

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


Text
<p align="center"><font face="_sans" size="24" color="#ffff99" letterSpacing="0.000000" kerning="0">Loading</font></p>

file

<p align="center"><font face="_sans" size="24" color="#ffff99" letterSpacing="0.000000" kerning="0">Loading</font></p>

file

image
loader

up:

down:

left:

right:

run:

jump:

shoot:

aim up:

aim down:

pause:

cancel:

select:

Option

text

<p align="left"><font face="_sans" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Audio / Visual</b></font></p><p align="left"><font face="_sans" size="10" color="#66ffff" letterSpacing="0.000000" kerning="0">Nintendo &nbsp;&nbsp;Dimps &nbsp;&nbsp;Intelligent Systems</font></p><p align="left"></p><p align="left"><font face="_sans" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Sprite Rippers</b></font></p><p align="left"><font face="_sans" size="10" color="#66ffff" letterSpacing="0.000000" kerning="0">Ragey &nbsp;&nbsp;jdaster64 &nbsp;&nbsp;A.J.Nitro &nbsp;&nbsp;Daniel Sidney &nbsp;&nbsp;Tommy Lee</font></p><p align="left"><font face="_sans" size="10" color="#66ffff" letterSpacing="0.000000" kerning="0">LuckCrazy &nbsp;Techokami</font></p><p align="left"></p><p align="left"><font face="_sans" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Remixers</b></font></p><p align="left"><font face="_sans" size="10" color="#66ffff" letterSpacing="0.000000" kerning="0">Virt</font></p><p align="left"></p><p align="left"><font face="_sans" size="12" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Design &amp; Programming</b></font></p><p align="left"><font face="_sans" size="10" color="#66ffff" letterSpacing="0.000000" kerning="0">Humbird0</font></p>

99

0

0

99

999

ActionScript [AS1/AS2]

Frame 1
stop(); _quality = "low"; _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); }; setLevel = function (newLevel, newStartingPlace) { levelData = newLevel; startPlace = newStartingPlace; }; 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 (_local2 == total) { this.loadInterface.removeMovieClip(); this.play(); delete randInterface; delete total; this.onEnterFrame = function () { }; } };
Frame 3
stop();
Symbol 10 MovieClip [loadInterface1] Frame 1
Symbol 21 MovieClip [loadInterface0] Frame 1
this.onEnterFrame = function () { glow_mc._x = fill_mc._x + fill_mc._width; };
Symbol 27 MovieClip [imageLoader] Frame 1
#initclip 66 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 40 MovieClip [BrdrShdw] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "shadowColor");
Symbol 42 MovieClip [BrdrFace] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "buttonColor");
Symbol 45 MovieClip [BrdrBlk] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "borderColor");
Symbol 47 MovieClip [BrdrHilght] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "highlightColor");
Symbol 50 MovieClip [Defaults] Frame 1
#initclip 45 Object.registerClass("Defaults", mx.skins.halo.Defaults); #endinitclip
Symbol 51 MovieClip [UIObjectExtensions] Frame 1
#initclip 46 Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions); #endinitclip
Symbol 52 MovieClip [UIObject] Frame 1
#initclip 47 Object.registerClass("UIObject", mx.core.UIObject); #endinitclip stop();
Symbol 55 Button
on (keyPress "<Tab>") { this.tabHandler(); }
Symbol 56 MovieClip Frame 1
#initclip 48 Object.registerClass("FocusManager", mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--); } #endinitclip
Symbol 57 MovieClip [FocusRect] Frame 1
#initclip 49 Object.registerClass("FocusRect", mx.skins.halo.FocusRect); #endinitclip
Symbol 58 MovieClip [FocusManager] Frame 1
#initclip 50 Object.registerClass("FocusManager", mx.managers.FocusManager); #endinitclip stop();
Symbol 59 MovieClip [UIComponentExtensions] Frame 1
#initclip 51 Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions); #endinitclip
Symbol 60 MovieClip [UIComponent] Frame 1
#initclip 52 Object.registerClass("UIComponent", mx.core.UIComponent); #endinitclip stop();
Symbol 61 MovieClip [SimpleButton] Frame 1
#initclip 53 Object.registerClass("SimpleButton", mx.controls.SimpleButton); #endinitclip stop();
Symbol 62 MovieClip [Border] Frame 1
#initclip 54 Object.registerClass("Border", mx.skins.Border); #endinitclip stop();
Symbol 63 MovieClip [RectBorder] Frame 1
#initclip 55 mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder)); Object.registerClass("RectBorder", mx.skins.halo.RectBorder); #endinitclip stop();
Symbol 64 MovieClip [ButtonSkin] Frame 1
#initclip 56 Object.registerClass("ButtonSkin", mx.skins.halo.ButtonSkin); #endinitclip
Symbol 65 MovieClip [Button] Frame 1
#initclip 57 Object.registerClass("Button", mx.controls.Button); #endinitclip stop();
Instance of Symbol 61 MovieClip [SimpleButton] in Symbol 65 MovieClip [Button] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 66 MovieClip [CustomBorder] Frame 1
#initclip 58 Object.registerClass("CustomBorder", mx.skins.CustomBorder); mx.skins.SkinElement.registerElement("CustomBorder", mx.skins.CustomBorder); #endinitclip
Symbol 78 MovieClip [ScrollThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 80 MovieClip [ScrollThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 91 MovieClip [ThumbThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 93 MovieClip [ThumbThemeColor3] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 100 MovieClip [ThumbThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 121 MovieClip [BtnDownArrow] Frame 1
#initclip 59 Object.registerClass("BtnDownArrow", mx.controls.SimpleButton); #endinitclip
Symbol 122 MovieClip [BtnUpArrow] Frame 1
#initclip 60 Object.registerClass("BtnUpArrow", mx.controls.SimpleButton); #endinitclip
Symbol 124 MovieClip [HScrollBar] Frame 1
#initclip 61 Object.registerClass("HScrollBar", mx.controls.HScrollBar); #endinitclip stop();
Instance of Symbol 65 MovieClip [Button] in Symbol 124 MovieClip [HScrollBar] Frame 2
//component parameters onClipEvent (initialize) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 61 MovieClip [SimpleButton] in Symbol 124 MovieClip [HScrollBar] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 125 MovieClip [VScrollBar] Frame 1
#initclip 62 Object.registerClass("VScrollBar", mx.controls.VScrollBar); #endinitclip stop();
Instance of Symbol 65 MovieClip [Button] in Symbol 125 MovieClip [VScrollBar] Frame 2
//component parameters onClipEvent (initialize) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 61 MovieClip [SimpleButton] in Symbol 125 MovieClip [VScrollBar] Frame 2
//component parameters onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 126 MovieClip [View] Frame 1
#initclip 63 Object.registerClass("View", mx.core.View); #endinitclip stop();
Symbol 127 MovieClip [ScrollView] Frame 1
#initclip 64 Object.registerClass("ScrollView", mx.core.ScrollView); #endinitclip stop();
Instance of Symbol 124 MovieClip [HScrollBar] in Symbol 127 MovieClip [ScrollView] Frame 2
//component parameters onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 125 MovieClip [VScrollBar] in Symbol 127 MovieClip [ScrollView] Frame 2
//component parameters onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 128 MovieClip [TextArea] Frame 1
#initclip 65 Object.registerClass("TextArea", mx.controls.TextArea); #endinitclip stop();
Symbol 30 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 129 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 130 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 132 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 131 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 31 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 729 MovieClip [__Packages.com.mosesSupposes.fuse.Shortcuts] Frame 0
class com.mosesSupposes.fuse.Shortcuts { function Shortcuts () { } static function initialize() { if (shortcuts == null) { initShortcuts(); } } static function doShortcut(obj, methodName) { initialize(); var _local5 = shortcuts[methodName]; if (_local5 == undefined) { if (typeof(obj) == "movieclip") { _local5 = mcshortcuts[methodName]; } } if (_local5 == undefined) { return(null); } obj = arguments.shift(); methodName = String(arguments.shift()); if (!(obj instanceof Array)) { obj = [obj]; } var _local3 = ""; for (var _local6 in obj) { var _local2 = String(_local5.apply(obj[_local6], arguments)); if ((_local2 != null) && (_local2.length > 0)) { if (_local3.length > 0) { _local3 = (_local2 + "|") + _local3; } else { _local3 = _local2; } } } return(((_local3 == "") ? null : (_local3))); } static function addShortcutsTo() { initialize(); var _local5 = function (o, so) { for (var _local5 in so) { var _local2 = so[_local5]; if (_local2.getter || (_local2.setter)) { o.addProperty(_local5, _local2.getter, _local2.setter); _global.ASSetPropFlags(o, _local5, 3, 1); } else { o[_local5] = _local2; _global.ASSetPropFlags(o, _local5, 7, 1); } } }; for (var _local7 in arguments) { var _local4 = arguments[_local7]; if ((_local4 == MovieClip.prototype) || (typeof(_local4) == "movieclip")) { _local5(_local4, mcshortcuts); } _local5(_local4, shortcuts); } } static function removeShortcutsFrom() { initialize(); var _local5 = function (o, so) { for (var _local5 in so) { _global.ASSetPropFlags(o, _local5, 0, 2); var _local2 = so[_local5]; if (_local2.getter || (_local2.setter)) { o.addProperty(_local5, null, null); } delete o[_local5]; } }; for (var _local7 in arguments) { var _local3 = arguments[_local7]; if ((_local3 == MovieClip.prototype) || (typeof(_local3) == "movieclip")) { _local5(_local3, mcshortcuts); } _local5(_local3, shortcuts); } } static function parseStringTypeCallback(callbackStr) { var evaluate = function (val) { var first = val.charAt(0); if ((first == val.slice(-1)) && ((first == "\"") || (first == "'"))) { return(val.slice(1, -1)); } if (val == "true") { return(Object(true)); } if (val == "false") { return(Object(false)); } if (val == "null") { return(Object(null)); } if (_global.isNaN(Number(val)) == false) { return(Object(Number(val))); } return(Object(eval (val))); }; var trimWhite = function (str) { while (str.charAt(0) == " ") { str = str.slice(1); } while (str.slice(-1) == " ") { str = str.slice(0, -1); } return(str); }; var evaluateList = function (list) { var _local11 = []; var _local4 = 0; while (_local4 < list.length) { var _local3 = list[_local4]; _local3 = trimWhite(_local3); var _local5 = (_local3.charAt(0) == "{") && ((_local3.indexOf("}") > -1) || (_local3.indexOf(":") > -1)); var _local10 = _local3.charAt(0) == "["; if ((_local5 || (_local10)) == true) { var _local6 = ((_local5 == true) ? ({}) : ([])); var _local2 = _local4; while (_local2 < list.length) { if (_local2 == _local4) { _local3 = _local3.slice(1); } var _local1; var _local8 = (_local1.slice(-1) == ((_local5 == true) ? "}" : "]")) || (_local2 == (list.length - 1)); if (_local8 == true) { _local1 = _local1.slice(0, -1); } if ((_local5 == true) && (_local1.indexOf(":") > -1)) { var _local7 = _local1.split(":"); _local6[trimWhite(_local7[0])] = evaluate(trimWhite(_local7[1])); } else if (_local10 == true) { _local6.push(evaluate(trimWhite(_local1))); } if (_local8 == true) { _local11.push(_local6); _local4 = _local2; break; } _local2++; } } else { _local11.push(evaluate(trimWhite(_local3))); } _local4++; } return(_local11); }; var parts = callbackStr.split("("); var p0 = parts[0]; var p1 = parts[1]; return({func:p0.slice(p0.lastIndexOf(".") + 1), scope:eval (p0.slice(0, p0.lastIndexOf("."))), args:evaluateList(p1.slice(0, p1.lastIndexOf(")")).split(","))}); } static function initShortcuts() { shortcuts = new Object(); var methods = {alphaTo:"_alpha", scaleTo:"_scale", sizeTo:"_size", rotateTo:"_rotation", brightnessTo:"_brightness", brightOffsetTo:"_brightOffset", contrastTo:"_contrast", colorTo:"_tint", tintPercentTo:"_tintPercent", colorResetTo:"_colorReset", invertColorTo:"_invertColor"}; var _local4 = _global.com.mosesSupposes.fuse.FuseFMP.getAllShortcuts(); var _local7 = {blur:1, blurX:1, blurY:1, strength:1, shadowAlpha:1, highlightAlpha:1, angle:1, distance:1, alpha:1, color:1}; for (var _local9 in _local4) { if (_local7[_local4[_local9].split("_")[1]] === 1) { methods[_local4[_local9] + "To"] = _local4[_local9]; } } var _local8 = {__resolve:function (name) { var propName = methods[name]; return(function () { var _local4 = _global.com.mosesSupposes.fuse.ZigoEngine.doTween.apply(com.mosesSupposes.fuse.ZigoEngine, new Array(this, propName).concat(arguments)); return(_local4); }); }}; var _local5 = {__resolve:function (name) { var _local3 = {setter:function (v) { _global.com.mosesSupposes.fuse.ZigoEngine.doTween(this, ((name == "_tintString") ? "_tint" : (name)), v, 0); }}; switch (name) { case "_colorReset" : _local3.getter = function () { return(100 - _global.com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(this).tintPercent); }; break; case "_colorTransform" : _local3.getter = function () { return(Color(new Color(this)).getTransform()); }; break; case "_fade" : _local3.getter = function () { return(this._alpha); }; break; case "_size" : _local3.getter = function () { return(((this._width == this._height) ? (this._width) : null)); }; break; case "_scale" : _local3.getter = function () { return(((this._xscale == this._yscale) ? (this._xscale) : null)); }; break; default : _local3.getter = function () { return(_global.com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(this)[name.slice(1)]); }; } return(_local3); }}; for (var _local9 in methods) { shortcuts[_local9] = _local8[_local9]; if ((_local9 != "alphaTo") && (_local9 != "rotateTo")) { shortcuts[methods[_local9]] = _local5[methods[_local9]]; } } shortcuts._tintString = _local5._tintString; shortcuts._colorTransform = _local5._colorTransform; shortcuts._fade = _local5._fade; shortcuts.tween = function (props, endVals, seconds, ease, delay, callback) { if ((arguments.length == 1) && (typeof(props) == "object")) { return(com.mosesSupposes.fuse.ZigoEngine.doTween({target:this, action:props})); } return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, props, endVals, seconds, ease, delay, callback)); }; shortcuts.removeTween = (shortcuts.stopTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.removeTween(this, props); }); shortcuts.removeAllTweens = (shortcuts.stopAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.removeTween("ALL"); }); shortcuts.isTweening = function (prop) { return(com.mosesSupposes.fuse.ZigoEngine.isTweening(this, prop)); }; shortcuts.getTweens = function () { return(com.mosesSupposes.fuse.ZigoEngine.getTweens(this)); }; shortcuts.lockTween = function () { com.mosesSupposes.fuse.ZigoEngine.lockTween(this, true); }; shortcuts.unlockTween = function () { com.mosesSupposes.fuse.ZigoEngine.lockTween(this, false); }; shortcuts.isTweenLocked = function () { return(com.mosesSupposes.fuse.ZigoEngine.isTweenLocked(this)); }; shortcuts.isTweenPaused = function (prop) { return(com.mosesSupposes.fuse.ZigoEngine.isTweenPaused(this, prop)); }; shortcuts.pauseTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.pauseTween(this, props); }; shortcuts.resumeTween = (shortcuts.unpauseTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.unpauseTween(this, props); }); shortcuts.pauseAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.pauseTween("ALL"); }; shortcuts.resumeAllTweens = (shortcuts.unpauseAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.unpauseTween("ALL"); }); shortcuts.ffTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.ffTween(this, props); }; shortcuts.rewTween = function (props, suppressStartEvents) { com.mosesSupposes.fuse.ZigoEngine.rewTween(this, props, false, suppressStartEvents); }; shortcuts.rewAndPauseTween = function (props, suppressStartEvents) { com.mosesSupposes.fuse.ZigoEngine.rewTween(this, props, true, suppressStartEvents); }; shortcuts.skipTweenTo = function (seconds, props) { com.mosesSupposes.fuse.ZigoEngine.skipTweenTo(seconds, this, props); }; shortcuts.bezierTo = function (destX, destY, controlX, controlY, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_bezier_", {x:destX, y:destY, controlX:controlX, controlY:controlY}, seconds, ease, delay, callback)); }; shortcuts.colorTransformTo = function (ra, rb, ga, gb, ba, bb, aa, ab, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_colorTransform", {ra:ra, rb:rb, ga:ga, gb:gb, ba:ba, bb:bb, aa:aa, ab:ab}, seconds, ease, delay, callback)); }; shortcuts.tintTo = function (rgb, percent, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_tint", {tint:rgb, percent:percent}, seconds, ease, delay, callback)); }; shortcuts.slideTo = function (destX, destY, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_x,_y", [destX, destY], seconds, ease, delay, callback)); }; shortcuts.fadeIn = function (seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_fade", 100, seconds, ease, delay, callback)); }; shortcuts.fadeOut = function (seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_fade", 0, seconds, ease, delay, callback)); }; mcshortcuts = new Object(); mcshortcuts._frame = {getter:function () { return(this._currentframe); }, setter:function (v) { this.gotoAndStop(Math.round(v)); }}; mcshortcuts.frameTo = function (endframe, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_frame", ((endframe != undefined) ? (endframe) : (this._totalframes)), seconds, ease, delay, callback)); }; } static var registryKey = "shortcuts"; static var shortcuts = null; static var mcshortcuts = null; }
Symbol 730 MovieClip [__Packages.com.mosesSupposes.fuse.FuseKitCommon] Frame 0
class com.mosesSupposes.fuse.FuseKitCommon { static var logOutput; function FuseKitCommon () { } static function _cts() { return("|_tint|_tintPercent|_brightness|_brightOffset|_contrast|_invertColor|_colorReset|_colorTransform|"); } static function _resetTo100() { return("|_alpha|_contrast|_invertColor|_tintPercent|_xscale|_yscale|_scale|"); } static function _resetTo0() { return("|_brightness|_brightOffset|_colorReset|_rotation|"); } static function _underscoreable() { return(_cts() + "_frame|_x|_y|_xscale|_yscale|_scale|_width|_height|_size|_rotation|_alpha|_fade|_visible|"); } static function _cbprops() { return("|skipLevel|cycles|roundResults|extra1|extra2|func|scope|args|startfunc|startscope|startargs|updfunc|updscope|updargs|"); } static function _fuseEvents() { return("|onStart|onStop|onPause|onResume|onAdvance|onComplete|"); } static function _fuseprops() { return("|command|label|delay|event|eventparams|target|addTarget|trigger|startAt|ease|easing|seconds|duration|time|"); } static function _validateFuseCommand(c, inGroup, hasArg, outputLevel, simple) { var _local1 = false; var _local2 = false; switch (c) { case "start" : case "stop" : case "pause" : case "resume" : case "setStartProps" : if (inGroup != true) { _local1 = true; } break; case "delay" : case "trigger" : if (simple == true) { if (hasArg == true) { _local1 = true; } } else { _local2 = true; } inGroup = false; break; case "skipTo" : if (!((hasArg == true) && (inGroup != true))) { break; } _local1 = true; } if ((outputLevel > 0) && (_local1 == false)) { error("109", c, inGroup, _local2); } return(_local1); } static function output(s) { if (typeof(logOutput) == "function") { logOutput(s); } else { trace(s); } } static function error(errorCode) { var _local3 = arguments[1]; var _local4 = arguments[2]; var _local6 = arguments[3]; if (VERBOSE != true) { output(("[FuseKitCommon#" + errorCode) + "]"); return(undefined); } var _local2 = ""; var _local5 = newline; switch (errorCode) { case "001" : _local2 = _local2 + "** ERROR: When using simpleSetup to extend prototypes, you must pass the Shortcuts class. **"; _local2 = _local2 + (_local5 + " import com.mosesSupposes.fuse.*;"); _local2 = _local2 + ((_local5 + " ZigoEngine.simpleSetup(Shortcuts);") + _local5); break; case "002" : _local2 = _local2 + "** ZigoEngine.doShortcut: shortcuts missing. Use the setup commands: import com.mosesSupposes.fuse.*; ZigoEngine.register(Shortcuts); **"; break; case "003" : _local2 = _local2 + ((_local5 + "*** Error: DO NOT use #include \"lmc_tween.as\" with this version of ZigoEngine! ***") + _local5); break; case "004" : _local2 = _local2 + (("** ZigoEngine.doTween - too few arguments [" + _local3) + "]."); if (Boolean(_local4) == true) { _local2 = _local2 + " If you are trying to use Object Syntax without Fuse, pass FuseItem in your register() or simpleSetup() call. **"; } else { _local2 = _local2 + " Object syntax call failed. **"; } break; case "005" : _local2 = _local2 + (((("** ZigoEngine.doTween - missing targets[" + _local3) + "] and/or props[") + _local4) + "] **"); break; case "006" : _local2 = _local2 + (("** Error: easing shortcut string not recognized (\"" + _local3) + "\"). You may need to pass the in PennerEasing class during register or simpleSetup. **"); break; case "007" : _local2 = _local2 + (((("- ZigoEngine: Target locked [" + _local3) + "], ignoring tween call [") + _local4) + "]"); break; case "008" : _local2 = _local2 + "** You must register the Shortcuts class in order to use easy string-type callback parsing. **"; break; case "009" : _local2 = _local2 + (("** ZigoEngine: A callback parameter \"" + _local3) + "\" was not recognized. **"); break; case "010" : _local2 = _local2 + ((((("** " + ((_local3 == true) ? "ZigoEngine" : "FuseItem")) + " unable to parse ") + ((_local4 == 1) ? "callback[" : (String(_local4) + " callbacks["))) + _local6) + "]. Try using the syntax {scope:this, func:\"myFunction\"} **"); break; case "011" : _local2 = _local2 + (((("- ZigoEngine: Callbacks discarded via skipLevel 2 option [" + _local3) + "|") + _local4) + "]."); break; case "012" : _local2 = _local2 + (((((("- Engine set props or ignored no-change tween on: " + _local3) + ", props passed:[") + _local4) + "], endvals passed:[") + _local6) + "]"); break; case "013" : _local2 = _local2 + (((((("- Engine added tween on:\n\ttargets:[" + _local3) + "]\n\tprops:[") + _local4) + "]\n\tendvals:[") + _local6) + "]"); break; case "014" : _local2 = _local2 + "** Error: easing function passed is not usable with this engine. Functions need to follow the Robert Penner model. **"; break; case "015" : _local2 = _local2 + "** Error: The CustomEasing class must be passed during setup (register or simpleSetup) to use custom easing Arrays. **"; break; case "016" : _local2 = _local2 + (("[ ZigoEngine.TIME_MULTIPLIER: " + String(Number(Number(_local3) * 100))) + "% ]"); break; case "101" : _local2 = _local2 + "** ERROR: Fuse simpleSetup was removed in version 2.0! **"; _local2 = _local2 + (_local5 + " You must now use the following commands:"); _local2 = _local2 + ((_local5 + _local5) + "\timport com.mosesSupposes.fuse.*;"); _local2 = _local2 + (_local5 + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);"); _local2 = _local2 + ((_local5 + "Note that PennerEasing is optional, and FuseFMP is also accepted. (FuseFMP.simpleSetup is run automatically if included.)") + _local5); break; case "102" : _local2 = _local2 + (((("** Fuse " + _local3) + " index or label not found (") + _local4) + ") or out of range. **"); break; case "103" : _local2 = _local2 + (((("** Fuse skipTo (" + _local3) + ") ignored - targets the current index (") + _local4) + "). **"); break; case "104" : _local2 = _local2 + (("** Fuse fastForward index out of play range (" + _local3) + ") - skipTo has been called instead. **"); break; case "105" : _local2 = _local2 + "** An unsupported Array method was called on Fuse. **"; break; case "106" : _local2 = _local2 + "** ERROR: You have not set up Fuse correctly. **"; _local2 = _local2 + (_local5 + "You must now use the following commands (PennerEasing is optional)."); _local2 = _local2 + (_local5 + "\timport com.mosesSupposes.fuse.*;"); _local2 = _local2 + ((_local5 + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);") + _local5); break; case "107" : _local2 = _local2 + "** Fuse :: id not found - Aborting open(). **"; break; case "108" : _local2 = _local2 + "** Fuse.startRecent: No recent Fuse found to start! **"; break; case "109" : _local2 = _local2 + (("** Command \"" + _local3) + "\" discarded. "); if (_local4 == true) { _local2 = _local2 + "Not allowed within a group. **"; } else if (_local6 == true) { _local2 = _local2 + (("Not supported in Object Syntax, use the " + _local3) + " property instead. **"); } else { _local2 = _local2 + "The command may be unrecognized or missing an argument. **"; } break; case "110" : _local2 = _local2 + (((("** " + _local3) + " illegal Fuse property discarded:\"") + _local4) + "\". Bezier keywords other than x and y cannot be set as start values. **"); break; case "112" : _local2 = _local2 + "** Fuse: missing com.mosesSupposes.fuse.ZigoEngine! Cannot tween. **"; break; case "113" : _local2 = _local2 + "** FuseItem: A callback has been discarded. Actions with a command may only contain: label, delay, scope, args. **"; break; case "115" : _local2 = _local2 + ((_local3 + " overlapping prop discarded: ") + _local4); break; case "116" : _local2 = _local2 + ("** FuseItem Error: Delays within groups (arrays) and start/update callbacks are not supported when using Fuse without ZigoEngine. Although you need to restructure your Fuse, it should be possible to achieve the same results. **" + _local5); break; case "117" : _local2 = _local2 + (("** " + _local3) + ": infinite cycles are not allowed within Fuses - discarded. **"); break; case "118" : _local2 = _local2 + ((("** " + _local3) + ": No targets found!") + ((_local4 == true) ? " [Unable to set start props] **" : " [Skipping tween parameters in this action] **")); break; case "119" : _local2 = _local2 + ((((("** " + _local3) + ": ") + ((_local4 == 1) ? "" : (_local4 + " actions in the group"))) + " missing targets") + ((_local6 == true) ? " during setStartProps **" : " **")); break; case "120" : _local2 = _local2 + (((("** " + _local3) + ": conflict with \"") + _local4) + "\". Property might be doubled within a grouped-action array. **"); break; case "121" : _local2 = _local2 + "** Fuse timecode formatting requires \"00:\" formatting (example:\"01:01:33\" yields 61.33 seconds.) **"; break; case "122" : _local2 = _local2 + (("** Event \"" + _local3) + "\" reserved by Fuse. **"); break; case "123" : _local2 = _local2 + (("** A Fuse event parameter failed in " + _local3) + " **"); break; case "124" : _local2 = _local2 + (((("** " + _local3) + ": trigger:") + _local4) + " ignored - only one trigger is allowed per action **"); break; case "125" : _local2 = _local2 + (_local3 + " Warning - fastForward hit an item during its tween cycle, may malfunction."); break; case "201" : _local2 = _local2 + (("**** FuseFMP cannot initialize argument " + _local3) + " (BitmapFilters cannot be applied to this object type) ****"); break; case "202" : _local2 = _local2 + (((("** FuseFMP error: A " + _local3) + " could not be created for ") + _local4) + " **"); break; case "203" : _local2 = _local2 + (("** FuseFMP.setFilterProps - too few arguments passed (" + _local3) + ") - minimum 2 required. **"); break; case "204" : _local2 = _local2 + (("** FuseFMP.setFilterProps could not locate the filter passed. (" + _local3) + ") **"); } output(_local2); } static function parseCallback(callback, targets, outputLevel, callerIsEngine, addprefix) { if (callback._vcb == true) { return(callback); } var validCBs = {_vcb:true, skipLevel:_global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL, cycles:1}; if (callback == undefined) { return(validCBs); } var cbErrors = []; if (typeof(callback) == "object") { if (((callback.skipLevel != undefined) && (typeof(callback.skipLevel) == "number")) && (callback.skipLevel != _global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL)) { if ((callback.skipLevel >= 0) && (callback.skipLevel <= 2)) { validCBs.skipLevel = callback.skipLevel; } } if (callback.cycles != undefined) { if ((typeof(callback.cycles) == "number") && (callback.cycles > -1)) { validCBs.cycles = callback.cycles; } else if (callback.cycles.toUpperCase() == "LOOP") { validCBs.cycles = 0; } } if (callback.extra1 != undefined) { validCBs.extra1 = callback.extra1; } if (callback.extra2 != undefined) { validCBs.extra2 = callback.extra2; } if ((callback.roundResults === true) || (callback.roundResults === false)) { validCBs.roundResults = callback.roundResults; } } else { callback = {func:callback}; } var prefixes = ["start", "upd", ""]; var easyfuncparse = _global.com.mosesSupposes.fuse.Shortcuts.parseStringTypeCallback; for (var i in prefixes) { var prefix = prefixes[i]; var fstr = callback[prefix + "func"]; if (((fstr != undefined) && (typeof(fstr) == "string")) && (fstr.indexOf("(") > -1)) { if (easyfuncparse != undefined) { var efc = easyfuncparse(fstr); if (efc.func != undefined) { callback[prefix + "scope"] = efc.scope; callback[prefix + "func"] = efc.func; callback[prefix + "args"] = efc.args; } } else if (outputLevel > 0) { error("008"); } } } var basescope = callback.scope; for (var i in callback) { var fi = i.toLowerCase().indexOf("func"); if (fi > -1) { var prefix = i.slice(0, fi); var func = callback[i]; var args = callback[prefix + "args"]; var scope = ((callback[prefix + "scope"] == undefined) ? (basescope) : (callback[prefix + "scope"])); if ((typeof(func) == "string") && (scope[func] == undefined)) { for (var j in targets) { var targ = targets[j]; if (typeof(targ[func]) == "function") { scope = targ; break; } if (typeof(targ._parent[func]) == "function") { scope = targ._parent; break; } } if ((scope == undefined) && (_level0[func] != undefined)) { scope = _level0; } if ((scope == undefined) && (_global[func] != undefined)) { scope = _global; } } if (typeof(func) != "function") { if (typeof(scope[String(func)]) == "function") { func = scope[String(func)]; } else { func = eval (String(func)); } } if (func == undefined) { cbErrors.push(String((((((((addprefix == null) ? (i) : (addprefix + i)) + ":") + ((typeof(callback[i]) == "string") ? (("\"" + callback[i]) + "\"") : (callback[i]))) + "/") + prefix) + "scope:") + scope)); } else { if ((args != undefined) && (!(args instanceof Array))) { args = [args]; } if (prefix == "") { prefix = "end"; } validCBs[prefix] = {s:scope, f:func, a:args}; if (callerIsEngine == true) { validCBs[prefix].id = ++cbTicker; } if (prefix == "start") { validCBs.start.fired = false; } } } else if (_cbprops().indexOf(("|" + i) + "|") == -1) { error("009", i); } } if ((cbErrors.length > 0) && (outputLevel > 0)) { if (outputLevel > 0) { error("010", callerIsEngine, cbErrors.length, cbErrors.toString()); } } return(validCBs); } static var VERSION = "Fuse Kit 2.1.3r1 Copyright (c) 2006 Moses Gunesch, MosesSupposes.com under MIT Open Source License"; static var VERBOSE = true; static var ALL = "ALL"; static var ALLCOLOR = "ALLCOLOR"; static var cbTicker = 0; }
Symbol 731 MovieClip [__Packages.com.mosesSupposes.fuse.ZigoEngine] Frame 0
class com.mosesSupposes.fuse.ZigoEngine { static var extensions, updateTime, tweenHolder, instance, _listeners, broadcastMessage, updateIntId; function ZigoEngine () { } static function addListener(handler) { AsBroadcaster.initialize(com.mosesSupposes.fuse.ZigoEngine); addListener(handler); } static function removeListener(handler) { } static function isPlaying() { return(_playing); } static function simpleSetup(shortcutsClass) { if (arguments.length > 0) { register.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); } _global.ZigoEngine = com.mosesSupposes.fuse.ZigoEngine; if (extensions.fuse != undefined) { _global.Fuse = extensions.fuse; } if (extensions.fuseFMP != undefined) { extensions.fuseFMP.simpleSetup(); } initialize(MovieClip.prototype, Button.prototype, TextField.prototype); if (extensions.shortcuts == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("001"); } } static function register(classReference) { if (extensions == undefined) { extensions = {}; } var _local3 = "|fuse|fuseItem|fuseFMP|shortcuts|pennerEasing|customEasing|"; for (var _local4 in arguments) { var _local2 = arguments[_local4].registryKey; if ((extensions[_local2] == undefined) && (_local3.indexOf(("|" + _local2) + "|") > -1)) { extensions[_local2] = arguments[_local4]; if ((_local2 == "fuseFMP") || (_local2 == "shortcuts")) { Object(extensions[_local2]).initialize(); } } } } static function initialize(target) { if (arguments.length > 0) { initializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (extensions.shortcuts != undefined) { extensions.shortcuts.addShortcutsTo.apply(extensions.shortcuts, arguments); } } } static function deinitialize(target) { if ((arguments.length == 0) || (target == null)) { arguments.push(MovieClip.prototype, Button.prototype, TextField.prototype); } deinitializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (extensions.shortcuts != undefined) { extensions.shortcuts.removeShortcutsFrom.apply(extensions.shortcuts, arguments); } } static function getUpdateInterval() { return(updateTime); } static function setUpdateInterval(time) { if (_playing) { setup(true); updateTime = time; setup(); } else { updateTime = time; } } static function getControllerDepth() { return(tweenHolder.getDepth()); } static function setControllerDepth(depth) { if ((depth == null) || (_global.isNaN(depth) == true)) { depth = 6789; } if (Object(tweenHolder).proof != null) { tweenHolder.swapDepths(depth); } else { tweenHolder = _root.createEmptyMovieClip("ZigoEnginePulse", depth); } } static function doShortcut(targets, methodName) { if (extensions.shortcuts == undefined) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("002"); } return(null); } return(extensions.shortcuts.doShortcut.apply(extensions.shortcuts, arguments)); } static function doTween(targets, props, endvals, seconds, ease, delay, callback) { if (extensions.fuse.addBuildItem(arguments) == true) { return(null); } if (TIME_MULTIPLIER != prevTimeMult) { TIME_MULTIPLIER = Math.abs(TIME_MULTIPLIER); if (_global.isNaN(TIME_MULTIPLIER) == true) { TIME_MULTIPLIER = 1; } if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("016", TIME_MULTIPLIER); } prevTimeMult = TIME_MULTIPLIER; } if ((instance == undefined) || ((Object(tweenHolder).proof == undefined) && (updateTime == undefined))) { if ((MovieClip.prototype.tween != null) && (typeof(_global.$tweenManager) == "object")) { com.mosesSupposes.fuse.FuseKitCommon.error("003"); } instance = new com.mosesSupposes.fuse.ZManager(); _playing = false; } var _local4 = instance.paramsObj(targets, props, endvals, true); var _local7 = (((_local4.tg[0] == null) || (_local4.tg.length == 0)) ? undefined : (_local4.tg)); if (((_local4.pa == undefined) || (_local7 == undefined)) || (arguments.length < 3)) { if (((extensions.fuseItem != null) && (arguments.length == 1)) && (typeof(arguments[0]) == "object")) { return(extensions.fuseItem.doTween(arguments[0])); } if (OUTPUT_LEVEL > 0) { if (arguments.length < 3) { com.mosesSupposes.fuse.FuseKitCommon.error("004", (((arguments.length == 1) && (arguments[0] == null)) ? "1 (null)" : (String(arguments.length))), Boolean(extensions.fuseItem == null)); } else { com.mosesSupposes.fuse.FuseKitCommon.error("005", _local7.toString(), _local4.pa.toString()); } } return(null); } if (_playing != true) { setup(); } if ((seconds == null) || (_global.isNaN(seconds) == true)) { seconds = DURATION || 1; } else if (seconds < 0.01) { seconds = 0; } seconds = seconds * TIME_MULTIPLIER; if (((delay < 0.01) || (delay == null)) || (_global.isNaN(delay) == true)) { delay = 0; } delay = delay * TIME_MULTIPLIER; var _local12 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(callback, _local7, OUTPUT_LEVEL, true); var _local9; if (typeof(ease) == "function") { if (typeof(Function(ease).call(null, 1, 1, 1, 1)) == "number") { _local9 = Function(ease); } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("014", ease); } } else if ((ease == null) || (ease == "")) { if (EASING instanceof Function) { _local9 = Function(EASING); } else if (extensions.pennerEasing != undefined) { ease = EASING; } } if ((typeof(ease) == "string") && (ease != "")) { if (extensions.pennerEasing[ease] != undefined) { _local9 = extensions.pennerEasing[ease]; } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("006", ease); } } else if (ease instanceof Array) { if (extensions.customEasing != undefined) { _local12.extra1 = ease; if (typeof(ease[0]) == "number") { _local9 = extensions.customEasing.precalced; } else { _local9 = extensions.customEasing.fromCurve; } } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("015", ease); } } if (typeof(_local9) != "function") { _local9 = function (t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); }; } if (_listeners.length > 0) { broadcastMessage.call(com.mosesSupposes.fuse.ZigoEngine, "onTweenAdd", _local7, _local4.pa, _local4.va, seconds, _local9, delay, _local12); } var _local6 = ""; for (var _local13 in _local7) { var _local3 = _local7[_local13]; if (_local3.__zigoID__ == null) { initializeTargets(_local3); } else if (instance.getStatus("locked", _local3) == true) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("007", ((_local3._name != undefined) ? (_local3._name) : (_local3.toString())), _local4.pa.toString()); } continue; } var _local5 = instance.addTween(_local3, _local4.pa, _local4.va, seconds, _local9, delay, _local12); _local6 = ((_local5 == null) ? "|" : (_local5 + "|")) + _local6; } _local6 = _local6.slice(0, -1); return((((_local6 == "") || (_local6 == "|")) ? null : (_local6))); } static function removeTween(targs, props) { instance.removeTween(targs, props); } static function isTweening(targ, prop) { return(Boolean(instance.getStatus("active", targ, prop))); } static function getTweens(targ) { if (instance == undefined) { return(0); } return(Number(instance.getStatus("count", targ))); } static function lockTween(targ, setLocked) { instance.alterTweens("lock", targ, setLocked == true); } static function isTweenLocked(targ) { return(Boolean(instance.getStatus("locked", targ))); } static function ffTween(targs, props, suppressEndEvents) { instance.alterTweens("ff", targs, props, null, suppressEndEvents); } static function skipTweenTo(seconds, targs, props) { instance.alterTweens("skipTo", targs, props, false, false, seconds); } static function rewTween(targs, props, pauseFlag, suppressStartEvents) { instance.alterTweens("rewind", targs, props, pauseFlag, suppressStartEvents); } static function isTweenPaused(targ, prop) { return(Boolean(instance.getStatus("paused", targ, prop))); } static function pauseTween(targs, props) { instance.alterTweens("pause", targs, props); } static function unpauseTween(targs, props) { instance.alterTweens("unpause", targs, props); } static function resumeTween(targs, props) { instance.alterTweens("unpause", targs, props); } static function setColorByKey(targetObj, type, amt, rgb) { new Color(targetObj).setTransform(getColorTransObj(type, amt, rgb)); } static function getColorTransObj(type, amt, rgb) { switch (type) { case "brightness" : var _local3 = 100 - Math.abs(amt); var _local4 = ((amt > 0) ? (255 * (amt / 100)) : 0); return({ra:_local3, rb:_local4, ga:_local3, gb:_local4, ba:_local3, bb:_local4}); case "brightOffset" : return({ra:100, rb:255 * (amt / 100), ga:100, gb:255 * (amt / 100), ba:100, bb:255 * (amt / 100)}); case "contrast" : return({ra:amt, rb:128 - (1.28 * amt), ga:amt, gb:128 - (1.28 * amt), ba:amt, bb:128 - (1.28 * amt)}); case "invertColor" : return({ra:100 - (2 * amt), rb:amt * 2.55, ga:100 - (2 * amt), gb:amt * 2.55, ba:100 - (2 * amt), bb:amt * 2.55}); case "tint" : if (rgb == null) { break; } var _local5; if (typeof(rgb) == "string") { if (rgb.charAt(0) == "#") { rgb = rgb.slice(1); } rgb = ((rgb.charAt(1).toLowerCase() != "x") ? ("0x" + rgb) : (rgb)); } _local5 = Number(rgb); return({ra:100 - amt, rb:(_local5 >> 16) * (amt / 100), ga:100 - amt, gb:((_local5 >> 8) & 255) * (amt / 100), ba:100 - amt, bb:(_local5 & 255) * (amt / 100)}); } return({rb:0, ra:100, gb:0, ga:100, bb:0, ba:100}); } static function getColorKeysObj(targOrTransObj) { var _local1 = ((targOrTransObj.ra != undefined) ? (targOrTransObj) : (new Color(targOrTransObj).getTransform())); var _local6 = (_local1.ra == _local1.ga) && (_local1.ga == _local1.ba); var _local8 = (_local1.rb == _local1.gb) && (_local1.gb == _local1.bb); var _local3 = {tintPercent:Number(((_local6 == true) ? (100 - _local1.ra) : 0))}; if (_local3.tintPercent != 0) { var _local5 = 100 / _local3.tintPercent; _local3.tint = (((_local1.rb * _local5) << 16) | ((_local1.gb * _local5) << 8)) | (_local1.bb * _local5); var _local2 = _local3.tint.toString(16); var _local4 = 6 - _local2.length; while ((_local4--) > 0) { _local2 = "0" + _local2; } _local3.tintString = "0x" + _local2.toUpperCase(); } if ((_local6 == true) && (_local8 == true)) { if (_local1.ra < 0) { _local3.invertColor = _local1.rb * 0.392156862745098; } else if ((_local1.ra == 100) && (_local1.rb != 0)) { _local3.brightOffset = _local1.rb * 0.392156862745098; } if (_local1.ra != 100) { if ((_local1.rb == 0) || ((_local1.rb != 0) && (((255 * ((100 - _local1.ra) / 100)) - _local1.rb) <= 1))) { _local3.brightness = ((_local1.rb != 0) ? (100 - _local1.ra) : (_local1.ra - 100)); } if (((128 - (1.28 * _local1.ra)) - _local1.rb) <= 1) { _local3.contrast = _local1.ra; } } } return(_local3); } static function initializeTargets() { for (var _local5 in arguments) { var _local4 = arguments[_local5]; if ((((_local4 == MovieClip.prototype) || (_local4 == Button.prototype)) || (_local4 == TextField.prototype)) || (_local4 == Object.prototype)) { if (_local4.oldAddListener == undefined) { if (_local4 == TextField.prototype) { _local4.oldAddListener = _local4.addListener; _global.ASSetPropFlags(_local4, "oldAddListener", 7, 1); } _local4.addListener = function (o) { if (this.__zigoID__ == undefined) { com.mosesSupposes.fuse.ZigoEngine.initializeTargets(this); } if (this instanceof TextField) { Function(this.oldAddListener).call(this, o); } else { this.addListener(o); } }; if (_local4 == MovieClip.prototype) { _global.ASSetPropFlags(_local4, "addListener", 7, 1); } } } else if (_local4.__zigoID__ == undefined) { _local4.__zigoID__ = zigoIDs; _global.ASSetPropFlags(_local4, "__zigoID__", 7, 1); zigoIDs++; if ((_local4._listeners == null) || (_local4.addListener == null)) { AsBroadcaster.initialize(_local4); } } } } static function deinitializeTargets() { for (var _local4 in arguments) { var _local3 = arguments[_local4]; if (_local3.__zigoID__ != undefined) { _global.ASSetPropFlags(_local3, "__zigoID__,_listeners,broadcastMessage,addListener,removeListener", 0, 2); delete _local3.__zigoID__; delete _local3._listeners; delete _local3.broadcastMessage; delete _local3.addListener; delete _local3.removeListener; } if (_local3.oldAddListener != undefined) { _global.ASSetPropFlags(_local3, "oldAddListener", 0, 2); _local3.addListener = _local3.oldAddListener; delete _local3.oldAddListener; } } } static function __mgrRelay(inst, method, args) { if (inst == instance) { Function(com.mosesSupposes.fuse.ZigoEngine[method]).apply(com.mosesSupposes.fuse.ZigoEngine, args); } } static function setup(deinitFlag) { if (deinitFlag == true) { _playing = false; clearInterval(updateIntId); delete tweenHolder.onEnterFrame; return(undefined); } instance.cleanUp(); clearInterval(updateIntId); delete updateIntId; if ((updateTime != null) && (updateTime > 0)) { updateIntId = setInterval(instance, "update", updateTime); } else { if (Object(tweenHolder).proof == null) { setControllerDepth(6789); Object(tweenHolder).proof = 1; } var _inst = instance; tweenHolder.onEnterFrame = function () { _inst.update.call(_inst); }; } _playing = true; instance.now = getTimer(); } static var VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION + ", ZigoEngine based on concepts by L.Zigo"; static var EASING = "easeOutQuint"; static var DURATION = 1; static var TIME_MULTIPLIER = 1; static var ROUND_RESULTS = false; static var OUTPUT_LEVEL = 1; static var AUTOSTOP = false; static var SKIP_LEVEL = 0; static var _playing = false; static var zigoIDs = 0; static var prevTimeMult = 1; }
Symbol 732 MovieClip [__Packages.com.mosesSupposes.fuse.ZManager] Frame 0
class com.mosesSupposes.fuse.ZManager { var tweens, now; function ZManager () { tweens = {}; numTweens = 0; } function addTween(obj, props, endvals, seconds, ease, delay, callback) { var _local24 = ((callback.skipLevel == undefined) ? 0 : (callback.skipLevel)); var _local44 = ((callback.cycles == undefined) ? 1 : (callback.cycles)); var _local30 = callback.extra1; var _local29 = callback.extra2; var _local23 = []; var _local14 = _global.com.mosesSupposes.fuse.FuseFMP; var _local43 = String(("|" + _local14.getAllShortcuts().join("|")) + "|"); var _local42 = com.mosesSupposes.fuse.FuseKitCommon._cts(); var _local25 = ""; var _local28 = ""; var _local22 = obj.__zigoID__; var _local7 = tweens[String(_local22)]; if ((_local7 != undefined) && (com.mosesSupposes.fuse.ZigoEngine.AUTOSTOP == true)) { if (obj._listeners.length > 0) { for (var _local40 in _local7.props) { _local23.unshift(_local40); } } _local7.numProps = 0; cleanUp(true); } for (var _local47 in props) { var _local5 = props[_local47]; var _local4 = endvals[_local47]; var _local15 = 0; if (_local5 == "_fade") { _local5 = "_alpha"; _local15 = ((_local4 < 50) ? -1 : 1); } var _local16 = _local42.indexOf(("|" + _local5) + "|") > -1; var _local18 = _local7.colorProp; if (_local7 != undefined) { if ((_local16 == true) && (_local18 != undefined)) { _local23.unshift(_local18); delete _local7.props[_local18]; delete _local7.colorProp; _local7.numProps--; } else if (_local7.props[_local5] != undefined) { _local23.unshift(_local5); delete _local7[_local5]; _local7.numProps--; } } var _local3 = {c:-1, fmp:-1, complex:-1}; var _local11 = ((_local24 == 0) && ((seconds + delay) == 0)) || ((_local24 > 0) && (seconds == 0)); var _local10 = false; var _local13 = (_local14 != undefined) && (_local43.indexOf(("|" + _local5) + "|") > -1); var _local19 = (_local5.toLowerCase().indexOf("colors") > -1) && (_local4 instanceof Array); var _local27 = ((_local13 == true) && (_local5.indexOf("lor") > -1)) && (_local5.charAt(2) != "l"); if (_local13 == true) { _local3.fmp = _local14; _local3.ps = _local14.getFilterProp(obj, _local5, true); _local3.special = true; } if (((_local16 == true) || (_local19 == true)) || (_local27 && (_local11 == false))) { _local3.complex = 1; if (_local16 == true) { _local3.c = new Color(obj); _local3.ps = Color(_local3.c).getTransform(); var _local17 = ((((_local5 == "_tint") || (_local5 == "_tintPercent")) || (_local5 == "_colorReset")) ? "tint" : (_local5.slice(1))); var _local9 = null; var _local12 = null; if (_local5 != "_colorTransform") { if (_local17 == "tint") { if (typeof(_local4) == "object") { _local12 = _local4.tint; _local9 = ((_global.isNaN(_local4.percent) == true) ? 100 : (_local4.percent)); } else if ((_local5 == "_tintPercent") || (_local5 == "_colorReset")) { var _local20 = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tintPercent; if (_local5 == "_colorReset") { _local9 = Math.min(_local20, 100 - Math.abs(Number(_local4))); } else { _local9 = ((typeof(_local4) == "string") ? ((_local20 || 0) + Number(_local4)) : Number(_local4)); } _local9 = Math.max(0, Math.min(_local9, 100)); _local12 = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tint || 0; } else { _local12 = _local4; _local9 = 100; } } else { _local9 = ((typeof(_local4) == "string") ? ((com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj)[_local17] || 0) + Number(_local4)) : (_local4)); } _local4 = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj(_local17, _local9, _local12); } if (_local11 == true) { if (_local5 == "_colorTransform") { Color(_local3.c).setTransform(_local4); } else { com.mosesSupposes.fuse.ZigoEngine.setColorByKey(obj, _local17, _local9, _local12); } } else { var _local21 = getChangeObj(_local3.ps, _local4, false, false); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } } else if (_local11 == true) { _local14.setFilterProp(obj, _local5, _local4); } else if (_local19 == true) { _local3.c = 2; _local3.ch = []; for (var _local40 in _local4) { if (_local4[_local40] != null) { if (_local3.ps == null) { _local3.ps = []; } _local3.ps[_local40] = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, ((_local3.ps[_local40] == null) ? obj[_local5][_local40] : _local3.ps[_local40])); var _local21 = getChangeObj(_local3.ps[_local40], com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local4[_local40]), true, false); _local3.ch[_local40] = _local21.map; if (_local21.changed == true) { _local10 = true; } } } } else { _local3.c = 1; _local3.ps = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local3.ps); var _local21 = getChangeObj(_local3.ps, com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local4), true, false); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } } else if (_local5 == "_bezier_") { removeTween(obj, "_x,_y", true); if (_local11 == true) { if ((_local4.x != null) && (_global.isNaN(Number(_local4.x)) == false)) { obj._x = ((typeof(_local4.x) == "string") ? (obj._x + Number(_local4.x)) : (_local4.x)); } if ((_local4.y != null) && (_global.isNaN(Number(_local4.y)) == false)) { obj._y = ((typeof(_local4.y) == "string") ? (obj._y + Number(_local4.y)) : (_local4.y)); } } else { _local3.special = true; _local3.ps = 0; _local3.ch = 1; _local3.bz = {sx:obj._x, sy:obj._y}; if ((_local4.x == null) || (_global.isNaN(Number(_local4.x)))) { _local4.x = _local3.bz.sx; } if ((_local4.y == null) || (_global.isNaN(Number(_local4.y)))) { _local4.y = _local3.bz.sy; } _local3.bz.chx = ((typeof(_local4.x) == "string") ? (Number(_local4.x)) : (_local4.x - _local3.bz.sx)); if (_global.isNaN(_local3.bz.chx) == true) { _local3.bx.chx = 0; } _local3.bz.chy = ((typeof(_local4.y) == "string") ? (Number(_local4.y)) : (_local4.y - _local3.bz.sy)); if (_global.isNaN(_local3.bz.chy) == true) { _local3.bx.chy = 0; } if ((_local4.controlX == null) || (_global.isNaN(Number(_local4.controlX)))) { _local3.bz.ctrlx = _local3.bz.sx + (_local3.bz.chx / 2); } else { _local3.bz.ctrlx = ((typeof(_local4.controlX) == "string") ? (_local3.bz.sx + Number(_local4.controlX)) : (_local4.controlX)); } if ((_local4.controlY == null) || (_global.isNaN(Number(_local4.controlY)))) { _local3.bz.ctrly = _local3.bz.sy + (_local3.bz.chy / 2); } else { _local3.bz.ctrly = ((typeof(_local4.controlY) == "string") ? (_local3.bz.sy + Number(_local4.controlY)) : (_local4.controlY)); } _local3.bz.ctrlx = _local3.bz.ctrlx - _local3.bz.sx; _local3.bz.ctrly = _local3.bz.ctrly - _local3.bz.sy; _local10 = (_local3.bz.chx + _local3.bz.chy) != 0; } } else { if (typeof(_local4) == "object") { _local3.complex = ((_local4 instanceof Array) ? 0 : 1); } if ((_local5 == "_x") || (_local5 == "_y")) { removeTween(obj, "_bezier_", true); } if ((_local5 == "_frame") && (typeof(obj) == "movieclip")) { _local3.ps = obj._currentframe; _local3.special = true; } else if (_local13 == false) { if (_local3.complex > -1) { _local3.ps = ((_local3.complex == 0) ? ([]) : ({})); for (var _local40 in _local4) { _local3.ps[_local40] = obj[_local5][_local40]; } } else { _local3.ps = obj[_local5]; } } if (_local11 == true) { if (_local13 == true) { _local14.setFilterProp(obj, _local5, ((typeof(_local4) == "string") ? (_local3.ps + Number(_local4)) : (_local4))); } else if (_local3.complex > -1) { for (var _local40 in _local4) { if ((_local4[_local40] != null) && (_global.isNaN(Number(_local4[_local40])) == false)) { obj[_local5][_local40] = ((typeof(_local4[_local40]) == "string") ? (_local3.ps[_local40] + Number(_local4[_local40])) : _local4[_local40]); if (_global.isNaN(obj[_local5][_local40]) == true) { obj[_local5][_local40] = 0; } } } } else { obj[_local5] = ((typeof(_local4) == "string") ? (_local3.ps + Number(_local4)) : (_local4)); if (_local15 == 1) { obj._visible = true; } else if (_local15 == -1) { obj._visible = false; } } } else if (_local3.complex > -1) { var _local21 = getChangeObj(_local3.ps, _local4, _local13, _local3.complex == 0); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } else { if ((_local4 == null) || (_global.isNaN(Number(_local4)))) { _local4 = _local3.ps; } _local3.ch = ((typeof(_local4) == "string") ? (Number(_local4)) : (Number(_local4) - _local3.ps)); if (_global.isNaN(_local3.ch) == true) { _local3.ch = 0; } _local10 = _local3.ch != 0; } } if (((_local24 == 0) && ((_local10 == true) || (_local11 == false))) || ((_local10 == true) && (_local11 == false))) { if ((_local3.complex > -1) && (!(_local3.c === 2))) { _local3.ps = [_local3.ps]; _local3.ch = [_local3.ch]; } _local3.ts = now + (delay * 1000); _local3.pt = -1; _local3.d = seconds * 1000; _local3.ef = ease; _local3.sf = false; _local3.cycles = _local44; if (_local30 != undefined) { _local3.e1 = _local30; } if (_local29 != undefined) { _local3.e2 = _local29; } _local3.v = _local15; if (callback.start != undefined) { _local3.scb = callback.start; } if (callback.upd != undefined) { _local3.ucb = callback.upd; } if (callback.end != undefined) { _local3.ecb = callback.end; } if (callback.roundResults != undefined) { _local3.rr = callback.roundResults; } if (tweens[String(_local22)] == undefined) { _local7 = (tweens[String(_local22)] = {numProps:0, locked:false, targ:obj, targID:String(("\"" + ((obj._name != undefined) ? (obj._name) : (obj.toString()))) + "\""), targZID:_local22, props:{}}); numTweens++; } if (_local16 == true) { _local7.colorProp = _local5; } _local7.props[_local5] = _local3; _local7.numProps++; _local25 = (_local5 + ",") + _local25; _local28 = (((typeof(_local4) == "string") ? (("\"" + _local4) + "\"") : (_local4)) + ",") + _local28; } _local3 = undefined; } if ((_local7 == undefined) || (_local7.numProps <= 0)) { cleanUp(); } if ((_local23.length > 0) && (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0)) { com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:obj, props:_local23, __zigoID__:_local22, during:"add"}); } if (_local25 == "") { if (_local24 == 2) { if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) { com.mosesSupposes.fuse.FuseKitCommon.error("011", ((obj._name != undefined) ? (obj._name) : (obj.toString())), props.toString()); } } else { var _local48 = obj._listeners.length > 0; if (_local48 == true) { obj.broadcastMessage("onTweenStart", {target:obj, props:props}); } if (callback.start != undefined) { callback.start.f.apply(callback.start.s, callback.start.a); } if (_local48 == true) { obj.broadcastMessage("onTweenUpdate", {target:obj, props:props}); } if (callback.upd != undefined) { callback.upd.f.apply(callback.upd.s, callback.upd.a); } if (_local48 == true) { obj.broadcastMessage("onTweenEnd", {target:obj, props:props}); } if (callback.end != undefined) { callback.end.f.apply(callback.end.s, callback.end.a); } } cleanUp(); } if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) { if (_local25 == "") { com.mosesSupposes.fuse.FuseKitCommon.error("012", ((obj._name != undefined) ? (obj._name) : (obj.toString())), props.toString(), endvals.toString()); } else { com.mosesSupposes.fuse.FuseKitCommon.error("013", ((obj._name != undefined) ? (obj._name) : (obj.toString())), _local25.slice(0, -1), _local28.slice(0, -1)); } } return(((_local25 == "") ? null : (_local25.slice(0, -1)))); } function removeTween(targs, props, noInit) { var _local4 = {}; var _local12 = paramsObj(targs, props); if (_local12.none == true) { return(undefined); } var _local16 = _local12.all; var _local17 = _local12.allprops; var _local9 = ((_local16 == true) ? (tweens) : (Object(_local12.tg))); var _local8 = false; for (var _local20 in _local9) { var _local3 = ((_local16 == true) ? (_local20) : (String(_local9[_local20].__zigoID__))); var _local2 = tweens[_local3]; var _local6 = ((_local17 == true) ? (_local2.props) : (_local12.props)); for (var _local14 in _local6) { var _local5 = (_local14 == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) && (_local2.colorProp != undefined); if ((_local2.props[_local14] != undefined) || (_local5 == true)) { if (_local4[_local3] == null) { _local4[_local3] = []; } _local4[_local3].unshift(_local14); if ((_local14 == _local2.colorProp) || (_local5 == true)) { delete _local2.props[_local2.colorProp]; delete _local2.colorProp; } else { delete _local2.props[_local14]; } _local2.numProps--; if (_local2.numProps <= 0) { _local8 = true; break; } } } } if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { for (var _local19 in _local4) { var _local7 = tweens[_local19].targ; com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(_local7.addProperty) == "function") ? (_local7) : (("[MISSING(\"" + tweens[_local19].targID) + "\")]")), props:_local4[_local19], __zigoID__:tweens[_local19].targZID, during:((noInit == true) ? "add" : "remove")}); } } if (_local8 == true) { cleanUp(noInit); } } function alterTweens(type, targs, props, pauseFlag, noEvents, skipTo) { if (type == "lock") { tweens[String(targs.__zigoID__)].locked = props; return(undefined); } var _local11 = paramsObj(targs, props); if (_local11.none == true) { return(undefined); } var _local14 = _local11.all; var _local15 = _local11.allprops; var _local9 = ((_local14 == true) ? (tweens) : (Object(_local11.tg))); var _local8 = 0; for (var _local16 in _local9) { var _local7 = ((_local14 == true) ? (_local16) : (String(_local9[_local16].__zigoID__))); var _local5 = tweens[_local7]; var _local4 = ((_local15 == true) ? (_local5.props) : (_local11.props)); if (_local4.ALLCOLOR == true) { _local4[_local5.colorProp] = true; delete _local4.ALLCOLOR; } for (var _local10 in _local4) { _local8++; var _local2 = _local5.props[_local10]; if (type == "rewind") { if (pauseFlag == true) { _local2.pt = now; } _local2.ts = now; if (noEvents != true) { _local2.sf = false; if (_local2.scb != undefined) { _local2.scb.fired = false; } } } else if (type == "ff") { if (noEvents == true) { _local2.suppressEnd = true; } _local2.o = true; _local2.pt = -1; _local2.ts = now - _local2.d; } else if (type == "skipTo") { _local2.ts = Math.min(now, (_local2.ts + (now - _local2.ts)) - (skipTo * 1000)); } else if (type == "pause") { if (_local2.pt == -1) { _local2.pt = now; } } else if (type == "unpause") { if (_local2.pt != -1) { _local2.ts = now - (_local2.pt - _local2.ts); _local2.pt = -1; } } } } if ((type == "ff") && (_local8 > 0)) { update(); } else if ((type == "rewind") && (_local8 > 0)) { update(true); } } function getStatus(type, targ, param) { if (targ == null) { return(null); } var _local8 = String(targ).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL; var _local4 = tweens[String(targ.__zigoID__)]; switch (type) { case "paused" : var _local2 = _local4.props; if (param != null) { if (_local2[String(param)] == undefined) { return(false); } return(Boolean(_local2[String(param)].pt != -1)); } for (var _local6 in _local2) { if (_local2[_local6].pt != -1) { return(true); } } return(false); case "active" : if (param == null) { return(Boolean(_local4 != undefined)); } if (String(param).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { return(Boolean(_local4.colorProp != undefined)); } return(Boolean(_local4.props[String(param)] != undefined)); case "count" : if (!_local8) { return(_local4.numProps); } var _local3 = 0; for (var _local6 in tweens) { _local3 = _local3 + tweens[_local6].numProps; } return(_local3); case "locked" : return(_local4.locked); } } function update(force) { var _local22 = {}; var _local24 = {}; var _local23 = {}; var _local15 = {}; var _local13 = {}; var _local14 = {}; var _local26 = false; var _local20 = com.mosesSupposes.fuse.ZigoEngine.ROUND_RESULTS; for (var _local35 in tweens) { var _local12 = tweens[_local35]; var _local5 = _local12.targ; var _local34 = _local12.props; var _local21 = _local5._listeners.length > 0; if (_local5.__zigoID__ == undefined) { _local26 = true; if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { var _local25 = []; for (var _local30 in _local34) { _local25.unshift(_local30); } com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(_local5.addProperty) == "function") ? (_local5) : (("[MISSING:" + _local12.targID) + "]")), props:_local25, __zigoID__:_local12.targZID, during:"update"}); } continue; } for (var _local30 in _local34) { var _local3 = _local34[_local30]; if (((_local3.ts > now) || (_local3.pt != -1)) && (force != true)) { continue; } var _local9 = now >= (_local3.ts + _local3.d); if (_local3.complex == -1) { var _local6; if (_local9 == true) { _local6 = _local3.ps + _local3.ch; if ((_local3.cycles > 1) || (_local3.cycles == 0)) { if (_local3.cycles > 1) { _local3.cycles--; } _local3.ps = _local6; _local3.ch = -_local3.ch; _local3.ts = now; _local9 = false; } } else { _local6 = _local3.ef(now - _local3.ts, _local3.ps, _local3.ch, _local3.d, _local3.e1, _local3.e2); } if (_global.isNaN(_local6) == false) { if ((_local30 != "_bezier_") && ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false))))) { _local6 = Math.round(Number(_local6)); } if (_local3.special != true) { _local5[_local30] = _local6; } else if (_local3.fmp != -1) { _local3.fmp.setFilterProp(_local5, _local30, _local6); } else if (_local30 == "_bezier_") { var _local10 = _local3.bz; var _local18 = _local10.sx + (_local6 * (((2 * (1 - _local6)) * _local10.ctrlx) + (_local6 * _local10.chx))); var _local17 = _local10.sy + (_local6 * (((2 * (1 - _local6)) * _local10.ctrly) + (_local6 * _local10.chy))); if ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false)))) { _local18 = Math.round(Number(_local18)); _local17 = Math.round(Number(_local17)); } _local5._x = _local18; _local5._y = _local17; } else if (_local30 == "_frame") { MovieClip(_local5).gotoAndStop(Math.ceil(_local6)); } } } else { var _local16 = (_local9 == true) && ((_local3.cycles > 1) || (_local3.cycles == 0)); var _local7 = []; for (var _local27 in _local3.ch) { var _local4 = ((_local3.complex == 0) ? ([]) : ({})); for (var _local28 in _local3.ch[_local27]) { var _local8 = _local3.ch[_local27][_local28]; var _local11 = _local3.ps[_local27][_local28]; if (_local9 == true) { _local4[_local28] = _local11 + _local8; if (_local16 == true) { _local3.ch[_local27][_local28] = -_local8; } } else { _local4[_local28] = _local3.ef(now - _local3.ts, _local11, _local8, _local3.d, _local3.e1, _local3.e2); } if (_global.isNaN(_local4[_local28]) == false) { if ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false)))) { _local4[_local28] = Math.round(_local4[_local28]); } } if ((_local3.fmp == -1) && (_local3.c == -1)) { _local5[_local30][_local28] = _local4[_local28]; } } _local7.push(_local4); if ((_local3.fmp == -1) && (_local3.c == 2)) { _local5[_local30][_local27] = Number(((_local4.rb << 16) | (_local4.gb << 8)) | _local4.bb); } } if (_local3.fmp != -1) { if (_local3.c == 1) { _local3.fmp.setFilterProp(_local5, _local30, ((_local7[0].rb << 16) | (_local7[0].gb << 8)) | _local7[0].bb); } else if (_local3.c == 2) { var _local19 = []; for (var _local28 in _local7) { _local19.unshift(((_local7[_local28].rb << 16) | (_local7[_local28].gb << 8)) | _local7[_local28].bb); } _local3.fmp.setFilterProp(_local5, _local30, _local19); } } else if (_local3.c != -1) { _local3.c.setTransform(_local7[0]); } if (_local16 == true) { if (_local3.cycles > 1) { _local3.cycles--; } _local9 = false; _local3.ts = now; _local3.ps = _local7; } } if (_local3.sf == false) { if (_local3.v != 0) { _local5._visible = true; } if (_local21 == true) { if (_local15[_local35] == undefined) { _local15[_local35] = [_local5, []]; } _local15[_local35][1].unshift(_local30); } _local3.sf = true; } if (_local3.scb.fired == false) { _local22[String(_local3.scb.id)] = _local3.scb; _local3.scb.fired = true; } if (_local21 == true) { if (_local13[_local35] == undefined) { _local13[_local35] = [_local5, []]; } _local13[_local35][1].unshift(_local30); } if (_local3.ucb != undefined) { _local24[String(_local3.ucb.id)] = _local3.ucb; } if (_local9 == true) { if (_local3.v === -1) { _local5._visible = false; } if (_local3.suppressEnd != true) { if (_local21 == true) { if (_local14[_local35] == undefined) { _local14[_local35] = [_local5, []]; } _local14[_local35][1].unshift(_local30); } if (_local3.ecb != undefined) { _local23[String(_local3.ecb.id)] = _local3.ecb; } } delete _local34[_local30]; if (_local30 == _local12.colorProp) { delete _local12.colorProp; } _local12.numProps--; if (_local12.numProps <= 0) { _local26 = true; } } delete _local3.suppressEnd; } } for (var _local35 in _local15) { _local15[_local35][0].broadcastMessage("onTweenStart", {target:_local15[_local35][0], props:_local15[_local35][1]}); } for (var _local35 in _local22) { _local22[_local35].f.apply(_local22[_local35].s, _local22[_local35].a); } for (var _local35 in _local13) { _local13[_local35][0].broadcastMessage("onTweenUpdate", {target:_local13[_local35][0], props:_local13[_local35][1]}); } for (var _local35 in _local24) { _local24[_local35].f.apply(_local24[_local35].s, _local24[_local35].a); } for (var _local35 in _local14) { _local14[_local35][0].broadcastMessage("onTweenEnd", {target:_local14[_local35][0], props:_local14[_local35][1]}); } for (var _local35 in _local23) { _local23[_local35].f.apply(_local23[_local35].s, _local23[_local35].a); } if (_local26) { cleanUp(); } now = getTimer(); } function cleanUp(noInit) { for (var _local4 in tweens) { var _local2 = tweens[_local4].targ; if ((tweens[_local4].numProps <= 0) || (_local2.__zigoID__ == undefined)) { if ((((_local2 != undefined) && (_local2.tween == undefined)) && (noInit != true)) && (_local2._listeners.length <= 0)) { com.mosesSupposes.fuse.ZigoEngine.deinitializeTargets(_local2); } delete tweens[_local4]; numTweens--; } } if (numTweens <= 0) { numTweens = 0; delete tweens; tweens = {}; if (noInit != true) { com.mosesSupposes.fuse.ZigoEngine.__mgrRelay(this, "setup", [true]); } } } function paramsObj(targs, props, endvals, retainFade) { var _local6 = {}; _local6.all = String(targs).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL; _local6.none = Boolean(targs == null); if (_local6.all == true) { _local6.tg = [null]; } else { _local6.tg = ((targs instanceof Array) ? (targs) : ([targs])); for (var _local11 in _local6.tg) { var _local7 = _local6.tg[_local11]; if ((_local7 == null) || (!((typeof(_local7) == "object") || (typeof(_local7) == "movieclip")))) { _local6.tg.splice(Number(_local11), 1); } } } _local6.allprops = props == null; var _local1; var _local4; var _local3 = {}; if (_local6.allprops == false) { if ((typeof(props) == "string") && ((String(props).indexOf(" ") > -1) || (String(props).indexOf(",") > -1))) { props = String(props.split(" ").join("")).split(","); } _local1 = ((props instanceof Array) ? (props.slice()) : ([props])); if (endvals != undefined) { if ((typeof(endvals) == "string") && ((String(endvals).indexOf(" ") > -1) || (String(endvals).indexOf(",") > -1))) { endvals = String(endvals.split(" ").join("")).split(","); } _local4 = ((endvals instanceof Array) ? (endvals.slice()) : ([endvals])); while (_local4.length < _local1.length) { _local4.push(_local4[_local4.length - 1]); } _local4.splice(_local1.length, _local4.length - _local1.length); } for (var _local11 in _local1) { var _local2 = Number(_local11); if ((_local1[_local11] != "_scale") && (_local1[_local11] != "_size")) { if (_local3[_local1[_local11]] == undefined) { if ((_local1[_local11] == "_fade") && (retainFade != true)) { _local1[_local11] = "_alpha"; } if (String(_local1[_local11]).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { _local1[_local11] = com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR; } _local3[_local1[_local11]] = true; } else { _local1.splice(_local2, 1); _local4.splice(_local2, 1); } } else { var _local8 = String(_local1.splice(_local2, 1)[0]); var _local5 = _local4.splice(_local2, 1)[0]; if (_local8 == "_scale") { if (_local3._xscale == undefined) { _local1.splice(_local2, 0, "_xscale"); _local4.splice(_local2, 0, _local5); _local3._xscale = true; _local2++; } if (_local3._yscale == undefined) { _local1.splice(_local2, 0, "_yscale"); _local4.splice(_local2, 0, _local5); _local3._yscale = true; } } if (_local8 == "_size") { if (_local3._width == undefined) { _local1.splice(_local2, 0, "_width"); _local4.splice(_local2, 0, _local5); _local3._width = true; _local2++; } if (_local3._yscale == undefined) { _local1.splice(_local2, 0, "_height"); _local4.splice(_local2, 0, _local5); _local3._height = true; } } } } for (var _local11 in _local1) { if (((_local1[_local11] == "_xscale") && (_local3._width == true)) || ((_local1[_local11] == "_yscale") && (_local3._height == true))) { _local1.splice(Number(_local11), 1); _local4.splice(Number(_local11), 1); delete _local3[_local1[_local11]]; } } } _local6.pa = _local1; _local6.va = _local4; _local6.props = _local3; return(_local6); } function getChangeObj(ps, ep, isFMP, useArray) { var _local3 = {map:((useArray == true) ? ([]) : ({})), changed:false}; for (var _local7 in ep) { if ((((((isFMP == true) && (_local7.charAt(1) == "b")) || (ep[_local7] != ps[_local7])) || (useArray == true)) && (ep[_local7] != null)) && (_global.isNaN(Number(ep[_local7])) == false)) { _local3.map[_local7] = ((typeof(ep[_local7]) == "string") ? (Number(ep[_local7])) : (ep[_local7] - ps[_local7])); if (_global.isNaN(_local3.map[_local7]) == true) { _local3.map[_local7] = 0; } else if (_local3.map[_local7] != 0) { _local3.changed = true; } } } return(_local3); } var numTweens = 0; }
Symbol 733 MovieClip [__Packages.com.mosesSupposes.fuse.PennerEasing] Frame 0
class com.mosesSupposes.fuse.PennerEasing { function PennerEasing () { } static function linear(t, b, c, d) { return(((c * t) / d) + b); } static function easeInQuad(t, b, c, d) { t = t / d; return(((c * t) * t) + b); } static function easeOutQuad(t, b, c, d) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOutQuad(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((c / 2) * t) * t) + b); } t--; return((((-c) / 2) * ((t * (t - 2)) - 1)) + b); } static function easeInExpo(t, b, c, d) { return(((t == 0) ? (b) : ((c * Math.pow(2, 10 * ((t / d) - 1))) + b))); } static function easeOutExpo(t, b, c, d) { return(((t == d) ? (b + c) : ((c * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b))); } static function easeInOutExpo(t, b, c, d) { if (t == 0) { return(b); } if (t == d) { return(b + c); } t = t / (d / 2); if (t < 1) { return(((c / 2) * Math.pow(2, 10 * (t - 1))) + b); } t--; return(((c / 2) * ((-Math.pow(2, -10 * t)) + 2)) + b); } static function easeOutInExpo(t, b, c, d) { if (t == 0) { return(b); } if (t == d) { return(b + c); } t = t / (d / 2); if (t < 1) { return(((c / 2) * ((-Math.pow(2, -10 * t)) + 1)) + b); } return(((c / 2) * (Math.pow(2, 10 * (t - 2)) + 1)) + b); } static function easeInElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } t = t - 1; return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b); } static function easeOutElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) + c) + b); } static function easeInOutElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / (d / 2); if (t == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } if (t < 1) { t = t - 1; return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b); } t = t - 1; return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) * 0.5) + c) + b); } static function easeOutInElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / (d / 2); if (t == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } if (t < 1) { return(((0.5 * ((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + (c / 2)) + b); } return(((c / 2) + (0.5 * ((a * Math.pow(2, 10 * (t - 2))) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)))) + b); } static function easeInBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / d; return((((c * t) * t) * (((s + 1) * t) - s)) + b); } static function easeOutBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = (t / d) - 1; return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b); } static function easeInOutBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / (d / 2); if (t < 1) { s = s * 1.525; return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b); } t = t - 2; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b); } static function easeOutInBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / (d / 2); if (t < 1) { t--; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 1)) + b); } t--; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) - s)) + 1)) + b); } static function easeOutBounce(t, b, c, d) { t = t / d; if (t < 0.363636363636364) { return((c * ((7.5625 * t) * t)) + b); } if (t < 0.727272727272727) { t = t - 0.545454545454545; return((c * (((7.5625 * t) * t) + 0.75)) + b); } if (t < 0.909090909090909) { t = t - 0.818181818181818; return((c * (((7.5625 * t) * t) + 0.9375)) + b); } t = t - 0.954545454545455; return((c * (((7.5625 * t) * t) + 0.984375)) + b); } static function easeInBounce(t, b, c, d) { return((c - easeOutBounce(d - t, 0, c, d)) + b); } static function easeInOutBounce(t, b, c, d) { if (t < (d / 2)) { return((easeInBounce(t * 2, 0, c, d) * 0.5) + b); } return(((easeOutBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static function easeOutInBounce(t, b, c, d) { if (t < (d / 2)) { return((easeOutBounce(t * 2, 0, c, d) * 0.5) + b); } return(((easeInBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static function easeInCubic(t, b, c, d) { t = t / d; return((((c * t) * t) * t) + b); } static function easeOutCubic(t, b, c, d) { t = (t / d) - 1; return((c * (((t * t) * t) + 1)) + b); } static function easeInOutCubic(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((c / 2) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((t * t) * t) + 2)) + b); } static function easeOutInCubic(t, b, c, d) { t = t / (d / 2); t--; return(((c / 2) * (((t * t) * t) + 1)) + b); } static function easeInQuart(t, b, c, d) { t = t / d; return(((((c * t) * t) * t) * t) + b); } static function easeOutQuart(t, b, c, d) { t = (t / d) - 1; return(((-c) * ((((t * t) * t) * t) - 1)) + b); } static function easeInOutQuart(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((((c / 2) * t) * t) * t) * t) + b); } t = t - 2; return((((-c) / 2) * ((((t * t) * t) * t) - 2)) + b); } static function easeOutInQuart(t, b, c, d) { t = t / (d / 2); if (t < 1) { t--; return((((-c) / 2) * ((((t * t) * t) * t) - 1)) + b); } t--; return(((c / 2) * ((((t * t) * t) * t) + 1)) + b); } static function easeInQuint(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOutQuint(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOutQuint(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b); } static function easeOutInQuint(t, b, c, d) { t = t / (d / 2); t--; return(((c / 2) * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInSine(t, b, c, d) { return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b); } static function easeOutSine(t, b, c, d) { return((c * Math.sin((t / d) * (Math.PI/2))) + b); } static function easeInOutSine(t, b, c, d) { return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b); } static function easeOutInSine(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((c / 2) * Math.sin((Math.PI * t) / 2)) + b); } t--; return((((-c) / 2) * (Math.cos((Math.PI * t) / 2) - 2)) + b); } static function easeInCirc(t, b, c, d) { t = t / d; return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b); } static function easeOutCirc(t, b, c, d) { t = (t / d) - 1; return((c * Math.sqrt(1 - (t * t))) + b); } static function easeInOutCirc(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b); } t = t - 2; return(((c / 2) * (Math.sqrt(1 - (t * t)) + 1)) + b); } static function easeOutInCirc(t, b, c, d) { t = t / (d / 2); if (t < 1) { t--; return(((c / 2) * Math.sqrt(1 - (t * t))) + b); } t--; return(((c / 2) * (2 - Math.sqrt(1 - (t * t)))) + b); } static var registryKey = "pennerEasing"; }
Symbol 734 MovieClip [__Packages.com.mosesSupposes.fuse.FuseFMP] Frame 0
class com.mosesSupposes.fuse.FuseFMP { static var _classes, _shortcuts, _getter, _setter; function FuseFMP () { } static function simpleSetup() { initialize(MovieClip.prototype, Button.prototype, TextField.prototype); _global.FuseFMP = com.mosesSupposes.fuse.FuseFMP; for (var _local2 in _classes) { _global[_local2] = _classes[_local2]; } } static function initialize(target) { if (_classes == undefined) { _shortcuts = {getFilterName:function (f) { return(com.mosesSupposes.fuse.FuseFMP.getFilterName(f)); }, getFilterIndex:function (f) { return(com.mosesSupposes.fuse.FuseFMP.getFilterIndex(this, f)); }, getFilter:function (f, createNew) { return(com.mosesSupposes.fuse.FuseFMP.getFilter(this, f, createNew)); }, writeFilter:function (f, pObj) { return(com.mosesSupposes.fuse.FuseFMP.writeFilter(this, f, pObj)); }, removeFilter:function (f) { return(com.mosesSupposes.fuse.FuseFMP.removeFilter(this, f)); }, getFilterProp:function (prop, createNew) { return(com.mosesSupposes.fuse.FuseFMP.getFilterProp(this, prop, createNew)); }, setFilterProp:function (prop, v) { com.mosesSupposes.fuse.FuseFMP.setFilterProp(this, prop, v); }, setFilterProps:function (fOrPObj, pObj) { com.mosesSupposes.fuse.FuseFMP.setFilterProps(this, fOrPObj, pObj); }, traceAllFilters:function () { com.mosesSupposes.fuse.FuseFMP.traceAllFilters(); }}; _classes = {BevelFilter:flash.filters.BevelFilter, BlurFilter:flash.filters.BlurFilter, ColorMatrixFilter:flash.filters.ColorMatrixFilter, ConvolutionFilter:flash.filters.ConvolutionFilter, DisplacementMapFilter:flash.filters.DisplacementMapFilter, DropShadowFilter:flash.filters.DropShadowFilter, GlowFilter:flash.filters.GlowFilter, GradientBevelFilter:flash.filters.GradientBevelFilter, GradientGlowFilter:flash.filters.GradientGlowFilter}; _getter = {__resolve:function (name) { var _local4 = function () { var _local3 = this; if (_local3.filters != undefined) { var _local2 = name.split("_"); if (_local2[1] == "blur") { _local2[1] = "blurX"; } return(com.mosesSupposes.fuse.FuseFMP.getFilter(this, _local2[0] + "Filter", false)[_local2[1]]); } }; return(_local4); }}; _setter = {__resolve:function (name) { var _local3 = function (val) { var _local2 = this; if (_local2.filters != undefined) { com.mosesSupposes.fuse.FuseFMP.setFilterProp(this, name, val); } }; return(_local3); }}; } if (arguments[0] == null) { return(undefined); } var _local6 = [MovieClip, Button, TextField]; for (var _local13 in arguments) { var _local7 = false; for (var _local10 in _local6) { if ((arguments[_local13] instanceof _local6[_local10]) || (arguments[_local13] == Function(_local6[_local10]).prototype)) { _local7 = true; break; } } if (!_local7) { com.mosesSupposes.fuse.FuseKitCommon.error("201", _local13); continue; } for (var _local11 in _classes) { var _local5 = new _classes[_local11](); for (var _local8 in _local5) { if (typeof(_local5[_local8]) == "function") { continue; } var _local4 = (_local11.substr(0, -6) + "_") + _local8; arguments[_local13].addProperty(_local4, _getter[_local4], _setter[_local4]); _global.ASSetPropFlags(arguments[_local13], _local4, 3, 1); if (_local8 == "blurX") { _local4 = _local4.slice(0, -1); arguments[_local13].addProperty(_local4, _getter[_local4], _setter[_local4]); _global.ASSetPropFlags(arguments[_local13], _local4, 3, 1); } } } for (var _local9 in _shortcuts) { arguments[_local13][_local9] = _shortcuts[_local9]; _global.ASSetPropFlags(arguments[_local13], _local9, 7, 1); } } } static function deinitialize() { if (_classes == undefined) { return(undefined); } if (arguments.length == 0) { arguments.push(MovieClip.prototype, Button.prototype, TextField.prototype); } for (var _local8 in arguments) { for (var _local7 in _classes) { var _local4 = new _classes[_local7](); for (var _local5 in _local4) { if (typeof(_local4[_local5]) == "function") { continue; } var _local3 = (_local7.substr(0, -6) + "_") + _local5; _global.ASSetPropFlags(arguments[_local8], _local3, 0, 2); arguments[_local8].addProperty(_local3, null, null); delete arguments[_local8][_local3]; } } for (var _local6 in _shortcuts) { _global.ASSetPropFlags(arguments[_local8], _local6, 0, 2); delete arguments[_local8][_local6]; } } } static function getFilterName(instance) { if (_classes == undefined) { initialize(null); } for (var _local1 in _classes) { if (instance.__proto__ == Function(_classes[_local1]).prototype) { return(_local1); } } return(null); } static function getFilterIndex(target, filter) { if (_classes == undefined) { initialize(null); } filter = getInstance(filter); if (filter === null) { return(-1); } var _local2 = target.filters; var _local1 = 0; while (_local1 < _local2.length) { if (_local2[_local1].__proto__ == filter.__proto__) { return(_local1); } _local1++; } return(-1); } static function getFilter(target, filter, createNew) { var _local1 = getFilterIndex(target, filter); if (_local1 == -1) { if (createNew != true) { return(null); } _local1 = writeFilter(target, filter); if (_local1 == -1) { return(null); } } return(target.filters[_local1]); } static function writeFilter(target, filter, propsObj) { if (_classes == undefined) { initialize(null); } filter = getInstance(filter); if (filter === null) { return(-1); } var _local4 = target.filters; var _local2 = getFilterIndex(target, filter); if (_local2 == -1) { _local4.push(filter); } else { _local4[_local2] = filter; } target.filters = _local4; if (typeof(propsObj) == "object") { setFilterProps(target, filter, propsObj); } _local2 = getFilterIndex(target, filter); return(_local2); } static function removeFilter(target, filter) { if (_classes == undefined) { initialize(null); } filter = getInstance(filter); var _local2 = target.filters; var _local1 = getFilterIndex(target, filter); if (_local1 == -1) { return(false); } _local2.splice(_local1, 1); target.filters = _local2; return(true); } static function getFilterProp(target, propname, createNew) { var _local1 = propname.split("_"); if (_local1[1] == "blur") { _local1[1] = "blurX"; } return(getFilter(target, _local1[0] + "Filter", createNew)[_local1[1]]); } static function setFilterProp(target, propname, value) { if (_classes == undefined) { initialize(null); } var _local8 = propname.split("_"); var _local5 = _local8[0] + "Filter"; if (_classes[_local5] == undefined) { return(undefined); } var _local2 = new _classes[_local5](); if ((BLUR_ZERO == true) && (_local5 == "BlurFilter")) { _local2.blurX = (_local2.blurY = 0); } var _local6 = _local8[1]; var _local1 = target.filters.length || 0; while (_local1-- , _local1 > -1) { if (target.filters[_local1].__proto__ == _local2.__proto__) { _local2 = target.filters[_local1]; break; } } if (_local2 == null) { com.mosesSupposes.fuse.FuseKitCommon.error("202", _local5, target); } if (_local6 == "blur") { _local2.blurX = value; _local2.blurY = value; } else { if ((typeof(value) == "string") && (_local6.toLowerCase().indexOf("color") > -1)) { if (value.charAt(0) == "#") { value = value.slice(1); } value = ((value.charAt(1).toLowerCase() != "x") ? (Number("0x" + value)) : (Number(value))); } _local2[_local6] = value; } var _local7 = target.filters; if (_local1 == -1) { _local7.push(_local2); } else { _local7[_local1] = _local2; } target.filters = _local7; } static function setFilterProps(target, filterOrPropsObj, propsObj) { if (arguments.length < 2) { com.mosesSupposes.fuse.FuseKitCommon.error("203", arguments.length); return(undefined); } if (_classes == undefined) { initialize(null); } var _local10 = new Object(); var _local11 = arguments.length == 2; if (_local11 == false) { var _local14 = getFilterName(getInstance(filterOrPropsObj)); if (_classes[_local14] == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("204", filterOrPropsObj); return(undefined); } _local10[_local14] = 1; } else { propsObj = filterOrPropsObj; for (var _local12 in propsObj) { var _local14 = _local12.split("_")[0] + "Filter"; if ((_classes[_local14] != undefined) && (_local10[_local14] == undefined)) { _local10[_local14] = 1; } } } if (!(target instanceof Array)) { target = [target]; } for (var _local15 in target) { var _local5 = target[_local15]; for (var _local14 in _local10) { var _local3 = new _classes[_local14](); if ((BLUR_ZERO == true) && (_local14 == "BlurFilter")) { _local3.blurX = (_local3.blurY = 0); } var _local4 = _local5.filters.length || 0; while (_local4-- , _local4 > -1) { if (_local5.filters[_local4].__proto__ == _local3.__proto__) { _local3 = _local5.filters[_local4]; break; } } if (_local3 == null) { com.mosesSupposes.fuse.FuseKitCommon.error("202", _local14, _local5); continue; } var _local7 = String(_local14).slice(0, -6) + "_"; for (var _local12 in propsObj) { var _local6 = _local12.indexOf(_local7) == 0; if ((_local11 == true) && (_local6 == false)) { continue; } var _local2 = propsObj[_local12]; if (_local6 == true) { var _local12 = _local12.slice(_local7.length); } if (_local12 == "blur") { _local3.blurX = _local2; _local3.blurY = _local2; } else { if ((typeof(_local2) == "string") && (_local12.toLowerCase().indexOf("color") > -1)) { if (_local2.charAt(0) == "#") { _local2 = _local2.slice(1); } _local2 = ((_local2.charAt(1).toLowerCase() != "x") ? (Number("0x" + _local2)) : (Number(_local2))); } _local3[_local12] = _local2; } } var _local8 = _local5.filters; if (_local4 == -1) { _local8.push(_local3); } else { _local8[_local4] = _local3; } _local5.filters = _local8; } } } static function getAllShortcuts() { if (_classes == undefined) { initialize(null); } var _local2 = []; for (var _local4 in _classes) { var _local1 = new _classes[_local4](); for (var _local3 in _local1) { if (typeof(_local1[_local3]) == "function") { continue; } _local2.push((_local4.substr(0, -6) + "_") + _local3); if (_local3 == "blurX") { _local2.push(_local4.substr(0, -6) + "_blur"); } } } return(_local2); } static function traceAllFilters() { if (_classes == undefined) { initialize(null); } var _local1 = "------ FuseFMP filter properties ------\n"; for (var _local4 in _classes) { _local1 = _local1 + _local4; var _local2 = new _classes[_local4](); for (var _local3 in _local2) { if (typeof(_local2[_local3]) == "function") { continue; } _local1 = _local1 + ((("\t- " + _local4.substr(0, -6)) + "_") + _local3); if (_local3 == "blurX") { _local1 = _local1 + (("\t- " + _local4.substr(0, -6)) + "_blur"); } } _local1 = _local1 + newline; } com.mosesSupposes.fuse.FuseKitCommon.output(_local1); } static function getInstance(filter) { if (filter instanceof flash.filters.BitmapFilter) { return(flash.filters.BitmapFilter(filter)); } if (typeof(filter) == "function") { for (var _local4 in _classes) { if (filter == _classes[_local4]) { var _local1 = new _classes[_local4](); if ((BLUR_ZERO == true) && (_local4 == "BlurFilter")) { _local1.blurX = (_local1.blurY = 0); } return(_local1); } } } if (typeof(filter) == "string") { var _local3 = String(filter); if (_local3.substr(-6) != "Filter") { _local3 = _local3 + "Filter"; } for (var _local4 in _classes) { if (_local4 == _local3) { var _local1 = new _classes[_local4](); if ((BLUR_ZERO == true) && (_local4 == "BlurFilter")) { _local1.blurX = (_local1.blurY = 0); } return(_local1); } } } return(null); } static var registryKey = "fuseFMP"; static var VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION; static var BLUR_ZERO = true; }
Symbol 735 MovieClip [__Packages.ParticleSystem] Frame 0
class ParticleSystem { var particle_array, particlesToMake, emitter_mc, particlesPerFrame, speed, speedVariation, life, lifeVariation, sprayTime, scale, scaleVariation, growFrames, shrinkFrames, fadeInFrames, fadeOutFrames, customData, image, angle, spread, loopInterval, sprayTimer, onComplete; function ParticleSystem (newEmitter_mc, newSettings, newCustomData) { particle_array = new Array(); particlesToMake = 0; emitter_mc = newEmitter_mc; particlesPerFrame = ((newSettings.particlesPerFrame != undefined) ? (newSettings.particlesPerFrame) : 1); speed = ((newSettings.speed != undefined) ? (newSettings.speed) : 1); speedVariation = ((newSettings.speedVariation != undefined) ? (newSettings.speedVariation) : 0); life = ((newSettings.life != undefined) ? (newSettings.life) : 30); lifeVariation = ((newSettings.lifeVariation != undefined) ? (newSettings.lifeVariation) : 0); sprayTime = (newSettings.sprayTime ? (newSettings.sprayTime) : null); scale = ((newSettings.scale != undefined) ? (newSettings.scale) : 1); scaleVariation = ((newSettings.scaleVariation != undefined) ? (newSettings.scaleVariation) : 0); growFrames = ((newSettings.growFrames != undefined) ? (newSettings.growFrames) : 0); shrinkFrames = ((newSettings.shrinkFrames != undefined) ? (newSettings.shrinkFrames) : 0); fadeInFrames = ((newSettings.fadeInFrames != undefined) ? (newSettings.fadeInFrames) : 0); fadeOutFrames = ((newSettings.fadeOutFrames != undefined) ? (newSettings.fadeOutFrames) : 0); customData = {}; if (newSettings.customData) { customData = newSettings.customData; } if (newCustomData) { customData = newCustomData; } image = ((newSettings.image != undefined) ? (newSettings.image) : "test_particle"); angle = ((newSettings.angle != undefined) ? (newSettings.angle) : 0); spread = ((newSettings.spread != undefined) ? (newSettings.spread) : 360); var _local3 = 30; loopInterval = setInterval(this, "loop", _local3); } function loop() { makeNewParticles(); moveAllParticles(); checkSprayTime(); } function makeNewParticles() { particlesToMake = particlesToMake + particlesPerFrame; var _local2 = 0; while (_local2 < Math.floor(particlesToMake)) { var _local3 = makeParticle(); if (_local3) { particle_array.push(_local3); } var _local4 = true; _local2++; } if (_local4) { particlesToMake = 0; } } function makeParticle() { var _local2 = Math.floor(Math.random() * 9999); while (emitter_mc._parent.getInstanceAtDepth(_local2) != undefined) { _local2 = Math.floor(Math.random() * 9999); } var _local6 = "particle_" + _local2; var _local8 = (speed + (Math.random() * speedVariation)) - (speedVariation / 2); var _local5 = (-angle) % 360; _local5 = _local5 + ((Math.random() * spread) - (spread / 2)); var _local7 = (_local5 * (Math.PI*2)) / 360; var _local12 = flash.geom.Point.polar(_local8, _local7); var _local9 = (life + (Math.random() * lifeVariation)) - (lifeVariation / 2); var _local4 = (scale + (Math.random() * scaleVariation)) - (scaleVariation / 2); _local4 = _local4 * 100; var _local3 = emitter_mc._parent.attachMovie(image, _local6, _local2, {particleData:customData, particle_vec:_local12, particleLife:_local9, particleFullLife:_local9, particleFullScale:_local4}); _local3._x = emitter_mc._x; _local3._y = emitter_mc._y; _local3._xscale = (_local3._yscale = _local4); if (growFrames != 0) { _local3._xscale = (_local3._yscale = 0); } return(_local3); } function moveAllParticles() { var _local2 = 0; while (_local2 < particle_array.length) { var _local3 = particle_array[_local2]; _local3.particleLife--; if (checkForDeath(_local2)) { _local2--; } else { moveParticle(_local2); growParticle(_local2); shrinkParticle(_local2); fadeInParticle(_local2); fadeOutParticle(_local2); } _local2++; } } function moveParticle(p) { var _local2 = particle_array[p]; _local2._x = _local2._x + _local2.particle_vec.x; _local2._y = _local2._y + _local2.particle_vec.y; } function checkSprayTime() { if (sprayTime != null) { if ((particlesPerFrame > 0) && (sprayTimer == null)) { sprayTimer = sprayTime; } if (sprayTimer == 0) { particlesPerFrame = 0; sprayTimer = null; } else if (sprayTimer > 0) { sprayTimer--; } } } function checkForDeath(p) { var _local2 = particle_array[p]; if (_local2.particleLife <= 0) { particle_array.splice(p, 1); _local2.removeMovieClip(); if (particle_array.length == 0) { onComplete(); } return(true); } return(false); } function growParticle(p) { if (growFrames) { var _local2 = particle_array[p]; if (_local2.particleLife > (_local2.particleFullLife - growFrames)) { var _local3 = _local2.particleFullLife - _local2.particleLife; var _local5 = _local3 / growFrames; var _local4 = _local2.particleFullScale * _local5; _local2._xscale = (_local2._yscale = _local4); } } } function shrinkParticle(p) { if (shrinkFrames) { var _local2 = particle_array[p]; if (_local2.particleLife <= shrinkFrames) { var _local3 = 100 / shrinkFrames; _local2._xscale = _local2._xscale - _local3; _local2._yscale = _local2._yscale - _local3; } } } function fadeInParticle(p) { if (fadeInFrames) { var _local2 = particle_array[p]; if (_local2.particleLife > (_local2.particleFullLife - fadeInFrames)) { var _local4 = _local2.particleFullLife - _local2.particleLife; var _local5 = _local4 / fadeInFrames; var _local3 = 100 * _local5; _local2._alpha = _local3; } } } function fadeOutParticle(p) { if (fadeOutFrames) { var _local2 = particle_array[p]; if (_local2.particleLife <= fadeOutFrames) { var _local3 = 100 / fadeOutFrames; _local2._alpha = _local2._alpha - _local3; } } } function deleteAllParticles() { for (var _local2 in particle_array) { particle_array[_local2].removeMovieClip(); } } }
Symbol 736 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 737 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 738 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 739 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None { function None () { } static function easeNone(t, b, c, d) { return(((c * t) / d) + b); } static function easeIn(t, b, c, d) { return(((c * t) / d) + b); } static function easeOut(t, b, c, d) { return(((c * t) / d) + b); } static function easeInOut(t, b, c, d) { return(((c * t) / d) + b); } static var version = "1.1.0.52"; }
Symbol 32 MovieClip [__Packages.mx.core.View] Frame 0
class mx.core.View extends mx.core.UIComponent { var tabChildren, tabEnabled, boundingBox_mc, border_mc, __get__width, __get__height, __tabIndex, depth, createObject, createClassObject, loadExternal, destroyObject, createClassChildAtDepth, doLater; function View () { super(); } function init() { super.init(); tabChildren = true; tabEnabled = false; boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function size() { border_mc.move(0, 0); border_mc.setSize(__get__width(), __get__height()); doLayout(); } function draw() { size(); } function get numChildren() { var _local3 = childNameBase; var _local2 = 0; while (true) { if (this[_local3 + _local2] == undefined) { return(_local2); } _local2++; } } function get tabIndex() { return((tabEnabled ? (__tabIndex) : undefined)); } function addLayoutObject(object) { } function createChild(className, instanceName, initProps) { if (depth == undefined) { depth = 1; } var _local2; if (typeof(className) == "string") { _local2 = createObject(className, instanceName, depth++, initProps); } else { _local2 = createClassObject(className, instanceName, depth++, initProps); } if (_local2 == undefined) { _local2 = loadExternal(className, _loadExternalClass, instanceName, depth++, initProps); } else { this[childNameBase + numChildren] = _local2; _local2._complete = true; childLoaded(_local2); } addLayoutObject(_local2); return(_local2); } function getChildAt(childIndex) { return(this[childNameBase + childIndex]); } function destroyChildAt(childIndex) { if (!((childIndex >= 0) && (childIndex < numChildren))) { return(undefined); } var _local4 = childNameBase + childIndex; var _local6 = numChildren; var _local3; for (_local3 in this) { if (_local3 == _local4) { _local4 = ""; destroyObject(_local3); break; } } var _local2 = Number(childIndex); while (_local2 < (_local6 - 1)) { this[childNameBase + _local2] = this[childNameBase + (_local2 + 1)]; _local2++; } delete this[childNameBase + (_local6 - 1)]; depth--; } function initLayout() { if (!hasBeenLayedOut) { doLayout(); } } function doLayout() { hasBeenLayedOut = true; } function createChildren() { if (border_mc == undefined) { border_mc = createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {styleName:this}); } doLater(this, "initLayout"); } function convertToUIObject(obj) { } function childLoaded(obj) { convertToUIObject(obj); } static function extension() { mx.core.ExternalContent.enableExternalContent(); } static var symbolName = "View"; static var symbolOwner = mx.core.View; static var version = "2.0.2.126"; var className = "View"; static var childNameBase = "_child"; var hasBeenLayedOut = false; var _loadExternalClass = "UIComponent"; }
Symbol 33 MovieClip [__Packages.mx.core.ScrollView] Frame 0
class mx.core.ScrollView extends mx.core.View { var __width, hScroller, vScroller, __maxHPosition, propsInited, scrollAreaChanged, specialHScrollCase, createObject, viewableColumns, __height, oldRndUp, viewableRows, __viewMetrics, owner, enabled, border_mc, __get__width, __get__height, invLayout, mask_mc, _parent, dispatchEvent; function ScrollView () { super(); } function getHScrollPolicy(Void) { return(__hScrollPolicy); } function setHScrollPolicy(policy) { __hScrollPolicy = policy.toLowerCase(); if (__width == undefined) { return(undefined); } setScrollProperties(numberOfCols, columnWidth, rowC, rowH, heightPadding, widthPadding); } function get hScrollPolicy() { return(getHScrollPolicy()); } function set hScrollPolicy(policy) { setHScrollPolicy(policy); //return(hScrollPolicy); } function getVScrollPolicy(Void) { return(__vScrollPolicy); } function setVScrollPolicy(policy) { __vScrollPolicy = policy.toLowerCase(); if (__width == undefined) { return(undefined); } setScrollProperties(numberOfCols, columnWidth, rowC, rowH, heightPadding, widthPadding); } function get vScrollPolicy() { return(getVScrollPolicy()); } function set vScrollPolicy(policy) { setVScrollPolicy(policy); //return(vScrollPolicy); } function get hPosition() { return(getHPosition()); } function set hPosition(pos) { setHPosition(pos); //return(hPosition); } function getHPosition(Void) { return(__hPosition); } function setHPosition(pos) { hScroller.__set__scrollPosition(pos); __hPosition = pos; } function get vPosition() { return(getVPosition()); } function set vPosition(pos) { setVPosition(pos); //return(vPosition); } function getVPosition(Void) { return(__vPosition); } function setVPosition(pos) { vScroller.__set__scrollPosition(pos); __vPosition = pos; } function get maxVPosition() { var _local2 = vScroller.maxPos; return(((_local2 == undefined) ? 0 : (_local2))); } function get maxHPosition() { return(getMaxHPosition()); } function set maxHPosition(pos) { setMaxHPosition(pos); //return(maxHPosition); } function getMaxHPosition(Void) { if (__maxHPosition != undefined) { return(__maxHPosition); } var _local2 = hScroller.maxPos; return(((_local2 == undefined) ? 0 : (_local2))); } function setMaxHPosition(pos) { __maxHPosition = pos; } function setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) { var _local3 = getViewMetrics(); if (hPadding == undefined) { hPadding = 0; } if (wPadding == undefined) { wPadding = 0; } propsInited = true; delete scrollAreaChanged; heightPadding = hPadding; widthPadding = wPadding; if (colWidth == 0) { colWidth = 1; } if (rwHeight == 0) { rwHeight = 1; } var _local5 = Math.ceil((((__width - _local3.left) - _local3.right) - widthPadding) / colWidth); if ((__hScrollPolicy == "on") || ((_local5 < colCount) && (__hScrollPolicy == "auto"))) { if ((hScroller == undefined) || (specialHScrollCase)) { delete specialHScrollCase; hScroller = createObject("HScrollBar", "hSB", 1001); hScroller.__set__lineScrollSize(20); hScroller.scrollHandler = scrollProxy; hScroller.__set__scrollPosition(__hPosition); scrollAreaChanged = true; } if ((((numberOfCols != colCount) || (columnWidth != colWidth)) || (viewableColumns != _local5)) || (scrollAreaChanged)) { hScroller.setScrollProperties(_local5, 0, colCount - _local5); viewableColumns = _local5; numberOfCols = colCount; columnWidth = colWidth; } } else if (((__hScrollPolicy == "auto") || (__hScrollPolicy == "off")) && (hScroller != undefined)) { hScroller.removeMovieClip(); delete hScroller; scrollAreaChanged = true; } if (heightPadding == undefined) { heightPadding = 0; } var _local4 = Math.ceil((((__height - _local3.top) - _local3.bottom) - heightPadding) / rwHeight); var _local8 = (((__height - _local3.top) - _local3.bottom) % rwHeight) != 0; if ((__vScrollPolicy == "on") || ((_local4 < (rwCount + _local8)) && (__vScrollPolicy == "auto"))) { if (vScroller == undefined) { vScroller = createObject("VScrollBar", "vSB", 1002); vScroller.scrollHandler = scrollProxy; vScroller.__set__scrollPosition(__vPosition); scrollAreaChanged = true; rowH = 0; } if ((((rowC != rwCount) || (rowH != rwHeight)) || ((viewableRows + _local8) != (_local4 + oldRndUp))) || (scrollAreaChanged)) { vScroller.setScrollProperties(_local4, 0, (rwCount - _local4) + _local8); viewableRows = _local4; rowC = rwCount; rowH = rwHeight; oldRndUp = _local8; } } else if (((__vScrollPolicy == "auto") || (__vScrollPolicy == "off")) && (vScroller != undefined)) { vScroller.removeMovieClip(); delete vScroller; scrollAreaChanged = true; } numberOfCols = colCount; columnWidth = colWidth; if (scrollAreaChanged) { doLayout(); var _local2 = __viewMetrics; var _local12 = ((owner != undefined) ? (owner) : this); _local12.layoutContent(_local2.left, _local2.top, ((columnWidth * numberOfCols) - _local2.left) - _local2.right, rowC * rowH, (__width - _local2.left) - _local2.right, (__height - _local2.top) - _local2.bottom); } if (!enabled) { setEnabled(false); } } function getViewMetrics(Void) { var _local2 = __viewMetrics; var _local3 = border_mc.__get__borderMetrics(); _local2.left = _local3.left; _local2.right = _local3.right; if (vScroller != undefined) { _local2.right = _local2.right + vScroller.minWidth; } _local2.top = _local3.top; if ((hScroller == undefined) && ((__hScrollPolicy == "on") || (__hScrollPolicy == true))) { hScroller = createObject("FHScrollBar", "hSB", 1001); specialHScrollCase = true; } _local2.bottom = _local3.bottom; if (hScroller != undefined) { _local2.bottom = _local2.bottom + hScroller.minHeight; } return(_local2); } function doLayout(Void) { var _local10 = __get__width(); var _local8 = __get__height(); delete invLayout; var _local3 = (__viewMetrics = getViewMetrics()); var _local2 = _local3.left; var _local9 = _local3.right; var _local5 = _local3.top; var _local11 = _local3.bottom; var _local7 = hScroller; var _local6 = vScroller; _local7.setSize((_local10 - _local2) - _local9, _local7.minHeight + 0); _local7.move(_local2, _local8 - _local11); _local6.setSize(_local6.minWidth + 0, (_local8 - _local5) - _local11); _local6.move(_local10 - _local9, _local5); var _local4 = mask_mc; _local4._width = (_local10 - _local2) - _local9; _local4._height = (_local8 - _local5) - _local11; _local4._x = _local2; _local4._y = _local5; } function createChild(id, name, props) { var _local2 = super.createChild(id, name, props); return(_local2); } function init(Void) { super.init(); __viewMetrics = new Object(); if (_global.__SVMouseWheelManager == undefined) { var _local4 = (_global.__SVMouseWheelManager = new Object()); _local4.onMouseWheel = __onMouseWheel; Mouse.addListener(_local4); } } function __onMouseWheel(delta, scrollTarget) { var _local4 = scrollTarget; var _local1; while (_local4 != undefined) { if (_local4 instanceof mx.core.ScrollView) { _local1 = _local4; } _local4 = _local4._parent; } if (_local1 != undefined) { _local4 = ((delta <= 0) ? 1 : -1); var _local2 = _local1.vScroller.lineScrollSize; if (_local2 == undefined) { _local2 = 0; } _local2 = Math.max(Math.abs(delta), _local2); var _local3 = _local1.vPosition + (_local2 * _local4); _local1.vPosition = Math.max(0, Math.min(_local3, _local1.maxVPosition)); _local1.dispatchEvent({type:"scroll", direction:"vertical", position:_local1.vPosition}); } } function createChildren(Void) { super.createChildren(); if (mask_mc == undefined) { mask_mc = createObject("BoundingBox", "mask_mc", MASK_DEPTH); } mask_mc._visible = false; } function invalidate(Void) { super.invalidate(); } function draw(Void) { size(); } function size(Void) { super.size(); } function scrollProxy(docObj) { _parent.onScroll(docObj); } function onScroll(docObj) { var _local3 = docObj.target; var _local2 = _local3.scrollPosition; if (_local3 == vScroller) { var _local4 = "vertical"; var _local5 = "__vPosition"; } else { var _local4 = "horizontal"; var _local5 = "__hPosition"; } this[_local5] = _local2; dispatchEvent({type:"scroll", direction:_local4, position:_local2}); } function setEnabled(v) { vScroller.enabled = (hScroller.enabled = v); } function childLoaded(obj) { super.childLoaded(obj); obj.setMask(mask_mc); } static var symbolName = "ScrollView"; static var symbolOwner = mx.core.ScrollView; static var version = "2.0.2.126"; var className = "ScrollView"; var __vScrollPolicy = "auto"; var __hScrollPolicy = "off"; var __vPosition = 0; var __hPosition = 0; var numberOfCols = 0; var rowC = 0; var columnWidth = 1; var rowH = 0; var heightPadding = 0; var widthPadding = 0; var MASK_DEPTH = 10000; }
Symbol 34 MovieClip [__Packages.mx.controls.TextArea] Frame 0
class mx.controls.TextArea extends mx.core.ScrollView { var label, invalidate, initText, dispatchValueChangedEvent, getHPosition, setHPosition, getVPosition, setVPosition, _color, focusTextField, tfx, tfy, tfw, tfh, doLater, _vpos, _hpos, hookedV, vScroller, hookedH, hScroller, getViewMetrics, __get__width, __get__height, hScrollPolicy, vScrollPolicy, getStyle, getFocusManager, addEventListener, removeEventListener, _getTextFormat; function TextArea () { super(); } function get maxChars() { return(label.maxChars); } function set maxChars(x) { label.maxChars = x; //return(maxChars); } function get length() { return(label.length); } function get restrict() { return(label.restrict); } function set restrict(s) { label.restrict = ((s == "") ? null : (s)); //return(restrict); } function get wordWrap() { return(label.wordWrap); } function set wordWrap(s) { label.wordWrap = s; invalidate(); //return(wordWrap); } function get editable() { return(__editable); } function set editable(x) { __editable = x; label.type = (x ? "input" : "dynamic"); //return(editable); } function get password() { return(label.password); } function set password(s) { label.password = s; //return(password); } function get html() { return(getHtml()); } function set html(value) { setHtml(value); //return(html); } function getHtml() { return(label.html); } function setHtml(value) { if (value != label.html) { label.html = value; } } function get text() { return(getText()); } function set text(t) { setText(t); //return(text); } function getText() { if (initializing) { return(initText); } var _local2 = label; if (_local2.html == true) { return(_local2.htmlText); } return(_local2.text); } function setText(t) { if (initializing) { initText = t; } else { var _local2 = label; if (_local2.html == true) { _local2.htmlText = t; } else { _local2.text = t; } invalidate(); } dispatchValueChangedEvent(t); } function get hPosition() { return(getHPosition()); } function set hPosition(pos) { setHPosition(pos); label.hscroll = pos; label.background = false; //return(hPosition); } function get vPosition() { return(getVPosition()); } function set vPosition(pos) { setVPosition(pos); label.scroll = pos + 1; label.background = false; //return(vPosition); } function get maxVPosition() { var _local2 = label.maxscroll - 1; return(((_local2 == undefined) ? 0 : (_local2))); } function get maxHPosition() { var _local2 = label.maxhscroll; return(((_local2 == undefined) ? 0 : (_local2))); } function init(Void) { super.init(); label.styleName = this; _color = mx.core.UIObject.textColorList; focusTextField = label; label.owner = this; label.onSetFocus = function (x) { this._parent.onSetFocus(x); }; label.onKillFocus = function (x) { this._parent.onKillFocus(x); }; label.drawFocus = function (b) { this._parent.drawFocus(b); }; label.onChanged = function () { this.owner.adjustScrollBars(); this.owner.dispatchEvent({type:"change"}); this.owner.dispatchValueChangedEvent(this.owner.text); }; label.onScroller = function () { this.owner.hPosition = this.hscroll; this.owner.vPosition = this.scroll - 1; }; if (text == undefined) { text = (""); } } function createChildren(Void) { super.createChildren(); label.autoSize = "none"; } function layoutContent(x, y, totalW, totalH, displayW, displayH) { var _local2 = label; if ((((tfx != x) || (tfy != y)) || (tfw != displayW)) || (tfh != displayH)) { tfx = x; tfy = y; tfw = displayW; tfh = displayH; _local2.move(tfx, tfy); _local2.setSize(tfw, tfh); doLater(this, "adjustScrollBars"); } } function scrollChanged(Void) { var _local2 = Selection; if (_local2.lastBeginIndex != undefined) { restoreSelection(); } label.background = false; } function onScroll(docObj) { var _local3 = label; super.onScroll(docObj); _local3.hscroll = hPosition + 0; _local3.scroll = vPosition + 1; _vpos = _local3.scroll; _hpos = _local3.hscroll; _local3.background = false; if (hookedV != true) { vScroller.addEventListener("scrollChanged", this); hookedV = true; } if (hookedH != true) { hScroller.addEventListener("scrollChanged", this); hookedH = true; } } function size(Void) { var _local3 = getViewMetrics(); var _local7 = _local3.left + _local3.right; var _local4 = _local3.top + _local3.bottom; var _local6 = _local3.left; var _local5 = _local3.top; tfx = _local6; tfy = _local5; tfw = __get__width() - _local7; tfh = __get__height() - _local4; super.size(); label.move(tfx, tfy); label.setSize(tfw, tfh); if (__get__height() <= 40) { hScrollPolicy = "off"; vScrollPolicy = "off"; } doLater(this, "adjustScrollBars"); } function setEnabled(enable) { vScroller.enabled = enable; hScroller.enabled = enable; label.type = (((editable == false) || (enable == false)) ? "dynamic" : "input"); label.selectable = enable; var _local3 = getStyle((enable ? "color" : "disabledColor")); if (_local3 == undefined) { _local3 = (enable ? 0 : 8947848); } setColor(_local3); } function setColor(col) { label.textColor = col; } function setFocus(Void) { Selection.setFocus(label); } function onSetFocus(x) { var f = Selection.getFocus(); var o = eval (f); if (o != label) { Selection.setFocus(label); return(undefined); } getFocusManager().defaultPushButtonEnabled = false; addEventListener("keyDown", this); super.onSetFocus(x); } function onKillFocus(x) { getFocusManager().defaultPushButtonEnabled = true; removeEventListener("keyDown", this); super.onKillFocus(x); } function restoreSelection(x) { var _local2 = Selection; Selection.setSelection(_local2.lastBeginIndex, _local2.lastEndIndex); label.scroll = _vpos; label.hscroll = _hpos; } function getLineOffsets(Void) { var _local16 = _getTextFormat(); var _local18 = _local16.getTextExtent2(label.text); var _local5 = _root._getTextExtent; _local5.setNewTextFormat(_local16); var _local14 = label.wordWrap; var _local9 = 0; var _local7 = (label._width - 2) - 2; var _local12 = new Array(); var _local17 = new String(label.text); var _local15 = _local17.split("\r"); var _local11 = 0; while (_local11 < _local15.length) { _local12.push(_local9); var _local4 = _local15[_local11]; _local5.text = _local4; var _local13 = Math.ceil(_local5.textWidth / _local7); var _local10 = Math.floor(_local4.length / _local13); var _local3; while (_local14 && (_local5.textWidth > _local7)) { _local3 = _local4.indexOf(" ", _local10); var _local6; if (_local3 == -1) { _local3 = _local4.lastIndexOf(" "); if (_local3 == -1) { _local3 = _local10; } } _local6 = _local4.substr(0, _local3); _local5.text = _local6; if (_local5.textWidth > _local7) { while (_local5.textWidth > _local7) { var _local8 = _local3; _local3 = _local4.lastIndexOf(" ", _local3 - 1); if (_local3 == -1) { _local3 = _local8 - 1; } _local6 = _local4.substr(0, _local3); _local5.text = _local6; } } else if (_local5.textWidth < _local7) { var _local8 = _local3; while (_local5.textWidth < _local7) { _local8 = _local3; _local3 = _local4.indexOf(" ", _local3 + 1); if (_local3 == -1) { if (_local4.indexOf(" ", 0) != -1) { break; } _local3 = _local8 + 1; } _local6 = _local4.substr(0, _local3); _local5.text = _local6; } _local3 = _local8; } _local9 = _local9 + _local3; _local12.push(_local9 + 1); _local4 = _local4.substr(_local3); if (_local4.charAt(0) == " ") { _local4 = _local4.substr(1, _local4.length - 1); _local9 = _local9 + 1; } _local5.text = _local4; } _local9 = _local9 + (_local4.length + 1); _local11++; } return(_local12); } function keyDown(e) { var _local5 = e.code; if (_local5 == 34) { var _local6 = (label.bottomScroll - label.scroll) + 1; var _local3 = getLineOffsets(); var _local2 = Math.min(label.bottomScroll + 1, label.maxscroll); if (_local2 == label.maxscroll) { var _local4 = label.length; Selection.setSelection(_local4, _local4); } else { label.scroll = _local2; Selection.setSelection(_local3[_local2 - 1], _local3[_local2 - 1]); } } else if (_local5 == 33) { var _local6 = (label.bottomScroll - label.scroll) + 1; var _local3 = getLineOffsets(); var _local2 = label.scroll - 1; if (_local2 < 1) { Selection.setSelection(0, 0); } else { Selection.setSelection(_local3[_local2 - 1], _local3[_local2 - 1]); label.scroll = Math.max(_local2 - _local6, 1); } } } function draw(Void) { var _local2 = label; var _local4 = getText(); if (initializing) { initializing = false; delete initText; } var _local3 = _getTextFormat(); _local2.embedFonts = _local3.embedFonts == true; if (_local3 != undefined) { _local2.setTextFormat(_local3); _local2.setNewTextFormat(_local3); } _local2.multiline = true; _local2.wordWrap = wordWrap == true; if (_local2.html == true) { _local2.setTextFormat(_local3); _local2.htmlText = _local4; } else { _local2.text = _local4; } _local2.type = ((editable == true) ? "input" : "dynamic"); size(); _local2.background = false; } function adjustScrollBars() { var _local2 = label; var _local4 = (_local2.bottomScroll - _local2.scroll) + 1; var _local3 = (_local4 + _local2.maxscroll) - 1; if (_local3 < 1) { _local3 = 1; } var _local5 = 0; if ((_local2.textWidth + 5) > _local2._width) { if (!_local2.wordWrap) { _local5 = _local2._width + _local2.maxhscroll; } } else { _local2.hscroll = 0; _local2.background = false; } if ((_local2.height / _local4) != Math.round(_local2.height / _local4)) { _local3--; } setScrollProperties(_local5, 1, _local3, _local2.height / _local4); } function setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) { super.setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding); if (vScroller == undefined) { hookedV = false; } if (hScroller == undefined) { hookedH = false; } } function get tabIndex() { return(label.tabIndex); } function set tabIndex(w) { label.tabIndex = w; //return(tabIndex); } function set _accProps(val) { label._accProps = val; //return(_accProps); } function get _accProps() { return(label._accProps); } function get styleSheet() { return(label.styleSheet); } function set styleSheet(v) { label.styleSheet = v; //return(styleSheet); } static var symbolName = "TextArea"; static var symbolOwner = mx.controls.TextArea; static var version = "2.0.2.126"; var className = "TextArea"; var initializing = true; var clipParameters = {text:1, wordWrap:1, editable:1, maxChars:1, restrict:1, html:1, password:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.TextArea.prototype.clipParameters, mx.core.ScrollView.prototype.clipParameters); var __vScrollPolicy = "auto"; var __hScrollPolicy = "auto"; var __editable = true; }
Symbol 133 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 134 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 135 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 136 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 137 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 138 MovieClip [__Packages.mx.core.ExternalContent] Frame 0
class mx.core.ExternalContent { var createObject, numChildren, prepList, doLater, loadList, dispatchEvent, loadedList, childLoaded; function ExternalContent () { } function loadExternal(url, placeholderClassName, instanceName, depth, initProps) { var _local2; _local2 = createObject(placeholderClassName, instanceName, depth, initProps); this[mx.core.View.childNameBase + numChildren] = _local2; if (prepList == undefined) { prepList = new Object(); } prepList[instanceName] = {obj:_local2, url:url, complete:false, initProps:initProps}; prepareToLoadMovie(_local2); return(_local2); } function prepareToLoadMovie(obj) { obj.unloadMovie(); doLater(this, "waitForUnload"); } function waitForUnload() { var _local3; for (_local3 in prepList) { var _local2 = prepList[_local3]; if (_local2.obj.getBytesTotal() == 0) { if (loadList == undefined) { loadList = new Object(); } loadList[_local3] = _local2; _local2.obj.loadMovie(_local2.url); delete prepList[_local3]; doLater(this, "checkLoadProgress"); } else { doLater(this, "waitForUnload"); } } } function checkLoadProgress() { var _local8 = false; var _local3; for (_local3 in loadList) { var _local2 = loadList[_local3]; _local2.loaded = _local2.obj.getBytesLoaded(); _local2.total = _local2.obj.getBytesTotal(); if (_local2.total > 0) { _local2.obj._visible = false; dispatchEvent({type:"progress", target:_local2.obj, current:_local2.loaded, total:_local2.total}); if (_local2.loaded == _local2.total) { if (loadedList == undefined) { loadedList = new Object(); } loadedList[_local3] = _local2; delete loadList[_local3]; doLater(this, "contentLoaded"); } } else if (_local2.total == -1) { if (_local2.failedOnce != undefined) { _local2.failedOnce++; if (_local2.failedOnce > 3) { dispatchEvent({type:"complete", target:_local2.obj, current:_local2.loaded, total:_local2.total}); delete loadList[_local3]; } } else { _local2.failedOnce = 0; } } _local8 = true; } if (_local8) { doLater(this, "checkLoadProgress"); } } function contentLoaded() { var _local4; for (_local4 in loadedList) { var _local2 = loadedList[_local4]; _local2.obj._visible = true; _local2.obj._complete = true; var _local3; for (_local3 in _local2.initProps) { _local2.obj[_local3] = _local2.initProps[_local3]; } childLoaded(_local2.obj); dispatchEvent({type:"complete", target:_local2.obj, current:_local2.loaded, total:_local2.total}); delete loadedList[_local4]; } } function convertToUIObject(obj) { if (obj.setSize == undefined) { var _local2 = mx.core.UIObject.prototype; obj.addProperty("width", _local2.__get__width, null); obj.addProperty("height", _local2.__get__height, null); obj.addProperty("left", _local2.__get__left, null); obj.addProperty("x", _local2.__get__x, null); obj.addProperty("top", _local2.__get__top, null); obj.addProperty("y", _local2.__get__y, null); obj.addProperty("right", _local2.__get__right, null); obj.addProperty("bottom", _local2.__get__bottom, null); obj.addProperty("visible", _local2.__get__visible, _local2.__set__visible); obj.move = mx.core.UIObject.prototype.move; obj.setSize = mx.core.UIObject.prototype.setSize; obj.size = mx.core.UIObject.prototype.size; mx.events.UIEventDispatcher.initialize(obj); } } static function enableExternalContent() { } static function classConstruct() { var _local1 = mx.core.View.prototype; var _local2 = mx.core.ExternalContent.prototype; _local1.loadExternal = _local2.loadExternal; _local1.prepareToLoadMovie = _local2.prepareToLoadMovie; _local1.waitForUnload = _local2.waitForUnload; _local1.checkLoadProgress = _local2.checkLoadProgress; _local1.contentLoaded = _local2.contentLoaded; _local1.convertToUIObject = _local2.convertToUIObject; return(true); } static var classConstructed = classConstruct(); static var ViewDependency = mx.core.View; }
Symbol 139 MovieClip [__Packages.mx.skins.CustomBorder] Frame 0
class mx.skins.CustomBorder extends mx.skins.Border { var __width, __height, l_mc, setSkin, minHeight, minWidth, m_mc, r_mc; function CustomBorder () { super(); } function get width() { return(__width); } function get height() { return(__height); } function init(Void) { super.init(); } function createChildren(Void) { } function draw(Void) { if (l_mc == undefined) { var _local2 = setSkin(tagL, leftSkin); if (horizontal) { minHeight = l_mc._height; minWidth = l_mc._width; } else { minHeight = l_mc._height; minWidth = l_mc._width; } } if (m_mc == undefined) { setSkin(tagM, middleSkin); if (horizontal) { minHeight = m_mc._height; minWidth = minWidth + m_mc._width; } else { minHeight = minHeight + m_mc._height; minWidth = m_mc._width; } } if (r_mc == undefined) { setSkin(tagR, rightSkin); if (horizontal) { minHeight = r_mc._height; minWidth = minWidth + r_mc._width; } else { minHeight = minHeight + r_mc._height; minWidth = r_mc._width; } } size(); } function size(Void) { l_mc.move(0, 0); if (horizontal) { r_mc.move(width - r_mc.width, 0); m_mc.move(l_mc.width, 0); m_mc.setSize(r_mc.x - m_mc.x, m_mc.height); } else { r_mc.move(0, height - r_mc.height, 0); m_mc.move(0, l_mc.height); m_mc.setSize(m_mc.width, r_mc.y - m_mc.y); } } static var symbolName = "CustomBorder"; static var symbolOwner = mx.skins.CustomBorder; static var version = "2.0.2.126"; var className = "CustomBorder"; static var tagL = 0; static var tagM = 1; static var tagR = 2; var idNames = new Array("l_mc", "m_mc", "r_mc"); var leftSkin = "F3PieceLeft"; var middleSkin = "F3PieceMiddle"; var rightSkin = "F3PieceRight"; var horizontal = true; }
Symbol 140 MovieClip [__Packages.mx.controls.scrollClasses.ScrollThumb] Frame 0
class mx.controls.scrollClasses.ScrollThumb extends mx.skins.CustomBorder { var useHandCursor, ymin, ymax, datamin, datamax, scrollMove, lastY, _ymouse, _y, _parent, onMouseMove, grip_mc, setSkin, gripSkin, __get__width, __get__height; function ScrollThumb () { super(); } function createChildren(Void) { super.createChildren(); useHandCursor = false; } function setRange(_ymin, _ymax, _datamin, _datamax) { ymin = _ymin; ymax = _ymax; datamin = _datamin; datamax = _datamax; } function dragThumb(Void) { scrollMove = _ymouse - lastY; scrollMove = scrollMove + _y; if (scrollMove < ymin) { scrollMove = ymin; } else if (scrollMove > ymax) { scrollMove = ymax; } _parent.isScrolling = true; _y = scrollMove; var _local2 = Math.round(((datamax - datamin) * (_y - ymin)) / (ymax - ymin)) + datamin; _parent.scrollPosition = _local2; _parent.dispatchScrollEvent("ThumbTrack"); updateAfterEvent(); } function stopDragThumb(Void) { _parent.isScrolling = false; _parent.dispatchScrollEvent("ThumbPosition"); _parent.dispatchScrollChangedEvent(); delete onMouseMove; } function onPress(Void) { _parent.pressFocus(); lastY = _ymouse; onMouseMove = dragThumb; super.onPress(); } function onRelease(Void) { _parent.releaseFocus(); stopDragThumb(); super.onRelease(); } function onReleaseOutside(Void) { _parent.releaseFocus(); stopDragThumb(); super.onReleaseOutside(); } function draw() { super.draw(); if (grip_mc == undefined) { setSkin(3, gripSkin); } } function size() { super.size(); grip_mc.move((__get__width() - grip_mc.width) / 2, (__get__height() - grip_mc.height) / 2); } static var symbolOwner = mx.skins.CustomBorder.symbolOwner; var className = "ScrollThumb"; var btnOffset = 0; var horizontal = false; var idNames = new Array("l_mc", "m_mc", "r_mc", "grip_mc"); }
Symbol 141 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 142 MovieClip [__Packages.mx.controls.scrollClasses.ScrollBar] Frame 0
class mx.controls.scrollClasses.ScrollBar extends mx.core.UIComponent { var isScrolling, scrollTrack_mc, scrollThumb_mc, __height, tabEnabled, focusEnabled, boundingBox_mc, setSkin, upArrow_mc, _minHeight, _minWidth, downArrow_mc, createObject, createClassObject, enabled, _height, dispatchEvent, minMode, maxMode, plusMode, minusMode, _parent, getStyle, scrolling, _ymouse; function ScrollBar () { super(); } function get scrollPosition() { return(_scrollPosition); } function set scrollPosition(pos) { _scrollPosition = pos; if (isScrolling != true) { pos = Math.min(pos, maxPos); pos = Math.max(pos, minPos); var _local3 = (((pos - minPos) * (scrollTrack_mc.height - scrollThumb_mc._height)) / (maxPos - minPos)) + scrollTrack_mc.top; scrollThumb_mc.move(0, _local3); } //return(scrollPosition); } function get pageScrollSize() { return(largeScroll); } function set pageScrollSize(lScroll) { largeScroll = lScroll; //return(pageScrollSize); } function set lineScrollSize(sScroll) { smallScroll = sScroll; //return(lineScrollSize); } function get lineScrollSize() { return(smallScroll); } function get virtualHeight() { return(__height); } function init(Void) { super.init(); _scrollPosition = 0; tabEnabled = false; focusEnabled = false; boundingBox_mc._visible = false; boundingBox_mc._width = (boundingBox_mc._height = 0); } function createChildren(Void) { if (scrollTrack_mc == undefined) { setSkin(skinIDTrack, scrollTrackName); } scrollTrack_mc.visible = false; var _local3 = new Object(); _local3.enabled = false; _local3.preset = mx.controls.SimpleButton.falseDisabled; _local3.initProperties = 0; _local3.autoRepeat = true; _local3.tabEnabled = false; var _local2; if (upArrow_mc == undefined) { _local2 = createButton(upArrowName, "upArrow_mc", skinIDUpArrow, _local3); } _local2.buttonDownHandler = onUpArrow; _local2.clickHandler = onScrollChanged; _minHeight = _local2.height; _minWidth = _local2.width; if (downArrow_mc == undefined) { _local2 = createButton(downArrowName, "downArrow_mc", skinIDDownArrow, _local3); } _local2.buttonDownHandler = onDownArrow; _local2.clickHandler = onScrollChanged; _minHeight = _minHeight + _local2.height; } function createButton(linkageName, id, skinID, o) { if (skinID == skinIDUpArrow) { o.falseUpSkin = upArrowUpName; o.falseDownSkin = upArrowDownName; o.falseOverSkin = upArrowOverName; } else { o.falseUpSkin = downArrowUpName; o.falseDownSkin = downArrowDownName; o.falseOverSkin = downArrowOverName; } var _local3 = createObject(linkageName, id, skinID, o); this[id].visible = false; this[id].useHandCursor = false; return(_local3); } function createThumb(Void) { var _local2 = new Object(); _local2.validateNow = true; _local2.tabEnabled = false; _local2.leftSkin = thumbTopName; _local2.middleSkin = thumbMiddleName; _local2.rightSkin = thumbBottomName; _local2.gripSkin = thumbGripName; createClassObject(mx.controls.scrollClasses.ScrollThumb, "scrollThumb_mc", skinIDThumb, _local2); } function setScrollProperties(pSize, mnPos, mxPos, ls) { var _local4; var _local2 = scrollTrack_mc; pageSize = pSize; largeScroll = (((ls != undefined) && (ls > 0)) ? (ls) : (pSize)); minPos = Math.max(mnPos, 0); maxPos = Math.max(mxPos, 0); _scrollPosition = Math.max(minPos, _scrollPosition); _scrollPosition = Math.min(maxPos, _scrollPosition); if (((maxPos - minPos) > 0) && (enabled)) { var _local5 = _scrollPosition; if (!initializing) { upArrow_mc.enabled = true; downArrow_mc.enabled = true; } _local2.onPress = (_local2.onDragOver = startTrackScroller); _local2.onRelease = releaseScrolling; _local2.onDragOut = (_local2.stopScrolling = stopScrolling); _local2.onReleaseOutside = releaseScrolling; _local2.useHandCursor = false; if (scrollThumb_mc == undefined) { createThumb(); } var _local3 = scrollThumb_mc; if (scrollTrackOverName.length > 0) { _local2.onRollOver = trackOver; _local2.onRollOut = trackOut; } _local4 = (pageSize / ((maxPos - minPos) + pageSize)) * _local2.height; if (_local4 < _local3.minHeight) { if (_local2.height < _local3.minHeight) { _local3.__set__visible(false); } else { _local4 = _local3.minHeight; _local3.__set__visible(true); _local3.setSize(_minWidth, _local3.minHeight + 0); } } else { _local3.__set__visible(true); _local3.setSize(_minWidth, _local4); } _local3.setRange(upArrow_mc.__get__height() + 0, (virtualHeight - downArrow_mc.__get__height()) - _local3.__get__height(), minPos, maxPos); _local5 = Math.min(_local5, maxPos); scrollPosition = (Math.max(_local5, minPos)); } else { scrollThumb_mc.__set__visible(false); if (!initializing) { upArrow_mc.enabled = false; downArrow_mc.enabled = false; } delete _local2.onPress; delete _local2.onDragOver; delete _local2.onRelease; delete _local2.onDragOut; delete _local2.onRollOver; delete _local2.onRollOut; delete _local2.onReleaseOutside; } if (initializing) { scrollThumb_mc.__set__visible(false); } } function setEnabled(enabledFlag) { super.setEnabled(enabledFlag); setScrollProperties(pageSize, minPos, maxPos, largeScroll); } function draw(Void) { if (initializing) { initializing = false; scrollTrack_mc.visible = true; upArrow_mc.__set__visible(true); downArrow_mc.__set__visible(true); } size(); } function size(Void) { if (_height == 1) { return(undefined); } if (upArrow_mc == undefined) { return(undefined); } var _local3 = upArrow_mc.__get__height(); var _local2 = downArrow_mc.__get__height(); upArrow_mc.move(0, 0); var _local4 = scrollTrack_mc; _local4._y = _local3; _local4._height = (virtualHeight - _local3) - _local2; downArrow_mc.move(0, virtualHeight - _local2); setScrollProperties(pageSize, minPos, maxPos, largeScroll); } function dispatchScrollEvent(detail) { dispatchEvent({type:"scroll", detail:detail}); } function isScrollBarKey(k) { if (k == 36) { if (scrollPosition != 0) { scrollPosition = (0); dispatchScrollEvent(minMode); } return(true); } if (k == 35) { if (scrollPosition < maxPos) { scrollPosition = (maxPos); dispatchScrollEvent(maxMode); } return(true); } return(false); } function scrollIt(inc, mode) { var _local3 = smallScroll; if (inc != "Line") { _local3 = ((largeScroll == 0) ? (pageSize) : (largeScroll)); } var _local2 = _scrollPosition + (mode * _local3); if (_local2 > maxPos) { _local2 = maxPos; } else if (_local2 < minPos) { _local2 = minPos; } if (scrollPosition != _local2) { scrollPosition = (_local2); var _local4 = ((mode < 0) ? (minusMode) : (plusMode)); dispatchScrollEvent(inc + _local4); } } function startTrackScroller(Void) { _parent.pressFocus(); if (_parent.scrollTrackDownName.length > 0) { if (_parent.scrollTrackDown_mc == undefined) { _parent.setSkin(skinIDTrackDown, scrollTrackDownName); } else { _parent.scrollTrackDown_mc.visible = true; } } _parent.trackScroller(); _parent.scrolling = setInterval(_parent, "scrollInterval", getStyle("repeatDelay"), "Page", -1); } function scrollInterval(inc, mode) { clearInterval(scrolling); if (inc == "Page") { trackScroller(); } else { scrollIt(inc, mode); } scrolling = setInterval(this, "scrollInterval", getStyle("repeatInterval"), inc, mode); } function trackScroller(Void) { if ((scrollThumb_mc._y + scrollThumb_mc.__get__height()) < _ymouse) { scrollIt("Page", 1); } else if (scrollThumb_mc._y > _ymouse) { scrollIt("Page", -1); } } function dispatchScrollChangedEvent(Void) { dispatchEvent({type:"scrollChanged"}); } function stopScrolling(Void) { clearInterval(_parent.scrolling); _parent.scrollTrackDown_mc.visible = false; } function releaseScrolling(Void) { _parent.releaseFocus(); stopScrolling(); _parent.dispatchScrollChangedEvent(); } function trackOver(Void) { if (_parent.scrollTrackOverName.length > 0) { if (_parent.scrollTrackOver_mc == undefined) { _parent.setSkin(skinIDTrackOver, scrollTrackOverName); } else { _parent.scrollTrackOver_mc.visible = true; } } } function trackOut(Void) { _parent.scrollTrackOver_mc.visible = false; } function onUpArrow(Void) { _parent.scrollIt("Line", -1); } function onDownArrow(Void) { _parent.scrollIt("Line", 1); } function onScrollChanged(Void) { _parent.dispatchScrollChangedEvent(); } static var symbolOwner = mx.core.UIComponent; var className = "ScrollBar"; var minPos = 0; var maxPos = 0; var pageSize = 0; var largeScroll = 0; var smallScroll = 1; var _scrollPosition = 0; var scrollTrackName = "ScrollTrack"; var scrollTrackOverName = ""; var scrollTrackDownName = ""; var upArrowName = "BtnUpArrow"; var upArrowUpName = "ScrollUpArrowUp"; var upArrowOverName = "ScrollUpArrowOver"; var upArrowDownName = "ScrollUpArrowDown"; var downArrowName = "BtnDownArrow"; var downArrowUpName = "ScrollDownArrowUp"; var downArrowOverName = "ScrollDownArrowOver"; var downArrowDownName = "ScrollDownArrowDown"; var thumbTopName = "ScrollThumbTopUp"; var thumbMiddleName = "ScrollThumbMiddleUp"; var thumbBottomName = "ScrollThumbBottomUp"; var thumbGripName = "ScrollThumbGripUp"; static var skinIDTrack = 0; static var skinIDTrackOver = 1; static var skinIDTrackDown = 2; static var skinIDUpArrow = 3; static var skinIDDownArrow = 4; static var skinIDThumb = 5; var idNames = new Array("scrollTrack_mc", "scrollTrackOver_mc", "scrollTrackDown_mc", "upArrow_mc", "downArrow_mc"); var clipParameters = {minPos:1, maxPos:1, pageSize:1, scrollPosition:1, lineScrollSize:1, pageScrollSize:1, visible:1, enabled:1}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.scrollClasses.ScrollBar.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters); var initializing = true; }
Symbol 143 MovieClip [__Packages.mx.controls.HScrollBar] Frame 0
class mx.controls.HScrollBar extends mx.controls.scrollClasses.ScrollBar { var _minHeight, _minWidth, _xscale, _rotation, __width, scrollIt; function HScrollBar () { super(); } function getMinWidth(Void) { return(_minHeight); } function getMinHeight(Void) { return(_minWidth); } function init(Void) { super.init(); _xscale = -100; _rotation = -90; } function get virtualHeight() { return(__width); } function isScrollBarKey(k) { if (k == 37) { scrollIt("Line", -1); return(true); } if (k == 39) { scrollIt("Line", 1); return(true); } return(super.isScrollBarKey(k)); } static var symbolName = "HScrollBar"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.2.126"; var className = "HScrollBar"; var minusMode = "Left"; var plusMode = "Right"; var minMode = "AtLeft"; var maxMode = "AtRight"; }
Symbol 144 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 145 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 146 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 147 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 148 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 149 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 150 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 151 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 152 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 153 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 154 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 155 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 156 MovieClip [__Packages.mx.controls.VScrollBar] Frame 0
class mx.controls.VScrollBar extends mx.controls.scrollClasses.ScrollBar { var scrollIt; function VScrollBar () { super(); } function init(Void) { super.init(); } function isScrollBarKey(k) { if (k == 38) { scrollIt("Line", -1); return(true); } if (k == 40) { scrollIt("Line", 1); return(true); } if (k == 33) { scrollIt("Page", -1); return(true); } if (k == 34) { scrollIt("Page", 1); return(true); } return(super.isScrollBarKey(k)); } static var symbolName = "VScrollBar"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.2.126"; var className = "VScrollBar"; var minusMode = "Up"; var plusMode = "Down"; var minMode = "AtTop"; var maxMode = "AtBottom"; }
Symbol 157 MovieClip [map_decoration] 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) { _this.removeSnapshot = function () { removeMovieClip(_this.previous_mc); }; 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); removeMovieClip(_this.previous_mc); _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.loader.onLoadInit = function () { _this.internal.frame = _this.init.frame; _this.updateSize(); _this.image_mc.setMask(_this.mask_mc); _this.previous_mc.removeMovieClip(); _this.image_mc._alpha = 100; _this.update(); _this.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 { _this.loader.onLoadInit(); } } else { _this.loader.onLoadInit(); } _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.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.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.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.sprite); image._y = 9;
Symbol 158 MovieClip [map_level] 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) { _this.removeSnapshot = function () { removeMovieClip(_this.previous_mc); }; 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); removeMovieClip(_this.previous_mc); _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.loader.onLoadInit = function () { _this.internal.frame = _this.init.frame; _this.updateSize(); _this.image_mc.setMask(_this.mask_mc); _this.previous_mc.removeMovieClip(); _this.image_mc._alpha = 100; _this.update(); _this.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 { _this.loader.onLoadInit(); } } else { _this.loader.onLoadInit(); } _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.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.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.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; type = data.type; sprite = data.sprite; level = data.level; x = data.x; y = data.y; image = newSprite(data.sprite); image._y = 9; var xTile = Math.floor(_x / 16); var yTile = Math.floor((_y - 8) / 16); BLOCKS[xTile][yTile] = _this;
Symbol 159 MovieClip [map_player] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; 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) { _this.removeSnapshot = function () { removeMovieClip(_this.previous_mc); }; 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); removeMovieClip(_this.previous_mc); _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.loader.onLoadInit = function () { _this.internal.frame = _this.init.frame; _this.updateSize(); _this.image_mc.setMask(_this.mask_mc); _this.previous_mc.removeMovieClip(); _this.image_mc._alpha = 100; _this.update(); _this.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 { _this.loader.onLoadInit(); } } else { _this.loader.onLoadInit(); } _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.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.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.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); } var settings = {charset:("charset\\map_" + RAM.player_obj.name) + ".png", direction:0, directions:1, frame:0, frames:1, pose:0, columns:1, rows:1, animType:"yoyo", animDirection:1, delay:5, isAnimating:false}; image = newSprite(settings); state = "idle"; updateLook = function () { var _local1 = ("charset\\map_" + RAM.player_obj.name) + ".png"; image.setParams({charset:_local1}); }; loop = function () { updateLook(); _this[state].loop(); }; idle = {}; idle.loop = function () { idle.checkMove(); idle.checkEnter(); }; idle.checkMove = function () { xCheck = 0; yCheck = 0; var _local1 = false; if (Key.isDown(RAM.controls.up)) { yCheck = -1; _local1 = true; } if (Key.isDown(RAM.controls.right)) { xCheck = 1; _local1 = true; } if (Key.isDown(RAM.controls.down)) { yCheck = 1; _local1 = true; } if (Key.isDown(RAM.controls.left)) { xCheck = -1; _local1 = true; } if (_local1 && (!wasMoving)) { var _local2 = Math.floor(_x / 16); var _local3 = Math.floor((_y - 8) / 16); _local2 = _local2 + xCheck; _local3 = _local3 + yCheck; var _local4 = BLOCKS[_local2][_local3]; if (_local4.type == undefined) { SOUND.play("sound\\marioHitBlock.mp3"); } else { SOUND.play("sound\\mapMove.mp3"); state = null; continueMove = function () { var _local1 = Math.floor(_x / 16); var _local2 = Math.floor((_y - 8) / 16); var _local3 = BLOCKS[_local1][_local2]; if (_local3.type == "path") { _local1 = _local1 + xCheck; _local2 = _local2 + yCheck; _this.slideTo((_local1 * 16) + 8, (_local2 * 16) + 15, 0.15, "linear", 0, continueMove); } else { state = "idle"; } }; _this.slideTo((_local2 * 16) + 8, (_local3 * 16) + 15, 0.15, "linear", 0, continueMove); } } wasMoving = _local1; }; idle.checkEnter = function () { if (Key.isDown(RAM.controls.confirm)) { var _local2 = Math.floor(_x / 16); var _local3 = Math.floor((_y - 8) / 16); var _local1 = BLOCKS[_local2][_local3]; if (_local1.level) { state = null; RAM.mapName = LEVEL.levelData.name; RAM.mapLocation = {x:_local2, y:_local3}; if (_local1.type == "map") { SOUND.play("sound\\mario_pipe.mp3"); ROOT.teleport(_local1.level, {x:_local1.x, y:_local1.y}, _local1.type, "fade"); } else if (_local1.type == "level") { SOUND.play("sound\\enterLevel.mp3"); ROOT.teleport(_local1.level, {x:_local1.x, y:_local1.y}, _local1.type, "square"); } } } };
Symbol 174 Button
on (release) { play(); }
Instance of Symbol 183 MovieClip "slider" in Symbol 187 MovieClip Frame 1
onClipEvent (load) { xMin = _parent.bar._x; xMax = _parent.bar._width - this._width; } on (press) { pressed = true; } on (release) { pressed = false; } on (releaseOutside) { pressed = false; } onClipEvent (enterFrame) { if (pressed) { var xNew = _parent._xmouse; xNew = ((xNew > xMin) ? (xNew) : (xMin)); xNew = ((xNew < (xMin + xMax)) ? (xNew) : (xMin + xMax)); _x = xNew; var pos = (_x - xMin); var newVol = ((pos * 100) / xMax); ROOT.music.volume = newVol; } else { var vol = ROOT.music.volume; _x = (xMin + ((vol * xMax) / 100)); } }
Instance of Symbol 180 MovieClip "max_btn" in Symbol 187 MovieClip Frame 1
on (press) { MUSIC.volume = 100; }
Instance of Symbol 180 MovieClip "min_btn" in Symbol 187 MovieClip Frame 1
on (press) { ROOT.music.volume = 0; }
Symbol 190 MovieClip [options_win] Frame 1
_global.style.setStyle("fontSize", 9); _global.style.setStyle("fontFamily", "verdana"); newKey_obj = {}; Key.addListener(newKey_obj); newKey_obj.onKeyDown = function () { if (newKey) { newKey(Key.getCode()); desc_txt.text = ""; _root.focusManager.setFocus(idle); delete newKey; } }; function getCharacter(code) { switch (code) { case 8 : var _local1 = "Backspace"; break; case 9 : _local1 = "Tab"; break; case 13 : _local1 = "Enter"; break; case 16 : _local1 = "Shift"; break; case 17 : _local1 = "Ctrl"; break; case 19 : _local1 = "Pause / Break"; break; case 20 : _local1 = "CAPS Lock"; break; case 27 : _local1 = "Esc"; break; case 32 : _local1 = "Space"; break; case 33 : _local1 = "Page Up"; break; case 34 : _local1 = "Page Down"; break; case 35 : _local1 = "End"; break; case 36 : _local1 = "Home"; break; case 37 : _local1 = "arrow: LEFT"; break; case 38 : _local1 = "arrow: UP"; break; case 39 : _local1 = "arrow: RIGHT"; break; case 40 : _local1 = "arrow: DOWN"; break; case 45 : _local1 = "Insert"; break; case 46 : _local1 = "Delete"; break; case 91 : _local1 = "Win"; break; case 93 : _local1 = "Contextual"; break; case 96 : _local1 = "num pad 0"; break; case 97 : _local1 = "num pad 1"; break; case 98 : _local1 = "num pad 2"; break; case 99 : _local1 = "num pad 3"; break; case 100 : _local1 = "num pad 4"; break; case 101 : _local1 = "num pad 5"; break; case 102 : _local1 = "num pad 6"; break; case 103 : _local1 = "num pad 7"; break; case 104 : _local1 = "num pad 8"; break; case 105 : _local1 = "num pad 9"; break; case 106 : _local1 = "num pad *"; break; case 107 : _local1 = "num pad +"; break; case 109 : _local1 = "num pad -"; break; case 110 : _local1 = "num pad ."; break; case 111 : _local1 = "num pad /"; break; case 112 : _local1 = "F1"; break; case 113 : _local1 = ""; break; case 114 : _local1 = ""; break; case 115 : _local1 = "F4"; break; case 116 : _local1 = "F5"; break; case 117 : _local1 = "F6"; break; case 118 : _local1 = "F7"; break; case 119 : _local1 = "F8"; break; case 120 : _local1 = "F9"; break; case 121 : _local1 = "F10"; break; case 122 : _local1 = "F11"; break; case 123 : _local1 = "F12"; break; case 124 : _local1 = "F13"; break; case 125 : _local1 = "F14"; break; case 126 : _local1 = "F15"; break; case 144 : _local1 = "Num Lock"; break; case 145 : _local1 = "Scroll Lock"; break; case 186 : _local1 = ";"; break; case 187 : _local1 = "="; break; case 188 : _local1 = "<"; break; case 189 : _local1 = "-"; break; case 190 : _local1 = ">"; break; case 191 : _local1 = "/"; break; case 192 : _local1 = "~"; break; case 219 : _local1 = "["; break; case 220 : _local1 = "\\"; break; case 221 : _local1 = "]"; break; case 222 : _local1 = "\""; break; default : _local1 = String.fromCharCode(code); } return(_local1); }
Symbol 190 MovieClip [options_win] Frame 10
stop(); this.onEnterFrame = function () { if ((!newKey) && (Key.isDown(RAM.controls.cancel))) { play(); } };
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "down"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "left"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "right"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "up"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "run"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "jump"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "shoot"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "aimUp"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "aimDown"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] "idle" in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = "focus decoy"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "pause"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "cancel"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] in Symbol 190 MovieClip [options_win] Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = ""; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_load(eventObj) { affect = "confirm"; var _local3 = RAM.controls[affect]; label = _parent.getCharacter(_local3); _this = this; } this.addEventListener("load", __f_load); } onClipEvent (load) { function __f_click(eventObj) { SOUND.play("sound\\metroid_select.mp3"); label = "Press a key"; _parent.newKey = function (keyCode) { if (getFocus() == _this) { label = _parent.getCharacter(keyCode); RAM.controls[affect] = keyCode; SOUND.play("sound\\metroid_menuChange.mp3"); } }; } this.addEventListener("click", __f_click); }
Symbol 190 MovieClip [options_win] Frame 11
this.onEnterFrame = function () { };
Symbol 190 MovieClip [options_win] Frame 20
Key.removeListener(newKey_obj); delete newKey_obj; onClose(); this.removeMovieClip();
Symbol 197 MovieClip Frame 1
loop = function () { var _local1 = Key.isDown(RAM.controls.down); var _local2 = Key.isDown(RAM.controls.up); if (_local1 && (!lastDown)) { if (selection < max) { selection++; } else { selection = 0; } updatePosition(); SOUND.play("sound\\coin.mp3"); } if (_local2 && (!lastUp)) { if (selection > 0) { selection--; } else { selection = max; } updatePosition(); SOUND.play("sound\\coin.mp3"); } lastDown = _local1; lastUp = _local2; }; updatePosition = function () { _y = (yPos + (selection * distance)); }; max = (max ? (max) : 0); distance = (distance ? (distance) : 0); selection = (selection ? (selection) : 0); yPos = _y; updatePosition();
Symbol 198 MovieClip [pause_win] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; LOOP.addObject(this, "pause"); pauseGame = function (newPause) { LOOP.pauseSet("player", newPause); LOOP.pauseSet("sprites", newPause); LOOP.pauseSet("scroll", newPause); }; unPause = function () { play(); SOUND.play("sound\\pause.mp3"); }; save = function () { }; options = function () { _this.active = false; _this.attachMovie("options_win", "options_win", 2); _this.options_win.onClose = function () { _this.active = true; }; }; selectCharacter = function () { var _local1 = function () { _this.active = true; }; ROOT.selectCharacter(_local1); _this.active = false; }; exitLevel = function () { ROOT.teleport(RAM.mapName, {x:RAM.mapLocation.x, y:RAM.mapLocation.y}, "map", "fade"); play(); }; titleScreen = function () { ROOT.titleScreen(); play(); };
Symbol 198 MovieClip [pause_win] Frame 2
stop(); active = false; loop = function () { if (Key.isDown(RAM.controls.pause)) { SOUND.play("sound\\pause.mp3"); pauseGame(true); play(); } };
Symbol 198 MovieClip [pause_win] Frame 3
loop = function () { }; image_pic = new flash.display.BitmapData(320, 240, false, 0); image_pic.draw(ROOT); image.attachBitmap(image_pic, 0); blur._alpha = 0; blur.attachBitmap(image_pic, 0); blur.alphaTo(100, 0.2, "easeOutQuad");
Symbol 198 MovieClip [pause_win] Frame 11
stop(); active = true; MUSIC.volume = MUSIC.volume * 0.5; option1 = function () { unPause(); }; option2 = function () { save(); }; option3 = function () { options(); }; option4 = function () { if (LEVEL.type == "map") { selectCharacter(); } else if (LEVEL.type == "level") { exitLevel(); } }; option5 = function () { titleScreen(); }; loop = function () { if (active) { cursor.loop(); checkCancel(); checkEnter(); } }; checkCancel = function () { var _local1 = Key.isDown(RAM.controls.cancel) || (Key.isDown(RAM.controls.pause)); if (_local1) { unPause(); } }; checkEnter = function () { if (Key.isDown(RAM.controls.confirm)) { switch (cursor.selection) { case 0 : option1(); return; case 1 : option2(); return; case 2 : option3(); return; case 3 : option4(); return; case 4 : option5(); } } };
Instance of Symbol 194 MovieClip in Symbol 198 MovieClip [pause_win] Frame 11
onClipEvent (load) { label = "Continue"; } on (release) { _parent.option1(); }
Instance of Symbol 197 MovieClip "cursor" in Symbol 198 MovieClip [pause_win] Frame 11
onClipEvent (load) { max = 4; distance = 20; }
Instance of Symbol 194 MovieClip in Symbol 198 MovieClip [pause_win] Frame 11
onClipEvent (load) { label = "Save"; } on (release) { _parent.option2(); }
Instance of Symbol 194 MovieClip in Symbol 198 MovieClip [pause_win] Frame 11
onClipEvent (load) { label = "Options"; } on (release) { _parent.option3(); }
Instance of Symbol 194 MovieClip in Symbol 198 MovieClip [pause_win] Frame 11
onClipEvent (load) { if (LEVEL.type == "map") { label = "Character"; } else if (LEVEL.type == "level") { label = "Exit Level"; } } on (release) { _parent.option4(); }
Instance of Symbol 194 MovieClip in Symbol 198 MovieClip [pause_win] Frame 11
onClipEvent (load) { label = "Return to Title"; } on (release) { _parent.option5(); }
Symbol 198 MovieClip [pause_win] Frame 12
active = false; loop = function () { }; blur.alphaTo(0, 0.2, "easeOutQuad");
Symbol 198 MovieClip [pause_win] Frame 21
pauseGame(false); MUSIC.volume = MUSIC.volume * 2; image_pic.dispose(); delete image_pic; onClose(); gotoAndStop ("idle");
Symbol 202 MovieClip [characterSelect_win] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; stop(); time = 0.5; ease = "easeInOutQuad"; _this._tint = 0; _this._tintPercent = 100; _this._xscale = 0; _this._yscale = 0; _this._x = 160; _this._y = 120; _this.tintPercentTo(0, time, ease); _this.scaleTo(100, time, ease); _this.slideTo(0, 0, time, ease); var waitDone = function () { delete waitDone; _this.gotoAndStop("main"); }; setTimeout(waitDone, time * 1000); placeCharacters = function () { var _local3 = yOffset - ringHeight; var _local4 = ringHeight * 2; var _local2 = 50; var _local1 = period; peach._x = xOffset + (Math.sin(_local1) * ringWidth); peach._y = yOffset + (Math.cos(_local1) * ringHeight); var _local5 = (peach._y - _local3) / _local4; peach._xscale = (peach._yscale = _local2 + (_local5 * 50)); _local1 = _local1 + increment; amy._x = xOffset + (Math.sin(_local1) * ringWidth); amy._y = yOffset + (Math.cos(_local1) * ringHeight); _local5 = (amy._y - _local3) / _local4; amy._xscale = (amy._yscale = _local2 + (_local5 * 50)); _local1 = _local1 + increment; samus._x = xOffset + (Math.sin(_local1) * ringWidth); samus._y = yOffset + (Math.cos(_local1) * ringHeight); _local5 = (samus._y - _local3) / _local4; samus._xscale = (samus._yscale = _local2 + (_local5 * 50)); }; selectCharacter = function (charName) { SOUND.play("sound\\selectCharacter.mp3"); state = null; RAM.player_obj.name = charName; _this[charName].anim = true; var _local1 = function () { _this.gotoAndStop("end"); }; setTimeout(_local1, 1000); }; makeButton = function (charName) { var _local1 = _this[charName]; _local1.onRelease = function () { if (state == "wait") { _this.selectCharacter(charName); } }; }; capSelection = function (newValue, range) { var _local1 = newValue % range; if (_local1 < 0) { return(range + _local1); } return(_local1); }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } switch (RAM.player_obj.name) { case "peach" : _this.selection = 0; break; case "amy" : _this.selection = 1; break; case "samus" : _this.selection = 2; break; default : _this.selection = 0; } maxChar = 3; xOffset = 160; yOffset = 152; increment = (Math.PI*2) / maxChar; ringWidth = 48; ringHeight = 16; period = selection * (-increment); makeSprite(_this, "peach_selected", "peach", 1, 34, 42, 3, 1, 1, 1, 3); peach.anim = false; peach.animType = "once"; peach.animFrame = 0; makeSprite(_this, "amy_selected", "amy", 2, 32, 38, 7, 1, 1, 1, 1); amy.anim = false; amy.animType = "once"; amy.animFrame = 0; makeSprite(_this, "samus_selected", "samus", 3, 28, 50, 3, 1, 1, 1, 3); samus.anim = false; samus.animType = "once"; samus.animFrame = 0; makeButton("peach"); makeButton("amy"); makeButton("samus"); placeCharacters(); _this.attachMovie("stageLight", "light", 4); light.blendMode = "add";
Symbol 202 MovieClip [characterSelect_win] Frame 7
state = "wait"; _this.onEnterFrame = function () { _this[state].loop(); placeCharacters(); }; wait = {}; wait.loop = function () { wait.checkSelect(); wait.checkMove(); }; wait.checkSelect = function () { var _local1 = Key.isDown(RAM.controls.confirm); if (_local1) { switch (_this.selection) { case 0 : var _local2 = "peach"; break; case 1 : _local2 = "amy"; break; case 2 : _local2 = "samus"; } selectCharacter(_local2); } }; wait.checkMove = function () { var _local3 = Key.isDown(RAM.controls.left); var _local2 = Key.isDown(RAM.controls.right); var _local1 = false; if (_local2) { selection = capSelection(selection + 1, maxChar); var _local4 = period - increment; _local1 = true; } else if (_local3) { selection = capSelection(selection - 1, maxChar); var _local4 = period + increment; _local1 = true; } if (_local1) { SOUND.play("sound\\coin.mp3"); var _local5 = function () { state = "wait"; }; ZigoEngine.doTween(_this, "period", _local4, 0.5, "linear", 0, _local5); state = "move"; } };
Symbol 202 MovieClip [characterSelect_win] Frame 13
_this.tintPercentTo(100, time, ease); _this.scaleTo(0, time, ease); _this.slideTo(160, 120, time, ease); var waitDone = function () { delete waitDone; _this.onClose(); _this.removeMovieClip(); }; setTimeout(waitDone, time * 1000); _this.onEnterFrame = function () { };
Symbol 205 MovieClip Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } com.mosesSupposes.fuse.FuseFMP; _this = this; var SCALE = 1; _this._alpha = 0; rasterizeText = function () { var _local2 = 3 * SCALE; txt.Blur_blur = _local2; txt.Blur_quality = 2; text_pic = new flash.display.BitmapData(100 * _local2, 24 * _local2, true, 0); var _local4 = new flash.geom.Matrix(); _local4.scale(_local2, _local2); text_pic.draw(txt, _local4); var _local3 = this.createEmptyMovieClip("text_mc", 1); _local3._x = -50; _local3._y = 0; _local3.attachBitmap(text_pic, 0, false, false); _local3._xscale = (_local3._yscale = 100 / _local2); txt.text = ""; };
Symbol 206 MovieClip [swf\title.swf] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; LOOP.pauseSet("pause", true); var titlePath = ""; titlePath = titlePath + "swf\\title\\title"; titlePath = titlePath + (Math.floor(Math.random() * 3) + 1); titlePath = titlePath + ".png"; image.file = titlePath; MUSIC.play("music\\title.mp3"); MUSIC.songVolume = 20; new_mc._alpha = 0; continue_mc._alpha = 0; options_mc._alpha = 0; credits_mc._alpha = 0; newGame = function () { LOOP.pauseSet("pause", false); title_mc.removeMovieClip(); var _local1 = {x:ROM.startAt.x, y:ROM.startAt.y}; ROOT.teleport(ROM.startAt.level, _local1, ROM.startAt.type, "fade"); }; wait = function () { setTimeout(darken, 500); }; darken = function () { image.tintTo(0, 50, 0.5, "easeInOutQuad", 0, showLogo); }; showLogo = function () { _this.attachMovie("titleLogoAppear", "titleLogo", 9, {_x:16, _y:16}); setTimeout(showButton1, 500); }; showButton1 = function () { new_mc.alphaTo(100, 0.5, "easeInOutQuad"); setTimeout(showButton2, 200); }; showButton2 = function () { continue_mc.alphaTo(100, 0.5, "easeInOutQuad"); setTimeout(showButton3, 200); }; showButton3 = function () { options_mc.alphaTo(100, 0.5, "easeInOutQuad"); setTimeout(showButton4, 200); }; showButton4 = function () { credits_mc.alphaTo(100, 0.5, "easeInOutQuad"); }; wait();
Instance of Symbol 27 MovieClip [imageLoader] "image" in Symbol 206 MovieClip [swf\title.swf] Frame 1
//component parameters onClipEvent (construct) { file = ""; enabled = true; visible = true; scaleContent = false; }
Instance of Symbol 205 MovieClip "new_mc" in Symbol 206 MovieClip [swf\title.swf] Frame 1
onClipEvent (load) { text = "New Game"; var doRasterize = function () { rasterizeText(); }; setTimeout(doRasterize, 1); } on (release) { _parent.new_mc.enabled = false; _parent.continue_mc.enabled = false; _parent.options_mc.enabled = false; _parent.credits_mc.enabled = false; ROOT.selectCharacter(_parent.newGame); var removeTitle = function () { _parent.removeMovieClip(); }; setTimeout(removeTitle, 500); }
Instance of Symbol 205 MovieClip "continue_mc" in Symbol 206 MovieClip [swf\title.swf] Frame 1
onClipEvent (load) { text = "Continue"; _parent.canContinue = (ROOT.saveData.data.player_obj ? true : false); if (!canContinue) { var fade = new TextFormat(); fade.color = 8947848 /* 0x888888 */; txt.setTextFormat(fade); this.enabled = false; } var doRasterize = function () { rasterizeText(); }; setTimeout(doRasterize, 1); } on (release) { ROOT.loadGame(); }
Instance of Symbol 205 MovieClip "options_mc" in Symbol 206 MovieClip [swf\title.swf] Frame 1
onClipEvent (load) { text = "Options"; var doRasterize = function () { rasterizeText(); }; setTimeout(doRasterize, 1); } on (release) { _parent.attachMovie("options_win", "options_win", 10); _parent.new_mc.enabled = false; _parent.continue_mc.enabled = false; _parent.options_mc.enabled = false; _parent.credits_mc.enabled = false; _parent.options_win.onClose = function () { _parent.new_mc.enabled = true; _parent.continue_mc.enabled = _parent.canContinue; _parent.options_mc.enabled = true; _parent.credits_mc.enabled = true; }; }
Instance of Symbol 205 MovieClip "credits_mc" in Symbol 206 MovieClip [swf\title.swf] Frame 1
onClipEvent (load) { text = "Credits"; var doRasterize = function () { rasterizeText(); }; setTimeout(doRasterize, 1); } on (release) { _parent.attachMovie("credits_win", "credits_win", 10); _parent.new_mc.enabled = false; _parent.continue_mc.enabled = false; _parent.options_mc.enabled = false; _parent.credits_mc.enabled = false; _parent.credits_win.onClose = function () { _parent.new_mc.enabled = true; _parent.continue_mc.enabled = _parent.canContinue; _parent.options_mc.enabled = true; _parent.credits_mc.enabled = true; }; }
Symbol 218 MovieClip Frame 120
gotoAndPlay (1);
Symbol 219 MovieClip [titleLogoAppear] Frame 30
stop();
Symbol 223 MovieClip [credits_win] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; start = function () { _this._alpha = 0; _this.alphaTo(100, 0.5, "easeInOutQuad"); }; _this.onRelease = function () { end(); }; end = function () { _this.alphaTo(0, 0.5, "easeInOutQuad", 0, remove); }; remove = function () { _this.onClose(); _this.removeMovieClip(); }; start();
Symbol 303 MovieClip [attackArea] Frame 1
parent = (parent ? (parent) : (_parent)); doAttacks = function () { if (type && (type[0] != "none")) { if (playerOnly == true) { var _local3 = PLAYER; if (this.hitTest(_local3.hurtArea)) { var _local2 = 0; while (_local2 < type.length) { _local3.react[type[_local2]](this._parent); if (_local3.hurtArea == undefined) { break; } _local2++; } } } else { var _local4 = 0; while (_local4 < SPRITE_LIST.length) { var _local3 = SPRITE_LIST[_local4]; if (_local3 != parent) { if (this.hitTest(_local3.hurtArea)) { var _local2 = 0; while (_local2 < type.length) { _local3.react[type[_local2]](this._parent); if (_local3.hurtArea == undefined) { break; } _local2++; } } } _local4++; } } } };
Symbol 304 MovieClip [goomba] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } stop(); _this = this; xVel = data.xVel; xVel = ((xVel != undefined) ? (xVel) : -1); yVel = 0; walkSpeed = Math.abs(xVel); spriteLand = false; dir_left = 0; dir_right = 1; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } changeSprite = function (newPose) { if (_this.image == undefined) { makeSprite(_this, "goomba_walk", "image", 1, 16, 16, 1, 2, 1, 1, 1); _this.image._y = 0; } if (newPose != lastPose) { var _local6 = _this.image.direction; switch (newPose) { case "walk" : var _local5 = "goomba_walk"; var _local3 = 5; var _local4 = 2; var _local8 = "yoyo"; var _local1 = 22; var _local2 = 24; break; case "die" : _local5 = "goomba_die"; _local3 = 1; _local4 = 2; _local8 = "once"; _local1 = 20; _local2 = 24; } _this.image.imageOffsetX = (-_local1) / 2; _this.image.imageOffsetY = -(_local2 - 1); _this.image.setCharset(_local5, _local1, _local2, _local3, _local8, _local4); _this.image.setDirection(_local6); } _this.lastPose = newPose; }; cornerCollide = function (direction, findCollision, bothTrue, offset) { offset = ((offset != undefined) ? (offset) : 0); var _local2 = hit._width / 2; var _local3 = hit._height; var _local1 = 1; switch (direction) { case "up" : var _local7 = (_x - _local2) + _local1; var _local6 = (_x + _local2) - _local1; var _local22 = ((_y - _local3) + yVel) - offset; var _local10 = {x:_local7, y:_local22}; var _local9 = {x:_local6, y:_local22}; break; case "down" : _local7 = (_x - _local2) + _local1; _local6 = (_x + _local2) - _local1; var _local17 = (_y + yVel) + offset; _local10 = {x:_local7, y:_local17}; _local9 = {x:_local6, y:_local17}; break; case -1 : case "left" : _local7 = ((_x - _local2) + xVel) - offset; _local22 = (_y - _local3) + _local1; var _local21 = _y - (_local3 / 2); _local17 = _y - _local1; _local10 = {x:_local7, y:_local22}; _local9 = {x:_local7, y:_local17}; var _local8 = {x:_local7, y:_local21}; break; case 1 : case "right" : _local6 = ((_x + _local2) + xVel) + offset; _local22 = (_y - _local3) + _local1; _local21 = _y - (_local3 / 2); _local17 = _y - _local1; _local10 = {x:_local6, y:_local22}; _local9 = {x:_local6, y:_local17}; _local8 = {x:_local6, y:_local21}; } var _local20 = Math.floor(_local10.x / 16); var _local19 = Math.floor(_local10.y / 16); var _local15 = Math.floor(_local9.x / 16); var _local14 = Math.floor(_local9.y / 16); var _local18 = Math.floor(_local8.x / 16); var _local16 = Math.floor(_local8.y / 16); var _local13 = MAP.collision_array[_local20][_local19]; var _local11 = MAP.collision_array[_local15][_local14]; var _local12 = MAP.collision_array[_local18][_local16]; _local12 = ((_local12 != undefined) ? (_local12) : false); if (bothTrue) { var _local23 = ((_local13 == findCollision) && (_local11 == findCollision)) && (_local12 == findCollision); } else { var _local23 = ((_local13 == findCollision) || (_local11 == findCollision)) || (_local12 == findCollision); } return(_local23); }; pointCollide = function (direction, findCollision, xOffset, yOffset) { xOffset = ((xOffset != undefined) ? (xOffset) : 0); yOffset = ((yOffset != undefined) ? (yOffset) : 0); var _local3 = hit._width / 2; var _local4 = hit._height / 2; var _local10 = 1; switch (direction) { case "up" : var _local9 = _x + xOffset; var _local8 = ((_y - hit._height) + yVel) + yOffset; break; case "down" : _local9 = _x + xOffset; _local8 = (_y + yVel) + yOffset; break; case -1 : case "left" : _local9 = ((_x - _local3) + xVel) + xOffset; _local8 = (_y - _local4) + yOffset; break; case 1 : case "right" : _local9 = ((_x + _local3) + xVel) + xOffset; _local8 = (_y - _local4) + yOffset; } var _local6 = Math.floor(_local9 / 16); var _local7 = Math.floor(_local8 / 16); var _local5 = MAP.collision_array[_local6][_local7]; return(_local5 == findCollision); }; gravity = function () { if (yVel < ROM.maxGravity) { yVel = yVel + ROM.gravity; } }; applyVelocity = function () { _x = (_x + xVel); _y = (_y + yVel); }; react = {}; react.misc = function (attacker) { changeSprite("die"); image._y = image._y - hit._height; image._yscale = -100; hit.removeMovieClip(); hurtArea.removeMovieClip(); attack.removeMovieClip(); SOUND.play("sound\\marioKill.mp3"); yVel = -5; state = "die"; }; react.stomp = function (attacker) { var _local2 = attacker._y - _this._y; if (_local2 < -8) { state = ""; changeSprite("die"); image._yscale = 50; ZigoEngine.doTween(image, "_yscale", 0, 0.2, "easeOutQuad"); SOUND.play("sound\\marioStomp.mp3"); hit.removeMovieClip(); hurtArea.removeMovieClip(); attack.removeMovieClip(); if (attacker.yVel > 0) { attacker.yVel = attacker.yVel * -1; } remove = function () { SPRITE_LIST.removeSprite(_this); _this.removeMovieClip(); }; setTimeout(remove, 200); } }; react.projectile = react.misc; react.spike = function (attacker) { }; react.instantDeath = function () { state = "die"; }; loop = function () { _this[state].loop(); }; walk = {}; walk.loop = function () { walk.appearance(); state = "walk"; walk.move(); walk.hitCeiling(); gravity(); walk.fall(); setAttacks(["misc"]); applyVelocity(); _this.attack.doAttacks(); }; walk.appearance = function () { changeSprite("walk"); if (xVel > 0) { image.direction = dir_right; } else { image.direction = dir_left; } }; walk.move = function () { var _local1 = Math.abs(xVel) / xVel; var _local5 = hit._height / 2; var _local2 = pointCollide(_local1, 1, 0, -4); var _local4 = pointCollide("down", 1, 0, 4); var _local3 = pointCollide("down", 2, 0, 4); if ((_local4 || (_local3)) || (spriteLand)) { xVel = walkSpeed * _local1; } if (_local2) { xVel = xVel * -1; _x = ((Math.floor(_x / 16) * 16) + 8); } }; walk.hitCeiling = function () { if (yVel < 0) { var _local1 = pointCollide("up", 1, 0, 1); if (_local1) { SOUND.play("sound\\marioHitBlock.mp3"); yVel = 0; _y = ((Math.floor(_y / 16) * 16) + 8); } } }; walk.fall = function () { var _local2 = cornerCollide("down", 1, false, 8); var _local1 = cornerCollide("down", 2, false, 8); if (spriteLand == true) { } else if (_local2 || (_local1)) { yVel = 0; _y = ((Math.floor(_y / 16) * 16) + 15); var _local3 = Math.abs(xVel) / xVel; xVel = walkSpeed * _local3; } spriteLand = false; }; die = {}; die.loop = function () { die.disappear(); gravity(); applyVelocity(); }; die.disappear = function () { var _local1 = MAP.height * 16; var _local2 = (_y - 16) < _local1; if (!_local2) { SPRITE_LIST.removeSprite(_this); LOOP.removeObject(_this); _this.removeMovieClip(); } }; addHit = function () { if (_this.hit == undefined) { _this.attachMovie("hitArea", "hit", nextDepth(_this), {_y:0}); } }; addHit(); addHurtArea = function () { if (_this.hurtArea == undefined) { _this.attachMovie("hitArea", "hurtArea", nextDepth(_this), {_y:0}); hurtArea._width = 16; } }; addHurtArea(); setAttacks = function (type) { if (_this.attack == undefined) { _this.attachMovie("attackArea", "attack", nextDepth(_this), {_y:0}); } _this.attack.type = type; _this.attack.playerOnly = true; }; setAttacks(["none"]); changeSprite("walk"); image.direction = ((xVel > 0) ? (dir_right) : (dir_left)); state = "walk"; SPRITE_LIST.push(_this);
Symbol 310 MovieClip [mario_ledge] Frame 1
stop(); _this = this; _y = (_y + 8); xVel = data.xVel; yVel = data.yVel; moveTime = data.moveTime; xVel = ((xVel != undefined) ? (xVel) : 0); yVel = ((yVel != undefined) ? (yVel) : 0); moveTime = ((moveTime != undefined) ? (moveTime) : 0); moveTimer = moveTime; loop = function () { movement(); applyMovement(); spriteCollision(); }; applyMovement = function () { _x = (_x + xVel); _y = (_y + yVel); }; movement = function () { if (moveTimer == 0) { xVel = xVel * -1; yVel = yVel * -1; moveTimer = data.moveTime; } else { moveTimer--; } }; spriteCollision = function () { for (var _local3 in SPRITE_LIST) { var _local1 = SPRITE_LIST[_local3]; if (_local1.hit.hitTest(preHit)) { if (_local1.yVel >= 0) { var _local2 = new flash.geom.Point(0, (yVel + _local1.yVel) + 6); _local1.localToGlobal(_local2); if (hit.hitTest(_local2.x, _local2.y, false)) { _local1.yVel = 0; _local1.spriteLand = true; _local1._x = _local1._x + xVel; _local1._y = _y - hit._height; } } } } };
Symbol 311 MovieClip [player_amy] Frame 1
stop(); _this = this; xVel = 0; yVel = 0; spriteLand = false; walkSpeed = 4; runSpeed = 6; maxWalk = 15; acceleration = 0.5; decelleration = 0.7; jumpSpeed = 10; SPRITE_LIST.push(_this); dir_left = 0; dir_right = 1; controlSource = "keyboard"; controls = {}; getKeyboard = function () { var output = {}; var _local1 = function (keyName) { output[keyName] = Key.isDown(RAM.controls[keyName]); }; _local1("up"); _local1("right"); _local1("down"); _local1("left"); _local1("run"); _local1("jump"); _local1("shoot"); _local1("aimUp"); _local1("aimDown"); return(output); }; resetControls = function () { _this.controls = {up:false, right:false, down:false, left:false, run:false, jump:false, shoot:false, aimUp:false, aimDown:false}; }; getControls = function () { if (controlSource == "keyboard") { _this.controls = getKeyboard(); } }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } changeSprite = function (newPose) { if (_this.image == undefined) { makeSprite(_this, "amy_stand", "image", 1, 16, 16, 1, 2, 1, 1, 1); _this.image._y = 1; } if (newPose != lastPose) { var _local6 = _this.image.direction; switch (newPose) { case "duck" : var _local5 = "amy_duck"; var _local3 = 3; var _local4 = 2; var _local8 = "once"; var _local1 = 28; var _local2 = 34; break; case "spinDash" : _local5 = "amy_spinDash"; _local3 = 4; _local4 = 1; _local8 = "loop"; _local1 = 26; _local2 = 26; break; case "roll" : _local5 = "amy_roll"; _local3 = 4; _local4 = 1; _local8 = "loop"; _local1 = 28; _local2 = 28; break; case "jump" : _local5 = "amy_jump"; _local3 = 3; _local4 = 2; _local8 = "loop"; _local1 = 26; _local2 = 40; break; case "fall" : _local5 = "amy_fall"; _local3 = 4; _local4 = 1; _local8 = "once"; _local1 = 32; _local2 = 40; break; case "stand" : _local5 = "amy_stand"; _local3 = 8; _local4 = 3; _local8 = "loop"; _local1 = 30; _local2 = 38; break; case "skid" : _local5 = "amy_skid"; _local3 = 5; _local4 = 2; _local8 = "once"; _local1 = 36; _local2 = 32; break; case "walk" : _local5 = "amy_walk"; _local3 = 3; _local4 = 2; _local8 = "loop"; _local1 = 34; _local2 = 32; break; case "flinch" : _local5 = "amy_flinch"; _local3 = 2; _local4 = 2; _local8 = "loop"; _local1 = 30; _local2 = 34; break; case "die" : _local5 = "amy_die"; _local3 = 5; _local4 = 2; _local8 = "once"; _local1 = 36; _local2 = 38; } _this.image.imageOffsetX = (-_local1) / 2; _this.image.imageOffsetY = -(_local2 - 1); _this.image.setCharset(_local5, _local1, _local2, _local3, _local8, _local4); _this.image.setDirection(_local6); addHit(); hurtArea._height = hit._height; attack._height = hit._height; } _this.lastPose = newPose; }; invincibility = {}; invincibility.time = 0; invincibility.lastTime = 0; invincibility.maxTime = 60; tempInvincibilty = function () { if (invincibility.time > 0) { invincibility.time--; _visible = (!_visible); hurtArea.removeMovieClip(); } if ((invincibility.time == 0) && (invincibility.lastTime > 0)) { _visible = true; addHurtArea(); } invincibility.lastTime = invincibility.time; }; squareCollide = function (direction, findCollision, allTrue, offset, effect_array) { var findCollision = ((typeof(findCollision) == "number") ? ([findCollision]) : (findCollision)); offset = ((offset != undefined) ? (offset) : 1); var _local21 = 2; var checkedBlocks = []; var collisionOutput = allTrue; var _local15 = function (xTile, yTile) { var _local1 = false; var _local2 = new flash.geom.Point(xTile, yTile); for (var _local3 in checkedBlocks) { if (checkedBlocks[_local3].equals(_local2)) { _local1 = true; break; } } return(_local1); }; var _local13 = function (xTile, yTile) { var _local3 = BLOCKS[xTile][yTile]; if (_local3) { checkedBlocks.push(_local3); var _local1 = 0; while (_local1 < effect_array.length) { _local3 = BLOCKS[xTile][yTile]; var _local2 = effect_array[_local1]; _local3.react[_local2](_this, direction); _local1++; } } }; var _local14 = function (xTile, yTile) { if (allTrue) { if (collisionOutput == true) { var _local4 = MAP.collision_array[xTile][yTile]; var _local1 = 0; while (_local1 < findCollision.length) { if (_local4 != findCollision[_local1]) { collisionOutput = false; } _local1++; } } } else if (collisionOutput == false) { var _local4 = MAP.collision_array[xTile][yTile]; var _local1 = 0; while (_local1 < findCollision.length) { if (_local4 == findCollision[_local1]) { collisionOutput = {xTile:xTile, yTile:yTile}; } _local1++; } } }; switch (direction) { case "up" : var _local31 = true; break; case "down" : _local31 = true; break; case -1 : case "left" : var _local32 = true; break; case 1 : case "right" : _local32 = true; } if (_local31) { var _local7 = []; var _local22 = Math.round((hit._width - (_local21 * 2)) / 16); var _local24 = (hit._width / 2) - _local21; var _local11 = 0; while (_local11 < _local22) { var _local30 = (_x - _local24) + (_local11 * 16); _local7.push(_local30); _local11++; } var _local30 = _x + _local24; _local7.push(_local30); var _local25 = 1 + Math.floor(Math.abs(yVel / 16)); var _local26 = Math.abs(yVel) - ((_local25 - 1) * 16); var _local2 = 0; while (_local2 < _local25) { if (direction == "up") { var _local17 = -hit._height; var _local12 = -1; } else { var _local17 = 0; var _local12 = 1; } var _local5 = _y + _local17; _local5 = _local5 + ((_local2 * 16) * _local12); _local5 = _local5 + (_local26 * _local12); _local5 = _local5 + (offset * _local12); var _local1 = Math.floor(_local5 / 16); _local11 = 0; while (_local11 < _local7.length) { var _local6 = _local7[_local11]; var _local3 = Math.floor(_local6 / 16); var _local4 = _local15(_local3, _local1); if (!_local4) { if (effect_array) { _local13(_local3, _local1); } _local14(_local3, _local1); checkedBlocks.push(new flash.geom.Point(_local3, _local1)); } _local11++; } _local2++; } } if (_local32) { var _local8 = []; var _local25 = Math.round((hit._height - (_local21 * 2)) / 16); var _local2 = 0; while (_local2 < _local25) { var _local30 = (_y - (_local2 * 16)) - _local21; _local8.push(_local30); _local2++; } var _local30 = (_y - hit._height) + _local21; _local8.push(_local30); var _local22 = 1 + Math.floor(Math.abs(xVel / 16)); var _local27 = Math.abs(xVel) - ((_local22 - 1) * 16); if ((direction == "left") || (direction == -1)) { var _local16 = -1; } else { var _local16 = 1; } var _local11 = 0; while (_local11 < _local22) { var _local17 = (hit._width / 2) * _local16; var _local6 = _x + _local17; _local6 = _local6 + (_local16 * (_local11 * 16)); _local6 = _local6 + (_local16 * _local27); _local6 = _local6 + (offset * _local16); var _local3 = Math.floor(_local6 / 16); _local2 = 0; while (_local2 < _local8.length) { var _local5 = _local8[_local2]; var _local1 = Math.floor(_local5 / 16); var _local4 = _local15(_local3, _local1); if (!_local4) { if (effect_array) { _local13(_local3, _local1); } _local14(_local3, _local1); checkedBlocks.push(new flash.geom.Point(_local3, _local1)); } _local2++; } _local11++; } } return(collisionOutput); }; pointCollide = function (direction, findCollision, lateralOffset) { lateralOffset = ((lateralOffset != undefined) ? (lateralOffset) : 0); var _local3 = hit._width / 2; var _local4 = hit._height / 2; var _local1 = 1; switch (direction) { case "up" : var _local9 = _x + lateralOffset; var _local8 = ((_y + hit._height) + yVel) - _local1; break; case "down" : _local9 = _x + lateralOffset; _local8 = (_y + yVel) + _local1; break; case -1 : case "left" : _local9 = (_x - _local3) - _local1; _local8 = (_y - _local4) + lateralOffset; break; case 1 : case "right" : _local9 = (_x + _local3) + _local1; _local8 = (_y - _local4) + lateralOffset; } var _local6 = Math.floor(_local9 / 16); var _local7 = Math.floor(_local8 / 16); var _local5 = MAP.collision_array[_local6][_local7]; return(_local5 == findCollision); }; gravity = function () { if (yVel < ROM.maxGravity) { yVel = yVel + ROM.gravity; } }; applyVelocity = function () { _x = (_x + xVel); _y = (_y + yVel); }; stopLoopingSounds = function () { sound_roll.remove(); }; stopParticles = function () { smoke.particlesPerFrame = 0; spinDashDust.particlesPerFrame = 0; spinDashBurst.particlesPerFrame = 0; }; die = function () { LOOP.pauseSet("sprites", true); MUSIC.stop(); PLAYER.stopLoopingSounds(); PLAYER.stopParticles(); SOUND.play("sound\\sonic_die.mp3"); LOOP.pauseSet("pause", true); LOOP.pauseSet("scroll", true); invincibility.time = 1; state = null; changeSprite("die"); _this.image.animFrame = 0; _visible = true; xVel = 0; yVel = -11; _this.loop = function () { gravity(); applyVelocity(); }; var _local1 = function () { delete _this.loop; RAM.player_obj.hp = RAM.player_obj.maxHp; ROOT.teleport(RAM.mapName, {x:RAM.mapLocation.x, y:RAM.mapLocation.y}, "map", "fade"); }; setTimeout(_local1, 3000); }; react = {}; react.misc = function (attacker, dir) { if (invincibility.time == 0) { RAM.player_obj.hp--; HUD.updateHp(); if (RAM.player_obj.hp > 0) { state = "flinch"; _this.loop(); } else { die(); } } }; react.stomp = function (attacker) { var _local1 = attacker._y - _this._y; if (_local1 < (-(hurtArea._height - 8))) { react.misc(attacker); } }; react.projectile = react.misc; react.spike = function (attacker, dir) { var _local1 = attacker._y - _this._y; if (_local1 >= 0) { react.misc(attacker, dir); } }; react.instantDeath = function (attacker) { trace(_this._name + " hit by instantDeath attack"); die(); }; loop = function () { getControls(); _this[state].loop(); spriteLand = false; }; stand = {}; stand.loop = function () { changeSprite("stand"); smoke.particlesPerFrame = 0; spinDashDust.particlesPerFrame = 0; duck.wasDucking = false; setAttacks(["stomp"]); tempInvincibilty(); stand.decellerate(); stand.squeeze(); applyVelocity(); stand.checkWalk(); stand.checkDuck(); stand.checkFall(); stand.checkJump(); attack.doAttacks(); lastSpace = _this.controls.jump; }; stand.decellerate = function () { xVel = xVel * decelleration; if (Math.abs(xVel) < 1) { xVel = 0; } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; } } }; stand.squeeze = function () { var _local5 = _y - 24; var _local2 = Math.floor(_x / 16); var _local3 = Math.floor(_local5 / 16); var _local4 = MAP.collision_array[_local2][_local3]; var _local1 = _local4 == 1; if (_local1) { _x = (_x + 2); squeeze = true; } else { squeeze = false; } }; stand.checkWalk = function () { if (_this.controls.left || (_this.controls.right)) { state = "walk"; } }; stand.checkJump = function () { if ((_this.controls.jump && (!lastSpace)) && (!squeeze)) { state = "jump"; yVel = -jumpSpeed; SOUND.play("sound\\sonicJump.mp3"); } }; stand.checkDuck = function () { if (_this.controls.down) { state = "duck"; } }; stand.checkFall = function () { var _local1 = squareCollide("down", 0, true, null, ["collide"]); if (_local1 && (!spriteLand)) { state = "fall"; } }; walk = {}; walk.loop = function () { walk.appearance(); setAttacks(["stomp"]); tempInvincibilty(); walk.move(); walk.squeeze(); applyVelocity(); walk.checkStand(); walk.checkDuck(); walk.checkFall(); walk.checkJump(); attack.doAttacks(); lastSpace = _this.controls.jump; }; walk.appearance = function () { var _local1 = ((image.direction == 0) ? -1 : 1); var _local2 = Math.abs(xVel) / xVel; var _local3 = Math.abs(xVel); walk.isSkidding = (_local3 > 2) && (_local1 != _local2); if (walk.isSkidding && (!walk.wasSkidding)) { changeSprite("skid"); smoke.particlesPerFrame = 0.4; SOUND.play("sound\\sonicSkid.mp3"); } if (walk.isSkidding == false) { changeSprite("walk"); smoke.particlesPerFrame = 0; } walk.wasSkidding = walk.isSkidding; }; walk.move = function () { if (_this.controls.left) { image.setDirection(dir_left); if (xVel > (-maxWalk)) { xVel = xVel - acceleration; } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < maxWalk) { xVel = xVel + acceleration; } } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; } } }; walk.squeeze = function () { var _local5 = _y - 24; var _local2 = Math.floor(_x / 16); var _local3 = Math.floor(_local5 / 16); var _local4 = MAP.collision_array[_local2][_local3]; var _local1 = _local4 == 1; if (_local1) { _x = (_x + 2); squeeze = true; } else { squeeze = false; } }; walk.checkStand = function () { if ((_this.controls.left == false) && (_this.controls.right == false)) { state = "stand"; } }; walk.checkJump = function () { if ((_this.controls.jump && (!lastSpace)) && (!squeeze)) { state = "jump"; yVel = -jumpSpeed; SOUND.play("sound\\sonicJump.mp3"); } }; walk.checkDuck = function () { if (_this.controls.down) { state = "duck"; } }; walk.checkFall = function () { var _local4 = squareCollide("down", 0, true, null, ["collide"]); var _local5 = Math.abs(xVel) / xVel; var _local3 = !pointCollide("down", 0, _local5 * 20); var _local2 = Math.abs(xVel) >= runSpeed; var _local1 = _local2 && (_local3); if ((_local4 && (!_local1)) && (!spriteLand)) { state = "fall"; _y = (_y + 8); gravity(); } }; duck = {}; duck.loop = function () { duck.appearace(); tempInvincibilty(); duck.turn(); duck.decellerate(); applyVelocity(); duck.checkStand(); duck.checkSpinDash(); duck.checkFall(); attack.doAttacks(); lastSpace = _this.controls.jump; }; duck.appearace = function () { if (Math.abs(xVel) > 1) { changeSprite("roll"); setAttacks(["stomp", "misc"]); } else { changeSprite("duck"); setAttacks(["stomp"]); } if ((Math.abs(xVel) > 1) && (duck.wasDucking == false)) { sound_roll.remove(); sound_roll = SOUND.play("sound\\sonicSpeed.mp3"); } duck.wasDucking = true; }; duck.turn = function () { if (_this.controls.left) { image.direction = dir_left; } else if (_this.controls.right) { image.direction = dir_right; } }; duck.decellerate = function () { xVel = xVel * 0.96; if (Math.abs(xVel) < 1) { xVel = 0; } if (Math.abs(xVel) > 1) { var _local1 = ["collide", "activate", "bomb"]; } else { var _local1 = ["collide"]; } if (xVel < 0) { var _local3 = squareCollide("left", 1, false, null, _local1); if (_local3) { xVel = 0; } } else if (xVel > 0) { var _local2 = squareCollide("right", 1, false, null, _local1); if (_local2) { xVel = 0; } } }; duck.checkStand = function () { if (_this.controls.down == false) { state = "stand"; duck.wasDucking = false; } }; duck.checkJump = function () { var _local5 = _y - 24; var _local2 = Math.floor(_x / 16); var _local3 = Math.floor(_local5 / 16); var _local4 = MAP.collision_array[_local2][_local3]; var _local1 = _local4 == 1; if (((((!_this.controls.down) && (!_local1)) && (Math.abs(xVel) >= 3)) && (_this.controls.jump)) && (!lastSpace)) { state = "jump"; yVel = -jumpSpeed; SOUND.play("sound\\sonicJump.mp3"); } }; duck.checkSpinDash = function () { if ((_this.controls.down && (_this.controls.jump)) && (!lastSpace)) { state = "spinDash"; duck.wasDucking = false; sound_roll.remove(); sound_roll = SOUND.play("sound\\sonicSpeed.mp3"); } }; duck.checkFall = function () { if (image.charset == "amy_roll") { var _local6 = ["collide", "activate", "bomb"]; } else { var _local6 = ["collide", "activate"]; } var _local4 = squareCollide("down", 0, true, null, _local6); var _local5 = Math.abs(xVel) / xVel; var _local3 = !pointCollide("down", 0, _local5 * 20); var _local2 = Math.abs(xVel) >= runSpeed; var _local1 = _local2 && (_local3); if ((_local4 && (!_local1)) && (!spriteLand)) { state = "fall"; _y = (_y + 8); gravity(); } }; spinDash = {}; spinDash.loop = function () { spinDash.appearance(); setAttacks(["stomp", "misc"]); tempInvincibilty(); spinDash.decellerate(); spinDash.turn(); applyVelocity(); spinDash.checkRelease(); spinDash.checkFall(); attack.doAttacks(); lastSpace = _this.controls.jump; }; spinDash.appearance = function () { changeSprite("spinDash"); spinDashDust.particlesPerFrame = 1; if (image.direction == 0) { spinDashDust.angle = 20; } else { spinDashDust.angle = 160; } if (_this.controls.jump && (!lastSpace)) { sound_roll.remove(); sound_roll = SOUND.play("sound\\sonicSpeed.mp3"); } }; spinDash.decellerate = function () { xVel = xVel * 0.97; if (Math.abs(xVel) < 1) { xVel = 0; } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide", "activate", "bomb"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide", "activate", "bomb"]); if (_local1) { xVel = 0; } } }; spinDash.turn = function () { if (_this.controls.left) { image.direction = dir_left; } else if (_this.controls.right) { image.direction = dir_right; } }; spinDash.checkRelease = function () { if (_this.controls.down == false) { state = "roll"; if (image.direction == 0) { xVel = -30; } else { xVel = 30; } if (image.direction == 0) { spinDashBurst.angle = 20; } else { spinDashBurst.angle = 160; } spinDashBurst.particlesPerFrame = 4; spinDashDust.particlesPerFrame = 0; SOUND.play("sound\\dashBoost.mp3"); } }; spinDash.checkFall = function () { var _local4 = squareCollide("down", 0, true, null, ["collide", "activate", "bomb"]); var _local5 = Math.abs(xVel) / xVel; var _local3 = !pointCollide("down", 0, _local5 * 20); var _local2 = Math.abs(xVel) >= runSpeed; var _local1 = _local2 && (_local3); if ((_local4 && (!_local1)) && (!spriteLand)) { state = "fall"; _y = (_y + 8); gravity(); } }; roll = {}; roll.loop = function () { changeSprite("roll"); smoke.particlesPerFrame = 1; setAttacks(["stomp", "misc"]); tempInvincibilty(); roll.decellerate(); applyVelocity(); roll.checkStand(); roll.checkSpinDash(); roll.checkFall(); roll.checkJump(); attack.doAttacks(); lastSpace = _this.controls.jump; }; roll.decellerate = function () { xVel = xVel * 0.97; if (Math.abs(xVel) < 1) { xVel = 0; } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide", "activate", "bomb"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide", "activate", "bomb"]); if (_local1) { xVel = 0; } } }; roll.checkStand = function () { if (Math.abs(xVel) < 2) { state = "stand"; roll.wasrolling = true; smoke.particlesPerFrame = 0; } }; roll.checkJump = function () { var _local5 = _y - 24; var _local2 = Math.floor(_x / 16); var _local3 = Math.floor(_local5 / 16); var _local4 = MAP.collision_array[_local2][_local3]; var _local1 = _local4 == 1; if (((((!_this.controls.down) && (!_local1)) && (Math.abs(xVel) >= 1)) && (_this.controls.jump)) && (!lastSpace)) { state = "jump"; yVel = -jumpSpeed; SOUND.play("sound\\sonicJump.mp3"); smoke.particlesPerFrame = 0; } }; roll.checkSpinDash = function () { if ((_this.controls.down && (_this.controls.jump)) && (!lastSpace)) { state = "spinDash"; duck.wasDucking = false; sound_roll.remove(); sound_roll = SOUND.play("sound\\sonicSpeed.mp3"); } }; roll.checkFall = function () { var _local4 = squareCollide("down", 0, true, null, ["collide", "activate", "bomb"]); var _local5 = Math.abs(xVel) / xVel; var _local3 = !pointCollide("down", 0, _local5 * 20); var _local2 = Math.abs(xVel) >= runSpeed; var _local1 = _local2 && (_local3); if ((_local4 && (!_local1)) && (!spriteLand)) { state = "fall"; _y = (_y + 8); gravity(); } }; jump = {}; jump.minDelay = 3; jump.minTimer = jump.minDelay; jump.loop = function () { changeSprite("roll"); smoke.particlesPerFrame = 0; setAttacks(["stomp", "misc"]); tempInvincibilty(); jump.move(); gravity(); jump.hitCeiling(); applyVelocity(); jump.checkStand(); attack.doAttacks(); lastSpace = _this.controls.jump; }; jump.move = function () { if (_this.controls.left) { image.setDirection(dir_left); if (xVel > (-maxWalk)) { xVel = xVel - acceleration; } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < maxWalk) { xVel = xVel + acceleration; } } if (image.charset == "amy_roll") { var _local1 = ["collide", "activate", "bomb"]; } else { var _local1 = ["collide", "activate"]; } if (xVel < 0) { var _local3 = squareCollide("left", 1, false, null, _local1); if (_local3) { xVel = 0; } } else if (xVel > 0) { var _local2 = squareCollide("right", 1, false, null, _local1); if (_local2) { xVel = 0; } } }; jump.hitCeiling = function () { if (yVel < 0) { var _local2 = !_this.controls.jump; var _local1 = jump.minTimer == 0; if (jump.minTimer > 0) { jump.minTimer--; } if (image.charset == "amy_roll") { var _local4 = ["collide", "activate", "bomb"]; } else { var _local4 = ["collide", "activate"]; } var _local3 = squareCollide("up", 1, false, null, _local4); if (_local2 && (_local1)) { yVel = 0; } if (_local3) { yVel = 3; } } }; jump.checkStand = function () { if (yVel >= 0) { if (image.charset == "amy_roll") { var _local2 = ["collide", "activate", "bomb"]; } else { var _local2 = ["collide"]; } var _local1 = squareCollide("down", [1, 2], false, null, _local2); if (_local1 || (spriteLand)) { state = "stand"; SOUND.play("sound\\landing.mp3"); yVel = 0; if (_local1) { _y = (_local1.yTile * 16); } jump.minTimer = jump.minDelay; } } }; fall = {}; fall.loop = function () { fall.setPose(); smoke.particlesPerFrame = 0; setAttacks(["stomp"]); tempInvincibilty(); fall.move(); gravity(); fall.hitCeiling(); applyVelocity(); fall.checkStand(); attack.doAttacks(); lastSpace = _this.controls.jump; }; fall.setPose = function () { if (yVel < 0) { changeSprite("jump"); } else if (yVel >= 0) { changeSprite("fall"); } }; fall.move = function () { if (_this.controls.left) { image.setDirection(dir_left); if (xVel > (-maxWalk)) { xVel = xVel - acceleration; } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < maxWalk) { xVel = xVel + acceleration; } } if (image.charset == "amy_roll") { var _local1 = ["collide", "activate", "bomb"]; } else { var _local1 = ["collide", "activate"]; } if (xVel < 0) { var _local3 = squareCollide("left", 1, false, null, _local1); if (_local3) { xVel = 0; } } else if (xVel > 0) { var _local2 = squareCollide("right", 1, false, null, _local1); if (_local2) { xVel = 0; } } }; fall.hitCeiling = function () { if (yVel < 0) { if (image.charset == "amy_roll") { var _local2 = ["collide", "activate", "bomb"]; } else { var _local2 = ["collide", "activate"]; } var _local1 = squareCollide("up", 1, false, null, _local2); if (_local1) { yVel = 3; } } }; fall.checkStand = function () { if (yVel >= 0) { if (image.charset == "amy_roll") { var _local2 = ["collide", "activate", "bomb"]; } else { var _local2 = ["collide"]; } var _local1 = squareCollide("down", [1, 2], false, null, _local2); if (_local1 || (spriteLand)) { state = "stand"; SOUND.play("sound\\landing.mp3"); yVel = 0; if (_local1) { _y = (_local1.yTile * 16); } } } }; flinch = {}; flinch.loop = function () { changeSprite("flinch"); flinch.runOnce(); setAttacks(["none"]); attack._width = 16; tempInvincibilty(); gravity(); flinch.wallCollision(); flinch.hitCeiling(); applyVelocity(); flinch.checkStand(); attack.doAttacks(); lastSpace = _this.controls.jump; }; flinch.runOnce = function () { if (!flinch.hasRunOnce) { invincibility.time = invincibility.maxTime; var _local1 = ((image.direction == 1) ? 1 : -1); xVel = 4 * (-_local1); yVel = -5; SOUND.play("sound\\sonicFlinch.mp3"); } flinch.hasRunOnce = true; }; flinch.wallCollision = function () { if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; } } }; flinch.hitCeiling = function () { if (yVel < 0) { var _local1 = squareCollide("up", 1, false, null, ["collide", "activate"]); if (_local1) { yVel = 3; } } }; flinch.checkStand = function () { if (yVel >= 0) { var _local2 = squareCollide("down", [1, 2], false, null, ["collide"]); if (_local2 || (spriteLand)) { state = "stand"; yVel = 0; var _local1 = Math.floor((_y - 8) / 16); _y = Math.floor((_local1 * 16) + 16); SOUND.play("sound\\landing.mp3"); flinch.hasRunOnce = false; } } }; addHit = function () { if (_this.hit == undefined) { _this.attachMovie("hitArea", "hit", nextDepth(_this)); hit._height = 30; } var _local1 = image.charset; if (((_local1 == "amy_duck") || (_local1 == "amy_roll")) || (_local1 == "amy_spinDash")) { hit._height = 14; } else { hit._height = 30; } }; addHit(); addHurtArea = function () { if (_this.hurtArea == undefined) { _this.attachMovie("hitArea", "hurtArea", nextDepth(_this)); hurtArea._height = hit._height; } }; addHurtArea(); setAttacks = function (type) { if (_this.attack == undefined) { _this.attack = _this.attachMovie("attackArea", "attack", nextDepth(_this)); } _this.attack.type = type; attack._height = hit._height; }; setAttacks(["none"]); changeSprite("stand"); image.direction = dir_right; state = "stand"; lastSpace = false; smoke = new ParticleSystem(_this, {image:"particle_smoke", scaleVariation:0.3, life:10, speed:1, particlesPerFrame:0, angle:90, spread:10, fadeOutFrames:10, growFrames:5}); spinDashDust = new ParticleSystem(_this, {image:"particle_smoke", scaleVariation:0.3, life:20, lifeVariation:5, speed:2, particlesPerFrame:0, angle:30, spread:30, fadeOutFrames:10, growFrames:5}); spinDashBurst = new ParticleSystem(_this, {image:"particle_smoke", scale:2, scaleVariation:0.3, life:20, lifeVariation:5, speed:4, particlesPerFrame:0, angle:160, spread:30, fadeOutFrames:15, growFrames:15, sprayTime:1});
Symbol 312 MovieClip [player_peach] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } stop(); _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); }; _this = this; xVel = 0; yVel = 0; spriteLand = false; walkSpeed = 4; runSpeed = 8; acceleration = 0.5; decelleration = 0.7; jumpSpeed = 9.5; SPRITE_LIST.push(_this); heightScale = 100; dir_left = 0; dir_right = 1; controlSource = "keyboard"; controls = {}; getKeyboard = function () { var output = {}; var _local1 = function (keyName) { output[keyName] = Key.isDown(RAM.controls[keyName]); }; _local1("up"); _local1("right"); _local1("down"); _local1("left"); _local1("run"); _local1("jump"); _local1("shoot"); _local1("aimUp"); _local1("aimDown"); return(output); }; resetControls = function () { _this.controls = {up:false, right:false, down:false, left:false, run:false, jump:false, shoot:false, aimUp:false, aimDown:false}; }; getControls = function () { if (controlSource == "keyboard") { _this.controls = getKeyboard(); } }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } changeSprite = function (newPose) { if (_this.image == undefined) { makeSprite(_this, "peach_stand", "image", 1, 16, 16, 1, 2, 1, 1, 1); _this.image._y = 1; } if (newPose != lastPose) { var _local6 = _this.image.direction; switch (newPose) { case "duck" : var _local5 = "peach_duck"; var _local3 = 2; var _local4 = 2; var _local8 = "once"; break; case "fall" : _local5 = "peach_fall"; _local3 = 3; _local4 = 2; _local8 = "loop"; break; case "skid" : _local5 = "peach_skid"; _local3 = 3; _local4 = 2; _local8 = "loop"; break; case "flinch" : _local5 = "peach_flinch"; _local3 = 2; _local4 = 2; _local8 = "loop"; break; case "float" : _local5 = "peach_float"; _local3 = 4; _local4 = 5; _local8 = "loop"; break; case "jump" : _local5 = "peach_jump"; _local3 = 2; _local4 = 3; _local8 = "once"; break; case "slide" : _local5 = "peach_slide"; _local3 = 2; _local4 = 2; _local8 = "loop"; break; case "stand" : _local5 = "peach_stand"; _local3 = 2; _local4 = 10; _local8 = "loop"; break; case "walk" : _local5 = "peach_walk"; _local3 = 3; _local4 = 2; _local8 = "loop"; } var _local1 = 34; var _local2 = 42; _this.image.imageOffsetX = (-_local1) / 2; _this.image.imageOffsetY = -(_local2 - 1); _this.image.setCharset(_local5, _local1, _local2, _local3, _local8, _local4); _this.image.setDirection(_local6); addHit(); hurtArea._height = hit._height; attack._height = hit._height; } _this.lastPose = newPose; oldImage._yscale = heightScale; image._yscale = heightScale; }; invincibility = {}; invincibility.time = 0; invincibility.lastTime = 0; invincibility.maxTime = 60; tempInvincibilty = function () { if (invincibility.time > 0) { invincibility.time--; _visible = (!_visible); hurtArea.removeMovieClip(); } if ((invincibility.time == 0) && (invincibility.lastTime > 0)) { _visible = true; addHurtArea(); } invincibility.lastTime = invincibility.time; }; squareCollide = function (direction, findCollision, allTrue, offset, effect_array) { var findCollision = ((typeof(findCollision) == "number") ? ([findCollision]) : (findCollision)); offset = ((offset != undefined) ? (offset) : 1); var _local21 = 2; var checkedBlocks = []; var collisionOutput = allTrue; var _local15 = function (xTile, yTile) { var _local1 = false; var _local2 = new flash.geom.Point(xTile, yTile); for (var _local3 in checkedBlocks) { if (checkedBlocks[_local3].equals(_local2)) { _local1 = true; break; } } return(_local1); }; var _local13 = function (xTile, yTile) { var _local3 = BLOCKS[xTile][yTile]; if (_local3) { checkedBlocks.push(_local3); var _local1 = 0; while (_local1 < effect_array.length) { _local3 = BLOCKS[xTile][yTile]; var _local2 = effect_array[_local1]; _local3.react[_local2](_this, direction); _local1++; } } }; var _local14 = function (xTile, yTile) { if (allTrue) { if (collisionOutput == true) { var _local4 = MAP.collision_array[xTile][yTile]; var _local1 = 0; while (_local1 < findCollision.length) { if (_local4 != findCollision[_local1]) { collisionOutput = false; } _local1++; } } } else if (collisionOutput == false) { var _local4 = MAP.collision_array[xTile][yTile]; var _local1 = 0; while (_local1 < findCollision.length) { if (_local4 == findCollision[_local1]) { collisionOutput = {xTile:xTile, yTile:yTile}; } _local1++; } } }; switch (direction) { case "up" : var _local31 = true; break; case "down" : _local31 = true; break; case -1 : case "left" : var _local32 = true; break; case 1 : case "right" : _local32 = true; } if (_local31) { var _local7 = []; var _local22 = Math.round((hit._width - (_local21 * 2)) / 16); var _local24 = (hit._width / 2) - _local21; var _local11 = 0; while (_local11 < _local22) { var _local30 = (_x - _local24) + (_local11 * 16); _local7.push(_local30); _local11++; } var _local30 = _x + _local24; _local7.push(_local30); var _local25 = 1 + Math.floor(Math.abs(yVel / 16)); var _local26 = Math.abs(yVel) - ((_local25 - 1) * 16); var _local2 = 0; while (_local2 < _local25) { if (direction == "up") { var _local17 = -hit._height; var _local12 = -1; } else { var _local17 = 0; var _local12 = 1; } var _local5 = _y + _local17; _local5 = _local5 + ((_local2 * 16) * _local12); _local5 = _local5 + (_local26 * _local12); _local5 = _local5 + (offset * _local12); var _local1 = Math.floor(_local5 / 16); _local11 = 0; while (_local11 < _local7.length) { var _local6 = _local7[_local11]; var _local3 = Math.floor(_local6 / 16); var _local4 = _local15(_local3, _local1); if (!_local4) { if (effect_array) { _local13(_local3, _local1); } _local14(_local3, _local1); checkedBlocks.push(new flash.geom.Point(_local3, _local1)); } _local11++; } _local2++; } } if (_local32) { var _local8 = []; var _local25 = Math.round((hit._height - (_local21 * 2)) / 16); var _local2 = 0; while (_local2 < _local25) { var _local30 = (_y - (_local2 * 16)) - _local21; _local8.push(_local30); _local2++; } var _local30 = (_y - hit._height) + _local21; _local8.push(_local30); var _local22 = 1 + Math.floor(Math.abs(xVel / 16)); var _local27 = Math.abs(xVel) - ((_local22 - 1) * 16); if ((direction == "left") || (direction == -1)) { var _local16 = -1; } else { var _local16 = 1; } var _local11 = 0; while (_local11 < _local22) { var _local17 = (hit._width / 2) * _local16; var _local6 = _x + _local17; _local6 = _local6 + (_local16 * (_local11 * 16)); _local6 = _local6 + (_local16 * _local27); _local6 = _local6 + (offset * _local16); var _local3 = Math.floor(_local6 / 16); _local2 = 0; while (_local2 < _local8.length) { var _local5 = _local8[_local2]; var _local1 = Math.floor(_local5 / 16); var _local4 = _local15(_local3, _local1); if (!_local4) { if (effect_array) { _local13(_local3, _local1); } _local14(_local3, _local1); checkedBlocks.push(new flash.geom.Point(_local3, _local1)); } _local2++; } _local11++; } } return(collisionOutput); }; pointCollide = function (direction, findCollision, lateralOffset) { lateralOffset = ((lateralOffset != undefined) ? (lateralOffset) : 0); var _local3 = hit._width / 2; var _local4 = hit._height / 2; var _local1 = 1; switch (direction) { case "up" : var _local9 = _x + lateralOffset; var _local8 = ((_y + hit._height) + yVel) - _local1; break; case "down" : _local9 = _x + lateralOffset; _local8 = (_y + yVel) + _local1; break; case -1 : case "left" : _local9 = (_x - _local3) - _local1; _local8 = (_y - _local4) + lateralOffset; break; case 1 : case "right" : _local9 = (_x + _local3) + _local1; _local8 = (_y - _local4) + lateralOffset; } var _local6 = Math.floor(_local9 / 16); var _local7 = Math.floor(_local8 / 16); var _local5 = MAP.collision_array[_local6][_local7]; return(_local5 == findCollision); }; gravity = function () { if (yVel < ROM.maxGravity) { yVel = yVel + ROM.gravity; } }; applyVelocity = function () { _x = (_x + xVel); _y = (_y + yVel); }; stopParticles = function () { smoke.particlesPerFrame = 0; sparkles.particlesPerFrame = 0; }; checkFlinch = function () { if (invincibility > 0) { invincibility--; _visible = (!_visible); } else { _visible = true; flinch.hasRunOnce = false; for (var _local3 in ROOT.enemyList) { var _local1 = ROOT.enemyList[_local3]; if (_local1.hit.hitTest(hit)) { var _local2 = true; } } if (_local2) { loop = flinch.loop; } } }; shrink = function () { var _local1 = function () { changeSprite("flinch"); SOUND.play("sound\\marioFlinch.mp3"); hit._height = 14; heightScale = 50; yVel = 0; image._yscale = 100; ZigoEngine.doTween(image, "_yscale", 70, 0.3, "easeOutQuad", 0, shrink2); }; var shrink2 = function () { image._yscale = 90; ZigoEngine.doTween(image, "_yscale", 60, 0.3, "easeOutQuad", 0, shrink3); }; var shrink3 = function () { image._yscale = 80; ZigoEngine.doTween(image, "_yscale", 50, 0.3, "easeOutQuad", 0, shrinkDone); }; var shrinkDone = function () { state = "stand"; }; state = null; _local1(); }; grow = function () { var _local1 = function () { hit._height = 30; heightScale = 100; yVel = 0; image._yscale = 50; ZigoEngine.doTween(image, "_yscale", 80, 0.3, "easeOutQuad", 0, grow2); }; var grow2 = function () { image._yscale = 60; ZigoEngine.doTween(image, "_yscale", 90, 0.3, "easeOutQuad", 0, grow3); }; var grow3 = function () { image._yscale = 70; ZigoEngine.doTween(image, "_yscale", 100, 0.3, "easeOutQuad", 0, growDone); }; var growDone = function () { state = "stand"; }; state = null; _local1(); }; die = function () { LOOP.pauseSet("sprites", true); MUSIC.stop(); PLAYER.stopLoopingSounds(); PLAYER.stopParticles(); SOUND.play("sound\\mario_die.mp3"); LOOP.pauseSet("pause", true); LOOP.pauseSet("scroll", true); invincibility.time = 1; state = null; changeSprite("flinch"); image.animFrame = 0; _visible = true; var _local1 = function () { xVel = 0; yVel = -9; _this.loop = function () { gravity(); applyVelocity(); }; var _local1 = function () { delete _this.loop; RAM.player_obj.hp = RAM.player_obj.maxHp; ROOT.teleport(RAM.mapName, {x:RAM.mapLocation.x, y:RAM.mapLocation.y}, "map", "fade"); }; setTimeout(_local1, 3000); }; setTimeout(_local1, 1000); }; react = {}; react.misc = function (attacker) { if (invincibility.time == 0) { RAM.player_obj.hp--; HUD.updateHp(); if (RAM.player_obj.hp == 1) { invincibility.time = invincibility.maxTime; shrink(); } else if (RAM.player_obj.hp > 0) { invincibility.time = invincibility.maxTime; state = "flinch"; loop(); } else { die(); } } }; react.stomp = function (attacker) { var _local1 = attacker._y - _this._y; if (_local1 < (-(hurtArea._height - 8))) { react.misc(attacker); } }; react.projectile = react.misc; react.spike = function (attacker) { var _local1 = attacker._y - _this._y; if (_local1 >= 0) { react.misc(attacker); } }; react.instantDeath = function (attacker) { trace(_this._name + " hit by instantDeath attack"); _this.removeMovieClip(); }; loop = function () { getControls(); checkGrow(); _this[state].loop(); spriteLand = false; }; checkGrow = function () { var _local1 = RAM.player_obj.hp; if ((lastHp == 1) && (_local1 >= 2)) { grow(); } lastHp = _local1; }; stand = {}; stand.loop = function () { changeSprite("stand"); smoke.particlesPerFrame = 0; sparkles.particlesPerFrame = 0; setAttacks(["stomp"]); tempInvincibilty(); canFloat = true; float.timer = float.fullTime; stand.decellerate(); stand.squeeze(); applyVelocity(); stand.checkWalk(); stand.checkDuck(); stand.checkFall(); stand.checkJump(); attack.doAttacks(); lastSpace = _this.controls.jump; }; stand.decellerate = function () { xVel = xVel * decelleration; if (Math.abs(xVel) < 1) { xVel = 0; } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; } } }; stand.squeeze = function () { if (heightScale == 100) { var _local5 = _y - 24; var _local2 = Math.floor(_x / 16); var _local3 = Math.floor(_local5 / 16); var _local4 = MAP.collision_array[_local2][_local3]; var _local1 = _local4 == 1; if (_local1) { _x = (_x + 2); squeeze = true; } else { squeeze = false; } } }; stand.checkWalk = function () { if (_this.controls.left || (_this.controls.right)) { state = "walk"; } }; stand.checkJump = function () { if ((_this.controls.jump && (!lastSpace)) && (!squeeze)) { state = "jump"; yVel = -jumpSpeed; SOUND.play("sound\\marioJump.mp3"); } }; stand.checkDuck = function () { if (_this.controls.down) { state = "duck"; } }; stand.checkFall = function () { var _local1 = squareCollide("down", 0, true, null, ["collide"]); if (_local1 && (!spriteLand)) { state = "fall"; } }; walk = {}; walk.loop = function () { walk.skid(); walk.move(); walk.squeeze(); applyVelocity(); setAttacks(["stomp"]); tempInvincibilty(); walk.checkStand(); walk.checkDuck(); walk.checkFall(); walk.checkJump(); attack.doAttacks(); lastSpace = _this.controls.jump; }; walk.skid = function () { var _local1 = ((image.direction == 0) ? -1 : 1); var _local2 = Math.abs(xVel) / xVel; var _local3 = Math.abs(xVel); walk.isSkidding = (_local3 > 2) && (_local1 != _local2); if (walk.isSkidding && (!walk.wasSkidding)) { changeSprite("skid"); smoke.particlesPerFrame = 0.4; SOUND.play("sound\\marioSkid.mp3"); } if (walk.isSkidding == false) { changeSprite("walk"); smoke.particlesPerFrame = 0; } walk.wasSkidding = walk.isSkidding; }; walk.move = function () { if (_this.controls.run) { maxWalk = runSpeed; } else { maxWalk = walkSpeed; } if (_this.controls.left) { image.setDirection(dir_left); if (xVel > (-maxWalk)) { xVel = xVel - acceleration; } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < maxWalk) { xVel = xVel + acceleration; } } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; } } }; walk.squeeze = function () { if (heightScale == 100) { var _local5 = _y - 24; var _local2 = Math.floor(_x / 16); var _local3 = Math.floor(_local5 / 16); var _local4 = MAP.collision_array[_local2][_local3]; var _local1 = _local4 == 1; if (_local1) { _x = (_x + 2); squeeze = true; } else { squeeze = false; } } }; walk.checkStand = function () { if ((_this.controls.left == false) && (_this.controls.right == false)) { state = "stand"; } }; walk.checkJump = function () { if ((_this.controls.jump && (!lastSpace)) && (!squeeze)) { state = "jump"; yVel = -jumpSpeed; SOUND.play("sound\\marioJump.mp3"); } }; walk.checkDuck = function () { if (_this.controls.down) { state = "duck"; } }; walk.checkFall = function () { var _local4 = squareCollide("down", 0, true, null, ["collide"]); var _local5 = Math.abs(xVel) / xVel; var _local3 = !pointCollide("down", 0, _local5 * 20); var _local2 = Math.abs(xVel) >= runSpeed; var _local1 = _local2 && (_local3); if ((_local4 && (!_local1)) && (!spriteLand)) { state = "fall"; _y = (_y + 8); gravity(); } }; duck = {}; duck.loop = function () { changeSprite("duck"); duck.dust(); setAttacks(["stomp"]); tempInvincibilty(); duck.turn(); duck.decellerate(); applyVelocity(); duck.checkStand(); duck.checkSlide(); duck.checkFall(); attack.doAttacks(); lastSpace = _this.controls.jump; }; duck.turn = function () { if (_this.controls.left) { image.direction = dir_left; } else if (_this.controls.right) { image.direction = dir_right; } }; duck.dust = function () { var _local1 = Math.abs(xVel); if (_local1 > 2) { smoke.particlesPerFrame = 0.4; } else { smoke.particlesPerFrame = 0; } }; duck.decellerate = function () { xVel = xVel * 0.92; if (Math.abs(xVel) < 1) { xVel = 0; } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; } } }; duck.checkStand = function () { if (_this.controls.down == false) { state = "stand"; } }; duck.checkSlide = function () { if (_this.controls.jump && (!lastSpace)) { state = "slide"; var _local1 = ((image.direction == 0) ? -1 : 1); xVel = 16 * _local1; SOUND.play("sound\\slide.mp3"); } }; duck.checkFall = function () { var _local4 = squareCollide("down", 0, true, null, ["collide"]); var _local5 = Math.abs(xVel) / xVel; var _local3 = !pointCollide("down", 0, _local5 * 20); var _local2 = Math.abs(xVel) >= runSpeed; var _local1 = _local2 && (_local3); if ((_local4 && (!_local1)) && (!spriteLand)) { state = "fall"; _y = (_y + 8); gravity(); } }; slide = {}; slide.loop = function () { changeSprite("slide"); smoke.particlesPerFrame = 0.4; setAttacks(["stomp", "misc"]); tempInvincibilty(); slide.decellerate(); applyVelocity(); slide.checkStand(); slide.checkFall(); attack.doAttacks(); lastSpace = _this.controls.jump; }; slide.decellerate = function () { xVel = xVel * (decelleration * 1.28); if (Math.abs(xVel) < 1) { xVel = 0; } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide", "activate", "bomb"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide", "activate", "bomb"]); if (_local1) { xVel = 0; } } }; slide.checkStand = function () { var _local2 = _this.controls.down == false; if (_local2) { setAttacks([""]); attack._y = 0; attack._width = 16; state = "stand"; } var _local1 = Math.abs(xVel) < 1; if (_local1) { setAttacks([""]); state = "duck"; } }; slide.checkFall = function () { var _local4 = squareCollide("down", 0, true, null, ["collide"]); var _local5 = Math.abs(xVel) / xVel; var _local3 = !pointCollide("down", 0, _local5 * 20); var _local2 = Math.abs(xVel) >= runSpeed; var _local1 = _local2 && (_local3); if ((_local4 && (!_local1)) && (!spriteLand)) { state = "fall"; setAttacks([""]); _y = (_y + 8); gravity(); } }; jump = {}; jump.minDelay = 2; jump.minTimer = jump.minDelay; jump.loop = function () { changeSprite("jump"); smoke.particlesPerFrame = 0; setAttacks(["stomp"]); tempInvincibilty(); jump.checkFall(); jump.move(); gravity(); applyVelocity(); attack.doAttacks(); lastSpace = _this.controls.jump; }; jump.checkFall = function () { var _local2 = ((jump.minTimer == 0) ? (!_this.controls.jump) : false); if (jump.minTimer > 0) { jump.minTimer--; } var _local1 = yVel > 0; if (heightScale == 100) { var _local4 = ["collide", "activate", "bomb"]; } else { var _local4 = ["collide", "activate"]; } var _local3 = squareCollide("up", 1, false, null, _local4); if ((_local2 || (_local1)) || (_local3)) { yVel = 0; state = "fall"; jump.minTimer = jump.minDelay; } }; jump.move = function () { if (_this.controls.run) { maxWalk = runSpeed; } else { maxWalk = walkSpeed; } if (_this.controls.left) { image.setDirection(dir_left); if (xVel > (-maxWalk)) { xVel = xVel - acceleration; } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < maxWalk) { xVel = xVel + acceleration; } } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; } } }; float = {}; float.fullTime = 60; float.loop = function () { changeSprite("float"); sparkles.particlesPerFrame = 0.3; setAttacks(["stomp"]); tempInvincibilty(); float.decellerate(); float.move(); float.rise(); float.descend(); float.timeOut(); applyVelocity(); float.checkFall(); float.checkStand(); attack.doAttacks(); lastSpace = _this.controls.jump; }; float.move = function () { if (_this.controls.run) { maxWalk = runSpeed; } else { maxWalk = walkSpeed; } if (_this.controls.left) { image.setDirection(dir_left); if (xVel > (-maxWalk)) { xVel = xVel - acceleration; } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < maxWalk) { xVel = xVel + acceleration; } } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; } } }; float.rise = function () { var _local1 = 2; var _local2 = 0.5; if (_this.controls.up) { if (yVel > (-_local1)) { yVel = yVel - _local2; } } if (heightScale == 100) { var _local4 = ["collide", "activate", "bomb"]; } else { var _local4 = ["collide", "activate"]; } var _local3 = squareCollide("up", 1, false, null, _local4); if (_local3) { yVel = 0; } }; float.descend = function () { var _local2 = 5; var _local1 = 0.5; if (_this.controls.down) { if (yVel < _local2) { yVel = yVel + _local1; } } }; float.timeOut = function () { if (float.timer == undefined) { float.timer = float.fullTime; } float.timer--; if (float.timer <= 0) { canFloat = false; float.timer = float.fullTime; } }; float.decellerate = function () { yVel = yVel * 0.85; }; float.checkStand = function () { var _local1 = squareCollide("down", [1, 2], false, null, ["collide"]); if (_local1 || (spriteLand)) { state = "fall"; canFloat = false; yVel = 0; if (_local1) { _y = (_local1.yTile * 16); } } }; float.checkFall = function () { var _local1 = !_this.controls.jump; if ((_local1 || (!canFloat)) && (!spriteLand)) { state = "fall"; sparkles.particlesPerFrame = 0; } }; fall = {}; fall.loop = function () { changeSprite("fall"); smoke.particlesPerFrame = 0; setAttacks(["stomp"]); tempInvincibilty(); fall.move(); fall.hitCeiling(); gravity(); applyVelocity(); fall.checkStand(); fall.checkFloat(); attack.doAttacks(); lastSpace = _this.controls.jump; }; fall.move = function () { if (_this.controls.run) { maxWalk = runSpeed; } else { maxWalk = walkSpeed; } if (_this.controls.left) { image.setDirection(dir_left); if (xVel > (-maxWalk)) { xVel = xVel - acceleration; } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < maxWalk) { xVel = xVel + acceleration; } } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; } } }; fall.hitCeiling = function () { if (heightScale == 100) { var _local2 = ["collide", "activate", "bomb"]; } else { var _local2 = ["collide", "activate"]; } var _local1 = squareCollide("up", 1, false, null, _local2); if (_local1) { yVel = 0; } }; fall.checkStand = function () { var _local1 = squareCollide("down", [1, 2], false, null, ["collide"]); if (_local1 || (spriteLand)) { state = "stand"; yVel = 0; SOUND.play("sound\\landing.mp3"); if (_local1) { _y = (_local1.yTile * 16); } } }; fall.checkFloat = function () { if (_this.controls.jump && (canFloat)) { state = "float"; SOUND.play("sound\\float.mp3"); } }; flinch = {}; flinch.loop = function () { flinch.runOnce(); setAttacks(["none"]); tempInvincibilty(); gravity(); flinch.wallCollision(); flinch.hitCeiling(); applyVelocity(); flinch.checkStand(); attack.doAttacks(); }; flinch.runOnce = function () { if (!flinch.hasRunOnce) { var _local1 = ((image.direction == 1) ? 1 : -1); xVel = 4 * (-_local1); yVel = -5; SOUND.play("sound\\mario_damage.mp3"); } flinch.hasRunOnce = true; }; flinch.wallCollision = function () { if (xVel < 0) { var _local1 = squareCollide("left", 1, false, null, ["collide"]); if (_local1) { xVel = 0; var _local2 = hit._width / 2; _x = (((_local1.xTile + 1) * 16) + _local2); } } if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; var _local2 = hit._width / 2; _x = ((((_local1.xTile - 1) * 16) + 16) - _local2); } } }; flinch.hitCeiling = function () { if (yVel < 0) { var _local1 = squareCollide("up", 1, false, null, ["collide", "activate"]); if (_local1) { yVel = 0; _y = (((vertCollide.yTile + 1) * 16) + hit._height); } } }; flinch.checkStand = function () { if (yVel >= 0) { var _local1 = squareCollide("down", [1, 2], false, null, ["collide"]); if (_local1 || (spriteLand)) { state = "stand"; changeSprite("stand"); yVel = 0; if (spriteLand) { _y = (Math.round(_y / 16) * 16); } else { if (_local1) { var _local2 = _local1; } if (cloudCollide) { var _local2 = cloudCollide; } yVel = 0; _y = (((_local2.yTile - 1) * 16) + 16); } SOUND.play("sound\\landing.mp3"); flinch.hasRunOnce = false; } } }; addHit = function () { if (_this.hit == undefined) { _this.attachMovie("hitArea", "hit", nextDepth(_this)); } var _local1 = image.charset; if ((_local1 == "peach_duck") || (_local1 == "peach_slide")) { hit._height = 14 * (heightScale / 100); } else { hit._height = 30 * (heightScale / 100); } }; addHit(); addHurtArea = function () { if (_this.hurtArea == undefined) { _this.attachMovie("hitArea", "hurtArea", nextDepth(_this)); } hurtArea._height = hit._height; }; addHurtArea(); setAttacks = function (type) { if (_this.attack == undefined) { _this.attack = _this.attachMovie("attackArea", "attack", nextDepth(_this)); } _this.attack.type = type; attack._height = hit._height; }; setAttacks(["none"]); if (RAM.player_obj.hp == 1) { hit._height = 16; heightScale = 50; } changeSprite("stand"); image.direction = dir_right; state = "stand"; lastSpace = false; smoke = new ParticleSystem(_this, {image:"particle_smoke", scaleVariation:0.3, life:10, speed:1, particlesPerFrame:0, angle:90, spread:10, fadeOutFrames:10, growFrames:5}); sparkles = new ParticleSystem(_this, {image:"particle_sparkle", life:20, speed:0.8, particlesPerFrame:0, shrinkFrames:20, fadeInFrames:10, angle:90, spread:180, scale:0.9});
Symbol 313 MovieClip [player_samus] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } stop(); _this = this; xVel = 0; yVel = 0; spriteLand = false; walkSpeed = 4; runSpeed = 29; acceleration = 0.6; decelleration = 0.7; jumpSpeed = 11; storedBoost = 0; SPRITE_LIST.push(_this); dir_left = 0; dir_right = 1; controlSource = "keyboard"; controls = {}; getKeyboard = function () { var output = {}; var _local1 = function (keyName) { output[keyName] = Key.isDown(RAM.controls[keyName]); }; _local1("up"); _local1("right"); _local1("down"); _local1("left"); _local1("run"); _local1("jump"); _local1("shoot"); _local1("aimUp"); _local1("aimDown"); return(output); }; resetControls = function () { _this.controls = {up:false, right:false, down:false, left:false, run:false, jump:false, shoot:false, aimUp:false, aimDown:false}; }; getControls = function () { if (controlSource == "keyboard") { _this.controls = getKeyboard(); } }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } changeSprite = function (newPose) { if (_this.image == undefined) { makeSprite(_this, "samus_stand", "image", 1, 16, 16, 1, 2, 1, 1, 1); _this.image._y = 1; } if (newPose != lastPose) { var _local6 = _this.image.direction; switch (newPose) { case "stand" : var _local5 = "samus_stand"; var _local3 = 3; var _local4 = 5; var _local8 = "yoyo"; var _local1 = 28; var _local2 = 46; shotPoint = new flash.geom.Point(-13, -26); shotVec = new flash.geom.Point(-1, 0); break; case "stand_up" : _local5 = "samus_stand_up"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 28; _local2 = 56; shotPoint = new flash.geom.Point(-1, -54); shotVec = new flash.geom.Point(0, -1); break; case "stand_upSlant" : _local5 = "samus_stand_upSlant"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 42; _local2 = 52; shotPoint = new flash.geom.Point(-19, -48); shotVec = new flash.geom.Point(-1, -1); break; case "stand_downSlant" : _local5 = "samus_stand_downSlant"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 38; _local2 = 44; shotPoint = new flash.geom.Point(-17, -19); shotVec = new flash.geom.Point(-1, 1); break; case "walk" : _local5 = "samus_walk"; _local3 = 10; _local4 = 2; _local8 = "loop"; _local1 = 38; _local2 = 46; shotPoint = new flash.geom.Point(-21, -29); shotVec = new flash.geom.Point(-1, 0); break; case "walk_shoot" : _local5 = "samus_walk_shoot"; _local3 = 10; _local4 = 2; _local8 = "loop"; _local1 = 44; _local2 = 46; shotPoint = new flash.geom.Point(-21, -29); shotVec = new flash.geom.Point(-1, 0); break; case "walk_upSlant" : _local5 = "samus_walk_upSlant"; _local3 = 10; _local4 = 2; _local8 = "loop"; _local1 = 38; _local2 = 50; shotPoint = new flash.geom.Point(-17, -47); shotVec = new flash.geom.Point(-1, -1); break; case "walk_downSlant" : _local5 = "samus_walk_downSlant"; _local3 = 10; _local4 = 2; _local8 = "loop"; _local1 = 38; _local2 = 46; shotPoint = new flash.geom.Point(-17, -21); shotVec = new flash.geom.Point(-1, 1); break; case "jump" : _local5 = "samus_jump"; _local3 = 2; _local4 = 2; _local8 = "once"; _local1 = 26; _local2 = 48; shotPoint = new flash.geom.Point(-8, -16); shotVec = new flash.geom.Point(-1, 0); break; case "jump_shoot" : _local5 = "samus_jump_shoot"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 24; _local2 = 38; shotPoint = new flash.geom.Point(-11, -19); shotVec = new flash.geom.Point(-1, 0); break; case "jump_up" : _local5 = "samus_jump_up"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 24; _local2 = 46; shotPoint = new flash.geom.Point(-1, -44); shotVec = new flash.geom.Point(0, -1); break; case "jump_down" : _local5 = "samus_jump_down"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 26; _local2 = 36; shotPoint = new flash.geom.Point(-5, -6); shotVec = new flash.geom.Point(0, 1); break; case "jump_upSlant" : _local5 = "samus_jump_upSlant"; _local3 = 2; _local4 = 2; _local8 = "once"; _local1 = 30; _local2 = 48; shotPoint = new flash.geom.Point(-13, -44); shotVec = new flash.geom.Point(-1, -1); break; case "jump_downSlant" : _local5 = "samus_jump_downSlant"; _local3 = 2; _local4 = 2; _local8 = "once"; _local1 = 28; _local2 = 42; shotPoint = new flash.geom.Point(-12, -18); shotVec = new flash.geom.Point(-1, 1); break; case "jumpFlip" : _local5 = "samus_jumpFlip"; _local3 = 8; _local4 = 1; _local8 = "loop"; _local1 = 34; _local2 = 34; shotPoint = new flash.geom.Point(-11, -19); shotVec = new flash.geom.Point(-1, 0); break; case "wallJump" : _local5 = "samus_wallJump"; _local3 = 2; _local4 = 1; _local8 = "once"; _local1 = 36; _local2 = 36; shotPoint = new flash.geom.Point(-8, -16); shotVec = new flash.geom.Point(-1, 0); break; case "fall" : _local5 = "samus_fall"; _local3 = 4; _local4 = 2; _local8 = "once"; _local1 = 26; _local2 = 48; shotPoint = new flash.geom.Point(-8, -16); shotVec = new flash.geom.Point(-1, 0); break; case "slip" : _local5 = "samus_slip"; _local3 = 3; _local4 = 2; _local8 = "once"; _local1 = 22; _local2 = 50; shotPoint = new flash.geom.Point(-8, -16); shotVec = new flash.geom.Point(-1, 0); break; case "land" : _local5 = "samus_land"; _local3 = 2; _local4 = 1; _local8 = "once"; _local1 = 28; _local2 = 46; shotPoint = new flash.geom.Point(-13, -26); shotVec = new flash.geom.Point(-1, 0); break; case "startDuck" : _local5 = "samus_startDuck"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 26; _local2 = 42; shotPoint = new flash.geom.Point(-10, -15); shotVec = new flash.geom.Point(-1, 0); break; case "duck" : _local5 = "samus_duck"; _local3 = 3; _local4 = 5; _local8 = "yoyo"; _local1 = 24; _local2 = 34; shotPoint = new flash.geom.Point(-10, -15); shotVec = new flash.geom.Point(-1, 0); break; case "duck_up" : _local5 = "samus_duck_up"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 24; _local2 = 46; shotPoint = new flash.geom.Point(3, -43); shotVec = new flash.geom.Point(0, -1); break; case "duck_upSlant" : _local5 = "samus_duck_upSlant"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 38; _local2 = 40; shotPoint = new flash.geom.Point(-16, -37); shotVec = new flash.geom.Point(-1, -1); break; case "duck_downSlant" : _local5 = "samus_duck_downSlant"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 36; _local2 = 34; shotPoint = new flash.geom.Point(-16, -8); shotVec = new flash.geom.Point(-1, 1); break; case "startMorph" : _local5 = "samus_startMorph"; _local3 = 2; _local4 = 1; _local8 = "once"; _local1 = 18; _local2 = 30; shotPoint = new flash.geom.Point(0, -8); shotVec = new flash.geom.Point(-1, 0); break; case "endMorph" : _local5 = "samus_endMorph"; _local3 = 2; _local4 = 1; _local8 = "once"; _local1 = 18; _local2 = 30; shotPoint = new flash.geom.Point(0, -8); shotVec = new flash.geom.Point(-1, 0); break; case "morphBall" : _local5 = "samus_morphBall"; _local3 = 6; _local4 = 1; _local8 = "loop"; _local1 = 18; _local2 = 18; shotPoint = new flash.geom.Point(0, -8); shotVec = new flash.geom.Point(-1, 0); break; case "boostUp" : _local5 = "samus_boostUp"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 18; _local2 = 50; shotPoint = new flash.geom.Point(0, 0); shotVec = new flash.geom.Point(-1, 0); break; case "boostSide" : _local5 = "samus_boostSide"; _local3 = 1; _local4 = 1; _local8 = "once"; _local1 = 42; _local2 = 38; shotPoint = new flash.geom.Point(0, 0); shotVec = new flash.geom.Point(-1, 0); break; case "flinch" : _local5 = "samus_flinch"; _local3 = 2; _local4 = 2; _local8 = "once"; _local1 = 26; _local2 = 52; shotPoint = new flash.geom.Point(0, 0); shotVec = new flash.geom.Point(-1, 0); break; case "die" : _local5 = "samus_die"; _local3 = 7; _local4 = 3; _local8 = "once"; _local1 = 74; _local2 = 64; shotPoint = new flash.geom.Point(0, 0); shotVec = new flash.geom.Point(-1, 0); } _this.image.imageOffsetX = (-_local1) / 2; _this.image.imageOffsetY = -(_local2 - 1); _this.image.setCharset(_local5, _local1, _local2, _local3, _local8, _local4); _this.image.setDirection(_local6); addHit(); hurtArea._height = hit._height; attack._height = hit._height; if (isBoosting) { image.image_mc._colorTransform = {bb:255}; } } _this.lastPose = newPose; }; invincibility = {}; invincibility.time = 0; invincibility.lastTime = 0; invincibility.maxTime = 60; tempInvincibilty = function () { if (invincibility.time > 0) { invincibility.time--; _visible = (!_visible); hurtArea.removeMovieClip(); } if ((invincibility.time == 0) && (invincibility.lastTime > 0)) { _visible = true; addHurtArea(); } invincibility.lastTime = invincibility.time; }; squareCollide = function (direction, findCollision, allTrue, offset, effect_array) { var findCollision = ((typeof(findCollision) == "number") ? ([findCollision]) : (findCollision)); offset = ((offset != undefined) ? (offset) : 1); var _local21 = 2; var checkedBlocks = []; var collisionOutput = allTrue; var _local15 = function (xTile, yTile) { var _local1 = false; var _local2 = new flash.geom.Point(xTile, yTile); for (var _local3 in checkedBlocks) { if (checkedBlocks[_local3].equals(_local2)) { _local1 = true; break; } } return(_local1); }; var _local13 = function (xTile, yTile) { var _local3 = BLOCKS[xTile][yTile]; if (_local3) { checkedBlocks.push(_local3); var _local1 = 0; while (_local1 < effect_array.length) { _local3 = BLOCKS[xTile][yTile]; var _local2 = effect_array[_local1]; _local3.react[_local2](_this, direction); _local1++; } } }; var _local14 = function (xTile, yTile) { if (allTrue) { if (collisionOutput == true) { var _local4 = MAP.collision_array[xTile][yTile]; var _local1 = 0; while (_local1 < findCollision.length) { if (_local4 != findCollision[_local1]) { collisionOutput = false; } _local1++; } } } else if (collisionOutput == false) { var _local4 = MAP.collision_array[xTile][yTile]; var _local1 = 0; while (_local1 < findCollision.length) { if (_local4 == findCollision[_local1]) { collisionOutput = {xTile:xTile, yTile:yTile}; } _local1++; } } }; switch (direction) { case "up" : var _local31 = true; break; case "down" : _local31 = true; break; case -1 : case "left" : var _local32 = true; break; case 1 : case "right" : _local32 = true; } if (_local31) { var _local7 = []; var _local22 = Math.round((hit._width - (_local21 * 2)) / 16); var _local24 = (hit._width / 2) - _local21; var _local11 = 0; while (_local11 < _local22) { var _local30 = (_x - _local24) + (_local11 * 16); _local7.push(_local30); _local11++; } var _local30 = _x + _local24; _local7.push(_local30); var _local25 = 1 + Math.floor(Math.abs(yVel / 16)); var _local26 = Math.abs(yVel) - ((_local25 - 1) * 16); var _local2 = 0; while (_local2 < _local25) { if (direction == "up") { var _local17 = -hit._height; var _local12 = -1; } else { var _local17 = 0; var _local12 = 1; } var _local5 = _y + _local17; _local5 = _local5 + ((_local2 * 16) * _local12); _local5 = _local5 + (_local26 * _local12); _local5 = _local5 + (offset * _local12); var _local1 = Math.floor(_local5 / 16); _local11 = 0; while (_local11 < _local7.length) { var _local6 = _local7[_local11]; var _local3 = Math.floor(_local6 / 16); var _local4 = _local15(_local3, _local1); if (!_local4) { if (effect_array) { _local13(_local3, _local1); } _local14(_local3, _local1); checkedBlocks.push(new flash.geom.Point(_local3, _local1)); } _local11++; } _local2++; } } if (_local32) { var _local8 = []; var _local25 = Math.round((hit._height - (_local21 * 2)) / 16); var _local2 = 0; while (_local2 < _local25) { var _local30 = (_y - (_local2 * 16)) - _local21; _local8.push(_local30); _local2++; } var _local30 = (_y - hit._height) + _local21; _local8.push(_local30); var _local22 = 1 + Math.floor(Math.abs(xVel / 16)); var _local27 = Math.abs(xVel) - ((_local22 - 1) * 16); if ((direction == "left") || (direction == -1)) { var _local16 = -1; } else { var _local16 = 1; } var _local11 = 0; while (_local11 < _local22) { var _local17 = (hit._width / 2) * _local16; var _local6 = _x + _local17; _local6 = _local6 + (_local16 * (_local11 * 16)); _local6 = _local6 + (_local16 * _local27); _local6 = _local6 + (offset * _local16); var _local3 = Math.floor(_local6 / 16); _local2 = 0; while (_local2 < _local8.length) { var _local5 = _local8[_local2]; var _local1 = Math.floor(_local5 / 16); var _local4 = _local15(_local3, _local1); if (!_local4) { if (effect_array) { _local13(_local3, _local1); } _local14(_local3, _local1); checkedBlocks.push(new flash.geom.Point(_local3, _local1)); } _local2++; } _local11++; } } return(collisionOutput); }; pointCollide = function (direction, findCollision, lateralOffset) { lateralOffset = ((lateralOffset != undefined) ? (lateralOffset) : 0); var _local3 = hit._width / 2; var _local4 = hit._height / 2; var _local1 = 1; switch (direction) { case "up" : var _local9 = _x + lateralOffset; var _local8 = ((_y + hit._height) + yVel) - _local1; break; case "down" : _local9 = _x + lateralOffset; _local8 = (_y + yVel) + _local1; break; case -1 : case "left" : _local9 = (_x - _local3) - _local1; _local8 = (_y - _local4) + lateralOffset; break; case 1 : case "right" : _local9 = (_x + _local3) + _local1; _local8 = (_y - _local4) + lateralOffset; } var _local6 = Math.floor(_local9 / 16); var _local7 = Math.floor(_local8 / 16); var _local5 = MAP.collision_array[_local6][_local7]; return(_local5 == findCollision); }; gravity = function () { if (yVel < ROM.maxGravity) { yVel = yVel + ROM.gravity; } }; applyVelocity = function () { _x = (_x + xVel); _y = (_y + yVel); }; stopLoopingSounds = function () { sound_jump.remove(); sound_boostStart.remove(); sound_boostLoop.remove(); }; stopParticles = function () { smoke.particlesPerFrame = 0; streak.particlesPerFrame = 0; }; boostAppearance = function () { if (Math.abs(xVel) >= runSpeed) { if (!isBoosting) { isBoosting = true; ZigoEngine.doTween(image.image_mc, "_colorTransform", {bb:255}, 0.3, "linear"); streak.particlesPerFrame = 0.5; sound_boostStart = SOUND.play("sound\\metroid_speedBoostStart.mp3"); sound_boostStart.onSoundDone = function () { sound_boostLoop = SOUND.play("sound\\metroid_speedBoostLoop.mp3", 100, true); }; ROOT.motionBlur.active = true; } } else { isBoosting = false; image.image_mc._colorTransform = {bb:0}; streak.particlesPerFrame = 0; sound_boostStart.remove(); sound_boostLoop.remove(); ROOT.motionBlur.active = false; } if (storedBoost > 0) { if (storedBoost % 3) { new mx.transitions.Tween(_this, "_brightness", mx.transitions.easing.None.easeNone, 75, 0, 2, false); } if (storedBoost == 1) { sound_storedBoost.remove(); } storedBoost--; } }; boostAttack = function () { if (Math.abs(xVel) >= runSpeed) { addAttack = true; for (var _local1 in attack.type) { if (attack.type[_local1] == "misc") { addAttack = false; } } if (addAttack) { attack.type.push("misc"); hasBoostAttack = true; } attack._width = image.mask_mc._width + Math.abs(xVel); attack._height = image.mask_mc._height + Math.abs(yVel); attack._x = xVel; attack._y = yVel; attack.doAttacks(); } else if (hasBoostAttack) { hasBoostAttack = false; for (var _local1 in attack.type) { if (_local1 == "misc") { attack.type.splice(_local1, 1); attack._width = 16; attack._height = image.mask_mc._height; attack._x = 0; attack._y = 0; break; } } } }; checkShoot = function () { var _local5 = _this.controls.shoot; if (_local5 && (!lastShoot)) { SOUND.play("sound\\metroid_shotNormal.mp3"); var _local3 = shotPoint.clone(); var _local2 = shotVec.clone(); if (image.direction == 1) { _local3.x = _local3.x * -1; _local2.x = _local2.x * -1; } var _local7 = Math.atan(_local2.y / _local2.x); shotDir = Math.round((_local7 * 8) / (Math.PI*2)); shotDir = shotDir + 2; if (_local2.x < 0) { shotDir = shotDir + 4; } var _local4 = nextDepth(SPRITES); var _local6 = "shot_" + _local4; var _local1 = SPRITES.attachMovie("samusShot", _local6, _local4); _local1._x = _x + _local3.x; _local1._y = _y + _local3.y; var _local9 = Math.abs(xVel) / xVel; if (_local2.x == _local9) { _local1.xVel = xVel; } _local1.charset = "samus_normalShot"; _local1.direction = shotDir; _local1.velocity = _local2; _local1.parent = _this; var _local8 = true; } else { var _local8 = false; } lastShoot = _local5; return(_local8); }; checkBomb = function () { if (_this.controls.shoot && (!lastShoot)) { var _local1 = nextDepth(SPRITES); var _local2 = "bomb_" + _local1; SPRITES.attachMovie("samusBomb", _local2, _local1, {_x:_x, _y:_y - 8}); } }; die = function () { LOOP.pauseSet("sprites", true); MUSIC.stop(); LOOP.pauseSet("pause", true); state = null; PLAYER.stopLoopingSounds(); PLAYER.stopParticles(); invincibility.time = 1; changeSprite("flinch"); image.animFrame = 0; _visible = true; SOUND.play("sound\\metroid_die.mp3"); var yellowFlash = {rb:128, gb:128}; var noFlash = {rb:0, gb:0}; _this._colorTransform = yellowFlash; var flashOn = true; _this.loop = function () { flashOn = !flashOn; _this._colorTransform = (flashOn ? (yellowFlash) : (noFlash)); updateAfterEvent(); }; var _local1 = function () { delete _this.loop; _this._colorTransform = noFlash; changeSprite("die"); LEVEL.tintTo(16777215, 100, 1, "easeInQuad"); var _local1 = function () { RAM.player_obj.hp = RAM.player_obj.maxHp; ROOT.teleport(RAM.mapName, {x:RAM.mapLocation.x, y:RAM.mapLocation.y}, "map", "fade"); }; setTimeout(_local1, 1000); }; setTimeout(_local1, 1337); }; react = {}; react.misc = function (attacker) { if (invincibility.time == 0) { RAM.player_obj.hp--; HUD.updateHp(); if (RAM.player_obj.hp > 0) { sound_jump.remove(); sound_boostStart.remove(); sound_boostLoop.remove(); jump.canMorph = false; var _local1 = image.charset.indexOf("morph"); if (_local1 == -1) { state = "flinch"; changeSprite("flinch"); flinch.hasRunOnce = false; } else { state = "morphFlinch"; morphFlinch.hasRunOnce = false; } loop(); } else { die(); } } }; react.stomp = function (attacker) { var _local1 = attacker._y - _this._y; if (_local1 < (-(hurtArea._height - 8))) { react.misc(attacker); } }; react.projectile = react.misc; react.spike = function (attacker) { var _local1 = attacker._y - _this._y; if (_local1 >= 0) { react.misc(attacker); } }; react.instantDeath = function (attacker) { trace(_this._name + " hit by instantDeath attack"); die(); }; loop = function () { getControls(); _this[state].loop(); spriteLand = false; lastSpace = _this.controls.jump; lastDown = _this.controls.down; lastUp = _this.controls.up; lastJump = _this.controls.jump; lastShoot = _this.controls.shoot; }; debug = {}; debug.loop = function () { debug.move(); debug.collide(); applyVelocity(); }; debug.move = function () { var _local1 = 300; if (_this.controls.left) { if (xVel > (-_local1)) { xVel = xVel - acceleration; } } else if (_this.controls.right) { if (xVel < _local1) { xVel = xVel + acceleration; } } else { xVel = xVel * decelleration; } if (_this.controls.up) { if (yVel > (-_local1)) { yVel = yVel - acceleration; } } else if (_this.controls.down) { if (yVel < _local1) { yVel = yVel + acceleration; } } else { yVel = yVel * decelleration; } }; debug.checkFall = function () { var _local1 = squareCollide("down", 0, true); if (_local1 && (!spriteLand)) { trace("standing on air"); } else { trace("landed"); } }; debug.collide = function () { if (xVel < 0) { var _local1 = squareCollide("left", 1, false, 1, ["bomb"]); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = (((_local1.xTile + 1) * 16) + _local3); } } if (xVel > 0) { var _local1 = squareCollide("right", 1, false, 1, ["bomb"]); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = ((((_local1.xTile - 1) * 16) + 16) - _local3); } } if (yVel < 0) { var _local2 = squareCollide("up", 1, false, 1, ["bomb"]); if (_local2) { yVel = 0; _y = (((_local2.yTile + 1) * 16) + hit._height); } } if (yVel > 0) { var _local2 = squareCollide("down", [1, 2], false, 1, ["bomb"]); if (_local2) { yVel = 0; _y = (((_local2.yTile - 1) * 16) + 16); } } }; stand = {}; stand.loop = function () { boostAppearance(); duck.wasDucking = false; setAttacks(["stomp"]); stand.checkShoot(); tempInvincibilty(); stand.decellerate(); applyVelocity(); stand.checkDuck(); stand.checkWalk(); stand.checkFall(); stand.checkJump(); attack.doAttacks(); }; stand.aimPose = function () { var _local3 = false; var _local2 = _this.controls.aimUp; var _local1 = _this.controls.aimDown; var _local5 = _this.controls.left || (_this.controls.right); var _local4 = _this.controls.up; var _local6 = _this.controls.down; if ((_local2 && (_local1)) || (_local4 && (!_local5))) { changeSprite("stand_up"); _local3 = true; } else if (_local2 || (_local4 && (_local5))) { changeSprite("stand_upSlant"); _local3 = true; } else if (_local1 || (_local6 && (_local5))) { changeSprite("stand_downSlant"); _local3 = true; } if (((!_local4) && (!_local6)) && (lastUp || (lastDown))) { changeSprite("stand"); } if (((!_local2) && (!_local1)) && (stand.lastAimUp || (stand.lastAimDown))) { changeSprite("stand"); } stand.lastAimUp = _local2; stand.lastAimDown = _local1; return(_local3); }; stand.checkShoot = function () { var _local2 = stand.aimPose(); var _local1 = checkShoot(); }; stand.decellerate = function () { xVel = xVel * decelleration; if (Math.abs(xVel) < 1) { xVel = 0; } if (hasBoostAttack) { var _local2 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local2 = ["collide"]; } if (xVel < 0) { var _local1 = squareCollide("left", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = (((_local1.xTile + 1) * 16) + _local3); } } if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = ((((_local1.xTile - 1) * 16) + 16) - _local3); } } }; stand.checkDuck = function () { var _local4 = _this.controls.left || (_this.controls.right); var _local2 = _this.controls.down; var _local1 = squareCollide("up", 1, false, 0); if ((_local2 && (!_local4)) || (_local1)) { state = ""; changeSprite("startDuck"); var _local3 = function () { state = "duck"; changeSprite("duck"); }; setTimeout(_local3, 34); xVel = 0; } }; stand.checkWalk = function () { delete thisCollision; if (_this.controls.left) { var thisCollision = squareCollide("left", 1, false, 1); image.setDirection(dir_left); } if (_this.controls.right) { var thisCollision = squareCollide("right", 1, false, 0); image.setDirection(dir_right); } if (thisCollision != undefined) { var _local1 = thisCollision == false; } if (_local1 == true) { state = "walk"; changeSprite("walk"); } }; stand.checkJump = function () { if (_this.controls.jump && (!lastSpace)) { if (storedBoost == 0) { state = "jump"; changeSprite("jump"); jump.maxJumpMove = walkSpeed * 0.6; yVel = -jumpSpeed; } else { startBoostJump(); } } }; stand.checkFall = function () { if (hasBoostAttack) { var _local2 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local2 = ["collide"]; } var _local1 = squareCollide("down", 0, true, null, _local2); if (_local1 && (!spriteLand)) { state = "jump"; changeSprite("slip"); jump.maxJumpMove = walkSpeed; } }; walk = {}; walk.loop = function () { walk.appearance(); setAttacks(["stomp"]); walk.checkShoot(); boostAttack(); tempInvincibilty(); walk.move(); applyVelocity(); walk.checkStand(); walk.checkDuck(); walk.checkFall(); walk.checkJump(); boostAppearance(); attack.doAttacks(); }; walk.appearance = function () { smoke.particlesPerFrame = 0; var _local1 = runSpeed - Math.abs(xVel); var _local3 = runSpeed / 2; var _local2 = _local1 / _local3; image.setSpeed(_local2); }; walk.aimPose = function () { var _local3 = false; var _local2 = _this.controls.aimUp; var _local1 = _this.controls.aimDown; var _local6 = _this.controls.left || (_this.controls.right); var _local4 = _this.controls.up; var _local5 = _this.controls.down; if (_local2 || (_local4 && (_local6))) { changeSprite("walk_upSlant"); _local3 = true; } else if (_local1 || (_local5 && (_local6))) { changeSprite("walk_downSlant"); _local3 = true; } if (((!_local4) && (!_local5)) && (lastUp || (lastDown))) { changeSprite("walk_shoot"); } if (((!_local2) && (!_local1)) && (walk.lastAimUp || (walk.lastAimDown))) { changeSprite("walk_shoot"); } walk.lastAimUp = _local2; walk.lastAimDown = _local1; return(_local3); }; walk.checkShoot = function () { var _local2 = walk.aimPose(); var _local1 = checkShoot(); if (_local1 && (!_local2)) { changeSprite("walk_shoot"); } }; walk.move = function () { if (_this.controls.run) { maxWalk = runSpeed; } else { maxWalk = walkSpeed; } if (_this.controls.left) { image.setDirection(dir_left); if (xVel > 0) { xVel = xVel * decelleration; } if (xVel > (-maxWalk)) { xVel = xVel - (acceleration * 1.6); } if ((xVel < (-maxWalk)) && (maxWalk == runSpeed)) { xVel = -maxWalk; } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < 0) { xVel = xVel * decelleration; } if (xVel < maxWalk) { xVel = xVel + (acceleration * 1.6); } if ((xVel > maxWalk) && (maxWalk == runSpeed)) { xVel = maxWalk; } } if (hasBoostAttack) { var _local2 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local2 = ["collide"]; } if (xVel < 0) { var _local1 = squareCollide("left", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = (((_local1.xTile + 1) * 16) + _local3); state = "stand"; changeSprite("stand"); } } if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = ((((_local1.xTile - 1) * 16) + 16) - _local3); state = "stand"; changeSprite("stand"); } } }; walk.checkStand = function () { if ((_this.controls.left == false) && (_this.controls.right == false)) { state = "stand"; changeSprite("stand"); hasBoosted = false; image.image_mc._colorTransform = {bb:0}; streak.particlesPerFrame = 0; } }; walk.checkJump = function () { if (_this.controls.jump && (!lastSpace)) { state = "jumpFlip"; changeSprite("jumpFlip"); sound_jump.remove(); sound_jump = SOUND.play("sound\\metroid_jumpFlip.mp3", 100, true); var _local1 = (_this.controls.run ? 6 : 4); jumpFlip.maxJumpMove = walkSpeed * 0.6; yVel = -jumpSpeed; } }; walk.checkDuck = function () { var _local3 = _this.controls.left || (_this.controls.right); var _local1 = _this.controls.down; if (_local1 && (!_local3)) { state = ""; changeSprite("startDuck"); var _local2 = function () { state = "duck"; changeSprite("duck"); }; setTimeout(_local2, 34); xVel = 0; if (isBoosting) { storedBoost = 180; sound_storedBoost.remove(); sound_storedBoost = SOUND.play("sound\\metroid_speedBoostStored.mp3", 100, true); } } }; walk.checkFall = function () { if (hasBoostAttack) { var _local6 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local6 = ["collide"]; } var _local4 = squareCollide("down", 0, true, null, _local6); var _local5 = Math.abs(xVel) / xVel; var _local3 = !pointCollide("down", 0, _local5 * 20); var _local2 = Math.abs(xVel) >= 5; var _local1 = _local2 && (_local3); if ((_local4 && (!_local1)) && (!spriteLand)) { state = "jump"; changeSprite("slip"); walk.hasBoosted = false; jump.maxJumpMove = walkSpeed; _y = (_y + 8); gravity(); } }; jump = {}; jump.minDelay = 3; jump.minTimer = jump.minDelay; jump.maxJumpMove = 4; jump.loop = function () { jump.appearance(); boostAppearance(); setAttacks(["stomp"]); boostAttack(); tempInvincibilty(); jump.hitCeiling(); jump.move(); gravity(); applyVelocity(); jump.checkMorph(); jump.checkShoot(); jump.checkStand(); attack.doAttacks(); }; jump.appearance = function () { if (image.charset == "samus_jump") { if ((yVel > 0) && (jump.lastVel <= 0)) { changeSprite("fall"); } jump.lastVel = yVel; } }; jump.hitCeiling = function () { if (yVel < 0) { var _local2 = !_this.controls.jump; var _local1 = squareCollide("up", 1, false, 0, ["collide", "activate"]); if (_local2 && (lastSpace)) { yVel = 0; } if (_local1) { yVel = 0; _y = (((_local1.yTile + 1) * 16) + hit._height); } } }; jump.move = function () { if (_this.controls.left) { image.setDirection(dir_left); if (xVel > (-jump.maxJumpMove)) { xVel = xVel - acceleration; } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < jump.maxJumpMove) { xVel = xVel + acceleration; } } if (hasBoostAttack) { var _local2 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local2 = ["collide"]; } if (xVel < 0) { var _local1 = squareCollide("left", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = (((_local1.xTile + 1) * 16) + _local3); } } if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = ((((_local1.xTile - 1) * 16) + 16) - _local3); } } }; jump.checkMorph = function () { if (jump.canMorph) { if (_this.controls.down && (lastDown == false)) { jump.canMorph = false; state = "morphJump"; changeSprite("startMorph"); var _local1 = function () { if (state == "morphJump") { changeSprite("morphBall"); } }; setTimeout(_local1, 70); } } }; jump.aimPose = function () { var _local1 = false; var _local4 = _this.controls.aimUp; var _local3 = _this.controls.aimDown; var _local2 = _this.controls.left || (_this.controls.right); var _local5 = _this.controls.up; if ((_local4 && (_local3)) || (_local5 && (!_local2))) { changeSprite("jump_up"); jump.canMorph = false; _local1 = true; } else if ((_this.controls.down && (!_local2)) && (image.charset != "samus_startMorph")) { changeSprite("jump_down"); jump.canMorph = true; _local1 = true; } else if (_local4 || (_local5 && (_local2))) { changeSprite("jump_upSlant"); jump.canMorph = false; _local1 = true; } else if (_local3 || (_this.controls.down && (_local2))) { changeSprite("jump_downSlant"); jump.canMorph = false; _local1 = true; } if (((!_local5) && (lastUp)) && (!_local2)) { changeSprite("jump_shoot"); } if ((((!_local4) && (!_local3)) && (jump.lastAimUp || (jump.lastAimDown))) && (!jump.canMorph)) { changeSprite("jump_shoot"); } jump.lastAimUp = _local4; jump.lastAimDown = _local3; return(_local1); }; jump.checkShoot = function () { var _local2 = jump.aimPose(); var _local1 = checkShoot(); if (_local1 && (!_local2)) { changeSprite("jump_shoot"); } }; jump.checkStand = function () { if (yVel >= 0) { if (hasBoostAttack) { var _local4 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local4 = ["collide"]; } var _local1 = squareCollide("down", [1, 2], false, null, _local4); if (_local1 || (spriteLand)) { state = "stand"; changeSprite("land"); var _local2 = function () { if (state == "stand") { changeSprite("stand"); } }; setTimeout(_local2, 70); yVel = 0; if (spriteLand) { _y = (Math.round(_y / 16) * 16); } else { if (_local1) { var _local3 = _local1; } if (cloudCollide) { var _local3 = cloudCollide; } yVel = 0; _y = (((_local3.yTile - 1) * 16) + 16); } SOUND.play("sound\\metroid_landing.mp3"); jump.canMorph = false; } } }; jumpFlip = {}; jumpFlip.minDelay = 3; jumpFlip.minTimer = jumpFlip.minDelay; jumpFlip.maxjumpFlipMove = 4; jumpFlip.loop = function () { boostAppearance(); setAttacks(["stomp"]); boostAttack(); tempInvincibilty(); jumpFlip.hitCeiling(); jumpFlip.move(); gravity(); jumpFlip.wallJump(); applyVelocity(); jumpFlip.checkShoot(); jumpFlip.checkStand(); attack.doAttacks(); }; jumpFlip.hitCeiling = function () { if (yVel < 0) { var _local2 = !_this.controls.jump; if (hasBoostAttack) { var _local3 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local3 = ["collide", "activate"]; } var _local1 = squareCollide("up", 1, false, 0, _local3); if (_local2 && (lastSpace)) { yVel = 0; } if (_local1) { yVel = 0; _y = (((_local1.yTile + 1) * 16) + hit._height); } } }; jumpFlip.move = function () { if (_this.controls.left) { image.setDirection(dir_left); if (xVel > (-jumpFlip.maxjumpFlipMove)) { xVel = xVel - (acceleration * 1.5); } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < jumpFlip.maxjumpFlipMove) { xVel = xVel + (acceleration * 2); } } if (hasBoostAttack) { var _local2 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local2 = ["collide"]; } if (xVel < 0) { var _local1 = squareCollide("left", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = (((_local1.xTile + 1) * 16) + _local3); } } if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = ((((_local1.xTile - 1) * 16) + 16) - _local3); } } }; jumpFlip.wallJump = function () { var _local1 = ((image.direction == 0) ? -1 : 1); var _local4 = _x + (16 * (-_local1)); var _local5 = _y - 8; var _local2 = Math.floor(_local4 / 16); var _local3 = Math.floor(_local5 / 16); var _local6 = MAP.collision_array[_local2][_local3]; var _local10 = _local6 == 1; var _local7 = _this.controls.jump && (!lastSpace); if (_local10 && (_local7)) { if (storedBoost == 0) { xVel = 5 * _local1; yVel = -(jumpSpeed * 0.8); changeSprite("wallJump"); smoke.particlesPerFrame = 1; sound_jump.remove(); var _local9 = function () { if (state == "jumpFlip") { changeSprite("jumpFlip"); sound_jump = SOUND.play("sound\\metroid_jumpFlip.mp3", 100, true); } }; var _local8 = function () { smoke.particlesPerFrame = 0; }; setTimeout(_local9, 100); setTimeout(_local8, 25); SOUND.play("sound\\metroid_landing.mp3"); } else { startBoostJump(); sound_jump.remove(); } } }; jumpFlip.aimPose = function () { var _local1 = false; var _local4 = _this.controls.aimUp; var _local3 = _this.controls.aimDown; var _local2 = _this.controls.left || (_this.controls.right); if ((_local4 && (_local3)) || (_this.controls.up && (!_local2))) { changeSprite("jump_up"); jump.canMorph = false; _local1 = true; } else if (_this.controls.down && (!_local2)) { changeSprite("jump_down"); jump.canMorph = true; _local1 = true; } else if (_local4 || (_this.controls.up && (_local2))) { changeSprite("jump_upSlant"); jump.canMorph = false; _local1 = true; } else if (_local3 || (_this.controls.down && (_local2))) { changeSprite("jump_downSlant"); jump.canMorph = false; _local1 = true; } return(_local1); }; jumpFlip.checkShoot = function () { var _local2 = jumpFlip.aimPose(); var _local1 = checkShoot(); if (_local1) { changeSprite("jump_shoot"); } if (_local2 || (_local1)) { state = "jump"; sound_jump.remove(); } }; jumpFlip.checkStand = function () { if (yVel >= 0) { if (hasBoostAttack) { var _local4 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local4 = ["collide"]; } var _local1 = squareCollide("down", [1, 2], false, null, _local4); if (_local1 || (spriteLand)) { state = "stand"; changeSprite("land"); var _local2 = function () { if (state == "stand") { changeSprite("stand"); } }; setTimeout(_local2, 70); yVel = 0; if (spriteLand) { _y = (Math.round(_y / 16) * 16); } else { if (_local1) { var _local3 = _local1; } if (cloudCollide) { var _local3 = cloudCollide; } yVel = 0; _y = (((_local3.yTile - 1) * 16) + 16); } SOUND.play("sound\\metroid_landing.mp3"); sound_jump.remove(); } } }; duck = {}; duck.loop = function () { boostAppearance(); setAttacks(["stomp"]); duck.decellerate(); duck.checkShoot(); tempInvincibilty(); applyVelocity(); duck.checkWalk(); duck.checkStand(); duck.checkFall(); duck.checkJump(); duck.checkMorph(); attack.doAttacks(); }; duck.decellerate = function () { xVel = xVel * 0.97; if (Math.abs(xVel) < 1) { xVel = 0; } if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide"]); if (_local2) { xVel = 0; } } else if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; } } }; duck.aimPose = function () { var _local3 = false; var _local2 = _this.controls.aimUp; var _local1 = _this.controls.aimDown; if (_local2 && (_local1)) { changeSprite("duck_up"); _local3 = true; } else if (_local2) { changeSprite("duck_upSlant"); _local3 = true; } else if (_local1) { changeSprite("duck_downSlant"); _local3 = true; } if (((!_local2) && (!_local1)) && (duck.lastAimUp || (duck.lastAimDown))) { changeSprite("duck"); } duck.lastAimUp = _local2; duck.lastAimDown = _local1; return(_local3); }; duck.checkShoot = function () { var _local2 = duck.aimPose(); var _local1 = checkShoot(); }; duck.checkWalk = function () { var _local1 = !squareCollide("up", 1, false, 4); delete thisCollision; if (_this.controls.left) { var thisCollision = squareCollide("left", 1, false, 1); image.setDirection(dir_left); } if (_this.controls.right) { var thisCollision = squareCollide("right", 1, false, 0); image.setDirection(dir_right); } if (thisCollision != undefined) { var _local2 = thisCollision == false; } if (((_local2 == true) && (!_this.controls.down)) && (_local1)) { state = "walk"; changeSprite("walk"); } }; duck.checkStand = function () { var _local1 = squareCollide("up", 1, false, 4) == false; if ((_this.controls.up && (lastUp == false)) && (_local1)) { state = ""; changeSprite("startDuck"); var _local2 = function () { state = "stand"; changeSprite("stand"); }; setTimeout(_local2, 34); } }; duck.checkFall = function () { var _local1 = squareCollide("down", 0, true, null, ["collide"]); if (_local1 && (!spriteLand)) { state = "jump"; changeSprite("slip"); jump.maxJumpMove = walkSpeed * 0.6; yVel = 1; jump.lastVel = 1; } }; duck.checkJump = function () { var _local1 = squareCollide("up", 1, false, 4) == false; if ((_this.controls.jump && (!lastSpace)) && (_local1)) { if (storedBoost == 0) { state = "jump"; changeSprite("jump"); jump.maxJumpMove = walkSpeed * 0.6; yVel = -jumpSpeed; } else { startBoostJump(); } } }; duck.checkMorph = function () { if (_this.controls.down && (lastDown == false)) { state = ""; changeSprite("startMorph"); var _local1 = function () { state = "morphStand"; changeSprite("morphBall"); }; setTimeout(_local1, 70); } }; morphStand = {}; morphStand.loop = function () { boostAppearance(); setAttacks(["stomp"]); boostAttack(); checkBomb(); tempInvincibilty(); morphStand.decellerate(); applyVelocity(); morphStand.checkMorphWalk(); morphStand.checkDuck(); morphStand.checkFall(); attack.doAttacks(); }; morphStand.decellerate = function () { xVel = xVel * decelleration; if (Math.abs(xVel) < 1) { xVel = 0; } if (hasBoostAttack) { var _local2 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local2 = ["collide"]; } if (xVel < 0) { var _local1 = squareCollide("left", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = (((_local1.xTile + 1) * 16) + _local3); state = "morphStand"; } } if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = ((((_local1.xTile - 1) * 16) + 16) - _local3); state = "morphStand"; } } }; morphStand.checkMorphWalk = function () { delete thisCollision; if (_this.controls.left) { var thisCollision = squareCollide("left", 1, false, 1); } if (_this.controls.right) { var thisCollision = squareCollide("right", 1, false, 0); } if (thisCollision != undefined) { var _local1 = thisCollision == false; } if (_local1 == true) { state = "morphWalk"; } }; morphStand.checkDuck = function () { var _local1 = squareCollide("up", 1, false, 4) == false; if ((_this.controls.up || (_this.controls.jump && (!lastJump))) && (_local1)) { state = ""; changeSprite("endMorph"); var _local2 = function () { state = "duck"; changeSprite("duck"); }; setTimeout(_local2, 70); xVel = 0; } }; morphStand.checkFall = function () { if (hasBoostAttack) { var _local2 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local2 = ["collide"]; } var _local1 = squareCollide("down", 0, true, null, _local2); if (_local1 && (!spriteLand)) { state = "morphJump"; morphJump.maxJumpMove = walkSpeed * 0.6; } }; morphWalk = {}; morphWalk.loop = function () { boostAppearance(); setAttacks(["stomp"]); boostAttack(); checkBomb(); tempInvincibilty(); morphWalk.move(); applyVelocity(); morphWalk.checkMorphStand(); morphWalk.checkDuck(); morphWalk.checkFall(); attack.doAttacks(); }; morphWalk.move = function () { maxWalk = 6; if (_this.controls.left) { image.setDirection(dir_left); if (xVel > 0) { xVel = xVel * decelleration; } if (xVel > (-maxWalk)) { xVel = xVel - acceleration; } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < 0) { xVel = xVel * decelleration; } if (xVel < maxWalk) { xVel = xVel + acceleration; } } if (hasBoostAttack) { var _local2 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local2 = ["collide"]; } if (xVel < 0) { var _local1 = squareCollide("left", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = (((_local1.xTile + 1) * 16) + _local3); state = "morphStand"; } } if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = ((((_local1.xTile - 1) * 16) + 16) - _local3); state = "morphStand"; } } }; morphWalk.checkMorphStand = function () { if ((_this.controls.left == false) && (_this.controls.right == false)) { state = "morphStand"; } }; morphWalk.checkDuck = function () { var _local1 = squareCollide("up", 1, false, 4) == false; if ((_this.controls.up || (_this.controls.jump && (!lastJump))) && (_local1)) { state = ""; changeSprite("endMorph"); var _local2 = function () { state = "duck"; changeSprite("duck"); }; setTimeout(_local2, 67); xVel = 0; } }; morphWalk.checkFall = function () { if (hasBoostAttack) { var _local2 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local2 = ["collide"]; } var _local1 = squareCollide("down", 0, true, null, _local2); if (_local1 && (!spriteLand)) { state = "morphJump"; morphJump.maxJumpMove = walkSpeed * 0.6; yVel = yVel + 4; } }; morphJump = {}; morphJump.loop = function () { boostAppearance(); setAttacks(["stomp"]); boostAttack(); checkBomb(); tempInvincibilty(); morphJump.move(); gravity(); morphJump.hitCeiling(); applyVelocity(); morphJump.checkMorphStand(); morphJump.checkFall(); attack.doAttacks(); }; morphJump.move = function () { maxWalk = 6; if (_this.controls.left) { image.setDirection(dir_left); if (xVel > 0) { xVel = xVel * decelleration; } if (xVel > (-maxWalk)) { xVel = xVel - acceleration; } } else if (_this.controls.right) { image.setDirection(dir_right); if (xVel < 0) { xVel = xVel * decelleration; } if (xVel < maxWalk) { xVel = xVel + acceleration; } } if (hasBoostAttack) { var _local2 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local2 = ["collide"]; } if (xVel < 0) { var _local1 = squareCollide("left", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = (((_local1.xTile + 1) * 16) + _local3); } } if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, _local2); if (_local1) { xVel = 0; var _local3 = hit._width / 2; _x = ((((_local1.xTile - 1) * 16) + 16) - _local3); } } }; morphJump.hitCeiling = function () { if (yVel < 0) { if (hasBoostAttack) { var _local2 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local2 = ["collide", "activate"]; } var _local1 = squareCollide("up", 1, false, 0, _local2); if (_local1) { yVel = 0; _y = (((_local1.yTile + 1) * 16) + hit._height); } } }; morphJump.checkMorphStand = function () { if (yVel >= 0) { if (hasBoostAttack) { var _local3 = ["collide", "activate", "projectile", "bomb", "speed"]; } else { var _local3 = ["collide"]; } var _local1 = squareCollide("down", [1, 2], false, null, _local3); if (_local1 || (spriteLand)) { SOUND.play("sound\\metroid_landing.mp3"); state = "morphWalk"; changeSprite("morphBall"); if (spriteLand) { _y = (Math.round(_y / 16) * 16); } else { if (_local1) { var _local2 = _local1; } if (cloudCollide) { var _local2 = cloudCollide; } _y = (((_local2.yTile - 1) * 16) + 16); } if (yVel > 4) { yVel = -3; } else { yVel = 0; } } } }; morphJump.checkFall = function () { var _local1 = (squareCollide("up", 1, false, 24) == false) && (squareCollide("up", 1, false, 8) == false); var _local2 = _this.controls.jump && (!lastJump); if (((_this.controls.up || (_local2)) && (_local1)) && (image.charset != "samus_startMorph")) { state = ""; changeSprite("endMorph"); var _local3 = function () { state = "jump"; changeSprite("slip"); jump.maxJumpMove = walkSpeed * 0.6; }; setTimeout(_local3, 70); xVel = 0; yVel = 0; } }; startBoostJump = function () { var boostHorzSpeed = 29; var boostVertSpeed = 20; state = ""; changeSprite("jump"); setAttacks(["misc"]); var doBoost = function () { state = "boost"; image._colorTransform = {rb:0, gb:0}; image.Glow_strength = 0; image.Glow_blur = 0; streak.particlesPerFrame = 0.5; sound_boostJump = SOUND.play("sound\\metroid_speedBoostJump.mp3"); ROOT.motionBlur.active = true; LOOP.pauseObject(ROOT.motionBlur.shake, false); var _local2 = _this.controls.aimUp; var _local1 = _this.controls.aimDown; if (_local2 && (_local1)) { changeSprite("boostUp"); xVel = 0; yVel = -boostVertSpeed; } else if (_local2) { changeSprite("boostSide"); var _local3 = ((image.direction == 0) ? -1 : 1); xVel = _local3 * boostHorzSpeed; yVel = -boostVertSpeed; } else if (_local1) { changeSprite("boostSide"); var _local3 = ((image.direction == 0) ? -1 : 1); xVel = _local3 * boostHorzSpeed; yVel = boostVertSpeed; } else { if (_this.controls.left) { xVel = -boostHorzSpeed; changeSprite("boostSide"); image.setDirection(dir_left); } else if (_this.controls.right) { xVel = boostHorzSpeed; changeSprite("boostSide"); image.setDirection(dir_right); } if (_this.controls.up && (xVel != 0)) { yVel = -boostVertSpeed; } else if (_this.controls.down) { yVel = boostVertSpeed; } else if (xVel == 0) { yVel = -boostVertSpeed; changeSprite("boostUp"); } } }; var _local3 = function () { changeSprite("fall"); setTimeout(doBoost, fps * 10); image._colorTransform = {rb:0, gb:0}; image.colorTransformTo(null, 128, null, 128, null, null, null, null, 0.333333333333333, "easeOutQuad"); image.Glow_strength = 2; image.Glow_blur = 20; image.Glow_color = 16759552 /* 0xFFBB00 */; image.Glow_blurTo(0, 0.333333333333333, "easeOutQuad"); }; var fps = 33.3333333333333; setTimeout(_local3, fps * 4); hurtArea.removeMovieClip(); xVel = 0; yVel = 0; storedBoost = 0; sound_storedBoost.remove(); }; boost = {}; boost.timer = 0; boost.loop = function () { boost.flash(); setAttacks(["misc"]); boost.checkCollision(); applyVelocity(); attack.doAttacks(); }; boost.move = function () { var _local2 = 29; var _local1 = 20; }; boost.flash = function () { if (boost.timer == 0) { image.image_mc._colorTransform = {rb:190, gb:190}; image.image_mc.colorTransformTo(null, 0, null, 0, null, null, null, null, 0.1); boost.timer = 3; } boost.timer--; }; boost.checkCollision = function () { var _local1 = false; var _local7 = 16; if (xVel < 0) { var _local2 = squareCollide("left", 1, false, null, ["collide", "activate", "projectile", "bomb", "speed"]); if (_local2) { xVel = 0; var _local6 = hit._width / 2; _x = (((_local2.xTile + 1) * 16) + _local6); _local1 = true; } } if (xVel > 0) { var _local2 = squareCollide("right", 1, false, null, ["collide", "activate", "projectile", "bomb", "speed"]); if (_local2) { xVel = 0; var _local6 = hit._width / 2; _x = ((((_local2.xTile - 1) * 16) + 16) - _local6); _local1 = true; } } if (yVel < 0) { var _local4 = yVel; var _local3 = squareCollide("up", 1, false, null, ["collide", "activate", "projectile", "bomb", "speed"]); yVel = _local4; if (_local3) { yVel = 0; _y = (((_local3.yTile + 1) * 16) + hit._height); _local1 = true; } } if (yVel > 0) { var _local3 = squareCollide("down", 1, false, null, ["collide", "activate", "projectile", "bomb", "speed"]); if (_local3) { yVel = 0; _y = (((_local3.yTile - 1) * 16) + 16); _local1 = true; } } if (_local1) { state = ""; var _local5 = function () { addHurtArea(); state = "jump"; changeSprite("slip"); jump.maxJumpMove = walkSpeed * 2; }; setTimeout(_local5, 1000); streak.particlesPerFrame = 0; sound_boostJump.remove(); SOUND.play("sound\\metroid_bomb.mp3"); xVel = 0; yVel = 0; ROOT.motionBlur.active = false; LOOP.pauseObject(ROOT.motionBlur.shake, true); } }; flinch = {}; flinch.loop = function () { flinch.runOnce(); setAttacks(["none"]); tempInvincibilty(); gravity(); flinch.wallCollision(); flinch.hitCeiling(); applyVelocity(); flinch.checkStand(); attack.doAttacks(); }; flinch.runOnce = function () { if (!flinch.hasRunOnce) { _this._brightness = 66; com.mosesSupposes.fuse.ZigoEngine.doTween(_this, "_brightness", 0, 0.1, "linear"); invincibility.time = invincibility.maxTime; var _local1 = ((image.direction == 1) ? 1 : -1); xVel = 4 * (-_local1); yVel = -5; SOUND.play("sound\\metroid_samusFlinch.mp3"); } flinch.hasRunOnce = true; }; flinch.wallCollision = function () { if (xVel < 0) { var _local1 = squareCollide("left", 1, false, null, ["collide"]); if (_local1) { xVel = 0; var _local2 = hit._width / 2; _x = (((_local1.xTile + 1) * 16) + _local2); } } if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; var _local2 = hit._width / 2; _x = ((((_local1.xTile - 1) * 16) + 16) - _local2); } } }; flinch.hitCeiling = function () { if (yVel < 0) { var _local1 = squareCollide("up", 1, false, null, ["collide", "activate"]); if (_local1) { yVel = 0; _y = (((vertCollide.yTile + 1) * 16) + hit._height); } } }; flinch.checkStand = function () { if (yVel >= 0) { var _local1 = squareCollide("down", [1, 2], false, null, ["collide"]); if (_local1 || (spriteLand)) { state = "stand"; changeSprite("stand"); yVel = 0; if (spriteLand) { _y = (Math.round(_y / 16) * 16); } else { if (_local1) { var _local2 = _local1; } if (cloudCollide) { var _local2 = cloudCollide; } yVel = 0; _y = (((_local2.yTile - 1) * 16) + 16); } SOUND.play("sound\\metroid_landing.mp3"); flinch.hasRunOnce = false; } } }; morphFlinch = {}; morphFlinch.loop = function () { morphFlinch.runOnce(); setAttacks(["none"]); tempInvincibilty(); gravity(); morphFlinch.wallCollision(); morphFlinch.hitCeiling(); applyVelocity(); morphFlinch.checkStand(); attack.doAttacks(); }; morphFlinch.runOnce = function () { if (!morphFlinch.hasRunOnce) { _this._brightness = 66; com.mosesSupposes.fuse.ZigoEngine.doTween(_this, "_brightness", 0, 0.1, "linear"); invincibility.time = invincibility.maxTime; var _local1 = ((image.direction == 1) ? 1 : -1); xVel = 4 * (-_local1); yVel = -5; SOUND.play("sound\\metroid_samusFlinch.mp3"); } morphFlinch.hasRunOnce = true; }; morphFlinch.wallCollision = function () { if (xVel < 0) { var _local1 = squareCollide("left", 1, false, null, ["collide"]); if (_local1) { xVel = 0; var _local2 = hit._width / 2; _x = (((_local1.xTile + 1) * 16) + _local2); } } if (xVel > 0) { var _local1 = squareCollide("right", 1, false, null, ["collide"]); if (_local1) { xVel = 0; var _local2 = hit._width / 2; _x = ((((_local1.xTile - 1) * 16) + 16) - _local2); } } }; morphFlinch.hitCeiling = function () { if (yVel < 0) { var _local1 = squareCollide("up", 1, false, null, ["collide", "activate"]); if (_local1) { yVel = 0; _y = (((vertCollide.yTile + 1) * 16) + hit._height); } } }; morphFlinch.checkStand = function () { if (yVel >= 0) { var _local1 = squareCollide("down", [1, 2], false, null, ["collide"]); if (_local1 || (spriteLand)) { state = "morphStand"; yVel = 0; if (spriteLand) { _y = (Math.round(_y / 16) * 16); } else { if (_local1) { var _local2 = _local1; } if (cloudCollide) { var _local2 = cloudCollide; } yVel = 0; _y = (((_local2.yTile - 1) * 16) + 16); } SOUND.play("sound\\metroid_landing.mp3"); morphFlinch.hasRunOnce = false; } } }; addHit = function () { if (_this.hit == undefined) { _this.attachMovie("hitArea", "hit", nextDepth(_this)); } var _local1 = image.charset; if ((_local1 == "samus_morphBall") || (_local1 == "samus_startMorph")) { hit._height = 14; } else if ((_local1 == "samus_jumpFlip") || (_local1 == "samus_wallJump")) { hit._height = 24; } else if ((((((((((_local1 == "samus_duck") || (_local1 == "samus_jump")) || (_local1 == "samus_jump_up")) || (_local1 == "samus_jump_down")) || (_local1 == "samus_jump_upSlant")) || (_local1 == "samus_jump_downSlant")) || (_local1 == "samus_fall")) || (_local1 == "samus_slip")) || (_local1 == "samus_endMorph")) || (_local1 == "samus_boostSide")) { hit._height = 30; } else { hit._height = 40; } }; addHit(); addHurtArea = function () { if (_this.hurtArea == undefined) { _this.attachMovie("hitArea", "hurtArea", nextDepth(_this)); hurtArea._height = hit._height; } }; addHurtArea(); setAttacks = function (type) { if (_this.attack == undefined) { _this.attack = _this.attachMovie("attackArea", "attack", nextDepth(_this)); } _this.attack.type = type; attack._height = hit._height; }; setAttacks(["none"]); changeSprite("stand"); image.direction = dir_right; state = "stand"; lastSpace = true; smoke = new ParticleSystem(_this, {image:"particle_smoke", scaleVariation:0.3, life:10, speed:1, particlesPerFrame:0, angle:90, spread:10, fadeOutFrames:10, growFrames:5}); streak = new ParticleSystem(_this, {image:"particle_streak", life:5, speed:0, particlesPerFrame:0, fadeOutFrames:5, customData:{parent:_this}});
Symbol 314 MovieClip [samusBomb] Frame 1
function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } _this = this; makeSprite(_this, "samus_bomb", "image", 1, 10, 10, 4, 1, 1, 1, 3); image._y = 1; image.animType = "loop"; halfHeight = 4; image._y = halfHeight; spinFast = function () { image.setSpeed(1); setTimeout(boom, 500); }; boom = function () { if (PLAYER.hit.hitTest(hit)) { PLAYER.yVel = -6; } var _local1 = nextDepth(SPRITES); var _local2 = "explosion_" + _local1; SPRITES.attachMovie("metroidBombExplosion", _local2, _local1, {_x:_x, _y:_y}); _this.removeMovieClip(); }; setTimeout(spinFast, 1000);
Symbol 315 MovieClip [samusShot] Frame 1
_this = this; speed = ((speed != undefined) ? (speed) : 9); velocity = (velocity ? (velocity) : (new flash.geom.Point(0, 0))); direction = (direction ? (direction) : 0); xVel = ((xVel != undefined) ? (xVel) : 0); yVel = ((yVel != undefined) ? (yVel) : 0); xVel = xVel + (speed * velocity.x); yVel = yVel + (speed * velocity.y); ROOT.pause.addObject(_this, "sprites"); function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } changeSprite = function (newCharset, newDirection) { if (newCharset != lastCharset) { newDirection = ((newDirection != undefined) ? (newDirection) : (direction)); if (!(newCharset === "samus_normalShot")) { } else { var _local3 = 2; var _local4 = 1; var _local8 = "loop"; var _local5 = 10; var _local2 = 10; var _local6 = 8; } image.removeMovieClip(); makeSprite(_this, newCharset, "image", 1, _local5, _local2, _local3, _local6, 1, 1, _local4); image._y = (_local2 / 2) + 1; _this.image.setDirection(newDirection); image.animType = _local8; } lastCharset = newCharset; }; hitBlock = function (direction, effect_array, offset) { offset = ((offset != undefined) ? (offset) : 1); var _local17 = 2; var affectedBlocks = []; var _local10 = function (xTile, yTile) { var _local4 = true; var _local3 = BLOCKS[xTile][yTile]; if (_local3) { for (var _local7 in affectedBlocks) { if (affectedBlocks[_local7] == _local3) { _local4 = false; break; } } affectedBlocks.push(_local3); if (_local4) { var _local1 = 0; while (_local1 < effect_array.length) { _local3 = BLOCKS[xTile][yTile]; var _local2 = effect_array[_local1]; _local3.react[_local2](_this, direction); _local1++; } } } }; switch (direction) { case "up" : var _local26 = true; break; case "down" : _local26 = true; break; case -1 : case "left" : var _local27 = true; break; case 1 : case "right" : _local27 = true; } if (_local26) { var _local5 = []; var _local18 = Math.round((hit._width - (_local17 * 2)) / 16); var _local20 = (hit._width / 2) - _local17; var _local8 = 0; while (_local8 < _local18) { var _local25 = (_x - _local20) + (_local8 * 16); _local5.push(_local25); _local8++; } var _local25 = _x + _local20; _local5.push(_local25); var _local21 = 1 + Math.floor(Math.abs(yVel / 16)); var _local22 = Math.abs(yVel) - ((_local21 - 1) * 16); var _local1 = 0; while (_local1 < _local21) { if (direction == "up") { var _local13 = -hit._height; var _local9 = -1; } else { var _local13 = 0; var _local9 = 1; } var _local3 = _y + _local13; _local3 = _local3 + ((_local1 * 16) * _local9); _local3 = _local3 + (_local22 * _local9); _local3 = _local3 + (offset * _local9); var _local2 = Math.floor(_local3 / 16); _local8 = 0; while (_local8 < _local5.length) { var _local4 = _local5[_local8]; var _local12 = Math.floor(_local4 / 16); _local10(_local12, _local2); _local8++; } _local1++; } } if (_local27) { var _local6 = []; var _local21 = Math.round((hit._height - (_local17 * 2)) / 16); var _local1 = 0; while (_local1 < _local21) { var _local25 = (_y - (_local1 * 16)) - _local17; _local6.push(_local25); _local1++; } var _local25 = (_y - hit._height) + _local17; _local6.push(_local25); var _local18 = 1 + Math.floor(Math.abs(xVel / 16)); var _local23 = Math.abs(xVel) - ((_local18 - 1) * 16); if ((direction == "left") || (direction == -1)) { var _local11 = -1; } else { var _local11 = 1; } var _local8 = 0; while (_local8 < _local18) { var _local13 = (hit._width / 2) * _local11; var _local4 = _x + _local13; _local4 = _local4 + (_local11 * (_local8 * 16)); _local4 = _local4 + (_local11 * _local23); _local4 = _local4 + (offset * _local11); var _local12 = Math.floor(_local4 / 16); _local1 = 0; while (_local1 < _local6.length) { var _local3 = _local6[_local1]; var _local2 = Math.floor(_local3 / 16); _local10(_local12, _local2); _local1++; } _local8++; } } if (affectedBlocks.length > 0) { return(true); } return(false); }; applyVelocity = function () { _x = (_x + xVel); _y = (_y + yVel); }; die = function () { state = ""; var _local1 = nextDepth(SPRITES); var _local2 = "explosion_" + _local1; var _local3 = SPRITES.attachMovie("smallExplosion", _local2, _local1, {_x:_x, _y:_y}); remove(); }; remove = function () { _this.removeMovieClip(); }; loop = function () { _this[state].loop(); }; active = {}; active.loop = function () { active.spriteCollision(); attack.doAttacks(); active.hitBlocks(); active.mapCollision(); applyVelocity(); }; active.spriteCollision = function () { if (parent == PLAYER) { var _local1 = 0; while (_local1 < SPRITE_LIST.length) { var _local2 = SPRITE_LIST[_local1]; if (_local2 != parent) { if (hit.hitTest(_local2.hurtArea)) { state = ""; setTimeout(die, 1); } } _local1++; } } else if (hit.hitTest(PLAYER.hurtArea)) { state = ""; setTimeout(die, 1); } }; active.hitBlocks = function () { var _local2 = Math.floor(_x / 16); var _local3 = Math.floor(_y / 16); var _local1 = BLOCKS[_local2][_local3]; if (_local1) { _local1.react.projectile(); state = ""; setTimeout(die, 1); } }; active.mapCollision = function () { var _local2 = Math.floor(_x / 16); var _local3 = Math.floor(_y / 16); var _local1 = MAP.collision_array[_local2][_local3]; if ((_local1 != 0) && (_local1 != 2)) { state = ""; setTimeout(die, 1); } if (_local1 == undefined) { remove(); } }; changeSprite(charset, direction); state = "active"; attack.type = ["projectile"]; attack.playerOnly = parent != PLAYER; attack.parent = parent;
Symbol 316 MovieClip [scroll] Frame 1
_this = this; target = PLAYER; loop = function () { _this._x = PLAYER._x; _this._y = PLAYER._y; MAP.scroll(_this._x, _this._y, ROOT.width, ROOT.height, 0.2); };
Symbol 317 MovieClip [spiny] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } stop(); _this = this; xVel = data.xVel; xVel = ((xVel != undefined) ? (xVel) : -1); yVel = 0; walkSpeed = Math.abs(xVel); spriteLand = false; dir_left = 0; dir_right = 1; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } changeSprite = function (newPose) { if (_this.image == undefined) { makeSprite(_this, "spiny_walk", "image", 1, 16, 16, 1, 2, 1, 1, 1); _this.image._y = 0; } if (newPose != lastPose) { var _local6 = _this.image.direction; switch (newPose) { case "walk" : var _local5 = "spiny_walk"; var _local3 = 2; var _local4 = 3; var _local8 = "loop"; var _local1 = 18; var _local2 = 18; break; case "die" : _local5 = "spiny_die"; _local3 = 1; _local4 = 3; _local8 = "once"; _local1 = 18; _local2 = 18; } _this.image.imageOffsetX = (-_local1) / 2; _this.image.imageOffsetY = -(_local2 - 1); _this.image.setCharset(_local5, _local1, _local2, _local3, _local8, _local4); _this.image.setDirection(_local6); } _this.lastPose = newPose; }; cornerCollide = function (direction, findCollision, bothTrue, offset) { offset = ((offset != undefined) ? (offset) : 0); var _local2 = hit._width / 2; var _local3 = hit._height; var _local1 = 1; switch (direction) { case "up" : var _local7 = (_x - _local2) + _local1; var _local6 = (_x + _local2) - _local1; var _local22 = ((_y - _local3) + yVel) - offset; var _local10 = {x:_local7, y:_local22}; var _local9 = {x:_local6, y:_local22}; break; case "down" : _local7 = (_x - _local2) + _local1; _local6 = (_x + _local2) - _local1; var _local17 = (_y + yVel) + offset; _local10 = {x:_local7, y:_local17}; _local9 = {x:_local6, y:_local17}; break; case -1 : case "left" : _local7 = ((_x - _local2) + xVel) - offset; _local22 = (_y - _local3) + _local1; var _local21 = _y - (_local3 / 2); _local17 = _y - _local1; _local10 = {x:_local7, y:_local22}; _local9 = {x:_local7, y:_local17}; var _local8 = {x:_local7, y:_local21}; break; case 1 : case "right" : _local6 = ((_x + _local2) + xVel) + offset; _local22 = (_y - _local3) + _local1; _local21 = _y - (_local3 / 2); _local17 = _y - _local1; _local10 = {x:_local6, y:_local22}; _local9 = {x:_local6, y:_local17}; _local8 = {x:_local6, y:_local21}; } var _local20 = Math.floor(_local10.x / 16); var _local19 = Math.floor(_local10.y / 16); var _local15 = Math.floor(_local9.x / 16); var _local14 = Math.floor(_local9.y / 16); var _local18 = Math.floor(_local8.x / 16); var _local16 = Math.floor(_local8.y / 16); var _local13 = MAP.collision_array[_local20][_local19]; var _local11 = MAP.collision_array[_local15][_local14]; var _local12 = MAP.collision_array[_local18][_local16]; _local12 = ((_local12 != undefined) ? (_local12) : false); if (bothTrue) { var _local23 = ((_local13 == findCollision) && (_local11 == findCollision)) && (_local12 == findCollision); } else { var _local23 = ((_local13 == findCollision) || (_local11 == findCollision)) || (_local12 == findCollision); } return(_local23); }; pointCollide = function (direction, findCollision, xOffset, yOffset) { xOffset = ((xOffset != undefined) ? (xOffset) : 0); yOffset = ((yOffset != undefined) ? (yOffset) : 0); var _local3 = hit._width / 2; var _local4 = hit._height / 2; var _local10 = 1; switch (direction) { case "up" : var _local9 = _x + xOffset; var _local8 = ((_y - hit._height) + yVel) + yOffset; break; case "down" : _local9 = _x + xOffset; _local8 = (_y + yVel) + yOffset; break; case -1 : case "left" : _local9 = ((_x - _local3) + xVel) + xOffset; _local8 = (_y - _local4) + yOffset; break; case 1 : case "right" : _local9 = ((_x + _local3) + xVel) + xOffset; _local8 = (_y - _local4) + yOffset; } var _local6 = Math.floor(_local9 / 16); var _local7 = Math.floor(_local8 / 16); var _local5 = MAP.collision_array[_local6][_local7]; return(_local5 == findCollision); }; gravity = function () { if (yVel < ROM.maxGravity) { yVel = yVel + ROM.gravity; } }; applyVelocity = function () { _x = (_x + xVel); _y = (_y + yVel); }; react = {}; react.misc = function (attacker) { changeSprite("die"); hit.removeMovieClip(); hurtArea.removeMovieClip(); attack.removeMovieClip(); SOUND.play("sound\\marioKill.mp3"); yVel = -5; loop = die.loop; }; react.stomp = function (attacker) { var _local1 = attacker._y - _this._y; if ((_local1 < 0) && (attacker.yVel >= 0)) { hurtArea.removeMovieClip(); setTimeout(addHurtArea, 34); } }; react.projectile = react.misc; react.spike = function (attacker) { }; react.instantDeath = function () { state = "die"; }; walk = {}; walk.loop = function () { walk.appearance(); state = "walk"; walk.move(); walk.hitCeiling(); gravity(); walk.fall(); setAttacks(["spike", "misc"]); applyVelocity(); _this.attack.doAttacks(); }; walk.appearance = function () { changeSprite("walk"); if (xVel > 0) { image.direction = dir_right; } else { image.direction = dir_left; } }; walk.move = function () { var _local1 = Math.abs(xVel) / xVel; var _local5 = hit._height / 2; var _local2 = pointCollide(_local1, 1, 0, -4); var _local4 = pointCollide("down", 1, 0, 4); var _local3 = pointCollide("down", 2, 0, 4); if ((_local4 || (_local3)) || (spriteLand)) { xVel = walkSpeed * _local1; } if (_local2) { xVel = xVel * -1; _x = ((Math.floor(_x / 16) * 16) + 8); } }; walk.hitCeiling = function () { if (yVel < 0) { var _local1 = pointCollide("up", 1, 0, 1); if (_local1) { SOUND.play("sound\\marioHitBlock.mp3"); yVel = 0; _y = ((Math.floor(_y / 16) * 16) + 8); } } }; walk.fall = function () { var _local2 = cornerCollide("down", 1, false, 8); var _local1 = cornerCollide("down", 2, false, 8); if (spriteLand == true) { } else if (_local2 || (_local1)) { yVel = 0; _y = ((Math.floor(_y / 16) * 16) + 15); var _local3 = Math.abs(xVel) / xVel; xVel = walkSpeed * _local3; } spriteLand = false; }; die = {}; die.loop = function () { die.disappear(); state = "die"; hit.removeMovieClip(); attack.removeMovieClip(); gravity(); applyVelocity(); _this.attack.doAttacks(); }; die.disappear = function () { var _local1 = MAP.height * 16; var _local2 = (_y - 16) < _local1; if (!_local2) { SPRITE_LIST.removeSprite(_this); LOOP.removeObject(_this); _this.removeMovieClip(); } }; addHit = function () { if (_this.hit == undefined) { _this.attachMovie("hitArea", "hit", nextDepth(_this), {_y:0}); } }; addHit(); addHurtArea = function () { if (_this.hurtArea == undefined) { _this.attachMovie("hitArea", "hurtArea", nextDepth(_this), {_y:0}); } }; addHurtArea(); setAttacks = function (type) { if (_this.attack == undefined) { _this.attachMovie("attackArea", "attack", nextDepth(_this), {_y:0}); } _this.attack.type = type; _this.attack.playerOnly = true; }; setAttacks(["none"]); changeSprite("walk"); image.direction = ((xVel > 0) ? (dir_right) : (dir_left)); loop = walk.loop; SPRITE_LIST.push(_this);
Symbol 319 MovieClip [blankBlock] Frame 1
_this = this; xVel = 0; yVel = 0; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); MAP.collision_array[xTile][yTile] = 1;
Symbol 320 MovieClip [brickBlock] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); BLOCKS[xTile][yTile] = _this; xVel = 0; yVel = 0; react = {}; react.collide = function (sprite, dir) { }; react.activate = function (sprite, dir) { if (dir == "up") { sprite.yVel = 3; } bump(); }; react.projectile = function (sprite, dir) { }; react.bomb = function (sprite, dir) { die(); }; react.speed = function (sprite, dir) { die(); }; clearArea = function () { var _local2 = _x - 8; var _local1 = _y - 8; var _local3 = new flash.geom.Rectangle(_local2, _local1, 16, 16); MAP.layer0_pic.fillRect(_local3, 0); }; bump = function () { if (!isBumping) { isBumping = true; SOUND.play("sound\\marioHitBlock.mp3"); setAttacks(["misc"]); attack.parent = PLAYER; attack.doAttacks(); var _local1 = function () { image.slideTo(null, 0, 0.066, "easeOutQuad"); setTimeout(bounceDown, 66); }; var bounceDown = function () { image.slideTo(null, 7, 0.066, "easeInQuad"); setTimeout(bumpDone, 66); }; var bumpDone = function () { isBumping = false; setAttacks(["none"]); }; _local1(); } }; die = function () { SOUND.play("sound\\marioBrick.mp3"); var _local1 = nextDepth(SPRITES); var _local2 = "brickPieces_" + _local1; var _local3 = ((Math.random() < 0.5) ? -100 : 100); SPRITES.attachMovie("brickPieces", _local2, _local1, {_x:_x, _y:_y, _xscale:_local3}); setAttacks(["misc"]); attack.parent = PLAYER; attack.doAttacks(); remove(); }; remove = function () { var _local1 = Math.floor(_x / 16); var _local2 = Math.floor((_y - 8) / 16); MAP.collision_array[_local1][_local2] = 0; BLOCKS[_local1][_local2] = null; _this.removeMovieClip(); }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } makeSprite(_this, "block_brick", "image", 1, 18, 18, 4, 1, 1, 1, 3); image._y = 7; image.animType = "loop"; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); MAP.collision_array[xTile][yTile] = 1; clearArea(); setAttacks = function (type) { if (_this.attack == undefined) { _this.attachMovie("attackArea", "attack", nextDepth(_this), {_y:-16, _height:8}); } _this.attack.type = type; _this.attack.playerOnly = false; }; setAttacks(["none"]);
Symbol 321 MovieClip [prizeBlock] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; charset = data.charset; hasCollision = data.hasCollision; item = data.item; visible = data.visible; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); BLOCKS[xTile][yTile] = _this; xVel = 0; yVel = 0; react = {}; react.collide = function (sprite, dir) { }; react.activate = function (sprite, dir) { if (!((dir == "up") && (sprite.yVel > 0))) { if (dir == "up") { sprite.yVel = 3; } bump(); makeItem(item); } }; react.projectile = function (sprite, dir) { }; react.bomb = function (sprite, dir) { bump(); }; react.speed = function (sprite, dir) { bump(); }; makeItem = function (itemId) { if ((!isEmerging) && (itemId)) { isEmerging = true; var _local1 = nextDepth(SPRITES); var _local3 = "item_" + _local1; var newItem = SPRITES.attachMovie(itemId, _local3, _local1); newItem._x = _x; newItem._y = _y; newItem._visible = false; var _local2 = function () { if (newItem.emerge) { newItem._visible = true; newItem.emerge(); LOOP.addObject(newItem, "sprites"); } else { LOOP.removeObject(newItem, "sprites"); newItem.setMask(itemMask); newItem._visible = true; var _local2 = _y - 14; var _local1 = function () { newItem.setMask(null); LOOP.addObject(newItem, "sprites"); }; ZigoEngine.doTween(newItem, "_y", _local2, 0.5, "easeOutQuad", 0, _local1); SOUND.play("sound\\marioEmerge.mp3"); } }; setTimeout(_local2, 1); } }; clearArea = function () { var _local2 = _x - 8; var _local1 = _y - 8; var _local3 = new flash.geom.Rectangle(_local2, _local1, 16, 16); MAP.layer0_pic.fillRect(_local3, 0); }; remove = function () { BLOCKS[xTile][yTile] = null; _this.removeMovieClip(); }; die = function () { var _local1 = nextDepth(SPRITES); var _local2 = "block_" + _local1; SPRITES.attachMovie("blankBlock", _local2, _local1, {_x:_x, _y:_y}); remove(); }; bump = function () { if (!isBumping) { _visible = true; isBumping = true; clearArea(); image.setCharset("block_blank", 18, 18); image.animFrame = 0; image.maxAnimFrames = 1; SOUND.play("sound\\marioHitBlock.mp3"); setAttacks(["misc"]); attack.parent = PLAYER; attack.doAttacks(); setAttacks(["none"]); var _local1 = function () { image.slideTo(null, 0, 0.066, "easeOutQuad"); setTimeout(bounceDown, 66); }; var bounceDown = function () { image.slideTo(null, 7, 0.066, "easeInQuad"); setTimeout(bumpDone, 66); }; var bumpDone = function () { isBumping = false; die(); }; _local1(); } }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } charset = ((charset != undefined) ? (charset) : "block_prize"); hasCollision = ((hasCollision != undefined) ? (hasCollision) : true); _visible = ((visible != undefined) ? (visible) : true); makeSprite(_this, charset, "image", 1, 18, 18, 4, 1, 1, 1, 3); image._y = 7; image.animType = "loop"; if (hasCollision) { var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); MAP.collision_array[xTile][yTile] = 1; } setAttacks = function (type) { if (_this.attack == undefined) { _this.attachMovie("attackArea", "attack", nextDepth(_this), {_y:-16, _height:8}); } _this.attack.type = type; _this.attack.playerOnly = false; }; setAttacks(["none"]);
Symbol 322 MovieClip [bombBlock] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; tempBreak = data.tempBreak; visible = data.visible; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); BLOCKS[xTile][yTile] = _this; xVel = 0; yVel = 0; react = {}; react.collide = function (sprite, dir) { }; react.activate = function (sprite, dir) { }; react.projectile = function (sprite, dir) { clearArea(); _visible = true; image.setCharset("block_bomb", 18, 18); image.animFrame = 0; image.maxAnimFrames = 1; }; react.bomb = function (sprite, dir) { breakBlock(); }; react.speed = function (sprite, dir) { }; clearArea = function () { var _local2 = _x - 8; var _local1 = _y - 8; var _local3 = new flash.geom.Rectangle(_local2, _local1, 16, 16); MAP.layer0_pic.fillRect(_local3, 0); }; breakBlock = function () { _visible = true; if (!isBreaking) { var breakStart = function () { SOUND.play("sound\\metroid_blockBreak.mp3"); var _local1 = Math.floor(_x / 16); var _local2 = Math.floor((_y - 8) / 16); MAP.collision_array[_local1][_local2] = 0; BLOCKS[_local1][_local2] = null; clearArea(); image.setCharset("block_break", 18, 18); image.animFrame = 0; image.maxAnimFrames = 4; setTimeout(breakDone, 133); }; var breakDone = function () { if (tempBreak) { setTimeout(returnStart, 5000); } else { remove(); } }; var returnStart = function () { image.setCharset("block_return", 18, 18); image.animFrame = 0; image.maxAnimFrames = 3; setTimeout(returnDone, 133); }; var returnDone = function () { isBreaking = false; var _local1 = Math.floor(_x / 16); var _local2 = Math.floor((_y - 8) / 16); MAP.collision_array[_local1][_local2] = 1; BLOCKS[_local1][_local2] = _this; image.setCharset("block_bomb", 18, 18); image.animFrame = 0; image.maxAnimFrames = 1; var _local3 = hit.hitTest(PLAYER.hit); if (_local3) { breakStart(); } }; breakStart(); isBreaking = true; } }; die = function () { tempBreak = false; breakBlock(); }; remove = function () { _this.removeMovieClip(); }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } tempBreak = ((tempBreak != undefined) ? (tempBreak) : false); _visible = ((visible != undefined) ? (visible) : true); makeSprite(_this, "block_bomb", "image", 1, 18, 18, 1, 1, 1, 1, 1); image._y = 7; image.animType = "once"; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); MAP.collision_array[xTile][yTile] = 1;
Symbol 323 MovieClip [shotBlock] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; tempBreak = data.tempBreak; visible = data.visible; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); BLOCKS[xTile][yTile] = _this; xVel = 0; yVel = 0; react = {}; react.collide = function (sprite, dir) { }; react.activate = function (sprite, dir) { }; react.projectile = function (sprite, dir) { breakBlock(); }; react.bomb = function (sprite, dir) { breakBlock(); }; react.speed = function (sprite, dir) { breakBlock(); }; clearArea = function () { var _local2 = _x - 8; var _local1 = _y - 8; var _local3 = new flash.geom.Rectangle(_local2, _local1, 16, 16); MAP.layer0_pic.fillRect(_local3, 0); }; breakBlock = function () { _visible = true; if (!isBreaking) { var breakStart = function () { SOUND.play("sound\\metroid_blockBreak.mp3"); var _local1 = Math.floor(_x / 16); var _local2 = Math.floor((_y - 8) / 16); MAP.collision_array[_local1][_local2] = 0; BLOCKS[_local1][_local2] = null; clearArea(); image.setCharset("block_break", 18, 18); image.animFrame = 0; image.maxAnimFrames = 4; setTimeout(breakDone, 133); }; var breakDone = function () { if (tempBreak) { setTimeout(returnStart, 5000); } else { remove(); } }; var returnStart = function () { image.setCharset("block_return", 18, 18); image.animFrame = 0; image.maxAnimFrames = 3; setTimeout(returnDone, 133); }; var returnDone = function () { isBreaking = false; var _local1 = Math.floor(_x / 16); var _local2 = Math.floor((_y - 8) / 16); MAP.collision_array[_local1][_local2] = 1; BLOCKS[_local1][_local2] = _this; image.setCharset("block_shot", 18, 18); image.animFrame = 0; image.maxAnimFrames = 1; var _local3 = hit.hitTest(PLAYER.hit); if (_local3) { breakStart(); } }; breakStart(); isBreaking = true; } }; die = function () { tempBreak = false; breakBlock(); }; remove = function () { _this.removeMovieClip(); }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } tempBreak = ((tempBreak != undefined) ? (tempBreak) : false); _visible = ((visible != undefined) ? (visible) : true); makeSprite(_this, "block_shot", "image", 1, 18, 18, 1, 1, 1, 1, 1); image._y = 7; image.animType = "once"; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); MAP.collision_array[xTile][yTile] = 1;
Symbol 324 MovieClip [speedBlock] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; tempBreak = data.tempBreak; visible = data.visible; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); BLOCKS[xTile][yTile] = _this; xVel = 0; yVel = 0; react = {}; react.collide = function (sprite, dir) { }; react.activate = function (sprite, dir) { }; react.projectile = function (sprite, dir) { _visible = true; clearArea(); image.setCharset("block_speed", 18, 18); image.animFrame = 0; image.maxAnimFrames = 1; }; react.bomb = function (sprite, dir) { _visible = true; clearArea(); image.setCharset("block_speed", 18, 18); image.animFrame = 0; image.maxAnimFrames = 1; }; react.speed = function (sprite, dir) { breakBlock(); }; clearArea = function () { var _local2 = _x - 8; var _local1 = _y - 8; var _local3 = new flash.geom.Rectangle(_local2, _local1, 16, 16); MAP.layer0_pic.fillRect(_local3, 0); }; breakBlock = function () { _visible = true; if (!isBreaking) { var breakStart = function () { SOUND.play("sound\\metroid_blockBreak.mp3"); var _local1 = Math.floor(_x / 16); var _local2 = Math.floor((_y - 8) / 16); MAP.collision_array[_local1][_local2] = 0; BLOCKS[_local1][_local2] = null; clearArea(); image.setCharset("block_break", 18, 18); image.animFrame = 0; image.maxAnimFrames = 4; setTimeout(breakDone, 133); }; var breakDone = function () { if (tempBreak) { setTimeout(returnStart, 5000); } else { remove(); } }; var returnStart = function () { image.setCharset("block_return", 18, 18); image.animFrame = 0; image.maxAnimFrames = 3; setTimeout(returnDone, 133); }; var returnDone = function () { isBreaking = false; var _local1 = Math.floor(_x / 16); var _local2 = Math.floor((_y - 8) / 16); MAP.collision_array[_local1][_local2] = 1; BLOCKS[_local1][_local2] = _this; image.setCharset("block_speed", 18, 18); image.animFrame = 0; image.maxAnimFrames = 1; var _local3 = hit.hitTest(PLAYER.hit); if (_local3) { breakStart(); } }; breakStart(); isBreaking = true; } }; die = function () { tempBreak = false; breakBlock(); }; remove = function () { _this.removeMovieClip(); }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } tempBreak = ((tempBreak != undefined) ? (tempBreak) : false); _visible = ((visible != undefined) ? (visible) : true); makeSprite(_this, "block_speed", "image", 1, 18, 18, 1, 1, 1, 1, 1); image._y = 7; image.animType = "once"; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); MAP.collision_array[xTile][yTile] = 1;
Symbol 325 MovieClip [noteBlock] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; charset = data.sprite.charset; bounce = data.bounce; allDirections = data.allDirections; visible = data.visible; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); BLOCKS[xTile][yTile] = _this; xVel = 0; yVel = 0; react = {}; react.collide = function (sprite, dir) { bounceSprite(sprite, dir); }; react.activate = function (sprite, dir) { }; react.projectile = function (sprite, dir) { }; react.bomb = function (sprite, dir) { }; react.speed = function (sprite, dir) { }; bounceSprite = function (sprite, dir) { _visible = true; var _local1 = 0; var _local2 = 0; switch (dir) { case "down" : sprite.yVel = -bounce; if (Key.isDown(ROOT.controls.jump)) { sprite.yVel = sprite.yVel - (bounce * 0.5); } sprite._y = _this._y - 8; _local1 = 0; _local2 = -1; sprite.jump.minTimer == 0; break; case "up" : sprite.yVel = bounce; _local1 = 0; _local2 = 1; break; case -1 : case "left" : if (allDirections) { sprite.xVel = bounce; _local1 = 1; _local2 = 0; } break; case 1 : case "right" : if (!allDirections) { break; } sprite.xVel = -bounce; _local1 = -1; _local2 = 0; } if (((_local1 != 0) || (_local2 != 0)) && (!isBouncing)) { isBouncing = true; bounceAnim(_local1, _local2); SOUND.play("sound\\mario_noteBlock.mp3"); MAP.collision_array[xTile][yTile] = 0; var _local4 = function () { MAP.collision_array[xTile][yTile] = 1; }; setTimeout(_local4, 1); } }; bounceAnim = function (xDir, yDir) { var _local1 = 8; var xBump = (_local1 * xDir); var yBump = (_local1 * yDir); var _local2 = function () { ZigoEngine.doTween(image, ["_x", "_y"], [xBump, 7 - yBump], 0.066, "easeOutQuad"); setTimeout(endBounce, 66); }; var endBounce = function () { ZigoEngine.doTween(image, ["_x", "_y"], [0, 7], 0.066, "easeInQuad"); setTimeout(bounceDone, 66); }; var bounceDone = function () { isBouncing = false; }; _local2(); }; clearArea = function () { var _local2 = _x - 8; var _local1 = _y - 8; var _local3 = new flash.geom.Rectangle(_local2, _local1, 16, 16); MAP.layer0_pic.fillRect(_local3, 0); }; remove = function () { _this.removeMovieClip(); }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } charset = ((charset != undefined) ? (charset) : "block_note"); bounce = (bounce ? (bounce) : 6); allDirections = ((allDirections != undefined) ? (allDirections) : false); _visible = ((visible != undefined) ? (visible) : true); makeSprite(_this, charset, "image", 1, 18, 18, 3, 1, 1, 1, 3); image._y = 7; image.animType = "yoyo"; xTile = Math.floor(_x / 16); yTile = Math.floor(_y / 16); MAP.collision_array[xTile][yTile] = 1;
Symbol 326 MovieClip [pipe] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; _y = (_y - 8); level = ((data.level != "undefined") ? (data.level) : undefined); map = ((data.map != "undefined") ? (data.map) : undefined); x = data.x; y = data.y; _rotation = data._rotation; xVel = 0; yVel = 0; xDest = ((xDest != undefined) ? (xDest) : 2); yDest = ((yDest != undefined) ? (yDest) : 2); state = "check"; var innerPoint = (new flash.geom.Point(inner._x, inner._y)); var outerPoint = (new flash.geom.Point(outer._x, outer._y)); _this.localToGlobal(innerPoint); _this.localToGlobal(outerPoint); if (outerPoint.y < innerPoint.y) { enteranceKey = RAM.controls.down; xEnterDir = 0; yEnterDir = 1; exitPoint = new flash.geom.Point(0, 0); } else if (outerPoint.y > innerPoint.y) { enteranceKey = RAM.controls.up; xEnterDir = 0; yEnterDir = -1; exitPoint = new flash.geom.Point(0, -33); } else if (outerPoint.x < innerPoint.x) { enteranceKey = RAM.controls.right; xEnterDir = 1; yEnterDir = 0; exitPoint = new flash.geom.Point(-16, -8); } else if (outerPoint.x > innerPoint.x) { enteranceKey = RAM.controls.left; xEnterDir = -1; yEnterDir = 0; exitPoint = new flash.geom.Point(16, -8); } _this.localToGlobal(exitPoint); MAP.globalToLocal(exitPoint); loop = function () { _this[state].loop(); }; doEnter = function () { LOOP.pauseSet("pause", true); SOUND.play("sound\\mario_pipe.mp3"); PLAYER.stopLoopingSounds(); PLAYER.stopParticles(); PLAYER.hurtArea.removeMovieClip(); PLAYER.setMask(mask); var _local1 = 32; var _local3 = _x + (xEnterDir * _local1); var _local2 = _y + (yEnterDir * _local1); if (xEnterDir == 0) { _local3 = null; } if (yEnterDir == 0) { _local2 = null; } var _local4 = function () { if (level) { ROOT.teleport(level, {x:x, y:y}, "level", "fade"); } else if (map) { ROOT.teleport(level, {x:x, y:y}, "map", "fade"); } else { PLAYER.setMask(null); PLAYER._x = x + 8; PLAYER._y = y + 15; state = "check"; } }; PLAYER._x = exitPoint.x; PLAYER._y = exitPoint.y; ZigoEngine.doTween(PLAYER, ["_x", "_y"], [_local3, _local2], 1, "linear", 0, _local4); PLAYER.xVel = 0; PLAYER.yVel = 0; }; doExit = function () { SOUND.play("sound\\mario_pipe.mp3"); var _local1 = function () { PLAYER.setMask(null); PLAYER.addHurtArea(); PLAYER.changeSprite("stand"); PLAYER.state = "stand"; PLAYER.lastSpace = true; state = "check"; LOOP.pauseSet("pause", false); }; ZigoEngine.doTween(PLAYER, ["_x", "_y"], [exitPoint.x, exitPoint.y], 1, "linear", 0, _local1); }; move = {}; move.loop = function () { move.disablePlayer(); }; move.disablePlayer = function () { PLAYER.state = null; PLAYER.changeSprite("duck"); }; check = {}; check.loop = function () { check.exit(); check.enterance(); }; check.enterance = function () { if (outer.hitTest(PLAYER.hit)) { var _local1 = ((_this.x || (_this.y)) || (_this.map)) || (_this.level); if (Key.isDown(enteranceKey) && (_local1)) { state = "move"; PLAYER.changeSprite("duck"); PLAYER.state = null; doEnter(); } } }; check.exit = function () { if (inner.hitTest(PLAYER.hit)) { state = "move"; PLAYER.changeSprite("duck"); PLAYER.state = null; PLAYER.hurtArea.removeMovieClip(); PLAYER.setMask(mask); PLAYER._y = _y + 48; setTimeout(doExit, 500); } };
Symbol 333 MovieClip [slopeUp] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; _xscale = ((data.width / 16) * 100); _yscale = ((data.height / 16) * 100); xScale = _xscale / 100; yScale = _yscale / 100; xVel = 0; yVel = 0; _visible = false; xDir = ((xScale > 0) ? 1 : -1); hitWidth = 16 / Math.abs(xScale); hitHeight = 8 / Math.abs(yScale); thisWidth = 16 * xScale; thisHeight = 16 * yScale; leftPoint = new flash.geom.Point(_x, _y); rightPoint = new flash.geom.Point(_x + thisWidth, _y - thisHeight); slopeVec = new flash.geom.Point(thisWidth, -thisHeight); slopeVec.normalize(1); leftHit._width = hitWidth; leftHit._height = hitHeight; rightHit._width = 18 / Math.abs(xScale); rightHit._height = 16 + hitHeight; _this.createEmptyMovieClip("midHit", nextDepth(_this)); midHit.beginFill(65280); midHit.moveTo(0, hitHeight); midHit.lineTo(0, (-hitHeight) * 2); midHit.lineTo(16 - hitHeight, -16 - hitHeight); midHit.lineTo(16, -16 - hitHeight); midHit.lineTo(16, 0); midHit.lineTo(0, hitHeight); midHit.endFill(); midHit._alpha = 50; preHit._width = ((16 + hitWidth) + hitWidth) + 64; preHit._height = 16 + hitHeight; preHit._alpha = 20; loop = function () { affectSprites(); }; adjust = function (sprite, spritePoint) { var _local4 = sprite.hit._width / 2; if (leftHit.hitTest(spritePoint.x, spritePoint.y, false)) { sprite._y = _y - 1; sprite.spriteLand = true; sprite.yVel = 0; } else if (rightHit.hitTest(spritePoint.x + _local4, spritePoint.y, false) || (rightHit.hitTest(spritePoint.x - _local4, spritePoint.y, false))) { sprite._y = _y - thisHeight; sprite.spriteLand = true; sprite.yVel = 0; } else if (midHit.hitTest(spritePoint.x, spritePoint.y, true)) { var _local6 = (sprite._x + ((sprite.hit._width / 2) * xDir)) - _x; var _local2 = _local6 / (16 * xScale); _local2 = ((_local2 < 0) ? 0 : (_local2)); _local2 = ((_local2 > 1) ? 1 : (_local2)); var _local5 = flash.geom.Point.interpolate(rightPoint, leftPoint, _local2); sprite._y = _local5.y - 1; sprite.spriteLand = true; sprite.yVel = 0; var _local7 = (Math.abs(yScale) / Math.abs(xScale)) * 0.4; sprite.xVel = sprite.xVel + ((-_local7) * xDir); } }; affectSprites = function () { for (var _local4 in SPRITE_LIST) { var _local1 = SPRITE_LIST[_local4]; if (_local1.hit && (_local1.yVel >= 0)) { var _local3 = Math.abs(_local1.xVel); var _local2 = new flash.geom.Point(((_local1.hit._width / 2) * xDir) + _local1.xVel, 0); _local1.localToGlobal(_local2); if (preHit.hitTest(_local2.x, _local2.y, false)) { adjust(_local1, _local2); } } } };
Symbol 334 MovieClip [springBoard] Frame 1
_this = this; bounce = data.bounce; setPosition = data.setPosition; _rotation = data._rotation; bounce = (bounce ? (bounce) : 14); setPosition = (setPosition ? (setPosition) : false); isBouncing = false; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } makeSprite(_this, "sonic_springBoard.png", "image", 1, 34, 34, 3, 1, 1, 1, 1); image._y = 7; image.animType = "once"; image.animFrame = 2; var pointA = (new flash.geom.Point(0, 0)); var pointB = (new flash.geom.Point(0, -1)); _this.localToGlobal(pointA); _this.localToGlobal(pointB); bounceVector = pointB.subtract(pointA); bounceVector.normalize(1); loop = function () { checkCollision(); }; checkCollision = function () { if (!isBouncing) { for (var _local2 in SPRITE_LIST) { var _local1 = SPRITE_LIST[_local2]; if (hit.hitTest(_local1.hit)) { doBounce(_local1); } } isBouncing = true; var _local3 = function () { isBouncing = false; }; setTimeout(_local3, 100); } }; doBounce = function (sprite) { SOUND.play("sound\\sonic_springBoard.mp3"); image.animFrame = 0; sprite.jump.minTimer == 0; if (setPosition) { sprite._x = _x; sprite._y = _y; } sprite.xVel = bounceVector.x * bounce; sprite.yVel = bounceVector.y * bounce; sprite._x = sprite._x + (sprite.xVel * 2); sprite._y = sprite._y + (sprite.yVel * 2); };
Symbol 335 MovieClip [coin10Block] Frame 1
_this = this; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); BLOCKS[xTile][yTile] = _this; xVel = 0; yVel = 0; react = {}; react.collide = function (sprite, dir) { addCoin(); remove(); }; react.activate = function (sprite, dir) { }; react.projectile = function (sprite, dir) { }; react.bomb = function (sprite, dir) { }; react.speed = function (sprite, dir) { }; addCoin = function () { SOUND.play("sound\\coin.mp3"); RAM.player_obj.coins = RAM.player_obj.coins + 10; HUD.updateCoins(); }; remove = function () { var _local1 = nextDepth(SPRITES); var _local2 = "sparkle_" + _local1; SPRITES.attachMovie("grabCoin", _local2, _local1, {_x:_x, _y:_y - 8}); BLOCKS[xTile][yTile] = null; _this.removeMovieClip(); }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } makeSprite(_this, "coin10", "image", 1, 18, 18, 4, 1, 1, 1, 3); image._y = 7; image.animType = "loop"; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16);
Symbol 336 MovieClip [coinBlock] Frame 1
_this = this; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); BLOCKS[xTile][yTile] = _this; xVel = 0; yVel = 0; react = {}; react.collide = function (sprite, dir) { addCoin(); remove(); }; react.activate = function (sprite, dir) { }; react.projectile = function (sprite, dir) { }; react.bomb = function (sprite, dir) { }; react.speed = function (sprite, dir) { }; addCoin = function () { SOUND.play("sound\\coin.mp3"); RAM.player_obj.coins++; HUD.updateCoins(); }; remove = function () { var _local1 = nextDepth(SPRITES); var _local2 = "sparkle_" + _local1; SPRITES.attachMovie("grabCoin", _local2, _local1, {_x:_x, _y:_y - 8}); BLOCKS[xTile][yTile] = null; _this.removeMovieClip(); }; function makeSprite(target, newCharset, newName, depth, spriteWidth, spriteHeight, maxAnimFrames, maxDirections, maxPoseColumns, maxPoseRows, newAnimSpeed) { newName = (newName ? (newName) : (String("sprite_" + Math.round(Math.random() * 99999)))); _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 ? (depth) : (nextDepth(target))); spriteWidth = (spriteWidth ? (spriteWidth) : 24); spriteHeight = (spriteHeight ? (spriteHeight) : 32); maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 3); maxDirections = (maxDirections ? (maxDirections) : 4); maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 4); maxPoseRows = (maxPoseRows ? (maxPoseRows) : 2); newAnimSpeed = (newAnimSpeed ? (newAnimSpeed) : 3); var _this = target.createEmptyMovieClip(newName, depth); _this.createEmptyMovieClip("image_mc", 1); _this.image_mc._x = (_this.image_mc._y = 9999); _this.createEmptyMovieClip("mask_mc", 2); _this.mask_mc.beginFill(0, 0); _this.mask_mc.moveTo(0, 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.image_mc.setMask(_this.mask_mc); _this.setDirection = function (newDirection) { if (isNaN(newDirection)) { switch (newDirection) { case "up" : newDirection = 0; break; case "right" : newDirection = 1; break; case "down" : newDirection = 2; break; case "left" : newDirection = 3; } } _this.direction = newDirection; }; _this.setPose = function (newPose, newAnimType) { _this.pose = newPose; _this.animType = ((newAnimType != undefined) ? (newAnimType) : (_this.animType)); }; _this.setAnim = function (isAnimating) { if ((_this.anim == true) && (isAnimating == false)) { _this.animFrame = _this.getFirstFrame(); } _this.anim = isAnimating; }; _this.setSpeed = function (newSpeed) { newSpeed = Math.round(newSpeed); if ((newSpeed <= 0) || (newSpeed == undefined)) { newSpeed = 1; } _this.animSpeed = newSpeed; }; _this.setFrame = function (newFrame) { _this.animFrame = newFrame; }; _this.setCharset = function (newCharset, newWidth, newHeight, newFrames, newAnimType, newSpeed) { _this.charset = newCharset; if (newWidth) { _this.spriteWidth = newWidth; } if (newHeight) { _this.spriteHeight = newHeight; } if (newFrames) { _this.maxAnimFrames = newFrames; } if (newAnimType) { _this.animType = newAnimType; } if (newSpeed != undefined) { _this.setSpeed(newSpeed); } _this.setupCharset(); if (newWidth || (newHeight)) { _this.setupMask(); } _this.updateImage(); }; _this.setAll = function (charset, pose, direction, anim, frame, speed) { if (charset != undefined) { _this.setCharset(charset); } if (pose != undefined) { _this.setPose(pose); } if (direction != undefined) { _this.setDirection(direction); } if (anim != undefined) { _this.setAnim(anim); } if (frame != undefined) { _this.setFrame(frame); } if (speed != undefined) { _this.setSpeed(speed); } }; _this.getFirstFrame = function () { if ((_this.maxAnimFrames > 1) && (_this.animType == "yoyo")) { return(1); } return(0); }; _this.updateDirection = function () { _this.direction = _this.direction % _this.maxDirections; _this.y = _this.y - (_this.direction * _this.spriteHeight); }; _this.updatePose = function () { var _local4 = _this.maxPoseColumns * _this.maxPoseRows; _this.pose = _this.pose % _local4; var _local5 = _this.pose % _this.maxPoseColumns; var _local3 = _this.spriteWidth * _this.maxAnimFrames; var _local2 = Math.floor(_this.pose / _this.maxPoseColumns); var _local1 = _this.spriteHeight * _this.maxDirections; _this.x = _this.x - (_local5 * _local3); _this.y = _this.y - (_local2 * _local1); }; _this.updateAnimation = function () { if (_this.animType == "yoyo") { if (_this.animFrame >= (_this.maxAnimFrames - 1)) { _this.animDirection = -1; } else if (_this.animFrame <= 0) { _this.animDirection = 1; } } else if (_this.animType == "loop") { _this.animFrame = _this.animFrame % _this.maxAnimFrames; _this.animDirection = 1; } else if (_this.animType == "once") { if (_this.animFrame < (_this.maxAnimFrames - 1)) { _this.animDirection = 1; } else { _this.animDirection = 0; } } if (_this.firstFrameShown) { _this.x = _this.x - (_this.animFrame * _this.spriteWidth); if (_this.anim && (_this.maxAnimFrames > 1)) { _this.animFrame = _this.animFrame + _this.animDirection; } } _this.firstFrameShown = true; }; _this.setupMask = function () { _this.image_mc.setMask(_this.mask_mc); _this.mask_mc._width = _this.spriteWidth; _this.mask_mc._height = _this.spriteHeight; _this.mask_mc._x = _this.imageOffsetX; _this.mask_mc._y = _this.imageOffsetY; }; _this.setupCharset = function () { if (_this.charset != _this.oldCharset) { delete _this.last_pic; _this.last_pic = new flash.display.BitmapData(_this.mask_mc._width, _this.mask_mc._height, true, 0); var _local1 = new flash.geom.Matrix(); var _local4 = -_this.imageOffsetX; var _local3 = -_this.imageOffsetY; _local1.translate(_local4, _local3); _this.last_pic.draw(_this, _local1); removeMovieClip(_this.last_mc); _this.createEmptyMovieClip("last_mc", 0); _this.last_mc.attachBitmap(_this.last_pic, 0); _this.last_mc._x = -_local4; _this.last_mc._y = -_local3; var removeLastPic = function () { removeMovieClip(_this.last_mc); }; _this.image_mc._x = (_this.image_mc._y = 9999); var _local2 = flash.display.BitmapData.loadBitmap(_this.charset); if (_local2.width > -1) { _this.image_mc.attachBitmap(_local2, 0, true, false); _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); } else { _this.loader = new MovieClipLoader(); _this.loader.loadClip(_this.charset, _this.image_mc); _this.loader.onLoadInit = function () { _this.updateImage(); _this.animFrame = _this.getFirstFrame(); removeLastPic(); }; _this.loader.onLoadError = function () { _this.image_mc.removeMovieClip(); _this.attachMovie(_this.charset, "image_mc", 0); _this.image_mc.setMask(_this.mask_mc); removeLastPic(); delete _this.loader; }; } _this.oldCharset = _this.charset; } }; _this.lookAt = function (sprite2) { var _local3 = _this; var _local2 = sprite2._x - _local3._x; var _local1 = sprite2._y - _local3._y; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local5 = _local2 / _local4; var _local6 = _local1 / _local4; if (Math.abs(_local6) > Math.abs(_local5)) { if (_local6 < 0) { _this.setDirection("up"); } else { _this.setDirection("down"); } } else if (_local5 < 0) { _this.setDirection("left"); } else { _this.setDirection("right"); } }; _this.spriteWidth = (spriteWidth ? (spriteWidth) : 16); _this.spriteHeight = (spriteHeight ? (spriteHeight) : 16); _this.maxAnimFrames = (maxAnimFrames ? (maxAnimFrames) : 1); _this.maxDirections = (maxDirections ? (maxDirections) : 1); _this.maxPoseColumns = (maxPoseColumns ? (maxPoseColumns) : 1); _this.maxPoseRows = (maxPoseRows ? (maxPoseRows) : 1); _this.setCharset(newCharset); _this.animDirection = 1; _this.setSpeed(newAnimSpeed); _this.x = 0; _this.y = 0; _this.imageOffsetX = -1 * (spriteWidth / 2); _this.imageOffsetY = -1 * (spriteHeight - Math.round(spriteHeight / 8)); _this.animDelay = 0; _this.direction = 0; _this.pose = 0; _this.anim = true; _this.animType = "yoyo"; _this.animFrame = _this.getFirstFrame(); _this.updateImage = function () { _this.x = 0; _this.y = 0; _this.updateDirection(); _this.updatePose(); _this.updateAnimation(); _this.image_mc._x = _this.x + _this.imageOffsetX; _this.image_mc._y = _this.y + _this.imageOffsetY; }; _this.onEnterFrame = function () { _this.setupCharset(); _this.setupMask(); if (_this.animDelay == 0) { _this.updateImage(); } _this.animDelay++; _this.animDelay = _this.animDelay % _this.animSpeed; }; return(_this); } makeSprite(_this, "coin", "image", 1, 18, 18, 4, 1, 1, 1, 3); image._y = 7; image.animType = "loop"; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16);
Symbol 343 MovieClip [energyOrb] Frame 1
_this = this; xVel = 0; yVel = 0; loop = function () { checkHit(); }; checkHit = function () { if (hit.hitTest(PLAYER.hit)) { addHp(); SOUND.play("sound\\metroid_healingOrb.mp3"); _this.removeMovieClip(); } }; addHp = function () { if (RAM.player_obj.hp < RAM.player_obj.maxHp) { RAM.player_obj.hp++; } HUD.updateHp(); }; LOOP.addObject(_this, "sprites");
Symbol 349 MovieClip Frame 1
checkStop = function () { if (doStop) { stop(); } }; item = "mushroom"; checkStop();
Symbol 349 MovieClip Frame 5
item = "bigCoin"; checkStop();
Symbol 349 MovieClip Frame 9
item = "coin"; checkStop();
Symbol 349 MovieClip Frame 13
item = "1up"; checkStop();
Symbol 349 MovieClip Frame 17
item = "mushroom"; checkStop();
Symbol 349 MovieClip Frame 21
item = "coin"; checkStop();
Symbol 349 MovieClip Frame 25
item = "coin"; gotoAndPlay (1);
Symbol 353 MovieClip [goalMario] Frame 1
_this = this; loop = function () { detectHit(); }; applyItem = function (itemId) { switch (itemId) { case "coin" : SOUND.play("sound\\coin.mp3"); RAM.player_obj.coins++; HUD.updateCoins(); break; case "bigCoin" : SOUND.play("sound\\coin.mp3"); RAM.player_obj.coins = RAM.player_obj.coins + 10; HUD.updateCoins(); break; case "mushroom" : SOUND.play("sound\\mario_powerUp.mp3"); if (RAM.player_obj.hp < RAM.player_obj.maxHp) { RAM.player_obj.hp++; } HUD.updateHp(); break; case "1up" : SOUND.play("sound\\mario_1up.mp3"); RAM.player_obj.maxHp++; RAM.player_obj.hp = RAM.player_obj.maxHp; HUD.updateMaxHp(); } }; win = function () { PLAYER.die = null; PLAYER.hurtArea.removeMovieClip(); _this.loop = function () { }; SCROLLER.target = _this; itemRoulette.doStop = true; applyItem(itemRoulette.item); PLAYER.hurtArea.removeMovieClip(); PLAYER.stopLoopingSounds(); if (PLAYER.xVel < 0) { PLAYER.xVel = 0; } PLAYER.controlSource = "program"; PLAYER.resetControls(); PLAYER.controls.right = true; var _local6 = Math.floor(_x / 16); var _local5 = Math.floor((_y - 8) / 16); var _local1 = _local5; while (_local1 < MAP.height) { var _local3 = MAP.collision_array[_local6][_local1]; if ((_local3 == 1) || (_local3 == 2)) { var _local4 = _local1; break; } _local1++; } if (_local4) { var _local7 = MAP.width - 1; var _local2 = 0; while (_local2 < _local4) { MAP.collision_array[_local7][_local2] = 0; _local2++; } } SPRITES.pit.removeMovieClip(); MUSIC.stop(); SOUND.play("sound\\mario_goal.mp3"); var _local8 = function () { RAM.setMapFlag = data.setMapFlag; ROOT.teleport(RAM.mapName, {x:RAM.mapLocation.x, y:RAM.mapLocation.y}, "map", "fade"); }; setTimeout(_local8, 3000); }; detectHit = function () { if (hit.hitTest(PLAYER.hit)) { win(); } };
Symbol 356 MovieClip [mushroom] Frame 1
_this = this; xVel = 1; yVel = 0; walkSpeed = 2; cornerCollide = function (direction, findCollision, bothTrue, offset) { offset = ((offset != undefined) ? (offset) : 0); var _local2 = hit._width / 2; var _local3 = hit._height; var _local1 = 1; switch (direction) { case "up" : var _local7 = (_x - _local2) + _local1; var _local6 = (_x + _local2) - _local1; var _local22 = ((_y - _local3) + yVel) - offset; var _local10 = {x:_local7, y:_local22}; var _local9 = {x:_local6, y:_local22}; break; case "down" : _local7 = (_x - _local2) + _local1; _local6 = (_x + _local2) - _local1; var _local17 = (_y + yVel) + offset; _local10 = {x:_local7, y:_local17}; _local9 = {x:_local6, y:_local17}; break; case -1 : case "left" : _local7 = ((_x - _local2) + xVel) - offset; _local22 = (_y - _local3) + _local1; var _local21 = _y - (_local3 / 2); _local17 = _y - _local1; _local10 = {x:_local7, y:_local22}; _local9 = {x:_local7, y:_local17}; var _local8 = {x:_local7, y:_local21}; break; case 1 : case "right" : _local6 = ((_x + _local2) + xVel) + offset; _local22 = (_y - _local3) + _local1; _local21 = _y - (_local3 / 2); _local17 = _y - _local1; _local10 = {x:_local6, y:_local22}; _local9 = {x:_local6, y:_local17}; _local8 = {x:_local6, y:_local21}; } var _local20 = Math.floor(_local10.x / 16); var _local19 = Math.floor(_local10.y / 16); var _local15 = Math.floor(_local9.x / 16); var _local14 = Math.floor(_local9.y / 16); var _local18 = Math.floor(_local8.x / 16); var _local16 = Math.floor(_local8.y / 16); var _local13 = MAP.collision_array[_local20][_local19]; var _local11 = MAP.collision_array[_local15][_local14]; var _local12 = MAP.collision_array[_local18][_local16]; _local12 = ((_local12 != undefined) ? (_local12) : false); if (bothTrue) { var _local23 = ((_local13 == findCollision) && (_local11 == findCollision)) && (_local12 == findCollision); } else { var _local23 = ((_local13 == findCollision) || (_local11 == findCollision)) || (_local12 == findCollision); } return(_local23); }; pointCollide = function (direction, findCollision, xOffset, yOffset) { xOffset = ((xOffset != undefined) ? (xOffset) : 0); yOffset = ((yOffset != undefined) ? (yOffset) : 0); var _local3 = hit._width / 2; var _local4 = hit._height / 2; var _local10 = 1; switch (direction) { case "up" : var _local9 = _x + xOffset; var _local8 = ((_y + hit._height) + yVel) + yOffset; break; case "down" : _local9 = _x + xOffset; _local8 = (_y + yVel) + yOffset; break; case -1 : case "left" : _local9 = ((_x - _local3) + xVel) + xOffset; _local8 = (_y - _local4) + yOffset; break; case 1 : case "right" : _local9 = ((_x + _local3) + xVel) + xOffset; _local8 = (_y - _local4) + yOffset; } var _local6 = Math.floor(_local9 / 16); var _local7 = Math.floor(_local8 / 16); var _local5 = MAP.collision_array[_local6][_local7]; return(_local5 == findCollision); }; addHp = function () { if (RAM.player_obj.hp < RAM.player_obj.maxHp) { RAM.player_obj.hp++; } HUD.updateHp(); }; gravity = function () { if (yVel < ROM.maxGravity) { yVel = yVel + ROM.gravity; } }; applyVelocity = function () { _x = (_x + xVel); _y = (_y + yVel); }; loop = function () { move(); fall(); hitCeiling(); applyVelocity(); checkHit(); }; move = function () { var _local1 = Math.abs(xVel) / xVel; var _local3 = hit._height / 2; var _local2 = pointCollide(_local1, 1); xVel = walkSpeed * _local1; if (_local2) { xVel = walkSpeed * (-_local1); _x = ((Math.floor(_x / 16) * 16) + 8); } }; fall = function () { var _local2 = pointCollide("down", 1, 0, 9); var _local1 = pointCollide("down", 2, 0, 9); if (spriteLand == true) { } else if (_local2 || (_local1)) { yVel = 0; _y = ((Math.floor(_y / 16) * 16) + 9); var _local3 = Math.abs(xVel) / xVel; xVel = walkSpeed * _local3; } else { gravity(); } spriteLand = false; }; hitCeiling = function () { if (yVel < 0) { var _local1 = pointCollide("up", 1, 0, 8); if (_local1) { SOUND.play("sound\\marioHitBlock.mp3"); yVel = 0; _y = (_y + 8); } } }; checkHit = function () { if (hit.hitTest(PLAYER.hit)) { addHp(); SOUND.play("sound\\mario_powerUp.mp3"); _this.removeMovieClip(); } };
Symbol 357 MovieClip [pit] Frame 1
loop = function () { checkFall(); }; checkFall = function () { for (var _local3 in SPRITE_LIST) { var _local1 = SPRITE_LIST[_local3]; var _local2 = (_local1.image.spriteHeight ? (_local1.image.spriteHeight) : 0); if ((_local1._y - _local2) > (MAP.height * 16)) { if (_local1 == PLAYER) { killPlayer(); } else { killSprite(_local1); } } } }; killPlayer = function () { LOOP.pauseSet("scroll", true); PLAYER._y = PLAYER._y + 1000; PLAYER.die(); }; killSprite = function (thisSprite) { LOOP.removeObject(thisSprite, "npc"); SPRITE_LIST.removeSprite(thisSprite); thisSprite.removeMovieClip(); };
Symbol 361 MovieClip [particle_smoke] Frame 1
_rotation = (Math.random() * 360);
Symbol 364 MovieClip Frame 10
gotoAndPlay (1);
Symbol 365 MovieClip [particle_sparkle] Frame 10
gotoAndPlay (1);
Symbol 366 MovieClip [particle_streak] Frame 1
stop(); parent = particleData.parent; var wid = parent.image.mask_mc._width; var hei = parent.image.mask_mc._height; var image_pic = (new flash.display.BitmapData(wid, hei, true, 16711680)); var copyArea = (new flash.geom.Matrix()); copyArea.translate(wid / 2, hei); image_pic.draw(parent.image, copyArea); this.createEmptyMovieClip("image_mc", 0); image_mc.attachBitmap(image_pic, 0, true, true); image_mc._x = -(wid / 2); image_mc._y = -hei;
Symbol 385 MovieClip Frame 1
_this = this; xHpOffset = 16; yHpOffset = 32; hpDistance = 16; updateHp = function () { hpMask._height = hpDistance * RAM.player_obj.hp; }; updateMaxHp = function () { emptyHearts.removeMovieClip(); fullHearts.removeMovieClip(); _this.createEmptyMovieClip("emptyHearts", nextDepth(_this)); _this.createEmptyMovieClip("fullHearts", nextDepth(_this)); emptyHearts._x = (fullHearts._x = xHpOffset); emptyHearts._y = (fullHearts._y = yHpOffset); var _local1 = 0; while (_local1 < RAM.player_obj.maxHp) { var _local3 = 0; var _local2 = _local1 * hpDistance; var _local7 = nextDepth(emptyHearts); var _local4 = "heart_" + _local7; emptyHearts.attachMovie("mario_heartEmpty", _local4, _local7, {_x:_local3, _y:_local2}); _local7 = nextDepth(fullHearts); _local4 = "heart_" + _local7; fullHearts.attachMovie("mario_heartFull", _local4, _local7, {_x:_local3, _y:_local2}); _local1++; } var _local7 = nextDepth(_this); _this.attachMovie("mario_hpMask", "hpMask", _local7); hpMask._x = xHpOffset; hpMask._y = yHpOffset + emptyHearts._height; fullHearts.setMask(hpMask); updateHp(); }; updateCoins = function () { coins_txt.text = RAM.player_obj.coins; var _local1 = new TextFormat(); _local1.letterSpacing = 1; coins_txt.setTextFormat(_local1); }; update = function () { updateMaxHp(); updateCoins(); }; update(); _parent.update = update; _parent.updateHp = updateHp; _parent.updateMaxHp = updateMaxHp; _parent.updateCoins = updateCoins;
Symbol 394 MovieClip Frame 1
_this = this; updateHp = function () { rings_txt.text = ((RAM.player_obj.hp > 0) ? (RAM.player_obj.hp - 1) : 0); ringFlash._visible = RAM.player_obj.hp <= 1; }; updateMaxHp = function () { updateHp(); }; updateCoins = function () { coins_txt.text = RAM.player_obj.coins; }; update = function () { updateMaxHp(); updateCoins(); }; update(); _parent.update = update; _parent.updateHp = updateHp; _parent.updateMaxHp = updateMaxHp; _parent.updateCoins = updateCoins;
Symbol 413 MovieClip Frame 1
screenWidth = 20; screenHeight = 15; offset = function (x, y) { while (x < 0) { x = x + screenWidth; } while (y < 0) { y = y + screenHeight; } _x = (x % screenWidth); _y = (y % screenHeight); };
Symbol 420 MovieClip Frame 1
frameWidth = frame_mc._width; frameHeight = frame_mc._height; centerX = Math.floor(frameWidth / 2); centerY = Math.floor(frameHeight / 2); screenX = Math.floor((frameWidth - 20) / 2); screenY = Math.floor((frameHeight - 15) / 2); init = function () { var _local1 = LEVEL.levelData.map; map_pic.dispose(); delete map_pic; map_pic = new flash.display.BitmapData(_local1.width, _local1.height, false, 0); map_mc.attachBitmap(map_pic, 0); updateInterval = setInterval(update, 34); }; drawMap = function () { var _local4 = LEVEL.levelData.map; var _local5 = MAP.collision_array; var _local6 = new flash.geom.Rectangle(0, 0, _local4.width, _local4.height); map_pic.fillRect(_local6, 0); var _local2 = 0; while (_local2 < _local4.width) { var _local1 = 0; while (_local1 < _local4.height) { var _local3 = _local5[_local2][_local1]; if (_local3 == 1) { map_pic.setPixel(_local2, _local1, 16777215); } if (_local3 == 2) { map_pic.setPixel(_local2, _local1, 6710886); } _local1++; } _local2++; } }; currentTile = 0; mapMax = LEVEL.levelData.map.width * LEVEL.levelData.map.height; tilesPerFrame = 200; drawMap2 = function () { var _local4 = 0; while (_local4 < tilesPerFrame) { var _local1 = currentTile % LEVEL.levelData.map.width; var _local2 = (currentTile - _local1) / LEVEL.levelData.map.width; var _local3 = MAP.collision_array[_local1][_local2]; if (_local3 == 0) { map_pic.setPixel(_local1, _local2, 14170256); } if (_local3 == 1) { map_pic.setPixel(_local1, _local2, 16777215); } if (_local3 == 2) { map_pic.setPixel(_local1, _local2, 6710886); } currentTile++; if (currentTile >= mapMax) { currentTile = 0; } _local4++; } }; drawMap3 = function () { offsetX = Math.floor((-MAP._x) / 16); offsetY = Math.floor((-MAP._y) / 16); var _local5 = 0; while (_local5 < 20) { var _local4 = 0; while (_local4 < 15) { var _local2 = _local5 + offsetX; var _local1 = _local4 + offsetY; var _local3 = MAP.collision_array[_local2][_local1]; if (_local3 == 0) { map_pic.setPixel(_local2, _local1, 14170256); } if (_local3 == 1) { map_pic.setPixel(_local2, _local1, 16777215); } if (_local3 == 2) { map_pic.setPixel(_local2, _local1, 6710886); } _local4++; } _local5++; } }; update = function () { drawMap3(); }; positionMap = function () { map_mc._x = screenX - Math.floor((-MAP._x) / 16); map_mc._y = screenY - Math.floor((-MAP._y) / 16); }; positionGrid = function () { grid_mc.offset(map_mc._x, map_mc._y); }; detectNewMap = function () { if (MAP.metroidMapDrawn != true) { MAP.metroidMapDrawn = true; init(); } }; loop = function () { positionMap(); positionGrid(); detectNewMap(); }; removeUpdate = function () { clearInterval(updateInterval); }; onEnterFrame = loop; this.createEmptyMovieClip("test_mc", 42); onUnload = function () { removeUpdate(); };
Symbol 421 MovieClip Frame 1
_this = this; tankHp = 4; xHpOffset = 16; yHpOffset = 32; hpDistance = 16; updateHp = function () { fullMask._xscale = 100 * Math.ceil((RAM.player_obj.hp - tankHp) / tankHp); var _local1 = ((((RAM.player_obj.hp - 1) % tankHp) + 1) * 25) - 1; _local1 = ((RAM.player_obj.hp <= 0) ? 0 : (_local1)); energy_txt.text = _local1 + " "; var _local2 = new TextFormat(); _local2.letterSpacing = 2; energy_txt.setTextFormat(_local2); }; updateMaxHp = function () { emptyMask._xscale = 100 * Math.ceil((RAM.player_obj.maxHp - tankHp) / tankHp); updateHp(); }; updateCoins = function () { coins_txt.text = RAM.player_obj.coins; var _local1 = new TextFormat(); _local1.letterSpacing = 2; coins_txt.setTextFormat(_local1); }; update = function () { updateMaxHp(); updateCoins(); }; update(); _parent.update = update; _parent.updateHp = updateHp; _parent.updateMaxHp = updateMaxHp; _parent.updateCoins = updateCoins;
Symbol 422 MovieClip [hud] Frame 1
stop();
Symbol 431 MovieClip [metroidBombExplosion] Frame 1
_this = this; xVel = 0; yVel = 0; affectBlock = function (xTile, yTile, effect_array) { var _local7 = true; var _local3 = BLOCKS[xTile][yTile]; if (_local3) { var _local1 = 0; while (_local1 < effect_array.length) { _local3 = BLOCKS[xTile][yTile]; var _local2 = effect_array[_local1]; _local3.react[_local2](_this, "up"); _local1++; } } }; SOUND.play("sound\\metroid_bomb.mp3");
Symbol 431 MovieClip [metroidBombExplosion] Frame 2
attack.type = ["misc"]; attack.playerOnly = false; attack.parent = PLAYER; attack.doAttacks(); var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); var effects = ["activate", "bomb"]; var yy = -1; while (yy <= 1) { var xx = -1; while (xx <= 1) { affectBlock(xTile + xx, yTile + yy, effects); xx++; } yy++; }
Symbol 431 MovieClip [metroidBombExplosion] Frame 5
this.removeMovieClip();
Symbol 435 MovieClip [smallExplosion] Frame 1
SOUND.play("sound\\metroid_smallImpact.mp3");
Symbol 435 MovieClip [smallExplosion] Frame 7
this.removeMovieClip();
Symbol 439 MovieClip Frame 9
gotoAndPlay (1);
Symbol 440 MovieClip [brickPieces] Frame 30
this.removeMovieClip();
Symbol 460 MovieClip [blockCoin] Frame 1
emerge = true; SOUND.play("sound\\coin.mp3"); RAM.player_obj.coins++; HUD.updateCoins();
Symbol 460 MovieClip [blockCoin] Frame 13
this.removeMovieClip();
Symbol 463 MovieClip [grabCoin] Frame 9
this.removeMovieClip();
Symbol 464 MovieClip [smokePuff] Frame 1
_this = this; particles_obj = new ParticleSystem(_this, {image:"particle_smoke", scaleVariation:1, life:5, lifeVariation:5, speed:2, particlesPerFrame:5, angle:0, spread:360, fadeOutFrames:5, sprayTime:1}); particles_obj.onComplete = function () { clearInterval(particles_obj.loopInterval); _this.removeMovieClip(); };
Instance of Symbol 65 MovieClip [Button] in Symbol 465 MovieClip Frame 10
//component parameters onClipEvent (construct) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 128 MovieClip [TextArea] in Symbol 465 MovieClip Frame 10
//component parameters onClipEvent (construct) { editable = true; html = false; text = ""; wordWrap = true; maxChars = null; restrict = ""; enabled = true; password = false; visible = true; minHeight = 0; minWidth = 0; }
Symbol 466 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 467 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 467 MovieClip [transition_cut] Frame 8
play(); _parent.fadeInDone(); _parent.broadcastMessage("fadeInDone");
Symbol 467 MovieClip [transition_cut] Frame 9
stop(); this.removeMovieClip();
Symbol 468 MovieClip [transition_fade] Frame 15
stop(); _parent.fadeOutDone(); _parent.broadcastMessage("fadeOutDone");
Symbol 468 MovieClip [transition_fade] Frame 30
stop(); _parent.fadeInDone(); _parent.broadcastMessage("fadeInDone"); this.removeMovieClip();
Symbol 471 MovieClip [transition_square] Frame 24
stop(); _parent.fadeOutDone(); _parent.broadcastMessage("fadeOutDone");
Symbol 471 MovieClip [transition_square] Frame 40
stop(); _parent.fadeInDone(); _parent.broadcastMessage("fadeInDone"); this.removeMovieClip();
Symbol 476 MovieClip [brickPiece] Frame 1
_this = this; xVel = ((xVel != undefined) ? (xVel) : 0); yVel = ((xVel != undefined) ? (yVel) : 0); loop = function () { gravity(); applyVelocity(); checkMap(); }; gravity = function () { yVel = yVel + ROOT.gravity; }; applyVelocity = function () { _x = (_x + xVel); _y = (_y + yVel); }; checkMap = function () { if ((((_x < 0) || (_y < 0)) || (_x > (ROOT.map.width * 16))) || (_y > (ROOT.map.height * 16))) { _this.removeMovieClip(); } }; LOOP.addObject(_this, "npc");
Symbol 488 MovieClip Frame 100
gotoAndPlay (1);
Symbol 493 MovieClip Frame 80
gotoAndPlay (1);
Symbol 498 MovieClip Frame 70
gotoAndPlay (1);
Symbol 503 MovieClip Frame 50
gotoAndPlay (1);
Symbol 506 MovieClip [scroller] Frame 1
target = (target ? (target) : (PLAYER)); loop = function () { if (target) { _x = target._x; _y = target._y; } MAP.scroll(_x, _y, null, null, 0.2); }; LOOP.addObject(this, "scroll"); loop(); MAP.scroll(_x, _y); onUnload = function () { target = null; LOOP.removeObject("scroll"); };
Symbol 507 MovieClip [setMusic] Frame 1
MUSIC.play(data.file); MUSIC.songVolume = 100;
Symbol 508 MovieClip [map_path] Frame 1
_this = this; type = "path"; var xTile = Math.floor(_x / 16); var yTile = Math.floor((_y - 8) / 16); BLOCKS[xTile][yTile] = _this;
Symbol 509 MovieClip [koopa] Frame 1
_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); }; _this = this; xVel = ((data.xVel != undefined) ? (data.xVel) : -1); turnAtEdge = ((data.turnAtEdge != undefined) ? (data.turnAtEdge) : false); xDir = ((xVel == 0) ? 0 : (Math.abs(xVel) / xVel)); walkSpeed = Math.abs(xVel); yVel = 0; cornerCollide = function (direction, findCollision, bothTrue, offset) { offset = ((offset != undefined) ? (offset) : 0); var _local2 = hit._width / 2; var _local3 = hit._height; var _local1 = 1; switch (direction) { case "up" : var _local7 = (_x - _local2) + _local1; var _local6 = (_x + _local2) - _local1; var _local22 = ((_y - _local3) + yVel) - offset; var _local10 = {x:_local7, y:_local22}; var _local9 = {x:_local6, y:_local22}; break; case "down" : _local7 = (_x - _local2) + _local1; _local6 = (_x + _local2) - _local1; var _local17 = (_y + yVel) + offset; _local10 = {x:_local7, y:_local17}; _local9 = {x:_local6, y:_local17}; break; case -1 : case "left" : _local7 = ((_x - _local2) + xVel) - offset; _local22 = (_y - _local3) + _local1; var _local21 = _y - (_local3 / 2); _local17 = _y - _local1; _local10 = {x:_local7, y:_local22}; _local9 = {x:_local7, y:_local17}; var _local8 = {x:_local7, y:_local21}; break; case 1 : case "right" : _local6 = ((_x + _local2) + xVel) + offset; _local22 = (_y - _local3) + _local1; _local21 = _y - (_local3 / 2); _local17 = _y - _local1; _local10 = {x:_local6, y:_local22}; _local9 = {x:_local6, y:_local17}; _local8 = {x:_local6, y:_local21}; } var _local20 = Math.floor(_local10.x / 16); var _local19 = Math.floor(_local10.y / 16); var _local15 = Math.floor(_local9.x / 16); var _local14 = Math.floor(_local9.y / 16); var _local18 = Math.floor(_local8.x / 16); var _local16 = Math.floor(_local8.y / 16); var _local13 = MAP.collision_array[_local20][_local19]; var _local11 = MAP.collision_array[_local15][_local14]; var _local12 = MAP.collision_array[_local18][_local16]; _local12 = ((_local12 != undefined) ? (_local12) : false); if (bothTrue) { var _local23 = ((_local13 == findCollision) && (_local11 == findCollision)) && (_local12 == findCollision); } else { var _local23 = ((_local13 == findCollision) || (_local11 == findCollision)) || (_local12 == findCollision); } return(_local23); }; pointCollide = function (direction, findCollision, xOffset, yOffset) { xOffset = ((xOffset != undefined) ? (xOffset) : 0); yOffset = ((yOffset != undefined) ? (yOffset) : 0); var _local3 = hit._width / 2; var _local4 = hit._height / 2; var _local10 = 1; switch (direction) { case "up" : var _local9 = _x + xOffset; var _local8 = ((_y - hit._height) + yVel) + yOffset; break; case "down" : _local9 = _x + xOffset; _local8 = (_y + yVel) + yOffset; break; case -1 : case "left" : _local9 = ((_x - _local3) + xVel) + xOffset; _local8 = (_y - _local4) + yOffset; break; case 1 : case "right" : _local9 = ((_x + _local3) + xVel) + xOffset; _local8 = (_y - _local4) + yOffset; } var _local6 = Math.floor(_local9 / 16); var _local7 = Math.floor(_local8 / 16); var _local5 = MAP.collision_array[_local6][_local7]; return(_local5 == findCollision); }; gravity = function () { if (yVel < ROM.maxGravity) { yVel = yVel + ROM.gravity; } }; applyVelocity = function () { _x = (_x + xVel); _y = (_y + yVel); }; react = {}; react.misc = function (attacker) { state = "die"; }; react.stomp = function (attacker) { var _local8 = attacker._y - _this._y; if (_local8 < -8) { if (attacker.yVel > 0) { attacker.yVel = attacker.yVel * -1; } SOUND.play("sound\\marioStomp.mp3"); var _local6 = {xDir:0, occupied:true, turnAtEdge:data.turnAtEdge}; var _local5 = nextDepth(_parent); var _local2 = 0; while (_parent["koopaShell_" + _local2]) { _local2++; } var _local3 = "koopaShell_" + _local2; var _local7 = _parent.attachMovie("koopaShell", _local3, _local5, {data:_local6, koopaData:data, _x:_x, _y:_y}); LOOP.addObject(_local7, "sprites"); SPRITE_LIST.removeSprite(_this); LOOP.removeObject(_this); _this.removeMovieClip(); } }; react.projectile = function (attacker) { state = "die"; }; react.spike = function (attacker) { }; react.instantDeath = function () { state = "die"; }; walk = {turnAtGap:function () { if (turnAtEdge) { var _local1 = pointCollide("down", 0, 0, 2); if (_local1) { xDir = xDir * -1; xVel = walkSpeed * xDir; var _local2 = ((xDir > 0) ? "right" : "left"); image.setParams({direction:_local2}); } } }, hitWalls:function () { var _local3 = hit._height / 2; var _local1 = pointCollide(xDir, 1, 0, -4); if (_local1) { xDir = xDir * -1; xVel = walkSpeed * xDir; var _local2 = ((xDir > 0) ? "right" : "left"); image.setParams({direction:_local2}); _x = ((Math.floor(_x / 16) * 16) + 8); } }, climbHills:function () { var _local2 = pointCollide("down", 1, 0, 4); var _local1 = pointCollide("down", 2, 0, 4); if ((_local2 || (_local1)) || (spriteLand)) { xVel = walkSpeed * xDir; } }, hitCeiling:function () { if (yVel < 0) { var _local1 = pointCollide("up", 1, 0, 1); if (_local1) { SOUND.play("sound\\marioHitBlock.mp3"); yVel = 0; _y = ((Math.floor(_y / 16) * 16) + 8); } } }, fall:function () { var _local2 = cornerCollide("down", 1, false, 8); var _local1 = cornerCollide("down", 2, false, 8); if (spriteLand == true) { } else if (_local2 || (_local1)) { yVel = 0; _y = (Math.ceil(_y / 16) * 16); xVel = walkSpeed * xDir; } spriteLand = false; }}; walk.init = function () { image.setParams(pose.walk); addHit(); addHurtArea(); setAttacks(["misc"]); var _local1 = ((xDir > 0) ? "right" : "left"); image.setParams({direction:_local1}); }; walk.loop = function () { walk.turnAtGap(); walk.hitWalls(); walk.climbHills(); walk.hitCeiling(); gravity(); walk.fall(); applyVelocity(); attack.doAttacks(); }; walk.end = function () { }; die = {disappear:function () { var _local1 = MAP.height * 16; var _local2 = (_y - 32) < _local1; if (!_local2) { SPRITE_LIST.removeSprite(_this); LOOP.removeObject(_this); _this.removeMovieClip(); } }}; die.init = function () { image.setParams(pose.die); hit.removeMovieClip(); hurtArea.removeMovieClip(); attack.removeMovieClip(); yVel = -5; SOUND.play("sound\\marioKill.mp3"); }; die.loop = function () { die.disappear(); gravity(); applyVelocity(); }; die.end = function () { }; pose = {}; var initDir = ((xVel > 0) ? "right" : "left"); var redGreen = (turnAtEdge ? 1 : 0); var anim = (xDir != 0); pose.init = {charset:"charset\\koopa_walk.png", direction:initDir, directions:2, frame:0, frames:2, pose:redGreen, columns:1, rows:2, animType:"yoyo", animDirection:1, delay:4, isAnimating:anim}; pose.walk = {charset:"charset\\koopa_walk.png", directions:2, frame:0, frames:2, columns:1, rows:2, animType:"yoyo"}; pose.die = {charset:"charset\\koopa_die.png", direction:0, directions:1, frame:0, frames:1, columns:1, rows:2, animType:"yoyo"}; 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) { _this.removeSnapshot = function () { removeMovieClip(_this.previous_mc); }; 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); removeMovieClip(_this.previous_mc); _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.loader.onLoadInit = function () { _this.internal.frame = _this.init.frame; _this.updateSize(); _this.image_mc.setMask(_this.mask_mc); _this.previous_mc.removeMovieClip(); _this.image_mc._alpha = 100; _this.update(); _this.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 { _this.loader.onLoadInit(); } } else { _this.loader.onLoadInit(); } _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.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.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.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); } image = newSprite(pose.init, _this, "image", 1); image._y = 2; state = "walk"; runStateMachine = function () { if (state != lastState) { _this[lastState].end(); _this[state].init(); } lastState = state; _this[state].loop(); }; SPRITE_LIST.push(_this); loop = function () { runStateMachine(); spriteLand = false; }; addHit = function () { if (_this.hit == undefined) { _this.attachMovie("hitArea", "hit", nextDepth(_this), {_y:0}); } }; addHurtArea = function () { if (_this.hurtArea == undefined) { _this.attachMovie("hitArea", "hurtArea", nextDepth(_this), {_y:0}); hurtArea._width = 16; } }; setAttacks = function (type) { if (_this.attack == undefined) { _this.attachMovie("attackArea", "attack", nextDepth(_this), {_y:0, _height:8}); } _this.attack.type = type; _this.attack.playerOnly = true; };
Symbol 510 MovieClip [koopaShell] Frame 1
_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); }; _this = this; occupied = ((data.occupied != undefined) ? (data.occupied) : false); xDir = ((data.xDir != undefined) ? (data.xDir) : 0); turnAtEdge = ((data.turnAtEdge != undefined) ? (data.turnAtEdge) : false); moveSpeed = 8; occupyTimer = 0; occupyTime = 180; occupyWarn = 60; lastOccupyTimer = 0; xVel = 0; yVel = 0; squareCollide = function (direction, findCollision, allTrue, offset, effect_array) { var findCollision = ((typeof(findCollision) == "number") ? ([findCollision]) : (findCollision)); offset = ((offset != undefined) ? (offset) : 1); var _local21 = 2; var checkedBlocks = []; var collisionOutput = allTrue; var _local15 = function (xTile, yTile) { var _local1 = false; var _local2 = new flash.geom.Point(xTile, yTile); for (var _local3 in checkedBlocks) { if (checkedBlocks[_local3].equals(_local2)) { _local1 = true; break; } } return(_local1); }; var _local13 = function (xTile, yTile) { var _local3 = BLOCKS[xTile][yTile]; if (_local3) { checkedBlocks.push(_local3); var _local1 = 0; while (_local1 < effect_array.length) { _local3 = BLOCKS[xTile][yTile]; var _local2 = effect_array[_local1]; _local3.react[_local2](_this, direction); _local1++; } } }; var _local14 = function (xTile, yTile) { if (allTrue) { if (collisionOutput == true) { var _local4 = MAP.collision_array[xTile][yTile]; var _local1 = 0; while (_local1 < findCollision.length) { if (_local4 != findCollision[_local1]) { collisionOutput = false; } _local1++; } } } else if (collisionOutput == false) { var _local4 = MAP.collision_array[xTile][yTile]; var _local1 = 0; while (_local1 < findCollision.length) { if (_local4 == findCollision[_local1]) { collisionOutput = {xTile:xTile, yTile:yTile}; } _local1++; } } }; switch (direction) { case "up" : var _local31 = true; break; case "down" : _local31 = true; break; case -1 : case "left" : var _local32 = true; break; case 1 : case "right" : _local32 = true; } if (_local31) { var _local7 = []; var _local22 = Math.round((hit._width - (_local21 * 2)) / 16); var _local24 = (hit._width / 2) - _local21; var _local11 = 0; while (_local11 < _local22) { var _local30 = (_x - _local24) + (_local11 * 16); _local7.push(_local30); _local11++; } var _local30 = _x + _local24; _local7.push(_local30); var _local25 = 1 + Math.floor(Math.abs(yVel / 16)); var _local26 = Math.abs(yVel) - ((_local25 - 1) * 16); var _local2 = 0; while (_local2 < _local25) { if (direction == "up") { var _local17 = -hit._height; var _local12 = -1; } else { var _local17 = 0; var _local12 = 1; } var _local5 = _y + _local17; _local5 = _local5 + ((_local2 * 16) * _local12); _local5 = _local5 + (_local26 * _local12); _local5 = _local5 + (offset * _local12); var _local1 = Math.floor(_local5 / 16); _local11 = 0; while (_local11 < _local7.length) { var _local6 = _local7[_local11]; var _local3 = Math.floor(_local6 / 16); var _local4 = _local15(_local3, _local1); if (!_local4) { if (effect_array) { _local13(_local3, _local1); } _local14(_local3, _local1); checkedBlocks.push(new flash.geom.Point(_local3, _local1)); } _local11++; } _local2++; } } if (_local32) { var _local8 = []; var _local25 = Math.round((hit._height - (_local21 * 2)) / 16); var _local2 = 0; while (_local2 < _local25) { var _local30 = (_y - (_local2 * 16)) - _local21; _local8.push(_local30); _local2++; } var _local30 = (_y - hit._height) + _local21; _local8.push(_local30); var _local22 = 1 + Math.floor(Math.abs(xVel / 16)); var _local27 = Math.abs(xVel) - ((_local22 - 1) * 16); if ((direction == "left") || (direction == -1)) { var _local16 = -1; } else { var _local16 = 1; } var _local11 = 0; while (_local11 < _local22) { var _local17 = (hit._width / 2) * _local16; var _local6 = _x + _local17; _local6 = _local6 + (_local16 * (_local11 * 16)); _local6 = _local6 + (_local16 * _local27); _local6 = _local6 + (offset * _local16); var _local3 = Math.floor(_local6 / 16); _local2 = 0; while (_local2 < _local8.length) { var _local5 = _local8[_local2]; var _local1 = Math.floor(_local5 / 16); var _local4 = _local15(_local3, _local1); if (!_local4) { if (effect_array) { _local13(_local3, _local1); } _local14(_local3, _local1); checkedBlocks.push(new flash.geom.Point(_local3, _local1)); } _local2++; } _local11++; } } return(collisionOutput); }; cornerCollide = function (direction, findCollision, bothTrue, offset) { offset = ((offset != undefined) ? (offset) : 0); var _local2 = hit._width / 2; var _local3 = hit._height; var _local1 = 1; switch (direction) { case "up" : var _local7 = (_x - _local2) + _local1; var _local6 = (_x + _local2) - _local1; var _local22 = ((_y - _local3) + yVel) - offset; var _local10 = {x:_local7, y:_local22}; var _local9 = {x:_local6, y:_local22}; break; case "down" : _local7 = (_x - _local2) + _local1; _local6 = (_x + _local2) - _local1; var _local17 = (_y + yVel) + offset; _local10 = {x:_local7, y:_local17}; _local9 = {x:_local6, y:_local17}; break; case -1 : case "left" : _local7 = ((_x - _local2) + xVel) - offset; _local22 = (_y - _local3) + _local1; var _local21 = _y - (_local3 / 2); _local17 = _y - _local1; _local10 = {x:_local7, y:_local22}; _local9 = {x:_local7, y:_local17}; var _local8 = {x:_local7, y:_local21}; break; case 1 : case "right" : _local6 = ((_x + _local2) + xVel) + offset; _local22 = (_y - _local3) + _local1; _local21 = _y - (_local3 / 2); _local17 = _y - _local1; _local10 = {x:_local6, y:_local22}; _local9 = {x:_local6, y:_local17}; _local8 = {x:_local6, y:_local21}; } var _local20 = Math.floor(_local10.x / 16); var _local19 = Math.floor(_local10.y / 16); var _local15 = Math.floor(_local9.x / 16); var _local14 = Math.floor(_local9.y / 16); var _local18 = Math.floor(_local8.x / 16); var _local16 = Math.floor(_local8.y / 16); var _local13 = MAP.collision_array[_local20][_local19]; var _local11 = MAP.collision_array[_local15][_local14]; var _local12 = MAP.collision_array[_local18][_local16]; _local12 = ((_local12 != undefined) ? (_local12) : false); if (bothTrue) { var _local23 = ((_local13 == findCollision) && (_local11 == findCollision)) && (_local12 == findCollision); } else { var _local23 = ((_local13 == findCollision) || (_local11 == findCollision)) || (_local12 == findCollision); } return(_local23); }; pointCollide = function (direction, findCollision, xOffset, yOffset) { xOffset = ((xOffset != undefined) ? (xOffset) : 0); yOffset = ((yOffset != undefined) ? (yOffset) : 0); var _local3 = hit._width / 2; var _local4 = hit._height / 2; var _local10 = 1; switch (direction) { case "up" : var _local9 = _x + xOffset; var _local8 = ((_y - hit._height) + yVel) + yOffset; break; case "down" : _local9 = _x + xOffset; _local8 = (_y + yVel) + yOffset; break; case -1 : case "left" : _local9 = ((_x - _local3) + xVel) + xOffset; _local8 = (_y - _local4) + yOffset; break; case 1 : case "right" : _local9 = ((_x + _local3) + xVel) + xOffset; _local8 = (_y - _local4) + yOffset; } var _local6 = Math.floor(_local9 / 16); var _local7 = Math.floor(_local8 / 16); var _local5 = MAP.collision_array[_local6][_local7]; return(_local5 == findCollision); }; gravity = function () { if (yVel < ROM.maxGravity) { yVel = yVel + ROM.gravity; } }; applyVelocity = function () { _x = (_x + xVel); _y = (_y + yVel); }; react = {}; react.misc = function (attacker) { state = "die"; }; react.stomp = function (attacker) { var _local3 = attacker._y - _this._y; if (_local3 < -8) { if (attacker.yVel > 0) { attacker.yVel = attacker.yVel * -1; } if (state == "stopped") { if (attacker._x < _this._x) { xDir = 1; state = "moving"; SOUND.play("sound\\marioKick.mp3"); } else { xDir = -1; state = "moving"; SOUND.play("sound\\marioKick.mp3"); } } else if (state == "moving") { SOUND.play("sound\\marioStomp.mp3"); state = null; var _local2 = function (_this) { _this.state = "stopped"; }; setTimeout(_local2, 66, _this); } } }; react.projectile = function (attacker) { state = "die"; }; react.spike = function (attacker) { }; react.instantDeath = function () { state = "die"; }; stopped = {climbHills:function () { var _local2 = pointCollide("down", 1, 0, 4); var _local1 = pointCollide("down", 2, 0, 4); if ((_local2 || (_local1)) || (spriteLand)) { xVel = stoppedSpeed * xDir; } }, hitCeiling:function () { if (yVel < 0) { var _local1 = pointCollide("up", 1, 0, 1); if (_local1) { SOUND.play("sound\\marioHitBlock.mp3"); yVel = 0; _y = ((Math.floor(_y / 16) * 16) + 8); } } }, fall:function () { var _local2 = cornerCollide("down", 1, false, 8); var _local1 = cornerCollide("down", 2, false, 8); if (spriteLand == true) { } else if (_local2 || (_local1)) { yVel = 0; _y = (Math.ceil(_y / 16) * 16); xVel = stoppedSpeed * xDir; } spriteLand = false; }, occupied:function () { if (_this.occupied) { if (occupyTimer > 0) { occupyTimer--; if ((lastOccupyTimer > occupyWarn) && (occupyTimer <= occupyWarn)) { image.setParams({isAnimating:true}); } lastOccupyTimer = occupyTimer; } else { if (!koopaData) { koopaData = {}; } koopaData.turnAtEdge = data.turnAtEdge; var _local4 = nextDepth(_parent); var _local2 = 0; while (_parent["koopa_" + _local2]) { _local2++; } var _local3 = "koopa_" + _local2; var _local5 = _parent.attachMovie("koopa", _local3, _local4, {data:koopaData, _x:_x, _y:_y}); LOOP.addObject(_local5, "sprites"); SPRITE_LIST.removeSprite(_this); LOOP.removeObject(_this); _this.removeMovieClip(); } } }, playerKick:function () { var _local1 = SPRITES.player.hit.hitTest(hit); var _local2 = SPRITES.player._y - _this._y; if ((_local2 > -8) && (_local1)) { SOUND.play("sound\\marioKick.mp3"); xDir = ((SPRITES.player._x < _this._x) ? 1 : -1); state = "moving"; } }}; stopped.init = function () { image.setParams(pose.stopped); addHit(); addHurtArea(); setAttacks(["none"]); xVel = 0; lastOccupyTimer = 0; if (occupied) { occupyTimer = occupyTime; } }; stopped.loop = function () { stopped.hitCeiling(); gravity(); stopped.fall(); applyVelocity(); stopped.occupied(); stopped.playerKick(); attack.doAttacks(); }; stopped.end = function () { }; moving = {hitWalls:function () { var _local1 = squareCollide(xDir, 1, false, null, null); squareCollide(xDir, 1, false, null, ["collide", "activate", "bomb"]); if (_local1) { if (hit.hitTest(SCROLLER)) { SOUND.play("sound\\marioHitBlock.mp3"); } xDir = xDir * -1; xVel = moveSpeed * xDir; _x = ((Math.floor(_x / 16) * 16) + 8); } }, climbHills:function () { var _local2 = pointCollide("down", 1, 0, 4); var _local1 = pointCollide("down", 2, 0, 4); if ((_local2 || (_local1)) || (spriteLand)) { xVel = moveSpeed * xDir; } }, hitCeiling:function () { if (yVel < 0) { var _local1 = pointCollide("up", 1, 0, 1); if (_local1) { SOUND.play("sound\\marioHitBlock.mp3"); yVel = 0; _y = ((Math.floor(_y / 16) * 16) + 8); } } }, fall:function () { var _local2 = cornerCollide("down", 1, false, 8); var _local1 = cornerCollide("down", 2, false, 8); if (spriteLand == true) { } else if (_local2 || (_local1)) { yVel = 0; _y = (Math.ceil(_y / 16) * 16); xVel = moveSpeed * xDir; } spriteLand = false; }}; moving.init = function () { image.setParams(pose.moving); addHit(); addHurtArea(); setAttacks(["misc"]); xVel = xDir * moveSpeed; _x = (_x + (xDir * 8)); }; moving.loop = function () { if (xVel != 0) { xDir = Math.abs(xVel) / xVel; } moving.hitCeiling(); moving.hitWalls(); moving.climbHills(); gravity(); moving.fall(); applyVelocity(); attack.doAttacks(); }; moving.end = function () { }; die = {disappear:function () { var _local1 = MAP.height * 16; var _local2 = (_y - 32) < _local1; if (!_local2) { SPRITE_LIST.removeSprite(_this); LOOP.removeObject(_this); _this.removeMovieClip(); } }}; die.init = function () { image.setParams(pose.die); hit.removeMovieClip(); hurtArea.removeMovieClip(); attack.removeMovieClip(); yVel = -5; SOUND.play("sound\\marioKill.mp3"); }; die.loop = function () { die.disappear(); gravity(); applyVelocity(); }; die.end = function () { }; pose = {}; var redGreen = (turnAtEdge ? 1 : 0); pose.init = {charset:"charset\\koopa_shellWait.png", direction:0, directions:1, frame:0, frames:2, pose:redGreen, columns:1, rows:2, animType:"yoyo", animDirection:1, delay:4, isAnimating:false}; pose.stopped = {charset:"charset\\koopa_shellWait.png", direction:0, directions:1, frame:0, frames:2, columns:1, rows:2, animType:"yoyo", delay:4, isAnimating:false}; pose.moving = {charset:"charset\\koopa_shellMove.png", direction:0, directions:1, frame:0, frames:4, columns:1, rows:2, animType:"loop", delay:1, isAnimating:true}; pose.die = {charset:"charset\\koopa_die.png", direction:0, directions:1, frame:0, frames:1, columns:1, rows:2, animType:"yoyo", isAnimating:false}; 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) { _this.removeSnapshot = function () { removeMovieClip(_this.previous_mc); }; 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); removeMovieClip(_this.previous_mc); _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.loader.onLoadInit = function () { _this.internal.frame = _this.init.frame; _this.updateSize(); _this.image_mc.setMask(_this.mask_mc); _this.previous_mc.removeMovieClip(); _this.image_mc._alpha = 100; _this.update(); _this.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 { _this.loader.onLoadInit(); } } else { _this.loader.onLoadInit(); } _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.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.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.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); } image = newSprite(pose.init, _this, "image", 1); image._y = 2; state = ((xDir == 0) ? "stopped" : "moving"); runStateMachine = function () { if (state != lastState) { _this[lastState].end(); _this[state].init(); } lastState = state; _this[state].loop(); }; SPRITE_LIST.push(_this); loop = function () { runStateMachine(); spriteLand = false; }; addHit = function () { if (_this.hit == undefined) { _this.attachMovie("hitArea", "hit", nextDepth(_this), {_y:0}); } }; addHurtArea = function () { if (_this.hurtArea == undefined) { _this.attachMovie("hitArea", "hurtArea", nextDepth(_this), {_y:0}); hurtArea._width = 16; } }; setAttacks = function (type) { if (_this.attack == undefined) { _this.attachMovie("attackArea", "attack", nextDepth(_this), {_y:0, _height:8}); } _this.attack.type = type; _this.attack.playerOnly = false; };
Symbol 512 MovieClip [player] Frame 1
onEnterFrame = function () { var _local1 = 5; if (Key.isDown(38)) { _y = (_y - _local1); } if (Key.isDown(40)) { _y = (_y + _local1); } if (Key.isDown(37)) { _x = (_x - _local1); } if (Key.isDown(39)) { _x = (_x + _local1); } };
Symbol 513 MovieClip [setBackground] Frame 1
change = function (file) { BACKGROUND.file = file; }; setTimeout(change, 1, data.file);
Symbol 514 MovieClip [spikeMetroidBlock] Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } _this = this; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); BLOCKS[xTile][yTile] = _this; xVel = 0; yVel = 0; react = {}; react.collide = function (sprite, dir) { if (dir == "down") { sprite.react.spike(_this); } }; react.activate = function (sprite, dir) { }; react.projectile = function (sprite, dir) { clearArea(); _visible = true; }; react.bomb = function (sprite, dir) { }; react.speed = function (sprite, dir) { }; clearArea = function () { var _local2 = _x - 8; var _local1 = _y - 8; var _local3 = new flash.geom.Rectangle(_local2, _local1, 16, 16); MAP.layer0_pic.fillRect(_local3, 0); }; breakBlock = function () { _visible = true; if (!isBreaking) { var breakStart = function () { SOUND.play("metroid_blockBreak.WAV"); var _local1 = Math.floor(_x / 16); var _local2 = Math.floor((_y - 8) / 16); MAP.collision_array[_local1][_local2] = 0; BLOCKS[_local1][_local2] = null; clearArea(); image.setCharset("block_break", 18, 18); image.animFrame = 0; image.maxAnimFrames = 4; setTimeout(breakDone, 133); }; var breakDone = function () { if (tempBreak) { setTimeout(returnStart, 5000); } else { remove(); } }; var returnStart = function () { image.setCharset("block_return", 18, 18); image.animFrame = 0; image.maxAnimFrames = 3; setTimeout(returnDone, 133); }; var returnDone = function () { isBreaking = false; var _local1 = Math.floor(_x / 16); var _local2 = Math.floor((_y - 8) / 16); MAP.collision_array[_local1][_local2] = 1; BLOCKS[_local1][_local2] = _this; image.setCharset("block_bomb", 18, 18); image.animFrame = 0; image.maxAnimFrames = 1; var _local3 = hit.hitTest(PLAYER.hit); if (_local3) { breakStart(); } }; breakStart(); isBreaking = true; } }; die = function () { tempBreak = false; breakBlock(); }; remove = function () { _this.removeMovieClip(); }; 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) { _this.removeSnapshot = function () { removeMovieClip(_this.previous_mc); }; 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); removeMovieClip(_this.previous_mc); _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.loader.onLoadInit = function () { _this.internal.frame = _this.init.frame; _this.updateSize(); _this.image_mc.setMask(_this.mask_mc); _this.previous_mc.removeMovieClip(); _this.image_mc._alpha = 100; _this.update(); _this.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 { _this.loader.onLoadInit(); } } else { _this.loader.onLoadInit(); } _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.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.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.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); } var settings = {charset:"charset/spikeMetroid.png", direction:0, directions:1, frame:1, frames:3, pose:0, columns:1, rows:1, animType:"yoyo", animDirection:1, delay:3, isAnimating:true}; image = newSprite(settings, this, "image", 0); image._y = 7; var xTile = Math.floor(_x / 16); var yTile = Math.floor(_y / 16); MAP.collision_array[xTile][yTile] = 1;
Symbol 515 MovieClip [setFlags] Frame 1
stop(); if (!keyboard) { keyboard = {flagKey:192, onKeyUp:function () { var _local2 = Key.getCode(); if (_local2 == this.flagKey) { } }}; Key.addListener(keyboard); onUnload = function () { Key.removeListener(keyboard); }; }
Symbol 515 MovieClip [setFlags] Frame 2
stop(); close = function () { prevFrame(); }; applyFlag = function (condition, update) { getPathValue = function (path, defaultContainer) { var path = (path ? (path) : ""); var defaultContainer = (defaultContainer ? (defaultContainer) : "RAM"); if (typeof(path) == "string") { path = path.split(" ").join(""); } var startAt = path.indexOf("."); if (startAt == undefined) { var output = path; } else if (startAt == -1) { var containerIsGlobal = eval ("_global." + path); if (path == "this") { containerIsGlobal = true; } var output = (containerIsGlobal ? (eval (path)) : (eval ((defaultContainer + ".") + path))); } else { var containerEnd = path.indexOf("."); var containerName = path.substr(0, containerEnd); var containerIsGlobal = eval ("_global." + containerName); if (containerName == "this") { containerIsGlobal = true; } if (containerName == "_level0") { containerIsGlobal = true; } if (!containerIsGlobal) { path = "RAM." + path; } var output = eval (path); } return(output); }; parseVariablePaths = function (input) { var output = input; getPathValue = function (path, defaultContainer) { var path = (path ? (path) : ""); var defaultContainer = (defaultContainer ? (defaultContainer) : "RAM"); if (typeof(path) == "string") { path = path.split(" ").join(""); } var startAt = path.indexOf("."); if (startAt == undefined) { var output = path; } else if (startAt == -1) { var containerIsGlobal = eval ("_global." + path); if (path == "this") { containerIsGlobal = true; } var output = (containerIsGlobal ? (eval (path)) : (eval ((defaultContainer + ".") + path))); } else { var containerEnd = path.indexOf("."); var containerName = path.substr(0, containerEnd); var containerIsGlobal = eval ("_global." + containerName); if (containerName == "this") { containerIsGlobal = true; } if (containerName == "_level0") { containerIsGlobal = true; } if (!containerIsGlobal) { path = "RAM." + path; } var output = eval (path); } return(output); }; var bracketStartAt = 0; while (output.indexOf("[", bracketStartAt) > -1) { var bracketStartAt = output.indexOf("[", bracketStartAt); var bracketEndAt = output.indexOf("]", bracketStartAt); var paramStartAt = output.indexOf("(", bracketStartAt); var pathEndAt = (((paramStartAt == -1) || (paramStartAt > bracketEndAt)) ? (bracketEndAt) : (paramStartAt)); var path = output.substring(bracketStartAt + 1, pathEndAt); var pathType = "variable"; var objectDetect = path.indexOf(":"); if (objectDetect > -1) { var pathType = "object"; } if (pathType == "object") { var getTrueValue = function (thisValue) { var _local3 = "string"; if (!isNaN(thisValue)) { var _local2 = Number(thisValue); } else if ((thisValue == "true") || (thisValue == true)) { var _local2 = true; } else if ((thisValue == "false") || (thisValue == false)) { var _local2 = false; } else { var _local2 = String(thisValue); } return(_local2); }; var newObj = {}; var object_array = path.split(","); var i = 0; while (i < object_array.length) { var this_str = object_array[i]; var splitAt = this_str.indexOf(":"); var varName = this_str.substr(0, splitAt); var value = this_str.substr(splitAt + 1); value = getTrueValue(value); newObj[varName] = value; i++; } output = newObj; } if (pathType == "variable") { var pathValue = getPathValue(path, "RAM"); if ((paramStartAt != -1) && (paramStartAt < bracketEndAt)) { var paramEndAt = output.indexOf(")", paramStartAt); if ((paramEndAt != -1) && (paramEndAt < bracketEndAt)) { var param_str = output.substring(paramStartAt + 1, paramEndAt); var param_array = param_str.split(","); var functionResult = pathValue.apply(this, param_array); var beginning_str = output.substr(0, bracketStartAt); var end_str = output.substr(bracketEndAt + 1); output = (beginning_str + functionResult) + end_str; output = ((output == "undefined") ? undefined : (output)); } } else { var beginning_str = output.substr(0, bracketStartAt); var end_str = output.substr(bracketEndAt + 1); output = (beginning_str + pathValue) + end_str; } bracketStartAt++; } } return(output); }; var target_str = parseVariablePaths(condition[0]); var divideAt = target_str.lastIndexOf("."); if (divideAt == -1) { var varContainerName = "RAM"; var varContainer = RAM; } else { var varContainerName = target_str.substr(0, divideAt); var varContainer = getPathValue(varContainerName, "RAM"); } varName = target_str.substr(divideAt + 1); var operationDone = false; var thisValue = convertType(condition[2]); if (thisValue == "\\object") { varContainer[varName] = {}; var operationDone = true; } else if (thisValue == "\\delete") { varContainer[varName] = undefined; delete varContainer[varName]; var operationDone = true; } thisValue = parseVariablePaths(thisValue); var value = thisValue; if (!operationDone) { switch (condition[1]) { case "!=" : if (value == undefined) { if (!varContainer[varName]) { varContainer[varName] = !value; } } else { varContainer[varName] = !value; } break; case "=" : varContainer[varName] = value; break; case "+" : var bothAreNumbers = ((!isNaN(varContainer[varName])) && (!isNaN(value))); if (bothAreNumbers) { varContainer[varName] = Number(varContainer[varName]) + Number(value); } else { varContainer[varName] = String(varContainer[varName]) + String(value); } break; case "-" : varContainer[varName] = varContainer[varName] - value; break; case "*" : varContainer[varName] = varContainer[varName] * value; break; case "/" : if (value == 0) { varContainer[varName] = undefined; } else { varContainer[varName] = varContainer[varName] / value; } break; case "%" : if (value == 0) { varContainer[varName] = undefined; } else { varContainer[varName] = varContainer[varName] % value; } } if ((typeof(varContainer[varName]) == "number") && (isNaN(varContainer[varName]))) { varContainer[varName] = undefined; } } if (update) { SPRITES.updateSprites(); } }; 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) + "=undefined"; } 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); };
Instance of Symbol 128 MovieClip [TextArea] "flags_txt" in Symbol 515 MovieClip [setFlags] Frame 2
//component parameters onClipEvent (construct) { editable = true; html = false; text = ""; wordWrap = true; maxChars = null; restrict = ""; enabled = true; password = false; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 65 MovieClip [Button] in Symbol 515 MovieClip [setFlags] Frame 2
//component parameters onClipEvent (construct) { icon = ""; label = "Ok"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_click(eventObj) { var _local8 = _parent.flags_txt.text; var _local9 = String.fromCharCode(13); var _local7 = _local8.split(_local9); var _local3 = []; var _local2 = 0; while (_local2 < _local7.length) { var _local6 = _local7[_local2]; var _local5 = _parent.getFlagParts(_local6); _local3.push(_local5); _local2++; } trace(_local3); _local2 = 0; while (_local2 < _local3.length) { var _local4 = _local3[_local2]; _parent.applyFlag(_local4, false); _local2++; } SPRITES.updateSprites(); _parent.close(); } this.addEventListener("click", __f_click); }
Instance of Symbol 65 MovieClip [Button] in Symbol 515 MovieClip [setFlags] Frame 2
//component parameters onClipEvent (construct) { icon = ""; label = "Cancel"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { function __f_click(eventObj) { _parent.close(); } this.addEventListener("click", __f_click); }
Symbol 516 MovieClip [map] 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) { _this.removeSnapshot = function () { removeMovieClip(_this.previous_mc); }; 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); removeMovieClip(_this.previous_mc); _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.loader.onLoadInit = function () { _this.internal.frame = _this.init.frame; _this.updateSize(); _this.image_mc.setMask(_this.mask_mc); _this.previous_mc.removeMovieClip(); _this.image_mc._alpha = 100; _this.update(); _this.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 { _this.loader.onLoadInit(); } } else { _this.loader.onLoadInit(); } _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.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.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.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; 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.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); }; _global.MAP = makeMap("map_mc", this, 1); createBlockArray = function () { _global.BLOCKS = (_this.block = []); var _local2 = 0; while (_local2 < MAP.width) { _this.block[_local2] = new Array(MAP.height); _local2++; } }; placeSprites = function () { _global.SPRITES.removeMovieClip(); _global.SPRITES = MAP.createEmptyMovieClip("SPRITES", 11); SPRITES.spritesRemaining = []; var s = 0; while (s < levelData.sprites.length) { SPRITES.spritesRemaining.push(levelData.sprites[s]); s++; } SPRITES.spritesRemaining.remove = function (thisSprite) { for (var _local2 in SPRITES.spritesRemaining) { if (SPRITES.spritesRemaining[_local2] == thisSprite) { SPRITES.spritesRemaining.splice(_local2, 1); } } }; 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++; } }; SPRITES.updateSprites = function () { var _local9 = function (thisSprite) { var _local7 = SPRITES[thisSprite.name]; if (_local7 == undefined) { var _local10 = thisSprite.type; var _local8 = thisSprite.name; var _local4 = nextDepth(SPRITES); var _local6 = thisSprite.position.x; var _local5 = thisSprite.position.y; var _local9 = thisSprite.data; var _local3 = SPRITES.attachMovie(_local10, _local8, _local4, {_x:_local6, _y:_local5, data:_local9}); if (showSmokePuff) { _local4 = nextDepth(SPRITES); _local8 = "smoke_" + _local4; SPRITES.attachMovie("smokePuff", _local8, _local4, {_x:_local6, _y:_local5}); } _local3.remove = function () { LOOP.removeObject(this, "sprites"); SPRITES.spritesRemaining.remove(this.data); this.removeMovieClip(); }; LOOP.addObject(_local3, "sprites"); } }; var _local10 = function (thisSprite) { var _local1 = SPRITES[thisSprite.name]; if (_local1) { if (showSmokePuff) { var _local2 = nextDepth(SPRITES); var _local3 = "smoke_" + _local2; SPRITES.attachMovie("smokePuff", _local3, _local2, {_x:_local1._x, _y:_local1._y}); } LOOP.removeObject(_local1, "sprites"); _local1.removeMovieClip(); } }; var _local12 = updateFlaggedSprites(SPRITES.spritesRemaining, RAM, _local9, _local10); }; SPRITES.updateSprites(); }; placePlayer = function () { _global.PLAYER = SPRITES.attachMovie("map_player", "player", nextDepth(SPRITES), {_x:startPlace.x + 8, _y:startPlace.y + 15}); LOOP.addObject(PLAYER, "player"); }; placeScroller = function () { _global.SCROLLER = SPRITES.attachMovie("scroller", "scroller", nextDepth(SPRITES), {target:PLAYER}); LOOP.addObject(SCROLLER, "scroll"); }; convertType = function (input) { var _local1; if (input == "undefined") { _local1 = undefined; } else if (isNaN(input) == false) { _local1 = Number(input); } else if (input == "true") { _local1 = Boolean(true); } else if (input == "false") { _local1 = Boolean(false); } else { _local1 = input; } return(_local1); }; applyFlag = function (condition, update) { trace("applyFlag()"); trace(" condition[0]: " + condition[0]); trace(" condition[1]: " + condition[1]); trace(" condition[2]: " + condition[2]); getPathValue = function (path, defaultContainer) { var path = (path ? (path) : ""); var defaultContainer = (defaultContainer ? (defaultContainer) : "RAM"); if (typeof(path) == "string") { path = path.split(" ").join(""); } var startAt = path.indexOf("."); if (startAt == undefined) { var output = path; } else if (startAt == -1) { var containerIsGlobal = eval ("_global." + path); if (path == "this") { containerIsGlobal = true; } var output = (containerIsGlobal ? (eval (path)) : (eval ((defaultContainer + ".") + path))); } else { var containerEnd = path.indexOf("."); var containerName = path.substr(0, containerEnd); var containerIsGlobal = eval ("_global." + containerName); if (containerName == "this") { containerIsGlobal = true; } if (containerName == "_level0") { containerIsGlobal = true; } if (!containerIsGlobal) { path = "RAM." + path; } var output = eval (path); } return(output); }; parseVariablePaths = function (input) { var output = input; getPathValue = function (path, defaultContainer) { var path = (path ? (path) : ""); var defaultContainer = (defaultContainer ? (defaultContainer) : "RAM"); if (typeof(path) == "string") { path = path.split(" ").join(""); } var startAt = path.indexOf("."); if (startAt == undefined) { var output = path; } else if (startAt == -1) { var containerIsGlobal = eval ("_global." + path); if (path == "this") { containerIsGlobal = true; } var output = (containerIsGlobal ? (eval (path)) : (eval ((defaultContainer + ".") + path))); } else { var containerEnd = path.indexOf("."); var containerName = path.substr(0, containerEnd); var containerIsGlobal = eval ("_global." + containerName); if (containerName == "this") { containerIsGlobal = true; } if (containerName == "_level0") { containerIsGlobal = true; } if (!containerIsGlobal) { path = "RAM." + path; } var output = eval (path); } return(output); }; var bracketStartAt = 0; while (output.indexOf("[", bracketStartAt) > -1) { var bracketStartAt = output.indexOf("[", bracketStartAt); var bracketEndAt = output.indexOf("]", bracketStartAt); var paramStartAt = output.indexOf("(", bracketStartAt); var pathEndAt = (((paramStartAt == -1) || (paramStartAt > bracketEndAt)) ? (bracketEndAt) : (paramStartAt)); var path = output.substring(bracketStartAt + 1, pathEndAt); var pathType = "variable"; var objectDetect = path.indexOf(":"); if (objectDetect > -1) { var pathType = "object"; } if (pathType == "object") { var getTrueValue = function (thisValue) { var _local3 = "string"; if (!isNaN(thisValue)) { var _local2 = Number(thisValue); } else if ((thisValue == "true") || (thisValue == true)) { var _local2 = true; } else if ((thisValue == "false") || (thisValue == false)) { var _local2 = false; } else { var _local2 = String(thisValue); } return(_local2); }; var newObj = {}; var object_array = path.split(","); var i = 0; while (i < object_array.length) { var this_str = object_array[i]; var splitAt = this_str.indexOf(":"); var varName = this_str.substr(0, splitAt); var value = this_str.substr(splitAt + 1); value = getTrueValue(value); newObj[varName] = value; i++; } output = newObj; } if (pathType == "variable") { var pathValue = getPathValue(path, "RAM"); if ((paramStartAt != -1) && (paramStartAt < bracketEndAt)) { var paramEndAt = output.indexOf(")", paramStartAt); if ((paramEndAt != -1) && (paramEndAt < bracketEndAt)) { var param_str = output.substring(paramStartAt + 1, paramEndAt); var param_array = param_str.split(","); var functionResult = pathValue.apply(this, param_array); var beginning_str = output.substr(0, bracketStartAt); var end_str = output.substr(bracketEndAt + 1); output = (beginning_str + functionResult) + end_str; output = ((output == "undefined") ? undefined : (output)); } } else { var beginning_str = output.substr(0, bracketStartAt); var end_str = output.substr(bracketEndAt + 1); output = (beginning_str + pathValue) + end_str; } bracketStartAt++; } } return(output); }; var target_str = parseVariablePaths(condition[0]); var divideAt = target_str.lastIndexOf("."); if (divideAt == -1) { var varContainerName = "RAM"; var varContainer = RAM; } else { var varContainerName = target_str.substr(0, divideAt); var varContainer = getPathValue(varContainerName, "RAM"); } varName = target_str.substr(divideAt + 1); var operationDone = false; var thisValue = convertType(condition[2]); if (thisValue == "\\object") { varContainer[varName] = {}; var operationDone = true; } else if (thisValue == "\\delete") { varContainer[varName] = undefined; delete varContainer[varName]; var operationDone = true; } thisValue = parseVariablePaths(thisValue); var value = thisValue; trace(" varContainer: " + varContainer); trace(" varName: " + varName); trace(" value: " + value); if (!operationDone) { switch (condition[1]) { case "=" : varContainer[varName] = value; break; case "+" : var bothAreNumbers = ((!isNaN(varContainer[varName])) && (!isNaN(value))); if (bothAreNumbers) { varContainer[varName] = Number(varContainer[varName]) + Number(value); } else { varContainer[varName] = String(varContainer[varName]) + String(value); } break; case "-" : varContainer[varName] = varContainer[varName] - value; break; case "*" : varContainer[varName] = varContainer[varName] * value; break; case "/" : if (value == 0) { varContainer[varName] = undefined; } else { varContainer[varName] = varContainer[varName] / value; } break; case "%" : if (value == 0) { varContainer[varName] = undefined; } else { varContainer[varName] = varContainer[varName] % value; } } if ((typeof(varContainer[varName]) == "number") && (isNaN(varContainer[varName]))) { varContainer[varName] = undefined; } } if (update) { SPRITES.updateSprites(); } }; setMapFlag = function () { LOOP.pauseSet("player", true); if ((RAM.setMapFlag[0] == undefined) || (RAM.setMapFlag[0] == "")) { TRANSITION.fadeInDone = function () { LOOP.pauseSet("pause", false); LOOP.pauseSet("player", false); }; } else { MUSIC.songVolume = 0; TRANSITION.fadeInDone = function () { var _local1 = function (_this) { _this.showSmokePuff = true; _this.applyFlag(RAM.setMapFlag, true); RAM.setMapFlag = undefined; SOUND.play("sound\\ario_vanish.mp3"); MUSIC.songVolume = 100; LOOP.pauseSet("pause", false); LOOP.pauseSet("player", false); }; setTimeout(_local1, 500, _this); }; } }; LOOP.pauseSet("pause", true); MAP.onLoad = function () { createBlockArray(); placeSprites(); placePlayer(); placeScroller(); HUD.gotoAndStop("none"); setMapFlag(); TRANSITION.fadeIn(); }; MAP.drawObj(levelData.map); onUnload = function () { LOOP.removeSet("sprites"); LOOP.removeSet("player"); LOOP.removeSet("scroller"); var _local2 = function (gName) { _global[gName] = undefined; delete _global[gName]; }; _local2("MAP"); _local2("BLOCKS"); _local2("SPRITES"); _local2("PLAYER"); _local2("SCROLLER"); };
Symbol 517 MovieClip [levels\level1-1-1.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\level1-1-1.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><44 name=\"str_koopa_5\" type=\"str_koopa\" xmlType=\"object\"><editSprite charset=\"str_charset/koopa_walk.png\" direction=\"str_left\" directions=\"num_2\" frame=\"num_0\" frames=\"num_2\" pose=\"num_1\" columns=\"num_1\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1496\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" turnAtEdge=\"bol_true\" xmlType=\"object\" /></44><43 name=\"str_koopa_4\" type=\"str_koopa\" xmlType=\"object\"><editSprite charset=\"str_charset/koopa_walk.png\" direction=\"str_right\" directions=\"num_2\" frame=\"num_0\" frames=\"num_2\" pose=\"num_1\" columns=\"num_1\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_568\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_1\" turnAtEdge=\"bol_true\" xmlType=\"object\" /></43><42 name=\"str_goomba_0\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_232\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></42><41 name=\"str_koopa_3\" type=\"str_koopa\" xmlType=\"object\"><editSprite charset=\"str_charset/koopa_walk.png\" direction=\"str_left\" directions=\"num_2\" frame=\"num_0\" frames=\"num_2\" pose=\"num_1\" columns=\"num_1\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2104\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" turnAtEdge=\"bol_true\" xmlType=\"object\" /></41><40 name=\"str_koopa_2\" type=\"str_koopa\" xmlType=\"object\"><editSprite charset=\"str_charset/koopa_walk.png\" direction=\"str_left\" directions=\"num_2\" frame=\"num_0\" frames=\"num_2\" pose=\"num_1\" columns=\"num_1\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1368\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" turnAtEdge=\"bol_true\" xmlType=\"object\" /></40><39 name=\"str_koopa_1\" type=\"str_koopa\" xmlType=\"object\"><editSprite charset=\"str_charset/koopa_walk.png\" direction=\"str_left\" directions=\"num_2\" frame=\"num_0\" frames=\"num_2\" pose=\"num_1\" columns=\"num_1\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1400\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" turnAtEdge=\"bol_true\" xmlType=\"object\" /></39><38 name=\"str_koopa_0\" type=\"str_koopa\" xmlType=\"object\"><editSprite charset=\"str_charset/koopa_walk.png\" direction=\"str_left\" directions=\"num_2\" frame=\"num_0\" frames=\"num_2\" pose=\"num_1\" columns=\"num_1\" rows=\"num_2\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1432\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" turnAtEdge=\"bol_true\" xmlType=\"object\" /></38><37 name=\"str_pipe_1\" type=\"str_pipe\" xmlType=\"object\"><editSprite charset=\"str_charset/pipeIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_2272\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_\" x=\"num_0\" y=\"num_0\" _rotation=\"num_0\" xmlType=\"object\" /></37><36 name=\"str_pipe_0\" type=\"str_pipe\" xmlType=\"object\"><editSprite charset=\"str_charset/pipeIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_368\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\level1-1.lvl\" x=\"num_142\" y=\"num_8\" _rotation=\"num_0\" xmlType=\"object\" /></36><35 name=\"str_prizeBlock_8\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1448\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_mushroom\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></35><34 name=\"str_prizeBlock_7\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1480\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_springBoard\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></34><33 name=\"str_prizeBlock_6\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_712\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_blockCoin\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></33><32 name=\"str_prizeBlock_5\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_664\" y=\"num_392\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_blockCoin\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></32><31 name=\"str_prizeBlock_4\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_424\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></31><30 name=\"str_prizeBlock_3\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_mushroom\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></30><29 name=\"str_prizeBlock_2\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_232\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_energyOrb\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></29><28 name=\"str_prizeBlock_1\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_springBoard\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></28><27 name=\"str_prizeBlock_0\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_184\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_koopaShell\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></27><26 name=\"str_pit_0\" type=\"str_pit\" xmlType=\"object\"><editSprite charset=\"str_charset/pitIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1112\" y=\"num_424\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></26><25 name=\"str_setBackground_0\" type=\"str_setBackground\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_24\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data file=\"str_swf\\bg\\mario2.png\" xmlType=\"object\" /></25><24 name=\"str_setMusic_0\" type=\"str_setMusic\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_24\" y=\"num_24\" xmlType=\"object\" /><flags xmlType=\"array\" /><data file=\"str_music\\mario.mp3\" xmlType=\"object\" /></24><23 name=\"str_goalMario_0\" type=\"str_goalMario\" xmlType=\"object\"><editSprite charset=\"str_charset/marioGoalFrame.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_2728\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><setMapFlag xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_level1_1\" xmlType=\"variable\" /></setMapFlag></data></23><22 name=\"str_brickBlock_18\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2120\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></22><21 name=\"str_brickBlock_17\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2104\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></21><20 name=\"str_brickBlock_16\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2104\" y=\"num_392\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></20><19 name=\"str_brickBlock_15\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2056\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></19><18 name=\"str_brickBlock_14\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2040\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></18><17 name=\"str_brickBlock_13\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2024\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></17><16 name=\"str_brickBlock_12\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2008\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></16><15 name=\"str_brickBlock_11\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1992\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></15><14 name=\"str_brickBlock_10\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1976\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></14><13 name=\"str_brickBlock_9\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1960\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></13><12 name=\"str_brickBlock_8\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2040\" y=\"num_392\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></12><11 name=\"str_brickBlock_7\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2024\" y=\"num_392\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></11><10 name=\"str_brickBlock_6\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2008\" y=\"num_392\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></10><9 name=\"str_brickBlock_5\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1992\" y=\"num_392\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></9><8 name=\"str_brickBlock_4\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1976\" y=\"num_392\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></8><7 name=\"str_brickBlock_3\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2040\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></7><6 name=\"str_brickBlock_2\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2024\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></6><5 name=\"str_brickBlock_1\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_2008\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></5><4 name=\"str_brickBlock_0\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1992\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></4><3 name=\"str_goomba_4\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1784\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></3><2 name=\"str_goomba_3\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_904\" y=\"num_392\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></2><1 name=\"str_goomba_2\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_776\" y=\"num_392\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></1><0 name=\"str_goomba_1\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_536\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></0></sprites><map format=\"num_2\" width=\"num_180\" height=\"num_27\" chipset=\"str_chipset\\mario.png\" collision=\"str__111111111111111111111111111100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000010001100000000000000000000010001100000000000000000000000001100000000000000000010000001100000000000000000010002001100000000000000000000002001100000000000000000000202001100000000000000000000200001100000000000000000000200001100000000000000000000000001100000000000000000000000001100000000000000000000001111100000000000000000000001111100000000000000000000000001100000000000000000000002001100000000000000000001002001100000000000000000000002001100000000000000000000002001100000000000000000000202001100000000000000000000200001100000000000000000000200001100000000000000000020200201100000000000000000020000201100000000000000000020000201100000000000000000020000201100000000000000000000000201100000000000000000000000201100000000000000000000000001100000000000000000000000011100000000000000000000000011100000000000000000000000111100000000000000000000000011100000000000000000000000011100000000000000000000010011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000011100000000000000000000000000100000000000000000000000000100000000000000000000000000100000000000000000000000000100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000201100000000000000000000000201100000000000000000000020201100000000200000000000020201100000000200000000002020201100000000200000000002020201100000000200000000002020201100000000000000000002020001100000000000000000002020001100000000000200000002000001100000000000200000002000001100000001000200000000000001100000000000200000000000001100000000000000000000001001100000000002000000000000001100000000002000000000100000100000000002000000000100000100000000002000000000000001100000000002000000000000001100000000002000000000000011100000000002000000000000111100000000002000000000001111100000000002000000000000000100000000002000000000000000100000000002000000000000000100000000002000000000001111100000000002000000000000111100000000000000000000000011100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000111100000000000000000000000111100000000000000000000000001100000000000000000000000001100000000000000000000001111100000000000000000000001111100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000011100000000000000000000000111100000000000000000000001111100000000000000000000001111100000000000000000000001111100000000000000000000001111100000000000000000000000011100000000000000000000000001100000000000000000000000001100000000000000000000000111100000000000000000000000011100000000000000000000000001100000000000000000000002001100000000000000000000002001100000000000000002000002001100000000000000002000000001100000000000000002000000001100000000000000000000000001100000000000000000000000000100000011111111111110001111100000011111111111110001111100000000000000000000000001100000000000000000000000001100000000000000000000000111100000000000000000000000111100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001100000000000000000000000001111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><1 value=\"str__0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000323100000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000031000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000003100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"; data_txt = data_txt + "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000313v00000000000000000000000000000000000000000000000000323w00000000000000000000000000000000000000000000000032313v00000000000000000000000000000000000000000000000000323w000000000000000000000000000000000000000000000000003v3v00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000313v0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000313v00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002z3t3t3t000000000000000000000000000000000000000000002z323w3w3w000000000000000000000000000000000000002z3t3t323w3w3w3w0000000000000000000000000000000000000030313v3v3v3v3v3v0000000000000000000000000000000000000000303u3u3u3u313v00000000000000000000000000000000000000000000000000303u00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__6o6o6o6o6o6o6o6o6o6o6o6o6o6o0000000000000000000000000q6o6o6o6o6o6o6o6o6o6o6o6o6o6o0000000000000000002z3t3t0r6o6o6o6o6o6o6o6o6o6o6o6o6o6o00000000000000002z3v3w3v0r6o6o6o6o6o6o6o6o6o6o6o6o00000000000000000000303u3w3w0r6o6o6o6o6o6o6o6o6o6o6o6o00000000000000000000002z3v3v0r6o6o6o6o6o6o6o6o6o6o6o6o0000000000000000000000303w3w0r6o6o6o6o6o6o6o6o6o6o6o6o00000000000000000000002z3v3v0r6o6o6o6o6o6o6o6o6o6o6o6o0000000000000000000000303w3v0r6o6o6o6o6o6o6o6o6o6o6o6o000000000000000000000000303u0r6o6o6o6o6o6o6o6o6o6o6o6o00000000000000000000000000000r6o6o6o6o6o6o6o6o6o6o6o6o000000000000000000000000004n0r6o6o6o6o6o6o6o6o6o6o6o6o000000000000000000000200004n0r6o6o6o6o6o6o6o6o6o6o6o6o000000000000000000000200004n0r6o6o6o6o6o6o6o6o6o6o6o6o00000000000000000000000000000r6o6o6o6o6o6o6o6o6o6o6o6o00000000000000020000000000000r6o6o6o6o6o6o6o6o6o6o6o6o000000000000000200000008121w0r6o6o6o6o6o6o6o6o6o6o6o6o6o6o00000000000000000009131x0r6o6o6o6o6o6o6o6o6o6o6o6o6o6o000000000000000g1a0a141y0r6o6o6o6o6o6o6o6o6o6o6o6o6o6o000000000000000h1b0j1d270r6o6o6o6o6o6o6o6o6o6o6o6o6o6o000000000000000i1c1c1c260r00000000000000000000000000000000000000000000000000000r00000000000000000000000000000000000000000000000000000r0000000000000000000000000000000000000000000000040y0y0r0000000000000000000000000000000000000000000000050z0z0r00000000000000000000000000000000000000000000000000000r00000000000000000000000000000000000000000000000c16200r00000000000000000000000000000000000000000200000d17210r00000000000000000000000000000000000000000000000d17210r00000000000000000000000000000000000000000000000d17210r00000000000000000000000000000000000000000008120e18220r00000000000000000000000000000000000000000009130b151z0r000000000000000000000000000000000000000000091313131x0r000000000000000000000000000000000000000g1a0a14140c200r000000000000000000000000000000000000000h1b0j1d1d0d210r000000000000000000000000000000000000000h1b1b1b1b0d210r000000000000000000000000000000000000000i1c1c1c1c0d210r0000000000000000000000000000000000000000000000000d210r0000000000000000000000000000000000000000000000000e220r00000000000000000000000000000000000000000000000000000s000000000000000000000000000000000000000000000000000q1k000000000000000000000000000000000000000000000000000r1l000000000000000000000000000000000000000000000000020r1l0000000000000000000000000000000000000000000000004n0r1l0000000000000000000000000000000000000000000000004n0r1l0000000000000000000000000000000000000000000002004n0r1l0000000000000000000000000000000000000000000000004n0r1l0000000000000000000000000000000000000000000000004n0r1l0000000000000000000000000000000000000000000000004n0r1l000000000000000000000000000000000000000000000000000r1l000000000000000000000000000000000000000000000000000r1l000000000000000000000000000000000000000000000000000r1l0000000000000000000000000000000000000000000000002z0r1l000000000000000000000000000000000000000000002z3t3v0r1l00000000000000000000000000000000000000000000303w3t0r1l000000000000000000000000000000000000000000002z3v3u0r1l0000000000000000000000000000000000000000002z3v3w3t0r1l000000000000000000000000000000000000000000303u3w3u0r1l000000000000000000000000000000000000000000002z3t3t0r1l00000000000000000000000000000000000000000000303u3u0r1l0000000000000000000000000000000000000000000000002z0r1l000000000000000000000000000000000000000000002z3t3v0r1l00000000000000000000000000000000000000000000303w3t0r1l0000000000000000000000000000000000000000000000303u0r1l000000000000000000000000000000000000000000000000000r1l000000000000000000000000000000000000000000000000000r1l0000000000000000000000000000000000000000000000004n0r1l0000000000000000000000000000000000000000000000004n0r1l000000000000000000000000000000000000000000000000000s1m00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000q00000000000000000000000000000000000000000000000000000r000000000000000000000000000000000000000000000000004n0r000000000000000000000000000000000000000000000000004n0r000000000000000000000000000000000000000000000000004n0r00000000000000000000000000000000000000000000000000000r00000000000000000000000000000000000000000000000000000r0000000000000000000000000000000000000000000000000c200r0000000000000000000000000000000000000000000000000d210r0000000000000000000000000000000000000000000008120d210r000000000000000000081w000000000000000000000009130d210r000000000000000000091x0000000000000000000g1a09130d210r000000000000000000091x0000000000000000000h1b09130d210r0000000000000000000a1y0000000000000000000h1b09130e220r00000000000000000000000000000000000000000h1b09130b1z0r00000000000000000000000000000000000000000h1b0a14141y0r00000000000000000000000001000000000000000h1b0j1d1d270r00000000000000000000000001000000000000000i1c1c1c1c260r00000000000000000200000001000000000000000000000000000r00000000000000000000000001000000000000000000000000000r00000000000000000000000000000000000000000000000200000r00000000000000000000000100000000000000000000000000000s0000000000000000000000010000000000000000002e00000000000000000000000000000000010000000000000000002e000000000000000000000000000000000100000000000000000000000000000q00000000000000000000000100000000000000000000000000000r000000000000000000000001000000000000000000000000002e0r0000000000000000000000010000000000000000000000002e2e0r00000000000000000000000100000000000000000000002e2e2e0s00000000000000000000000100000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000100000000000000000000002e2e2e0q0000000000000000000000010000000000000000000000002e2e0r000000000000000000000000000000000000000000000000002e0r00000000000000000000000000000000000000000000000000000r000000000000000000000000000000000000000000000000004n0r000000000000000000000000000000000000000000000000004n0r000000000000000000000000000000000000000000000000004n0r00000000000000000000000000000000000000000000000000000r000000000000000000000000000000000000000000000000040y0r000000000000000000000000000000000000000000000000050z0r00000000000000000000000000000000000000000000000000000r00000000000000000000000000000000000000000000000000000r0000000000000000000000000000000000000000000000040y0y0r0000000000000000000000000000000000000000000000050z0z0r000000000000000000000000000000000000000000000000002z0r00000000000000000000000000000000000000000000002z3t3v0r0000000000000000000000000000000000000000000000303w3v0r000000000000000000000000000000000000000000000000303u0r00000000000000000000000000000000000000000000000000030r00000000000000000000000000000000000000000000000003030r00000000000000000000000000000000000000000000000303030r00000000000000000000000000000000000000000000000303030r00000000000000000000000000000000000000000000000303030r00000000000000000000000000000000000000000000000303030r00000000000000000000000000000000000000000000000000030r00000000000000000000000000000000000000000000000000000r00000000000000000000000000000000000000000000000000000r00000000000000000000000000000000000000000000000003030r00000000000000000000000000000000000000000000000000030r00000000000000000000000000000000000000000000000000000r000000000000000000000000000000000000000000000008121w0r000000000000000000000000000000000000000000000009131x0r00000000000000000000000000000000000c16161616160a141y0r00000000000000000000000000000000000d17171717170f19230r00000000000000000000000000000000000e18181818181818220r00000000000000000000000000000000000000000000000000000s00000000000000000000000000000000000000000000000000000000000000000000040y0y0y0y0y0y0y0y0y0y0y2e0000002e0y0y0q00000000000000050z0z0z0z0z0z0z0z0z0z0z2e0000002e0z0z0r00000000000000000000000000000000000000000000000000000r00000000000000000000000000000000000000000000000000000r000000000000000000000000000000000000000000000000040y0r000000000000000000000000000000000000000000000000050z0r00000000000000000000000000000000000000000000000000000r00000000000000000000000000000000000000000000000000000r000000000000000000000000000000000000000000003v0000000r0000000000000000000000000000000000000000003v000000000r000000000000000000000000000000000000003w0000000000000r0000000000000000000000000000000000000000000000003w000r00000000000000000000000000000000000000000000000000000r00000000000000000000000000000000000000000000000000000r1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n1n0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0t0r\" xmlType=\"variable\" /></layers></map></level></data>"; data = new XML(data_txt); onLoad(data);
Symbol 518 MovieClip [levels\level1-2-1.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\level1-2-1.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><96 name=\"str_pipe_0\" type=\"str_pipe\" xmlType=\"object\"><editSprite charset=\"str_charset/pipeIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1248\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\level1-2-2.lvl\" x=\"num_2\" y=\"num_12\" _rotation=\"num_270\" xmlType=\"object\" /></96><95 name=\"str_setBackground_0\" type=\"str_setBackground\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_8\" y=\"num_24\" xmlType=\"object\" /><flags xmlType=\"array\" /><data file=\"str_swf\\bg\\mario3.png\" xmlType=\"object\" /></95><94 name=\"str_setMusic_0\" type=\"str_setMusic\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data file=\"str_music\\mario_underground.mp3\" xmlType=\"object\" /></94><93 name=\"str_bombBlock_10\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1032\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></93><92 name=\"str_bombBlock_9\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1112\" y=\"num_264\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></92><91 name=\"str_prizeBlock_28\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_152\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></91><90 name=\"str_prizeBlock_27\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_424\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_mushroom\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></90><89 name=\"str_prizeBlock_26\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_520\" y=\"num_472\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_mushroom\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></89><88 name=\"str_prizeBlock_25\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_856\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_false\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></88><87 name=\"str_prizeBlock_24\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_664\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_false\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></87><86 name=\"str_prizeBlock_23\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_840\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></86><85 name=\"str_prizeBlock_22\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_824\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></85><84 name=\"str_prizeBlock_21\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_808\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></84><83 name=\"str_prizeBlock_20\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_792\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></83><82 name=\"str_prizeBlock_19\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_776\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></82><81 name=\"str_prizeBlock_18\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_760\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></81><80 name=\"str_prizeBlock_17\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_744\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></80><79 name=\"str_prizeBlock_16\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_728\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></79><78 name=\"str_prizeBlock_15\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_712\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></78><77 name=\"str_prizeBlock_14\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_696\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></77><76 name=\"str_prizeBlock_13\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_680\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></76><75 name=\"str_prizeBlock_12\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_856\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></75><74 name=\"str_prizeBlock_11\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_840\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></74><73 name=\"str_prizeBlock_10\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_824\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></73><72 name=\"str_prizeBlock_9\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_808\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></72><71 name=\"str_prizeBlock_8\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_792\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></71><70 name=\"str_prizeBlock_7\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_776\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></70><69 name=\"str_prizeBlock_6\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_760\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></69><68 name=\"str_prizeBlock_5\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_744\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></68><67 name=\"str_prizeBlock_4\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_728\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></67><66 name=\"str_prizeBlock_3\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_696\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></66><65 name=\"str_prizeBlock_2\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_680\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></65><64 name=\"str_prizeBlock_1\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_664\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_goomba\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></64><63 name=\"str_prizeBlock_0\" type=\"str_prizeBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/prizeBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_3\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_712\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data hasCollision=\"bol_true\" visible=\"bol_true\" item=\"str_mushroom\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\prizeBlock.png\" xmlType=\"object\" /></data></63><62 name=\"str_pit_0\" type=\"str_pit\" xmlType=\"object\"><editSprite charset=\"str_charset/pitIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_56\" y=\"num_584\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></62><61 name=\"str_mario_ledge_13\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1000\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_40\" xVel=\"num_-2\" yVel=\"num_0\" xmlType=\"object\" /></61><60 name=\"str_mario_ledge_12\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_920\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_40\" xVel=\"num_0\" yVel=\"num_2\" xmlType=\"object\" /></60><59 name=\"str_mario_ledge_11\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_968\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_40\" xVel=\"num_2\" yVel=\"num_0\" xmlType=\"object\" /></59><58 name=\"str_mario_ledge_10\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1112\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_48\" xVel=\"num_0\" yVel=\"num_-2\" xmlType=\"object\" /></58><57 name=\"str_mario_ledge_9\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1192\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_48\" xVel=\"num_0\" yVel=\"num_-2\" xmlType=\"object\" /></57><56 name=\"str_mario_ledge_8\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1176\" y=\"num_264\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_48\" xVel=\"num_0\" yVel=\"num_2\" xmlType=\"object\" /></56><55 name=\"str_mario_ledge_7\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1176\" y=\"num_488\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_48\" xVel=\"num_0\" yVel=\"num_-2\" xmlType=\"object\" /></55><54 name=\"str_mario_ledge_6\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_456\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_32\" xVel=\"num_0\" yVel=\"num_1.5\" xmlType=\"object\" /></54><53 name=\"str_mario_ledge_5\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_392\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_32\" xVel=\"num_0\" yVel=\"num_1.5\" xmlType=\"object\" /></53><52 name=\"str_mario_ledge_4\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_456\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_40\" xVel=\"num_0\" yVel=\"num_-2\" xmlType=\"object\" /></52><51 name=\"str_mario_ledge_3\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_568\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_40\" xVel=\"num_0\" yVel=\"num_2\" xmlType=\"object\" /></51><50 name=\"str_mario_ledge_2\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_568\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_40\" xVel=\"num_0\" yVel=\"num_2\" xmlType=\"object\" /></50><49 name=\"str_mario_ledge_1\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.png\" direction"; data_txt = data_txt + "=\"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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_344\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_40\" xVel=\"num_0\" yVel=\"num_2\" xmlType=\"object\" /></49><48 name=\"str_mario_ledge_0\" type=\"str_mario_ledge\" xmlType=\"object\"><editSprite charset=\"str_charset/mario_ledge.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data moveTime=\"num_96\" xVel=\"num_0\" yVel=\"num_-2\" xmlType=\"object\" /></48><47 name=\"str_bombBlock_8\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_232\" y=\"num_520\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></47><46 name=\"str_bombBlock_7\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_312\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></46><45 name=\"str_bombBlock_6\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_184\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></45><44 name=\"str_bombBlock_5\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_184\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></44><43 name=\"str_bombBlock_4\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></43><42 name=\"str_bombBlock_3\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1144\" y=\"num_280\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></42><41 name=\"str_bombBlock_2\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1144\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></41><40 name=\"str_bombBlock_1\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1144\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></40><39 name=\"str_bombBlock_0\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1144\" y=\"num_24\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></39><38 name=\"str_coinBlock_15\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_504\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></38><37 name=\"str_coinBlock_14\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_392\" y=\"num_408\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></37><36 name=\"str_coinBlock_13\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_392\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></36><35 name=\"str_coinBlock_12\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_504\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></35><34 name=\"str_coinBlock_11\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_504\" y=\"num_264\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></34><33 name=\"str_coinBlock_10\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_392\" y=\"num_264\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></33><32 name=\"str_coinBlock_9\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_328\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></32><31 name=\"str_coinBlock_8\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_328\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></31><30 name=\"str_coinBlock_7\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_312\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></30><29 name=\"str_coinBlock_6\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_312\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></29><28 name=\"str_coinBlock_5\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></28><27 name=\"str_coinBlock_4\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></27><26 name=\"str_coinBlock_3\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_280\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></26><25 name=\"str_coinBlock_2\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_280\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></25><24 name=\"str_coinBlock_1\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></24><23 name=\"str_coinBlock_0\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></23><22 name=\"str_coin10Block_1\" type=\"str_coin10Block\" xmlType=\"object\"><editSprite charset=\"str_charset/bigCoin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_136\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></22><21 name=\"str_coin10Block_0\" type=\"str_coin10Block\" xmlType=\"object\"><editSprite charset=\"str_charset/bigCoin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></21><20 name=\"str_brickBlock_5\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></20><19 name=\"str_brickBlock_4\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></19><18 name=\"str_brickBlock_3\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></18><17 name=\"str_brickBlock_2\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_376\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></17><16 name=\"str_brickBlock_1\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></16><15 name=\"str_brickBlock_0\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></15><14 name=\"str_goomba_14\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1192\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></14><13 name=\"str_goomba_13\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1160\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_1\" xmlType=\"object\" /></13><12 name=\"str_goomba_12\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1032\" y=\"num_280\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-2\" xmlType=\"object\" /></12><11 name=\"str_goomba_11\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_872\" y=\"num_280\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></11><10 name=\"str_goomba_10\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_776\" y=\"num_280\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_1\" xmlType=\"object\" /></10><9 name=\"str_goomba_9\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_504\" y=\"num_504\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_2\" xmlType=\"object\" /></9><8 name=\"str_goomba_8\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_280\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-3\" xmlType=\"object\" /></8><7 name=\"str_goomba_7\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></7><6 name=\"str_goomba_6\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></6><5 name=\"str_goomba_5\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_424\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_2\" xmlType=\"object\" /></5><4 name=\"str_goomba_4\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_184\" y=\"num_424\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-2\" xmlType=\"object\" /></4><3 name=\"str_goomba_3\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_520\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_1\" xmlType=\"object\" /></3><2 name=\"str_goomba_2\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_584\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_1\" xmlType=\"object\" /></2><1 name=\"str_goomba_1\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_2\" xmlType=\"object\" /></1><0 name=\"str_goomba_0\" type=\"str_goomba\" xmlType=\"object\"><editSprite charset=\"str_charset/goomba_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_5\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_328\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></0></sprites><map format=\"num_2\" width=\"num_83\" height=\"num_37\" chipset=\"str_chipset\\mario.png\" collision=\"str__11111111111111111111111111111111111111000000000000000000000000001000000000100000000000000000000000000000000000010000000000000000000000000000000000001000000000000000000000000000000000000100000000000000000000000000000000000011111111111111000011111111110000111111000001000000100001100000001000010100100000100000010000110000000100001010010000010000001000011000000010000101001000001000000100001100000001000010100100000111111010000111101000100001010010000000000000000000000100010000101001000000000000000000000010001000010100100000000000000000000001000100000010010000111111111000011111100010000101001000010000000100001100000001000010100100001000000010000111111000100001010010000100000001000011000000110000101001000010000000100001111111011000010100100001000000010000000000000100001010010000100000000000000000000010000101001000011111111110000000000001000010100100000000000001000100001000100001010010000000000000100010000100010000101001000000000000010001000010001000010100111110001000001000100001000100001010010000000000000100000000000010000101001000000000000010000000000001000010100100000000000001000000000000100001010010001111111111100010000100011111101111000100000100010001000010001000010100100010010010001000100001000100001010010001001001000100010000100010000101001000100100100010000000000000000010100100010010000001000000000000000001010010001001001000100000000000000000101001000000100100010001000010001000010100100000010010001000100001000100001010011111111101000111111111111111111101111000000000100000001000000000010000100100000000011111110100000000000000110010000000001000000010000000000000000001000000000111110011000000000000000000100000000010000000100000000000000000010000000001001111110000000001100000001000000000100000000000000000111111111100000000011111111100000000011000000010000000001000000010000000000000000001000000000100000001000000000000000000100000000010000000100000000000000000010000000001000000010000000000000000001000000000100000001000000000000000000100000000010000000100000011000000000010000000000000000010000001111111111111111111111111111101000000110000000000100000000000000010100000000000000000010000000000000001010000000000000000001000000000000000101000000000000000000100000000000000010100000000000000000010000000000000001010000000000000000001000000000000000101000000000000000000100000000000000010100000000000000000010000000000000001010000000000000110001000000000000000000000000000000011111100000000000000011100000000000001100010000000000000001010000000000000000001000100000000000101000000000000000000100010000000000010100000000000000000010001000000000001010000000000000000001000100000000000101000000000000000000100011111111111110111111111111000011110001000000000000000000000000000001001000000000000000000000000000000000100100000000000000000000000000000000010010000000000000000001111111111111111111111111111111111000100000000000000000100000000000000100010000000000000000010000000000000010111000000000000000001000000000000001011100000000000000000100000000000000101110000000000000000011111111111111111111000000000000000001111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><0 value=\"str__2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o0000000000000000000000002d0000000000000000006o6o6o6o6o6o6o6o6o6o6o6o6o6o6o000000000000000000000000000000000000000000006o6o6o6o6o6o6o6o6o6o6o6o6o6o6o000000000000000000000000000000000000000000006o6o6o6o6o6o6o6o6o6o6o6o6o6o6o000000000000000000000000000000000000000000006o6o6o6o6o6o6o6o6o6o6o6o6o6o6o0000006o6o6o6o6o6o6o6o00000000000000000000002f2f2f2f2f2f2f2f2f2f2f2f2f2b6o0000000n1h2f2f2f2f2f2f2f2b000000002b2f2f2f2f2c6o6o6o6o6o2b6o6o6o6o6o6o2c6o0000000o1i000000000000002c000000002c002b00002c6o6o6o6o6o2c6o6o6o6o6o6o2c6o0000000o1i000000000000002c000000002c002c00002c6o026o6o6o2c6o6o6o6o6o6o2c6o00006o0o1i000000000000002c000000002c002c00002c6o6o6o6o6o2c6o6o6o6o6o6o2c6o00006o0o1i000000000000002c000000002c002c00002c6o6o6o6o6o2d2f2f2f2f2f2e2d6o0000000p1j2f2f2e2b0000002c000000002c002c00002c6o6o6o6o6o6o6o6o6o6o6o6o6o6o00000000000000002c0000002c000000002c002c00002c6o6o6o6o6o6o6o6o6o6o6o6o6o6o00000000000000002c0000002c000000002c002c00002c6o6o6o6o6o6o6o6o6o6o6o6o6o6o00000000000000002c0000002c000000002e002c00002c6o6o6o6o2b2f2f2f2f2f2f2f2b000000000n1h2f2f2f2d0000002c000000002c002c00002c6o6o6o6o2c6o6o6o6o6o6o6o2c000000000o1i005l5l5l0000002c000000002c002c00002c6o6o6o6o2c6o6o6o6o6o6o6o2c000000000o1i2f2f2f2f0000002c000000002c002c00002c6o6o6o6o2c6o6o6o6o6o6o6o2c000000000o1i005l5l5l00002b2c000000002c002c00002c6o6o6o6o2c6o6o6o6o6o6o6o2c000000000p1j2f2f2f2f2f2e2d2c000000002c002c00002c000000002c6o0000000000002d000000000000000000000000002c000000002c002c00002c000000002c6o00000000000000000000000000000000000000002c000000002c002c00002c000000002d2f2f2f2f2f2f2f2f2b0000000000000000000000002c000000002c002c00002c000000000000000000000000002c0000002b000000002b0000002c000000002c002c00002c000000000000000000000000002c0000002c000000002c0000002c000000002c002c00002c000000000000000000000000002c0000002c000000002c0000002c000000002c002c00002c2f2f2f2e0000002e00020000002c0000002d000000002d0000002c000000002c002c00002c000000000000000000000000002c0000000000000000000000002c000000002c002c00002c000000000000000000000000002c0000000000000000000000002c000000002c002c00002c000000000000000000000000002c0000000000000000000000002c000000002c002c00002c0000002b2f2f2f2f2f2f2f2f2f2c0000002b000000002b0000002c2f2f2f2f2c002c2f2f2c0000002c00000000002c0000002c0000002c000000002c0000002c000000002c002c00002c0000002c00002b00002c0000002c0000002c000000002c0000002c000200002c002c00002c0000002c00002c00002c0000002c0000002d000000002d0000002d000000002c002c00002c0000002c00002c00002d0000002c00000000000000000000000000000000002c002c00002c0000002c00002c0000000000002c00000000000000000000000000000000002c002c00002c0000002d00002c00002b0000002c00000000000000000000000000000000002c002c00002c0000000000002c00002c0000002c0000002b000000002b0000002b000000002c002c00002c0000000000002d00002c0000002c0000002d000000002d0000002d000000002c002c00002c2f2f2f2f2f2f2f2f2e2c0000002d2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2d002c2f2f2c0000000000000000002c000000000000002b000000000000000000002e000000002c00002c0002000000000000002c2f2f2f2f2f2f002c00000000000000000000000000002e2d00002c0002000000020000002c000000000000002c0000000000000000000000000000000000002c0002000000020000002c2f2f2f2f00002f2c0000000000000000000000000000000000002c0002000000020000002c000000000000002c0000000000000000000000000000000000002c0002000000020000002c00002f2f2f2f2f2d0000000000000000000n1h000000000000002c0002000000020000002c00000000000000000000000000000000000o1i2f2f2f2f2f2f2f2c0002000000020000002c2f2f2f2f2f2f2f2b0000000000000000000p1j000000000000002c0002000000020000002c000000000000002c0000000000000000000000000000000000002c0002000000020000002c000000000000002c0000000000000000000000000000000000002c0002000000020000002c000000000000002c0000000000000000000000000000000000002c0002000000020000002c000000000000002c0000000000000000000000000000000000002c0002000000020000002c000000000000002c0000000000000000000000000000000000002c0002000000000000002d000000000000002c0000000000000n1h000000000000000000002c00000000000000000000000000000000002c0000000000000o1i2f2f2f2f2f2f2f2f2f2f2c2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2b002c0000000000000p1j000000000000000000002c0000000000000000000000000000002c002c0000000000000000000000000000000000002c0000000000000000000000000000002c002c0000000000000000000000000000000000002c0000000000000000000000000000002c002c0000000000000000000000000000000000002c0000000000000000000000000000002c002c0000000000000000000000000000000000002c0000000000000000000000000000002c002c0000000000000000000000000000000000002c0000000000000000000000000000002c002c0000000000000000000000000000000000002c0000000000000000000000000000002c002c0000000000000000000000000000000000002c0000000000000000000000000000002d002d000000000000000000000000000n1h0000002c00000000000000000000000000000000002e000000000000000000000000000o1i2f2f2f2c0000000000000000000000000000002b2f2b000000000000000000000000000p1j0000002c0000000000000000000000000000002c002c0000000000000000000000000000000000002c0000002b0000000000000"; data_txt = data_txt + "0000000002c002c0000000000000000000000000000000000002c0000002c00000000000000000000002d002c0000000000000000000000000000000000002c0000002c00000000000000000000002e002c0000000000000000000000000000000000002c0000002c00000000000000000000002b002c0000000000000000000000000000000000002c2e2e2e2c2f2f2f2f2f2f2f2f2f2f2f2d2e2d2f2f2f2f2f2f2f2f2f2f2f000000002f2f2f2c0000002d00000000000000000000000000000000000000000000000000000000002b00002c0000000000000000000000000000000000000000000000000000000000000000002c00002c0000000000000000000000000000000000000000000000000000000000000000002d00002c0000000000000000000000000000000000002b2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2c2f2f2f2f2f2f2f2f2f2f2f2f2f2f2b0000002c00000000000000000000000000000000002c00000000000000000000000000002c0000002c00000000000000000000000000000000002c00000000000000000000000000002c0007112c00000000000000000000000000000000002c00000000000000000000000000002c0006102c00000000000000000000000000000000002c00000000000000000000000000002d0006102c00000000000000000000000000000000000y0y0y0y0y0y0y0y0y0y0y0y0y0y0y0y0y555z2c00000000000000000000000000000000000z0z0z0z0z0z0z0z0z0z0z0z0z0z0z0z0z56602d2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f\" xmlType=\"variable\" /></layers></map></level></data>"; data = new XML(data_txt); onLoad(data);
Symbol 519 MovieClip [levels\level1-2-2.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\level1-2-2.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><3 name=\"str_setBackground_0\" type=\"str_setBackground\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_24\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data file=\"str_swf\\bg\\mario2.png\" xmlType=\"object\" /></3><2 name=\"str_setMusic_0\" type=\"str_setMusic\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data file=\"str_music\\mario.mp3\" xmlType=\"object\" /></2><1 name=\"str_pipe_0\" type=\"str_pipe\" xmlType=\"object\"><editSprite charset=\"str_charset/pipeIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_48\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\level1-2-2.lvl\" x=\"num_0\" y=\"num_0\" _rotation=\"num_0\" xmlType=\"object\" /></1><0 name=\"str_goalMario_0\" type=\"str_goalMario\" xmlType=\"object\"><editSprite charset=\"str_charset/marioGoalFrame.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_376\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><setMapFlag xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_level1_2\" xmlType=\"variable\" /></setMapFlag></data></0></sprites><map format=\"num_2\" width=\"num_33\" height=\"num_15\" chipset=\"str_chipset\\mario.png\" collision=\"str__111111111111111100000000000011100000000001111100000000001111100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011100000000000011111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><0 value=\"str__6o6o6o6o6o6o6o6o6o6o6o6o6o0r1l6o6o6o6o6o6o6o6o6o6o6o6o6o0s1m6o6o6o6o6o6o6o6o6o6o6o040y0y0y6o6o6o6o6o6o6o6o6o6o6o050z0z0z6o6o6o6o6o6o6o6o6o6o6o6o6o0q1k6o6o6o6o6o6o6o6o6o6o6o6o6o0r1l6o6o6o6o6o6o6o6o6o6o6o6o4n0r1l6o6o6o6o6o6o6o6o6o6o6o6o4n0r1l6o6o6o6o6o6o6o6o6o6o6o6o4n0r1l6o6o6o6o6o6o6o6o6o6o6o6o6o0r1l1n1n1n1n1n1n1n1n1n1n1n1n1n0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l0t0t0t0t0t0t0t0t0t0t0t0t0t0r1l\" xmlType=\"variable\" /></layers></map></level></data>"; data = new XML(data_txt); onLoad(data);
Symbol 520 MovieClip [levels\level1-3-1.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\level1-3-1.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><162 name=\"str_speedBlock_42\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_280\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></162><161 name=\"str_speedBlock_41\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_264\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></161><160 name=\"str_speedBlock_40\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_248\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></160><159 name=\"str_speedBlock_39\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></159><158 name=\"str_coinBlock_34\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_712\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></158><157 name=\"str_coinBlock_33\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_712\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></157><156 name=\"str_coinBlock_32\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_712\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></156><155 name=\"str_coinBlock_31\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_712\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></155><154 name=\"str_coinBlock_30\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_712\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></154><153 name=\"str_coinBlock_29\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_696\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></153><152 name=\"str_coinBlock_28\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_696\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></152><151 name=\"str_coinBlock_27\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_696\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></151><150 name=\"str_coinBlock_26\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_696\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></150><149 name=\"str_coinBlock_25\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_696\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></149><148 name=\"str_coinBlock_24\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_680\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></148><147 name=\"str_coinBlock_23\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_680\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></147><146 name=\"str_coinBlock_22\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_680\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></146><145 name=\"str_coinBlock_21\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_680\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></145><144 name=\"str_coinBlock_20\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_680\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></144><143 name=\"str_coinBlock_19\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_664\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></143><142 name=\"str_coinBlock_18\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_664\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></142><141 name=\"str_coinBlock_17\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_664\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></141><140 name=\"str_coinBlock_16\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_664\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></140><139 name=\"str_coinBlock_15\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_664\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></139><138 name=\"str_coinBlock_14\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_648\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></138><137 name=\"str_coinBlock_13\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_648\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></137><136 name=\"str_coinBlock_12\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_648\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></136><135 name=\"str_coinBlock_11\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_648\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></135><134 name=\"str_coinBlock_10\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_648\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></134><133 name=\"str_coinBlock_9\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></133><132 name=\"str_coinBlock_8\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></132><131 name=\"str_coinBlock_7\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></131><130 name=\"str_coinBlock_6\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></130><129 name=\"str_coinBlock_5\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></129><128 name=\"str_coinBlock_4\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></128><127 name=\"str_coinBlock_3\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></127><126 name=\"str_coinBlock_2\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></126><125 name=\"str_coinBlock_1\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></125><124 name=\"str_coinBlock_0\" type=\"str_coinBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/coin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></124><123 name=\"str_goalMario_0\" type=\"str_goalMario\" xmlType=\"object\"><editSprite charset=\"str_charset/marioGoalFrame.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1288\" y=\"num_440\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><setMapFlag xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_level1_3\" xmlType=\"variable\" /></setMapFlag></data></123><122 name=\"str_spiny_4\" type=\"str_spiny\" xmlType=\"object\"><editSprite charset=\"str_charset/spiny_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_2\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_440\" y=\"num_456\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-4\" xmlType=\"object\" /></122><121 name=\"str_bombBlock_10\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></121><120 name=\"str_bombBlock_9\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></120><119 name=\"str_shotBlock_1\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_312\" y=\"num_264\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></119><118 name=\"str_shotBlock_0\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_264\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></118><117 name=\"str_bombBlock_8\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_392\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></117><116 name=\"str_energyOrb_0\" type=\"str_energyOrb\" xmlType=\"object\"><editSprite charset=\"str_charset/energyOrb.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_384\" y=\"num_320\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></116><115 name=\"str_shotBlock_57\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_600\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></115><114 name=\"str_coin10Block_4\" type=\"str_coin10Block\" xmlType=\"object\"><editSprite charset=\"str_charset/bigCoin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_184\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></114><113 name=\"str_coin10Block_3\" type=\"str_coin10Block\" xmlType=\"object\"><editSprite charset=\"str_charset/bigCoin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_184\" y=\"num_24\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></113><112 name=\"str_coin10Block_2\" type=\"str_coin10Block\" xmlType=\"object\"><editSprite charset=\"str_charset/bigCoin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_168\" y=\"num_24\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></112><111 name=\"str_coin10Block_1\" type=\"str_coin10Block\" xmlType=\"object\"><editSprite charset=\"str_charset/bigCoin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_168\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></111><110 name=\"str_shotBlock_56\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></110><109 name=\"str_shotBlock_55\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_600\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></109><108 name=\"str_shotBlock_53\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_600\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></108><107 name=\"str_shotBlock_50\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></107><106 name=\"str_shotBlock_49\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_616\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></106><105 name=\"str_shotBlock_48\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></105><104 name=\"str_shotBlock_47\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></104><103 name=\"str_shotBlock_46\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></103><102 name=\"str_shotBlock_45\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_648\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></102><101 name=\"str_shotBlock_44\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_648\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></101><100 name=\"str_shotBlock_43\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_648\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></100><99 name=\"str_shotBlock_42\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_664\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></99><98 name=\"str_shotBlock_41\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_664\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></98><97 name=\"str_shotBlock_40\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_664\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></97><96 name=\"str_shotBlock_39\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_680\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></96><95 name=\"str_shotBlock_38\" type=\"str_shotBlock\" xmlType=\"object\"><ed"; data_txt = data_txt + "itSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_680\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></95><94 name=\"str_shotBlock_37\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_680\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></94><93 name=\"str_shotBlock_36\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_696\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></93><92 name=\"str_shotBlock_35\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_696\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></92><91 name=\"str_shotBlock_34\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_696\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></91><90 name=\"str_shotBlock_33\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_712\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></90><89 name=\"str_shotBlock_26\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_712\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></89><88 name=\"str_shotBlock_25\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_728\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></88><87 name=\"str_shotBlock_18\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_712\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></87><86 name=\"str_shotBlock_17\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_728\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></86><85 name=\"str_shotBlock_10\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_728\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></85><84 name=\"str_shotBlock_9\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_856\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></84><83 name=\"str_shotBlock_32\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_744\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></83><82 name=\"str_shotBlock_31\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_744\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></82><81 name=\"str_shotBlock_30\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_744\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></81><80 name=\"str_shotBlock_29\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_760\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></80><79 name=\"str_shotBlock_28\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_760\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></79><78 name=\"str_shotBlock_27\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_760\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></78><77 name=\"str_shotBlock_24\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_776\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></77><76 name=\"str_shotBlock_23\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_776\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></76><75 name=\"str_shotBlock_22\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_776\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></75><74 name=\"str_shotBlock_21\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_792\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></74><73 name=\"str_shotBlock_20\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_792\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></73><72 name=\"str_shotBlock_19\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_792\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></72><71 name=\"str_shotBlock_16\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_808\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></71><70 name=\"str_shotBlock_15\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_808\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></70><69 name=\"str_shotBlock_14\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_808\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></69><68 name=\"str_shotBlock_13\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_824\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></68><67 name=\"str_shotBlock_12\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_824\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></67><66 name=\"str_shotBlock_11\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_824\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></66><65 name=\"str_shotBlock_8\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_856\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></65><64 name=\"str_shotBlock_7\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_840\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></64><63 name=\"str_shotBlock_6\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_840\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></63><62 name=\"str_shotBlock_5\" type=\"str_shotBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/shotBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_840\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_true\" visible=\"bol_false\" xmlType=\"object\" /></62><61 name=\"str_coin10Block_0\" type=\"str_coin10Block\" xmlType=\"object\"><editSprite charset=\"str_charset/bigCoin.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_856\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></61><60 name=\"str_slopeUp_7\" type=\"str_slopeUp\" xmlType=\"object\"><editSprite charset=\"str_sprites\\\\slopeUp\\\\preview.swf\" 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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1008\" y=\"num_240\" xmlType=\"object\" /><flags xmlType=\"array\" /><data width=\"num_-16\" height=\"num_16\" xmlType=\"object\" /></60><59 name=\"str_slopeUp_6\" type=\"str_slopeUp\" xmlType=\"object\"><editSprite charset=\"str_sprites\\\\slopeUp\\\\preview.swf\" 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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1072\" y=\"num_240\" xmlType=\"object\" /><flags xmlType=\"array\" /><data width=\"num_16\" height=\"num_16\" xmlType=\"object\" /></59><58 name=\"str_slopeUp_5\" type=\"str_slopeUp\" xmlType=\"object\"><editSprite charset=\"str_sprites\\\\slopeUp\\\\preview.swf\" 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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1168\" y=\"num_224\" xmlType=\"object\" /><flags xmlType=\"array\" /><data width=\"num_-16\" height=\"num_16\" xmlType=\"object\" /></58><57 name=\"str_slopeUp_4\" type=\"str_slopeUp\" xmlType=\"object\"><editSprite charset=\"str_sprites\\\\slopeUp\\\\preview.swf\" 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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_736\" y=\"num_192\" xmlType=\"object\" /><flags xmlType=\"array\" /><data width=\"num_-16\" height=\"num_16\" xmlType=\"object\" /></57><56 name=\"str_slopeUp_3\" type=\"str_slopeUp\" xmlType=\"object\"><editSprite charset=\"str_sprites\\\\slopeUp\\\\preview.swf\" 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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_768\" y=\"num_208\" xmlType=\"object\" /><flags xmlType=\"array\" /><data width=\"num_-16\" height=\"num_16\" xmlType=\"object\" /></56><55 name=\"str_slopeUp_2\" type=\"str_slopeUp\" xmlType=\"object\"><editSprite charset=\"str_sprites\\\\slopeUp\\\\preview.swf\" 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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_640\" y=\"num_224\" xmlType=\"object\" /><flags xmlType=\"array\" /><data width=\"num_48\" height=\"num_48\" xmlType=\"object\" /></55><54 name=\"str_slopeUp_1\" type=\"str_slopeUp\" xmlType=\"object\"><editSprite charset=\"str_sprites\\\\slopeUp\\\\preview.swf\" 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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_800\" y=\"num_224\" xmlType=\"object\" /><flags xmlType=\"array\" /><data width=\"num_-16\" height=\"num_16\" xmlType=\"object\" /></54><53 name=\"str_speedBlock_38\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_744\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></53><52 name=\"str_speedBlock_37\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_760\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></52><51 name=\"str_speedBlock_36\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_776\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></51><50 name=\"str_speedBlock_35\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_792\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></50><49 name=\"str_speedBlock_34\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_808\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></49><48 name=\"str_speedBlock_33\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_824\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></48><47 name=\"str_speedBlock_32\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_840\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></47><46 name=\"str_speedBlock_31\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_856\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></46><45 name=\"str_speedBlock_30\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_872\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></45><44 name=\"str_speedBlock_29\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_888\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></44><43 name=\"str_speedBlock_28\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_904\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></43><42 name=\"str_speedBlock_27\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_904\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></42><41 name=\"str_speedBlock_26\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_888\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></41><40 name=\"str_speedBlock_25\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_856\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></40><39 name=\"str_speedBlock_24\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_872\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></39><38 name=\"str_speedBlock_23\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_840\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></38><37 name=\"str_speedBlock_22\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_792\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></37><36 name=\"str_speedBlock_21\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_824\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></36><35 name=\"str_speedBlock_20\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_808\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></35><34 name=\"str_speedBlock_19\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_776\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></34><33 name=\"str_speedBlock_18\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_760\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></33><32 name=\"str_speedBlock_17\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_744\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" />"; data_txt = data_txt + "</32><31 name=\"str_speedBlock_16\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_728\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></31><30 name=\"str_speedBlock_15\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_728\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></30><29 name=\"str_speedBlock_14\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_728\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></29><28 name=\"str_speedBlock_13\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_744\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></28><27 name=\"str_speedBlock_12\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_760\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></27><26 name=\"str_speedBlock_11\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_776\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></26><25 name=\"str_speedBlock_10\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_792\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></25><24 name=\"str_speedBlock_9\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_808\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></24><23 name=\"str_speedBlock_8\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_824\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></23><22 name=\"str_speedBlock_7\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_840\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></22><21 name=\"str_speedBlock_6\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_856\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></21><20 name=\"str_speedBlock_5\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_872\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></20><19 name=\"str_speedBlock_4\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_888\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></19><18 name=\"str_speedBlock_3\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_904\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></18><17 name=\"str_speedBlock_2\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_920\" y=\"num_360\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></17><16 name=\"str_speedBlock_1\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_920\" y=\"num_344\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></16><15 name=\"str_spiny_0\" type=\"str_spiny\" xmlType=\"object\"><editSprite charset=\"str_charset/spiny_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_2\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_984\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_1\" xmlType=\"object\" /></15><14 name=\"str_spiny_2\" type=\"str_spiny\" xmlType=\"object\"><editSprite charset=\"str_charset/spiny_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_2\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1304\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></14><13 name=\"str_setBackground_0\" type=\"str_setBackground\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_24\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data file=\"str_swf\\bg\\metroid1.swf\" xmlType=\"object\" /></13><12 name=\"str_setMusic_0\" type=\"str_setMusic\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_24\" y=\"num_24\" xmlType=\"object\" /><flags xmlType=\"array\" /><data file=\"str_music\\JazzBelmont.mp3\" xmlType=\"object\" /></12><11 name=\"str_spiny_3\" type=\"str_spiny\" xmlType=\"object\"><editSprite charset=\"str_charset/spiny_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_2\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1368\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></11><10 name=\"str_spiny_1\" type=\"str_spiny\" xmlType=\"object\"><editSprite charset=\"str_charset/spiny_walk.png\" direction=\"num_0\" directions=\"num_2\" frame=\"num_0\" frames=\"num_2\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_5\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_1336\" y=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xVel=\"num_-1\" xmlType=\"object\" /></10><9 name=\"str_bombBlock_7\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1400\" y=\"num_280\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></9><8 name=\"str_bombBlock_6\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1400\" y=\"num_264\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></8><7 name=\"str_bombBlock_5\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1400\" y=\"num_248\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></7><6 name=\"str_bombBlock_4\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1400\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></6><5 name=\"str_bombBlock_3\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1416\" y=\"num_280\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></5><4 name=\"str_bombBlock_2\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1416\" y=\"num_264\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></4><3 name=\"str_bombBlock_1\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1416\" y=\"num_248\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></3><2 name=\"str_speedBlock_0\" type=\"str_speedBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/speedBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_920\" y=\"num_328\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></2><1 name=\"str_bombBlock_0\" type=\"str_bombBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/bombBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_1\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1416\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data tempBreak=\"bol_false\" visible=\"bol_false\" xmlType=\"object\" /></1><0 name=\"str_slopeUp_0\" type=\"str_slopeUp\" xmlType=\"object\"><editSprite charset=\"str_sprites\\\\slopeUp\\\\preview.swf\" 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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_1408\" y=\"num_160\" xmlType=\"object\" /><flags xmlType=\"array\" /><data width=\"num_16\" height=\"num_16\" xmlType=\"object\" /></0></sprites><map format=\"num_2\" width=\"num_90\" height=\"num_30\" chipset=\"str_chipset\\metroid.png\" collision=\"str__111111111111111111111111111111111111111111111111111111110001100000000000010001000101110001100000000000000000000001110001100000000000000000000001110001100000000000000100010001110001100000000000001111111111110001100000000000001111111111110001111110000000001111110001110001111110000000001111110000000001100110000000001111110000000001100110000000001111110001110001100000000000001111111111110001100000000000001111111111110001100000000000000100010001110001100000000000000000000001110001100000000000000000000001110001100000000000000001000001110001100011111111111111111111110001100011111000001111111111110001100000001000001100000000110001100000001000001100000000110001111110001111101100111100110001111110001111101100100100110001111110001111101100100100110001100000000000101100111100110001100000000000101100000000110001100000000000101100000000110001100011111111101111111000111111100011111111101111111000111111100011111111101111111000000001100010000001101111111000000001100010000001101111111111110001100000000001101111111111110001100000000001101111111111110001100000100000001111111111110001100000110000001111111111110001111111111100001111111111110001111111111100001111000001110001111111111000001111000001110001111111110000001111000001110001111111100000001111000001110001111111100001111111000001110001111111100001111111000001110001111111100001111111000001110001111111100000111111111111110001111111100000111111111111110001111111110000011111111111110001111111111000011111111111110001111111111000001111111111110001111111111100001111111111110001111111111100001111111111110001111111111110001111111111110001111001111110001111111111110001111111111110001111111111110001111111111100001111111111110001111111100000001111111111110001111111000000001111111111110001111100000000001111000001110001111000000000001111000001110001110000000000001111010001110001100000000000001111010001110001100000000000000111010001110001100000000000000111010001110001100000000000000111010001110001100000000000000111010001110001100000000100000111010001110001100010000110000111010001110001100011111111111111010001110001100011111111111111010001110001100011111111111111010001110001100011111111111111010001110001100011000000001111010001110001100010000000001111010001110001100000000000001111010001110001100000000000001111010001110001100000000000001111010001110001100000000000001111010001110001100000100000001111010001110001100000110000001111010001110001100000110000001111010001110001100000100000001111010001110001100000000000001111010001110001100000000000001111010001110001100000000000001111010001110001100000000000001111010001110001110000000000001111110001110001110000000010001111000001110001111000000011001111100001110001111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><0 value=\"str__1v1w1v1w1v1w1v1w1v1w1v1w1v1w1v1w1v1w1v1w1v1w1v1w1v1w1v1w1v1w1v1x1w1x1w1x1w1x1w1x1w1x1w1x1w1v1w1v1w1v1w1v1w1v1w1v0000001v1w0000000000000000000000001x0000001x0000001x001w1v1w0000001w1v000000000000000000000000000000000000000000001v1w1v0000001v1w000000000000000000000000000000000000000000001w1v1w0000001w1v00000000000000000000000000001x0000001x0000001v1w1v0000001v1w000000000000000000000000001v1w1v1w1v1w1v1w1v1w1v1w0000001w1v000000000000000000000000001w1v1w1v1w1v1w1v1w1v1w1v0000001v1w1x1x1x1x0000000000000000001v1w1v1w1v1w0000001w1v1w0000001w1v1x1x1x1x0000000000000000001w1v1w1v1w1v0000000000000000001v1w00001x1x0000000000000000001v1w1v1w1v1w0000000000000000001w1v00001x1x0000000000000000001w1v1w1v1w1v0000001v1w1v0000001v1w000000000000000000000000001v1w1v1w1v1w1v1w1v1w1v1w0000001w1v000000000000000000000000001w1v1w1v1w1v1w1v1w1v1w1v0000001v1w00000000000000000000000000001x0000001x0000001w1v1w0000001w1v000000000000000000000000000000000000000000001v1w1v0000001v1w000000000000000000000000000000000000000000001w1v1w0000001w1v000000000000000000000000000000001x00000000001v1w1v0000001v1w0000001x1x1x1x1x1x1x1x1x1x1v1w1x1v1v1v1v1v1v1w1v1w0000001w1v0000001x1x1x1x1x00000000001w1v1x1w1w1w1w1w1w1v1w1v0000001v1w000000000000001x00000000001v1w00000000000000001v1w0000001w1v000000000000001x00000000001w1v00000000000000001w1v0000001v1w1x1x1x1x0000001x1x1x1x1x001v1w00002n3k3k3h00001v1w0000001w1v1x1x1x1x0000001x1x1x1x1x001w1v00002q00002q00001w1v0000001v1w1x1x1x1x0000001x1x1x1x1x001v1w00002q00002q00001v1w0000001w1v00000000000000000000001x001w1v00002o3k3k3i00001w1v0000001v1w00000000000000000000001x001v1w00000000000000001v1w0000001w1v00000000000000000000001x001w1v00000000000000001w1v0000001v1w0000001x1x1x1x1x1x1x1x1x001v1w1v1w1v1w1v0000001v1w1v1w1v1w1v0000001x1x1x1x1x1x1x1x1x001w1v1w1v1w1v1w0000001w1v1w1v1w1v1w0000001x1x1x1x1x1x1x1x1x001v1w1v1w1v1w1v00000000000000001w1v0000001x0000000000001x1x001w1v1w1v1w1v1w00000000000000001v1w0000001x0000000000001x1x001v1w1v1w1v1w1v1w1v1w1v1w0000001w1v000000000000000000001x1x001w1v1w1v1w1v1w1v1w1v1w1v0000001v1w000000000000000000001x1x001v1w1v1w1v1w1v1w1v1w1v1w0000001w1v000000000407110000000000001w1v1w1v1w1v1w1v1w1v1w1v0000001v1w000000000508120000000000001v1w1v1w1v1w1v1w1v1w1v1w0000001w160v0v0v0v0v0c160v1p000000001w1v1w1v1w1v1w1v1w1v1w1v0000001v0w0w0w0w0w0w0w0w0w1q00000000010v0v1p0000000000010v1w0000001w0w0w0w0w0w0w0w0w171800000000020w0w1q0000000000020w1v0000001v0w0w0w0w0w0w0w1718000000000b0c0w0w1q0000000000020w1w0000001w0w0w0w0w0w0w1718000000000b0c0w0w0w1q0000000000020w1v0000001v0w0w0w0w0w0w1q000000000b0c0w0w0w0w1q0000000000020w1w0000001w0w0w0w0w0w0w1q00000000020w0w0w0w0w1q0000000000020w1v0000001v0w0w0w0w0w0w1q00000000020w0w0w0w0w1q0000000000020w1w0000001w0w0w0w0w0w0w1q000000000e0d0w0w0w0w160v0v0v0v0v0c0w1v0000001v0w0w0w0w0w0w161500000000020w0w0w0w0w0w0w0w0w0w0w0w1w0000001w0w0w0w0w0w0w0w16150000000e0d0w0w0w0w0w0w0w0w0w0w0w1v0000001v0w0w0w0w0w0w0w0w1q00000000020w0w0w0w0w0w0w0w0w0w0w1w0000001w0w0w0w0w0w0w0w0w16150000000e0d0w0w0w0w0w0w0w0w0w0w1v0000001v0w0w0w0w0w0w0w0w0w1q00000000020w0w0w0w0w0w0w0w0w0w1w0000001w0w0w0w0w0w0w0w0w0w1615000000020w0w0w0w0w0w0w0w0w0w1v0000001v0w0w170x0x0d0w0w0w0w1q000000020w0w0w0w0w0w0w0w0w0w1w0000001w0w0w1q0000020w0w0w0w1q000000020w0w0w0w0w0w0w0w0w0w1v0000001v0w0w160v0v0c0w0w0w0w1q000000020w0w0w0w0w0w0w0w0w0w1w0000001w0w0w0w0w0w0w0w170x0x18000000020w0w0w0w0w0w0w0w0w0w1v0000001v0w0w0w0w0w0w1718000000000000020w0w0w0w0w0w0w0w0w0w1w0000001w0w0w0w0w170x1800000000000000020w0w0w0w0w0w0w0w0w0w1v0000001v0w0w0w1718000000000000000000020w0w0w00000000000w0w1w0000001w0w0w171800000000000000000000020w0w0w00000000000w0w1v0000001v0w17180000000000000000000000020w0w0w000w0000000w0w1w0000001w1718000000000000000000000000020w0w0w000w0000000w0w1v0000001v1q000000000000000000000000000e0d0w0w000w0000000w0w1w0000001w180000000000000000000000000000020w0w000w0000000w0w1v0000001v000000000000000000000000000000020w0w000w0000000w0w1w0000001w000000000000000000000000000000020w0w000w0000000w0w1v0000001v000000000000000004071100000000020w0w000w0000000w0w1w0000001w00000004071100000508120000000b0c0w0w000w0000000w0w1v0000001v0000000508160v0v0v0c160v0v0v0c0w0w0w000w0000000w0w1w0000001w00000005090w0w0w0w0w0w0w0w0w0w0w0w0w000w0000000w0w1v0000001v00000005080w0w0w0w0w0w0w0w0w0w0w0w0w000w0000000w0w1w0000001w0000000509170x0x0x0x0x0x0x0d0w0w0w0w000w0000000w0w1v0000001v000000050913000000000000000e0d0w0w0w000w0000000w0w1w0000001w000000060a140000000000000000020w0w0w000w0000000w0w1v0000001v0000000000000000000000000000020w0w0w000w0000000w0w1w0000001w0000000000000000000000000000020w0w0w000w0000000w0w1v0000001v0000000000000000000000000000020w0w0w000w0000000w0w1w0000001w0000000000000000000000000000020w0w0w000w0000000w0w1v0000001v0000000000040711000000000000020w0w0w000w0000000w0w1w0000001w0000000000050812000000000000020w0w0w000w0000000w0w1v0000001v0000000000050913000000000000020w0w0w000w0000000w0w1w0000001w0000000000060a14000000000000020w0w0w000w0000000w0w1v0000001v1500000000000000000000000000020w0w0w000w0000000w0w1w0000001w1q00000000000000000000000000020w0w0w000w0000000w0w1v0000001v1q00000000000000000000000000020w0w0w000w0000000w0w1w0000001w1615000000000000000000000000020w0w0w000w0000000w0w1v0000001v0w1q000000000000000000000000030x0x0x0x1r0000000w0w1w0000001w0w16150000000000000001150000010v0v1p00000000000w0w1v0000001v0w0w161500000000000b0c1q0000030x0x1r07110000000w0w1w0000001w0w0w0w160v0v0v0v0v0c0w160v0v0v0v0v0v0c160v0v0v0w0w1v0000001v\" xmlType=\"variable\" /></layers></map></level></data>"; data = new XML(data_txt); onLoad(data);
Symbol 521 MovieClip [levels\map1.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\map1.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><69 name=\"str_map_level_4\" type=\"str_map_level\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_3.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\level1-3-1.lvl\" type=\"str_level\" x=\"num_87\" y=\"num_9\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_3.png\" xmlType=\"object\" /></data></69><68 name=\"str_map_path_4\" type=\"str_map_path\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_184\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_level1_2\" xmlType=\"variable\" /></flags><data xmlType=\"object\" /></68><67 name=\"str_map_path_6\" type=\"str_map_path\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_40\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></67><66 name=\"str_map_path_5\" type=\"str_map_path\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_56\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></66><65 name=\"str_map_level_3\" type=\"str_map_level\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_2.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_40\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\pipeTest.lvl\" type=\"str_level\" x=\"num_3\" y=\"num_3\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_2.png\" xmlType=\"object\" /></data></65><64 name=\"str_map_level_2\" type=\"str_map_level\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_1.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_40\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\test.lvl\" type=\"str_level\" x=\"num_3\" y=\"num_3\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_1.png\" xmlType=\"object\" /></data></64><63 name=\"str_map_level_1\" type=\"str_map_level\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_2.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_168\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\level1-2-1.lvl\" type=\"str_level\" x=\"num_3\" y=\"num_3\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_2.png\" xmlType=\"object\" /></data></63><62 name=\"str_map_decoration_56\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_help.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_2\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_2\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_help.png\" xmlType=\"object\" /></data></62><61 name=\"str_map_path_3\" type=\"str_map_path\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_152\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></61><60 name=\"str_map_path_2\" type=\"str_map_path\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_120\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_level1_1\" xmlType=\"variable\" /></flags><data xmlType=\"object\" /></60><59 name=\"str_map_level_0\" type=\"str_map_level\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_1.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_104\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\level1-1-1.lvl\" type=\"str_level\" x=\"num_1\" y=\"num_25\" xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_1.png\" xmlType=\"object\" /></data></59><58 name=\"str_setMusic_0\" type=\"str_setMusic\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data file=\"str_music\\grassland.mp3\" xmlType=\"object\" /></58><57 name=\"str_map_path_1\" type=\"str_map_path\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_104\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></57><56 name=\"str_map_path_0\" type=\"str_map_path\" xmlType=\"object\"><editSprite xmlType=\"object\" /><position x=\"num_88\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></56><55 name=\"str_map_decoration_55\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_joint.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_joint.png\" xmlType=\"object\" /></data></55><54 name=\"str_map_decoration_54\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_joint.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_168\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_joint.png\" xmlType=\"object\" /></data></54><53 name=\"str_map_decoration_53\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_joint.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_136\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_joint.png\" xmlType=\"object\" /></data></53><52 name=\"str_map_decoration_52\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_joint.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_104\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_joint.png\" xmlType=\"object\" /></data></52><51 name=\"str_map_decoration_51\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_joint.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_232\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_joint.png\" xmlType=\"object\" /></data></51><50 name=\"str_map_decoration_50\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_joint.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_168\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_joint.png\" xmlType=\"object\" /></data></50><49 name=\"str_map_decoration_49\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_joint.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_104\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_joint.png\" xmlType=\"object\" /></data></49><48 name=\"str_map_decoration_48\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_joint.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_104\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_joint.png\" xmlType=\"object\" /></data></48><47 name=\"str_map_decoration_47\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_joint.png\" direction=\"num_0\" directions=\"num_1\" 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_true\" xmlType=\"object\" /><position x=\"num_136\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" 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_1\" direction=\"num_0\" charset=\"str_charset\\map_joint.png\" xmlType=\"object\" /></data></47><46 name=\"str_map_decoration_46\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></46><45 name=\"str_map_decoration_45\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></45><44 name=\"str_map_decoration_44\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></44><43 name=\"str_map_decoration_43\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></43><42 name=\"str_map_decoration_42\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></42><41 name=\"str_map_decoration_41\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></41><40 name=\"str_map_decoration_40\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_184\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></40><39 name=\"str_map_decoration_39\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></39><38 name=\"str_map_decoration_38\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></38><37 name=\"str_map_decoration_37\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_232\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></37><36 name=\"str_map_decoration_36\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></36><35 name=\"str_map_decoration_35\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></35><34 name=\"str_map_decoration_34\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_184\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></34><33 name=\"str_map_decoration_33\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></33><32 name=\"str_map_decoration_32\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></32><31 name=\"str_map_decoration_31\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></31><30 name=\"str_map_decoration_30\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></30><29 name=\"str_map_decoration_29\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></29><28 name=\"str_map_decoration_28\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></28><27 name=\"str_map_decoration_27\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></27><26 name=\"str_map_decoration_26\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></26><25 name=\"str_map_decoration_25\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_184\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></25><24 name=\"str_map_decoration_24\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_168\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></24><23 name=\"str_map_decoration_23\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_152\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></23><22 name=\"str_map_decoration_22\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_136\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></22><21 name=\"str_map_decoration_21\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0"; data_txt = data_txt + "\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_152\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></21><20 name=\"str_map_decoration_20\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_136\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></20><19 name=\"str_map_decoration_19\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_120\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></19><18 name=\"str_map_decoration_18\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_152\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></18><17 name=\"str_map_decoration_17\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_136\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></17><16 name=\"str_map_decoration_16\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_120\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></16><15 name=\"str_map_decoration_15\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_152\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></15><14 name=\"str_map_decoration_14\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_136\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></14><13 name=\"str_map_decoration_13\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_120\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></13><12 name=\"str_map_decoration_12\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_56\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></12><11 name=\"str_map_decoration_11\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_88\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></11><10 name=\"str_map_decoration_10\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_72\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></10><9 name=\"str_map_decoration_9\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_56\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></9><8 name=\"str_map_decoration_8\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_88\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></8><7 name=\"str_map_decoration_7\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_72\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></7><6 name=\"str_map_decoration_6\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_56\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></6><5 name=\"str_map_decoration_5\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_88\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></5><4 name=\"str_map_decoration_4\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_72\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></4><3 name=\"str_map_decoration_3\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_56\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></3><2 name=\"str_map_decoration_2\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_88\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></2><1 name=\"str_map_decoration_1\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_72\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></1><0 name=\"str_map_decoration_0\" type=\"str_map_decoration\" xmlType=\"object\"><editSprite charset=\"str_charset\\map_bush.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_1\" frames=\"num_3\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_10\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_56\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><sprite isAnimating=\"bol_true\" delay=\"num_10\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\map_bush.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\map.png\" collision=\"str__000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"object\"><layers xmlType=\"array\"><1 value=\"str__76767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767600000u00000076767676767676767600002q000076761p1p76767676767600000u0000761p1p1p767676767676031o2i001o1o1o1o077676767676760u0000000u761p1p0u7676767676760u0000002l002j1p0u7676767676760u0000000u000u760u76767676767604761o1o2r000u1o0x7676767676760u000u0000081r1x1276767676767605000600001w0u761w76767676767676000u0008130u761w7676767676760u1o2i001w1v2p761w76767676767600000000091x1x1x13767676767676000000000000000000767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676\" xmlType=\"variable\" /><0 value=\"str__1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d0i1c1c1c1c1c1c1c1c1c1c261d1d1d0j02020202020202020202271d1d1d0j02020202020202020202271d1d1d0j02020202020202020202271d1d1d0j02020202020202020202271d1d1d0j02020202020202020202271d1d1d0j02020202020202020202271d1d1d0j02020202020202020202271d1d1d0j02020202020202020202271d1d1d0j0202020202021x020202271d1d1d0j02020202020202020202271d1d1d0j02020202020202020202271d1d1d0j02020202020202020202271d1d1d0j02020202020202020202271d1d1d0j02020202020202020202271d1d1d0k1e1e1e1e1e1e1e1e1e1e281d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d1d\" xmlType=\"variable\" /></layers></map></level></data>"; data = new XML(data_txt); onLoad(data);
Symbol 522 MovieClip [levels\pipeTest.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\pipeTest.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><5 name=\"str_pipe_5\" type=\"str_pipe\" xmlType=\"object\"><editSprite charset=\"str_charset/pipeIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_32\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\pipeTest.lvl\" x=\"num_2\" y=\"num_10\" _rotation=\"num_0\" xmlType=\"object\" /></5><4 name=\"str_pipe_4\" type=\"str_pipe\" xmlType=\"object\"><editSprite charset=\"str_charset/pipeIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_32\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\pipeTest.lvl\" x=\"num_2\" y=\"num_7\" _rotation=\"num_180\" xmlType=\"object\" /></4><3 name=\"str_pipe_3\" type=\"str_pipe\" xmlType=\"object\"><editSprite charset=\"str_charset/pipeIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_160\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\pipeTest.lvl\" x=\"num_3\" y=\"num_3\" _rotation=\"num_0\" xmlType=\"object\" /></3><2 name=\"str_pipe_2\" type=\"str_pipe\" xmlType=\"object\"><editSprite charset=\"str_charset/pipeIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_288\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\pipeTest.lvl\" x=\"num_3\" y=\"num_3\" _rotation=\"num_180\" xmlType=\"object\" /></2><1 name=\"str_pipe_1\" type=\"str_pipe\" xmlType=\"object\"><editSprite charset=\"str_charset/pipeIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_192\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\pipeTest.lvl\" x=\"num_3\" y=\"num_3\" _rotation=\"num_90\" xmlType=\"object\" /></1><0 name=\"str_pipe_0\" type=\"str_pipe\" xmlType=\"object\"><editSprite charset=\"str_charset/pipeIcon.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_112\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data level=\"str_levels\\pipeTest.lvl\" x=\"num_3\" y=\"num_3\" _rotation=\"num_270\" xmlType=\"object\" /></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\mario.png\" collision=\"str__111111111111111100000111110001100000111110001100000000000001100000000000001100000010000001100000010000001100000010000001100000010001111100000010001001100000010001001100000010000001100000010000001100000010000001100000000000001100000000000001100000000000001100000000000001100000000000001111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><0 value=\"str__030303030303030303030303030303030000000000040y0y0y0400000003030000000000050z0z0z050000000303000000000000000000000000000303000000000000000000000000000303000000000000030000000000000303000000000000030000000000000303000000000711030000000000000303000000000610030000000303030303000000000000030000000400000303000000000610030000000500000303000000000711030000000000000303000000000000030000000000000303000000000000030000000000000303000000000000000000000000000303000000000000000000000000000303000000000000000000000000000303000000000000000y04000000000303000000000000000z050000000003030303030303030303030303030303\" xmlType=\"variable\" /></layers></map></level></data>"; data = new XML(data_txt); onLoad(data);
Symbol 523 MovieClip [levels\test.lvl] Frame 1
data_txt = "<data><level name=\"str_levels\\test.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><29 name=\"str_springBoard_2\" type=\"str_springBoard\" xmlType=\"object\"><editSprite charset=\"str_sprites\\\\springBoard\\\\preview.swf\" 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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data bounce=\"num_7\" _rotation=\"num_337.5\" setPosition=\"bol_true\" xmlType=\"object\" /></29><28 name=\"str_springBoard_1\" type=\"str_springBoard\" xmlType=\"object\"><editSprite charset=\"str_sprites\\\\springBoard\\\\preview.swf\" 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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_24\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data bounce=\"num_7\" _rotation=\"num_22.5\" setPosition=\"bol_true\" xmlType=\"object\" /></28><27 name=\"str_koopaShell_0\" type=\"str_koopaShell\" xmlType=\"object\"><editSprite isAnimating=\"bol_true\" delay=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" rows=\"num_2\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\koopa_shellMove.png\" xmlType=\"object\" /><position x=\"num_280\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data occupied=\"bol_false\" xDir=\"num_-1\" turnAtEdge=\"bol_false\" xmlType=\"object\" /></27><26 name=\"str_blankBlock_5\" type=\"str_blankBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/blankBlock.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></26><25 name=\"str_blankBlock_4\" type=\"str_blankBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/blankBlock.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></25><24 name=\"str_springBoard_0\" type=\"str_springBoard\" xmlType=\"object\"><editSprite charset=\"str_sprites\\\\springBoard\\\\preview.swf\" 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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data bounce=\"num_10\" _rotation=\"num_337.5\" setPosition=\"bol_false\" xmlType=\"object\" /></24><23 name=\"str_brickBlock_19\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_232\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></23><22 name=\"str_brickBlock_18\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></22><21 name=\"str_brickBlock_17\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></21><20 name=\"str_brickBlock_16\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_280\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></20><19 name=\"str_brickBlock_15\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_232\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></19><18 name=\"str_brickBlock_14\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_280\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></18><17 name=\"str_brickBlock_13\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></17><16 name=\"str_brickBlock_7\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></16><15 name=\"str_brickBlock_12\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></15><14 name=\"str_brickBlock_11\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></14><13 name=\"str_brickBlock_10\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></13><12 name=\"str_brickBlock_9\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_280\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></12><11 name=\"str_brickBlock_8\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></11><10 name=\"str_brickBlock_6\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_280\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></10><9 name=\"str_brickBlock_1\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></9><8 name=\"str_brickBlock_0\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></8><7 name=\"str_blankBlock_3\" type=\"str_blankBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/blankBlock.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></7><6 name=\"str_blankBlock_2\" type=\"str_blankBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/blankBlock.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></6><5 name=\"str_blankBlock_1\" type=\"str_blankBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/blankBlock.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></5><4 name=\"str_blankBlock_0\" type=\"str_blankBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/blankBlock.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_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></4><3 name=\"str_brickBlock_5\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_248\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></3><2 name=\"str_brickBlock_4\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></2><1 name=\"str_brickBlock_3\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_280\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></1><0 name=\"str_brickBlock_2\" type=\"str_brickBlock\" xmlType=\"object\"><editSprite charset=\"str_charset/brickBlock.png\" direction=\"num_0\" directions=\"num_1\" frame=\"num_0\" frames=\"num_4\" pose=\"num_0\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" delay=\"num_4\" isAnimating=\"bol_true\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\" /></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\mario.png\" collision=\"str__111111111111111100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001100000000000001111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><0 value=\"str__030303030303030303030303030303030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030000000000000000000000000003030303030303030303030303030303\" xmlType=\"variable\" /></layers></map></level></data>"; data = new XML(data_txt); onLoad(data);
Symbol 524 MovieClip [level] 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) { _this.removeSnapshot = function () { removeMovieClip(_this.previous_mc); }; 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); removeMovieClip(_this.previous_mc); _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.loader.onLoadInit = function () { _this.internal.frame = _this.init.frame; _this.updateSize(); _this.image_mc.setMask(_this.mask_mc); _this.previous_mc.removeMovieClip(); _this.image_mc._alpha = 100; _this.update(); _this.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 { _this.loader.onLoadInit(); } } else { _this.loader.onLoadInit(); } _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.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.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.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; 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.BACKGROUND = background; RAM.levelName = levelData.name; RAM.levelLocation = {x:startPlace.x, y:startPlace.y}; createBlockArray = function () { _global.BLOCKS = (_this.block = []); var _local2 = 0; while (_local2 < MAP.width) { _this.block[_local2] = new Array(MAP.height); _local2++; } }; createSpriteList = function () { _global.SPRITE_LIST = new Array(); SPRITE_LIST.removeSprite = function (findSprite) { var _local1 = SPRITE_LIST.length - 1; while (_local1 >= 0) { var _local2 = SPRITE_LIST[_local1]; if (_local2 == findSprite) { SPRITE_LIST.splice(_local1, 1); break; } _local1--; } }; }; placeSprites = function () { _global.SPRITES.removeMovieClip(); _global.SPRITES = MAP.createEmptyMovieClip("SPRITES", 11); SPRITES.spritesRemaining = []; var s = 0; while (s < levelData.sprites.length) { SPRITES.spritesRemaining.push(levelData.sprites[s]); s++; } SPRITES.spritesRemaining.remove = function (thisSprite) { for (var _local2 in SPRITES.spritesRemaining) { if (SPRITES.spritesRemaining[_local2] == thisSprite) { SPRITES.spritesRemaining.splice(_local2, 1); } } }; 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++; } }; 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.data); 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(); }; placePlayer = function () { var _local2 = "player_" + RAM.player_obj.name; _global.PLAYER = SPRITES.attachMovie(_local2, "player", nextDepth(SPRITES), {_x:startPlace.x + 8, _y:startPlace.y + 15}); LOOP.addObject(PLAYER, "player"); }; placeScroller = function () { _global.SCROLLER = SPRITES.attachMovie("scroller", "scroller", nextDepth(SPRITES), {target:PLAYER}); LOOP.addObject(SCROLLER, "scroll"); }; LOOP.pauseSet("pause", true); createBackground(); createSpriteList(); MAP.onLoad = function () { createBlockArray(); placeSprites(); placePlayer(); placeScroller(); HUD.gotoAndStop(RAM.player_obj.name); LOOP.pauseSet("pause", false); TRANSITION.fadeIn(); }; MAP.drawObj(levelData.map); onUnload = function () { LOOP.removeSet("sprites"); LOOP.removeSet("player"); LOOP.removeSet("scroller"); var _local2 = function (gName) { _global[gName] = undefined; delete _global[gName]; }; _local2("BACKGROUND"); _local2("MAP"); _local2("BLOCKS"); _local2("SPRITE_LIST"); _local2("SPRITES"); _local2("PLAYER"); _local2("SCROLLER"); };
Instance of Symbol 27 MovieClip [imageLoader] "background" in Symbol 524 MovieClip [level] Frame 1
//component parameters onClipEvent (construct) { file = ""; enabled = true; visible = true; scaleContent = false; }
Symbol 525 MovieClip [database.xml] Frame 1
data_txt = "<data maxGravity=\"num_8\" gravity=\"num_0.5\" xmlType=\"object\"><startAt y=\"num_5\" x=\"num_4\" type=\"str_map\" level=\"str_levels\\map1.lvl\" xmlType=\"object\" /></data>"; data = new XML(data_txt); onLoad(data);
Instance of Symbol 65 MovieClip [Button] in Symbol 727 MovieClip Frame 5
//component parameters onClipEvent (construct) { icon = ""; label = "Button"; labelPlacement = "right"; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 128 MovieClip [TextArea] in Symbol 727 MovieClip Frame 5
//component parameters onClipEvent (construct) { editable = true; html = false; text = ""; wordWrap = true; maxChars = null; restrict = ""; enabled = true; password = false; visible = true; minHeight = 0; minWidth = 0; }
Instance of Symbol 27 MovieClip [imageLoader] in Symbol 727 MovieClip Frame 5
//component parameters onClipEvent (construct) { file = ""; enabled = true; visible = true; scaleContent = true; }
Symbol 728 MovieClip Frame 1
if (!ZigoEngine) { com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); } com.mosesSupposes.fuse.FuseFMP; _global.ROOT = this; _this = this; stop(); levelData = _parent.levelData; startPlace = _parent.startPlace; 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 (nam in inputObject) { delete inputObject[nam]; } }; getType = function (inputObject) { var _local1 = ""; if (inputObject instanceof Function) { if (showTrace) { trace("function"); } _local1 = "function"; } else if (inputObject instanceof MovieClip) { if (showTrace) { trace("movieClip"); } _local1 = "movieClip"; } else if (inputObject instanceof Array) { if (showTrace) { trace("array"); } _local1 = "array"; } else if (inputObject instanceof XMLNode) { if (showTrace) { trace("xml"); } _local1 = "xml"; } else if (inputObject instanceof flash.display.BitmapData) { if (showTrace) { trace("bitmap"); } _local1 = "bitmap"; } else if (inputObject instanceof Object) { if (showTrace) { trace("object"); } _local1 = "object"; } else { if (showTrace) { trace("variable"); } _local1 = "variable"; } if (showTrace) { trace("Object Type: " + _local1); } return(_local1); }; copyObject = function (srcObj, destObj) { var _local2 = false; if (_local2) { trace("copyObject()"); } for (childName in srcObj) { if (_local2) { trace(""); } if (_local2) { trace("childName: " + childName); } thisChild = srcObj[childName]; childType = getType(thisChild); if (_local2) { trace((childName + ": ") + childType); } if (childType == "variable") { destObj[childName] = thisChild; } if (childType == "bitmap") { destObj[childName] = thisChild.clone(); } if (childType == "xml") { destObj[childName] = thisChild.cloneNode(true); } if (childType == "array") { destObj[childName] = new Array(); copyObject(thisChild, destObj[childName]); } if (childType == "object") { destObj[childName] = new Object(); copyObject(thisChild, destObj[childName]); } } }; if (!_global.RAM) { _global.RAM = {}; } RAM.player_obj = {name:"peach", maxHp:4, hp:4, items:{}, coins:0}; RAM.mapName; RAM.mapLocation = {x:0, y:0}; RAM.levelName; RAM.levelLocation = {x:0, y:0}; RAM.setMapFlag = null; RAM.controls = {up:38, right:39, down:40, left:37, run:88, jump:67, shoot:90, aimUp:68, aimDown:83, pause:27, confirm:13, cancel:27}; RAM.saveID = "humbird0_platformer"; _global.ROM = {width:320, height:240, gravity:0.5, maxGravity:8, startAt:{level:"levels\\testMap.lvl", type:"level", x:5, y:5}}; getDatabaseXml = function (internal_xml) { ROOT.internalLevel.removeMovieClip(); var _local1 = {}; readXml(internal_xml.firstChild, ROM); RAM.playerSprite = {}; copyObject(ROM.playerSprite, RAM.playerSprite); startGame(); }; ROOT.internalDatabase.removeMovieClip(); ROOT.attachMovie("database.xml", "internalDatabase", 444, {onLoad:getDatabaseXml}); if (internalDatabase == undefined) { database_xml = new XML(); database_xml.onLoad = function (success) { if (success) { getDatabaseXml(database_xml); } }; database_xml.load("database.xml"); } 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", 101); 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 _local5 = "transformClip_" + Math.floor(Math.random() * 999); var _local4 = _this.createEmptyMovieClip(_local5, nextDepth(_this)); var new_sound = new Sound(_local4); _this.sound_array.push(new_sound); new_sound.transformClip = _local4; 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].transformClip.removeMovieClip(); _this.sound_array.splice(_local2, 1); break; } _local2++; } }; if (!loop) { new_sound.onSoundComplete = function () { new_sound.onSoundDone(); 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", 102); _global.HUD = _this.attachMovie("hud", "hud", 3); 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, "pause", 100); _global.addMotionBlur = function (_this, source_mc, blurAmount, screenWidth, screenHeight) { _this.source_mc = (source_mc ? (source_mc) : (_this._parent)); _this.blurAmount = (blurAmount ? (blurAmount) : 70); _this.screenWidth = (screenWidth ? (screenWidth) : (Stage.width)); _this.screenHeight = (screenHeight ? (screenHeight) : (Stage.height)); _this._alpha = _this.blurAmount; _this.active = true; _this.onEnterFrame = function () { if (_this.active) { var _local1 = new flash.display.BitmapData(_this.screenWidth, _this.screenHeight, true, 0); _local1.draw(_this.source_mc); _this.attachBitmap(_local1, 0); delete _this.blur_pic; _this.blur_pic = _local1; } else { _this.blur_pic.dispose(); delete _this.blur_pic; } }; }; this.createEmptyMovieClip("motionBlur", 2); addMotionBlur(motionBlur, this, 70, 320, 240); motionBlur.shake = {}; motionBlur.shake.loop = function () { motionBlur._x = (Math.random() * 4) - 2; motionBlur._y = (Math.random() * 4) - 2; }; LOOP.addObject(motionBlur.shake, "shake"); LOOP.pauseObject(motionBlur.shake, true); motionBlur.active = false; this.attachMovie("pause_win", "pause_win", 10); _global.TRANSITION = this.attachMovie("transition_mc", "transition", 12); buildLevel = function (levelData, startPlace, type) { LOOP.pauseObject(motionBlur.shake, true); ROOT.motionBlur.active = false; type = (type ? (type) : "level"); var _local2 = ((LEVEL.getDepth() == 0) ? 1 : 0); var _local3 = "level" + _local2; LEVEL.removeMovieClip(); _global.LEVEL = _this.attachMovie(type, _local3, _local2, {levelData:levelData, startPlace:startPlace, type:type}); delete level_xml; }; getLevelXml = function (internal_xml) { ROOT.internalLevel.removeMovieClip(); var _local1 = {}; readXml(internal_xml.firstChild, _local1); setTimeout(buildLevel, 34, _local1.level, level_xml.startPlace, level_xml.type); }; loadLevel = function (file, startPlace, type) { type = (type ? (type) : "level"); level_xml = new XML(); level_xml.file = file; level_xml.startPlace = {x:startPlace.x * 16, y:startPlace.y * 16}; level_xml.type = type; ROOT.attachMovie(level_xml.file, "internalLevel", 900, {onLoad:getLevelXml}); if (internalLevel == undefined) { var level_xml = new XML(); level_xml.file = file; level_xml.startPlace = {x:startPlace.x * 16, y:startPlace.y * 16}; level_xml.type = type; level_xml.onLoad = function (success) { if (success) { getLevelXml(level_xml); } }; level_xml.load(file); } }; teleport = function (file, startPlace, type, transition) { teleport_obj = {file:file, startPlace:startPlace, type:type, fadeOutDone:function () { delete TRANSITION.fadeOutDone; _this.loadLevel(teleport_obj.file, teleport_obj.startPlace, teleport_obj.type); delete ROOT.teleport_obj; }}; TRANSITION.fadeOutDone = teleport_obj.fadeOutDone; TRANSITION.start("transition_" + transition); }; titleScreen = function (onClose) { LEVEL.removeMovieClip(); _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); } } }; var _local12 = loadImage("swf\\title.swf", this, "title_mc", 9); success = function () { title_mc.onClose = onClose; }; _local12.onLoadInit = success; if (!_local12) { success(); } _local12.onLoadError = function () { onClose(); }; }; selectCharacter = function (onClose) { ROOT.attachMovie("characterSelect_win", "characterSelect_win", 11); ROOT.characterSelect_win.onClose = onClose; }; if (levelData) { buildLevel(levelData, startPlace, "level"); } else { titleScreen(); } onUnload = function () { var _local2 = function (gName) { _global[gName] = undefined; delete _global[gName]; }; SOUND.stopAll(); MUSIC.stop(); _local2("ROOT"); _local2("MUSIC"); _local2("SOUND"); _local2("HUD"); _local2("LOOP"); _local2("TRANSITION"); _local2("LEVEL"); };

Library Items

Symbol 1 Sound [sound\selectCharacter.mp3]Used by:727
Symbol 2 GraphicUsed by:10 21
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:10 21
Symbol 5 GraphicUsed by:6 184 344 349 373 395
Symbol 6 MovieClipUses:5Used by:10
Symbol 7 FontUsed by:8 9 19 20 204
Symbol 8 EditableTextUses:7Used by:10
Symbol 9 EditableTextUses:7Used by:10
Symbol 10 MovieClip [loadInterface1]Uses:2 4 6 8 9
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:11 12Used by:21
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:18
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:18
Symbol 18 MovieClipUses:15 17Used by:21
Symbol 19 EditableTextUses:7Used by:21
Symbol 20 EditableTextUses:7Used by:21
Symbol 21 MovieClip [loadInterface0]Uses:2 13 18 19 20 4
Symbol 22 GraphicUsed by:23 303
Symbol 23 MovieClip [charset\invisible.png]Uses:22Used by:727
Symbol 24 GraphicUsed by:27
Symbol 25 FontUsed by:26
Symbol 26 EditableTextUses:25Used by:27
Symbol 27 MovieClip [imageLoader]Uses:24 26Used by:206 524 727
Symbol 28 GraphicUsed by:29 160 421 516
Symbol 29 MovieClip [black]Uses:28Used by:468 471  Timeline
Symbol 35 FontUsed by:36
Symbol 36 EditableTextUses:35Used by:128
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClip [BoundingBox]Uses:37Used by:57 61 65 124 125 126 127
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClip [BrdrShdw]Uses:39Used by:43 48 49
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClip [BrdrFace]Uses:41Used by:43 48 49
Symbol 43 MovieClip [SimpleButtonDown]Uses:40 42Used by:61
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClip [BrdrBlk]Uses:44Used by:48 49
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClip [BrdrHilght]Uses:46Used by:48 49
Symbol 48 MovieClip [SimpleButtonIn]Uses:45 47 40 42Used by:61
Symbol 49 MovieClip [SimpleButtonUp]Uses:45 42 40 47Used by:61
Symbol 50 MovieClip [Defaults]Used by:52
Symbol 51 MovieClip [UIObjectExtensions]Used by:52
Symbol 52 MovieClip [UIObject]Uses:50 51Used by:58 60 62
Symbol 53 GraphicUsed by:55
Symbol 54 GraphicUsed by:55
Symbol 55 ButtonUses:53 54Used by:58
Symbol 56 MovieClipUsed by:58
Symbol 57 MovieClip [FocusRect]Uses:38Used by:58
Symbol 58 MovieClip [FocusManager]Uses:55 56 57 52Used by:60
Symbol 59 MovieClip [UIComponentExtensions]Used by:60
Symbol 60 MovieClip [UIComponent]Uses:52 58 59Used by:61 126
Symbol 61 MovieClip [SimpleButton]Uses:38 43 48 49 60Used by:65 124 125
Symbol 62 MovieClip [Border]Uses:52Used by:63 65
Symbol 63 MovieClip [RectBorder]Uses:62Used by:65 126
Symbol 64 MovieClip [ButtonSkin]Used by:65
Symbol 65 MovieClip [Button]Uses:38 61 62 63 64Used by:124 125 190 465 515 727
Symbol 66 MovieClip [CustomBorder]Used by:124 125
Symbol 67 GraphicUsed by:69 105 106 107 110 111 116
Symbol 68 GraphicUsed by:69 105 106 110 111 116
Symbol 69 MovieClip [ScrollTrack]Uses:67 68Used by:76 81 82 83 117 118 119 120 121 122
Symbol 70 GraphicUsed by:76 81 82 83 117 118 119 120
Symbol 71 GraphicUsed by:76 81 82 83 117 118 119 120
Symbol 72 GraphicUsed by:76 81 82 83 117 118 119 120
Symbol 73 GraphicUsed by:76 81 82 83 117 118 119 120
Symbol 74 GraphicUsed by:76 81 82 83 117 118 119 120
Symbol 75 GraphicUsed by:76 81 82 83
Symbol 76 MovieClip [ScrollDownArrowDisabled]Uses:69 70 71 72 73 74 75Used by:123
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClip [ScrollThemeColor1]Uses:77Used by:81 82 118 119
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClip [ScrollThemeColor2]Uses:79Used by:81 118
Symbol 81 MovieClip [ScrollDownArrowDown]Uses:69 70 78 71 72 73 74 80 75Used by:123
Symbol 82 MovieClip [ScrollDownArrowOver]Uses:69 70 78 71 72 73 74 75Used by:123
Symbol 83 MovieClip [ScrollDownArrowUp]Uses:69 70 71 72 73 74 75Used by:123
Symbol 84 GraphicUsed by:89 94 95 96 112 113 114 115
Symbol 85 GraphicUsed by:89 94 95 96 112 113 114 115
Symbol 86 GraphicUsed by:89 94 95 96 112 113 114 115
Symbol 87 GraphicUsed by:89 94 95 96 112 113 114 115
Symbol 88 GraphicUsed by:89 94 95 96 112 113 114 115
Symbol 89 MovieClip [ScrollThumbBottomDisabled]Uses:84 85 86 87 88Used by:123
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClip [ThumbThemeColor1]Uses:90Used by:94 95 113 114
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClip [ThumbThemeColor3]Uses:92Used by:94 113
Symbol 94 MovieClip [ScrollThumbBottomDown]Uses:84 91 85 86 87 93 88Used by:123
Symbol 95 MovieClip [ScrollThumbBottomOver]Uses:84 91 85 86 87 88Used by:123
Symbol 96 MovieClip [ScrollThumbBottomUp]Uses:84 85 86 87 88Used by:123
Symbol 97 GraphicUsed by:98 101 102 103
Symbol 98 MovieClip [ScrollThumbGripDisabled]Uses:97Used by:123
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClip [ThumbThemeColor2]Uses:99Used by:101 102 105 106 110
Symbol 101 MovieClip [ScrollThumbGripDown]Uses:100 97Used by:123
Symbol 102 MovieClip [ScrollThumbGripOver]Uses:100 97Used by:123
Symbol 103 MovieClip [ScrollThumbGripUp]Uses:97Used by:123
Symbol 104 GraphicUsed by:105 106 110 111
Symbol 105 MovieClip [ScrollThumbMiddleDisabled]Uses:67 104 100 68Used by:123
Symbol 106 MovieClip [ScrollThumbMiddleDown]Uses:67 100 104 68Used by:123
Symbol 107 MovieClipUses:67Used by:110
Symbol 108 GraphicUsed by:109 117 118 119 120
Symbol 109 MovieClipUses:108Used by:110
Symbol 110 MovieClip [ScrollThumbMiddleOver]Uses:67 100 104 107 109 68Used by:123
Symbol 111 MovieClip [ScrollThumbMiddleUp]Uses:67 104 68Used by:123
Symbol 112 MovieClip [ScrollThumbTopDisabled]Uses:84 85 86 87 88Used by:123
Symbol 113 MovieClip [ScrollThumbTopDown]Uses:84 91 85 86 87 93 88Used by:123
Symbol 114 MovieClip [ScrollThumbTopOver]Uses:84 91 85 86 87 88Used by:123
Symbol 115 MovieClip [ScrollThumbTopUp]Uses:84 85 86 87 88Used by:123
Symbol 116 MovieClip [ScrollTrackDisabled]Uses:67 68Used by:123
Symbol 117 MovieClip [ScrollUpArrowDisabled]Uses:69 70 71 72 73 74 108Used by:123
Symbol 118 MovieClip [ScrollUpArrowDown]Uses:69 70 78 71 72 73 74 80 108Used by:123
Symbol 119 MovieClip [ScrollUpArrowOver]Uses:69 70 78 71 72 108 73 74Used by:123
Symbol 120 MovieClip [ScrollUpArrowUp]Uses:69 70 71 72 73 74 108Used by:123
Symbol 121 MovieClip [BtnDownArrow]Uses:69Used by:123
Symbol 122 MovieClip [BtnUpArrow]Uses:69Used by:123
Symbol 123 MovieClip [ScrollBarAssets]Uses:76 81 82 83 89 94 95 96 98 101 102 103 105 106 110 111 112 113 114 115 116 117 118 119 120 121 122Used by:124 125
Symbol 124 MovieClip [HScrollBar]Uses:38 65 61 66 123Used by:127
Symbol 125 MovieClip [VScrollBar]Uses:38 65 61 66 123Used by:127
Symbol 126 MovieClip [View]Uses:38 60 63Used by:127
Symbol 127 MovieClip [ScrollView]Uses:38 124 125 126Used by:128
Symbol 128 MovieClip [TextArea]Uses:36 127Used by:465 515 727
Symbol 30 MovieClip [__Packages.mx.core.UIObject]
Symbol 129 MovieClip [__Packages.mx.skins.SkinElement]
Symbol 130 MovieClip [__Packages.mx.styles.CSSTextStyles]
Symbol 132 MovieClip [__Packages.mx.styles.CSSStyleDeclaration]
Symbol 131 MovieClip [__Packages.mx.styles.StyleManager]
Symbol 31 MovieClip [__Packages.mx.core.UIComponent]
Symbol 729 MovieClip [__Packages.com.mosesSupposes.fuse.Shortcuts]
Symbol 730 MovieClip [__Packages.com.mosesSupposes.fuse.FuseKitCommon]
Symbol 731 MovieClip [__Packages.com.mosesSupposes.fuse.ZigoEngine]
Symbol 732 MovieClip [__Packages.com.mosesSupposes.fuse.ZManager]
Symbol 733 MovieClip [__Packages.com.mosesSupposes.fuse.PennerEasing]
Symbol 734 MovieClip [__Packages.com.mosesSupposes.fuse.FuseFMP]
Symbol 735 MovieClip [__Packages.ParticleSystem]
Symbol 736 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 737 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 738 MovieClip [__Packages.mx.transitions.Tween]
Symbol 739 MovieClip [__Packages.mx.transitions.easing.None]
Symbol 32 MovieClip [__Packages.mx.core.View]
Symbol 33 MovieClip [__Packages.mx.core.ScrollView]
Symbol 34 MovieClip [__Packages.mx.controls.TextArea]
Symbol 133 MovieClip [__Packages.mx.skins.Border]
Symbol 134 MovieClip [__Packages.mx.skins.RectBorder]
Symbol 135 MovieClip [__Packages.mx.managers.DepthManager]
Symbol 136 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 137 MovieClip [__Packages.mx.events.UIEventDispatcher]
Symbol 138 MovieClip [__Packages.mx.core.ExternalContent]
Symbol 139 MovieClip [__Packages.mx.skins.CustomBorder]
Symbol 140 MovieClip [__Packages.mx.controls.scrollClasses.ScrollThumb]
Symbol 141 MovieClip [__Packages.mx.controls.SimpleButton]
Symbol 142 MovieClip [__Packages.mx.controls.scrollClasses.ScrollBar]
Symbol 143 MovieClip [__Packages.mx.controls.HScrollBar]
Symbol 144 MovieClip [__Packages.mx.controls.Button]
Symbol 145 MovieClip [__Packages.mx.skins.ColoredSkinElement]
Symbol 146 MovieClip [__Packages.mx.core.ext.UIObjectExtensions]
Symbol 147 MovieClip [__Packages.mx.skins.halo.Defaults]
Symbol 148 MovieClip [__Packages.mx.managers.SystemManager]
Symbol 149 MovieClip [__Packages.mx.managers.FocusManager]
Symbol 150 MovieClip [__Packages.mx.skins.halo.FocusRect]
Symbol 151 MovieClip [__Packages.mx.managers.OverlappedWindows]
Symbol 152 MovieClip [__Packages.mx.styles.CSSSetStyle]
Symbol 153 MovieClip [__Packages.mx.core.ext.UIComponentExtensions]
Symbol 154 MovieClip [__Packages.mx.skins.halo.RectBorder]
Symbol 155 MovieClip [__Packages.mx.skins.halo.ButtonSkin]
Symbol 156 MovieClip [__Packages.mx.controls.VScrollBar]
Symbol 157 MovieClip [map_decoration]Used by:465 727
Symbol 158 MovieClip [map_level]Used by:465 727
Symbol 159 MovieClip [map_player]Used by:465 727
Symbol 160 MovieClipUses:28Used by:190 198 420
Symbol 161 FontUsed by:162 163 164 165 166 167 168 169 170 175 188 189 193
Symbol 162 TextUses:161Used by:190
Symbol 163 TextUses:161Used by:190
Symbol 164 TextUses:161Used by:190
Symbol 165 TextUses:161Used by:190
Symbol 166 TextUses:161Used by:190
Symbol 167 TextUses:161Used by:190
Symbol 168 TextUses:161Used by:190
Symbol 169 TextUses:161Used by:190
Symbol 170 TextUses:161Used by:190
Symbol 171 GraphicUsed by:174
Symbol 172 GraphicUsed by:174
Symbol 173 GraphicUsed by:174
Symbol 174 ButtonUses:171 172 173Used by:190
Symbol 175 TextUses:161Used by:190
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:176Used by:187
Symbol 178 BitmapUsed by:179
Symbol 179 GraphicUses:178Used by:180
Symbol 180 MovieClipUses:179Used by:187
Symbol 181 BitmapUsed by:182
Symbol 182 GraphicUses:181Used by:183
Symbol 183 MovieClipUses:182Used by:187
Symbol 184 MovieClipUses:5Used by:187
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:185Used by:187
Symbol 187 MovieClipUses:177 180 183 184 186Used by:190
Symbol 188 TextUses:161Used by:190
Symbol 189 TextUses:161Used by:190
Symbol 190 MovieClip [options_win]Uses:160 162 163 164 165 166 167 168 169 170 174 175 65 187 188 189Used by:465 727
Symbol 191 MovieClipUsed by:198
Symbol 192 GraphicUsed by:194
Symbol 193 EditableTextUses:161Used by:194
Symbol 194 MovieClipUses:192 193Used by:198
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:195Used by:197
Symbol 197 MovieClipUses:196Used by:198
Symbol 198 MovieClip [pause_win]Uses:191 160 194 197Used by:465 727
Symbol 199 BitmapUsed by:200
Symbol 200 GraphicUses:199Used by:201
Symbol 201 MovieClipUses:200Used by:202
Symbol 202 MovieClip [characterSelect_win]Uses:201Used by:465 727
Symbol 203 GraphicUsed by:205
Symbol 204 EditableTextUses:7Used by:205
Symbol 205 MovieClipUses:203 204Used by:206
Symbol 206 MovieClip [swf\title.swf]Uses:27 205Used by:465 727
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClip [stageLight]Uses:207Used by:465
Symbol 209 GraphicUsed by:218
Symbol 210 BitmapUsed by:211
Symbol 211 GraphicUses:210Used by:212
Symbol 212 MovieClipUses:211Used by:213
Symbol 213 MovieClipUses:212Used by:218
Symbol 214 GraphicUsed by:218
Symbol 215 BitmapUsed by:216
Symbol 216 GraphicUses:215Used by:217
Symbol 217 MovieClipUses:216Used by:218
Symbol 218 MovieClipUses:209 213 214 217Used by:219
Symbol 219 MovieClip [titleLogoAppear]Uses:218Used by:465 727
Symbol 220 GraphicUsed by:223
Symbol 221 FontUsed by:222
Symbol 222 EditableTextUses:221Used by:223
Symbol 223 MovieClip [credits_win]Uses:220 222Used by:465 727
Symbol 224 Bitmap [block_blank]Used by:302 318
Symbol 225 Bitmap [block_shot]Used by:302
Symbol 226 Bitmap [samus_selected]Used by:302
Symbol 227 Bitmap [peach_selected]Used by:302
Symbol 228 Bitmap [amy_selected]Used by:302
Symbol 229 Bitmap [amy_die]Used by:302
Symbol 230 Bitmap [mushroomImage]Used by:302 354
Symbol 231 Bitmap [coin]Used by:302
Symbol 232 Bitmap [coin10]Used by:302
Symbol 233 Bitmap [sonic_springBoard.png]Used by:302
Symbol 234 Bitmap [block_speed]Used by:302
Symbol 235 Bitmap [block_return]Used by:302
Symbol 236 Bitmap [block_break]Used by:302
Symbol 237 Bitmap [block_bomb]Used by:302
Symbol 238 Bitmap [block_prize]Used by:302
Symbol 239 Bitmap [block_note]Used by:302
Symbol 240 Bitmap [block_brick]Used by:302
Symbol 241 Bitmap [spiny_walk]Used by:302
Symbol 242 Bitmap [spiny_die]Used by:302
Symbol 243 Bitmap [samus_normalShot]Used by:302
Symbol 244 Bitmap [samus_iceShot]Used by:302
Symbol 245 Bitmap [samus_chargedNormalShot]Used by:302
Symbol 246 Bitmap [samus_chargedIceShot]Used by:302
Symbol 247 Bitmap [samus_charge3]Used by:302
Symbol 248 Bitmap [samus_charge2]Used by:302
Symbol 249 Bitmap [samus_charge1]Used by:302
Symbol 250 Bitmap [samus_bomb]Used by:302
Symbol 251 Bitmap [samus_wallJump]Used by:302
Symbol 252 Bitmap [samus_walk_upSlant]Used by:302
Symbol 253 Bitmap [samus_walk_shoot]Used by:302
Symbol 254 Bitmap [samus_walk_downSlant]Used by:302
Symbol 255 Bitmap [samus_walk]Used by:302
Symbol 256 Bitmap [samus_startMorph]Used by:302
Symbol 257 Bitmap [samus_startDuck]Used by:302
Symbol 258 Bitmap [samus_stand_upSlant]Used by:302
Symbol 259 Bitmap [samus_stand_up]Used by:302
Symbol 260 Bitmap [samus_stand_downSlant]Used by:302
Symbol 261 Bitmap [samus_stand]Used by:302
Symbol 262 Bitmap [samus_slip]Used by:302
Symbol 263 Bitmap [samus_morphBall]Used by:302
Symbol 264 Bitmap [samus_land]Used by:302
Symbol 265 Bitmap [samus_jumpFlip]Used by:302
Symbol 266 Bitmap [samus_jump_upSlant]Used by:302
Symbol 267 Bitmap [samus_jump_up]Used by:302
Symbol 268 Bitmap [samus_jump_shoot]Used by:302
Symbol 269 Bitmap [samus_jump_downSlant]Used by:302
Symbol 270 Bitmap [samus_jump_down]Used by:302
Symbol 271 Bitmap [samus_jump]Used by:302
Symbol 272 Bitmap [samus_flinch]Used by:302
Symbol 273 Bitmap [samus_fall]Used by:302
Symbol 274 Bitmap [samus_endMorph]Used by:302
Symbol 275 Bitmap [samus_duck_upSlant]Used by:302
Symbol 276 Bitmap [samus_duck_up]Used by:302
Symbol 277 Bitmap [samus_duck_downSlant]Used by:302
Symbol 278 Bitmap [samus_duck]Used by:302
Symbol 279 Bitmap [samus_die]Used by:302
Symbol 280 Bitmap [samus_boostUp]Used by:302
Symbol 281 Bitmap [samus_boostSide]Used by:302
Symbol 282 Bitmap [peach_walk]Used by:302
Symbol 283 Bitmap [peach_stand]Used by:302
Symbol 284 Bitmap [peach_slide]Used by:302
Symbol 285 Bitmap [peach_skid]Used by:302
Symbol 286 Bitmap [peach_jump]Used by:302
Symbol 287 Bitmap [peach_float]Used by:302
Symbol 288 Bitmap [peach_flinch]Used by:302
Symbol 289 Bitmap [peach_fall]Used by:302
Symbol 290 Bitmap [peach_duck]Used by:302
Symbol 291 Bitmap [amy_walk]Used by:302
Symbol 292 Bitmap [amy_stand]Used by:302
Symbol 293 Bitmap [amy_spinDash]Used by:302
Symbol 294 Bitmap [amy_skid]Used by:302
Symbol 295 Bitmap [amy_roll]Used by:302
Symbol 296 Bitmap [amy_jump]Used by:302
Symbol 297 Bitmap [amy_flinch]Used by:302
Symbol 298 Bitmap [amy_fall]Used by:302
Symbol 299 Bitmap [amy_duck]Used by:302
Symbol 300 Bitmap [goomba_walk]Used by:302
Symbol 301 Bitmap [goomba_die]Used by:302
Symbol 302 GraphicUses:224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301Used by:465
Symbol 303 MovieClip [attackArea]Uses:22Used by:315 320 321 431 465 727
Symbol 304 MovieClip [goomba]Used by:465 727
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClip [hitArea]Uses:305Used by:310 314 315 321 322 323 324 325 326 333 334 343 353 356 431 465 514 727
Symbol 307 BitmapUsed by:308
Symbol 308 GraphicUses:307Used by:309
Symbol 309 MovieClipUses:308Used by:310
Symbol 310 MovieClip [mario_ledge]Uses:309 306Used by:465 727
Symbol 311 MovieClip [player_amy]Used by:465 727
Symbol 312 MovieClip [player_peach]Used by:465 727
Symbol 313 MovieClip [player_samus]Used by:465 727
Symbol 314 MovieClip [samusBomb]Uses:306Used by:465 727
Symbol 315 MovieClip [samusShot]Uses:303 306Used by:465 727
Symbol 316 MovieClip [scroll]Used by:465
Symbol 317 MovieClip [spiny]Used by:465 727
Symbol 318 GraphicUses:224Used by:319
Symbol 319 MovieClip [blankBlock]Uses:318Used by:465 727
Symbol 320 MovieClip [brickBlock]Uses:303Used by:465 727
Symbol 321 MovieClip [prizeBlock]Uses:303 306Used by:465 727
Symbol 322 MovieClip [bombBlock]Uses:306Used by:465 727
Symbol 323 MovieClip [shotBlock]Uses:306Used by:465 727
Symbol 324 MovieClip [speedBlock]Uses:306Used by:465 727
Symbol 325 MovieClip [noteBlock]Uses:306Used by:465 727
Symbol 326 MovieClip [pipe]Uses:306Used by:465 727
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClipUses:327Used by:333
Symbol 329 GraphicUsed by:330
Symbol 330 MovieClipUses:329Used by:333
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClipUses:331Used by:333
Symbol 333 MovieClip [slopeUp]Uses:306 328 330 332Used by:465 727
Symbol 334 MovieClip [springBoard]Uses:306Used by:465 727
Symbol 335 MovieClip [coin10Block]Used by:465 727
Symbol 336 MovieClip [coinBlock]Used by:465 727
Symbol 337 ShapeTweeningUsed by:342
Symbol 338 ShapeTweeningUsed by:342
Symbol 339 ShapeTweeningUsed by:342
Symbol 340 ShapeTweeningUsed by:342
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClipUses:337 338 339 340 341Used by:343
Symbol 343 MovieClip [energyOrb]Uses:342 306Used by:465 727
Symbol 344 MovieClipUses:5Used by:349
Symbol 345 BitmapUsed by:346
Symbol 346 GraphicUses:345Used by:347
Symbol 347 MovieClipUses:346Used by:348
Symbol 348 MovieClipUses:347Used by:349
Symbol 349 MovieClipUses:344 5 348Used by:353
Symbol 350 BitmapUsed by:351
Symbol 351 GraphicUses:350Used by:352
Symbol 352 MovieClipUses:351Used by:353
Symbol 353 MovieClip [goalMario]Uses:349 352 306Used by:465 727
Symbol 354 GraphicUses:230Used by:355
Symbol 355 MovieClipUses:354Used by:356
Symbol 356 MovieClip [mushroom]Uses:355 306Used by:465 727
Symbol 357 MovieClip [pit]Used by:465 727
Symbol 358 BitmapUsed by:359
Symbol 359 GraphicUses:358Used by:360
Symbol 360 MovieClipUses:359Used by:361
Symbol 361 MovieClip [particle_smoke]Uses:360Used by:465 727
Symbol 362 GraphicUsed by:363
Symbol 363 MovieClipUses:362Used by:364
Symbol 364 MovieClipUses:363Used by:365
Symbol 365 MovieClip [particle_sparkle]Uses:364Used by:465 727
Symbol 366 MovieClip [particle_streak]Used by:465 727
Symbol 367 BitmapUsed by:368
Symbol 368 GraphicUses:367Used by:369
Symbol 369 MovieClip [mario_heartEmpty]Uses:368Used by:465
Symbol 370 BitmapUsed by:371
Symbol 371 GraphicUses:370Used by:372
Symbol 372 MovieClip [mario_heartFull]Uses:371Used by:465
Symbol 373 MovieClip [mario_hpMask]Uses:5Used by:465
Symbol 374 BitmapUsed by:375
Symbol 375 GraphicUses:374Used by:385
Symbol 376 BitmapUsed by:377
Symbol 377 GraphicUses:376Used by:382
Symbol 378 BitmapUsed by:379
Symbol 379 GraphicUses:378Used by:382
Symbol 380 BitmapUsed by:381
Symbol 381 GraphicUses:380Used by:382
Symbol 382 MovieClipUses:377 379 381Used by:385
Symbol 383 FontUsed by:384
Symbol 384 EditableTextUses:383Used by:385
Symbol 385 MovieClipUses:375 382 384Used by:422 727
Symbol 386 BitmapUsed by:387
Symbol 387 GraphicUses:386Used by:394
Symbol 388 FontUsed by:389 393
Symbol 389 EditableTextUses:388Used by:394
Symbol 390 BitmapUsed by:391
Symbol 391 GraphicUses:390Used by:392
Symbol 392 MovieClipUses:391Used by:394
Symbol 393 EditableTextUses:388Used by:394
Symbol 394 MovieClipUses:387 389 392 393Used by:422 727
Symbol 395 MovieClipUses:5Used by:421
Symbol 396 BitmapUsed by:397
Symbol 397 GraphicUses:396Used by:398
Symbol 398 MovieClipUses:397Used by:399
Symbol 399 MovieClipUses:398Used by:421
Symbol 400 BitmapUsed by:401
Symbol 401 GraphicUses:400Used by:402
Symbol 402 MovieClipUses:401Used by:403
Symbol 403 MovieClipUses:402Used by:421
Symbol 404 FontUsed by:405 409
Symbol 405 EditableTextUses:404Used by:421
Symbol 406 BitmapUsed by:408
Symbol 407 BitmapUsed by:408
Symbol 408 GraphicUses:406 407Used by:421
Symbol 409 EditableTextUses:404Used by:421
Symbol 410 BitmapUsed by:411
Symbol 411 GraphicUses:410Used by:412
Symbol 412 MovieClipUses:411Used by:413
Symbol 413 MovieClipUses:412Used by:420
Symbol 414 MovieClipUsed by:420
Symbol 415 GraphicUsed by:416
Symbol 416 MovieClipUses:415Used by:420
Symbol 417 BitmapUsed by:418
Symbol 418 GraphicUses:417Used by:419
Symbol 419 MovieClipUses:418Used by:420
Symbol 420 MovieClipUses:160 413 414 416 419Used by:421
Symbol 421 MovieClipUses:28 395 399 403 405 408 409 420Used by:422 727
Symbol 422 MovieClip [hud]Uses:385 394 421Used by:465 727
Symbol 423 BitmapUsed by:424
Symbol 424 GraphicUses:423Used by:431
Symbol 425 BitmapUsed by:426
Symbol 426 GraphicUses:425Used by:431
Symbol 427 BitmapUsed by:428
Symbol 428 GraphicUses:427Used by:431
Symbol 429 BitmapUsed by:430
Symbol 430 GraphicUses:429Used by:431
Symbol 431 MovieClip [metroidBombExplosion]Uses:306 303 424 426 428 430Used by:465 727
Symbol 432 ShapeTweeningUsed by:435
Symbol 433 ShapeTweeningUsed by:435
Symbol 434 GraphicUsed by:435
Symbol 435 MovieClip [smallExplosion]Uses:432 433 434Used by:465 727
Symbol 436 BitmapUsed by:437
Symbol 437 GraphicUses:436Used by:438
Symbol 438 MovieClipUses:437Used by:439
Symbol 439 MovieClipUses:438Used by:440 476
Symbol 440 MovieClip [brickPieces]Uses:439Used by:465 727
Symbol 441 BitmapUsed by:442
Symbol 442 GraphicUses:441Used by:443
Symbol 443 MovieClipUses:442Used by:450
Symbol 444 BitmapUsed by:445
Symbol 445 GraphicUses:444Used by:446
Symbol 446 MovieClipUses:445Used by:450
Symbol 447 BitmapUsed by:448
Symbol 448 GraphicUses:447Used by:449
Symbol 449 MovieClipUses:448Used by:450
Symbol 450 MovieClipUses:443 446 449Used by:460
Symbol 451 BitmapUsed by:452
Symbol 452 GraphicUses:451Used by:453
Symbol 453 MovieClipUses:452Used by:460
Symbol 454 BitmapUsed by:455
Symbol 455 GraphicUses:454Used by:456
Symbol 456 MovieClipUses:455Used by:460
Symbol 457 BitmapUsed by:458
Symbol 458 GraphicUses:457Used by:459
Symbol 459 MovieClipUses:458Used by:460
Symbol 460 MovieClip [blockCoin]Uses:450 453 456 459Used by:465 727
Symbol 461 GraphicUsed by:462
Symbol 462 MovieClipUses:461Used by:463
Symbol 463 MovieClip [grabCoin]Uses:462Used by:465 727
Symbol 464 MovieClip [smokePuff]Used by:465 727
Symbol 465 MovieClipUses:157 158 159 190 198 202 206 208 219 223 302 303 304 306 310 311 312 313 314 315 316 317 319 320 321 322 323 324 325 326 333 334 335 336 343 353 356 357 361 365 366 369 372 373 422 431 435 440 460 463 464 65 128Used by:Timeline
Symbol 466 MovieClip [transition_mc]Used by:727
Symbol 467 MovieClip [transition_cut]Used by:727
Symbol 468 MovieClip [transition_fade]Uses:29Used by:727
Symbol 469 ShapeTweeningUsed by:471
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClip [transition_square]Uses:469 470 29Used by:727
Symbol 472 Bitmap [swf\title\title3.png]Used by:475
Symbol 473 Bitmap [swf\title\title2.png]Used by:475
Symbol 474 Bitmap [swf\title\title1.png]Used by:475
Symbol 475 GraphicUses:472 473 474Used by:727
Symbol 476 MovieClip [brickPiece]Uses:439Used by:727
Symbol 477 Bitmap [swf\bg\mario3.png]Used by:480
Symbol 478 Bitmap [swf\bg\mario2.png]Used by:480
Symbol 479 Bitmap [swf\bg\mario1.png]Used by:480
Symbol 480 GraphicUses:477 478 479Used by:727
Symbol 481 BitmapUsed by:482
Symbol 482 GraphicUses:481Used by:483
Symbol 483 MovieClipUses:482Used by:504
Symbol 484 BitmapUsed by:485
Symbol 485 GraphicUses:484Used by:486
Symbol 486 MovieClipUses:485Used by:487
Symbol 487 MovieClipUses:486Used by:488
Symbol 488 MovieClipUses:487Used by:504
Symbol 489 BitmapUsed by:490
Symbol 490 GraphicUses:489Used by:491
Symbol 491 MovieClipUses:490Used by:492
Symbol 492 MovieClipUses:491Used by:493
Symbol 493 MovieClipUses:492Used by:504
Symbol 494 BitmapUsed by:495
Symbol 495 GraphicUses:494Used by:496
Symbol 496 MovieClipUses:495Used by:497
Symbol 497 MovieClipUses:496Used by:498
Symbol 498 MovieClipUses:497Used by:504
Symbol 499 BitmapUsed by:500
Symbol 500 GraphicUses:499Used by:501
Symbol 501 MovieClipUses:500Used by:502
Symbol 502 MovieClipUses:501Used by:503
Symbol 503 MovieClipUses:502Used by:504
Symbol 504 MovieClip [swf\bg\metroid1.swf]Uses:483 488 493 498 503Used by:727
Symbol 505 GraphicUsed by:506
Symbol 506 MovieClip [scroller]Uses:505Used by:727
Symbol 507 MovieClip [setMusic]Used by:727
Symbol 508 MovieClip [map_path]Used by:727
Symbol 509 MovieClip [koopa]Used by:727
Symbol 510 MovieClip [koopaShell]Used by:727
Symbol 511 GraphicUsed by:512
Symbol 512 MovieClip [player]Uses:511Used by:727
Symbol 513 MovieClip [setBackground]Used by:727
Symbol 514 MovieClip [spikeMetroidBlock]Uses:306Used by:727
Symbol 515 MovieClip [setFlags]Uses:128 65Used by:727
Symbol 516 MovieClip [map]Uses:28Used by:727
Symbol 517 MovieClip [levels\level1-1-1.lvl]Used by:727
Symbol 518 MovieClip [levels\level1-2-1.lvl]Used by:727
Symbol 519 MovieClip [levels\level1-2-2.lvl]Used by:727
Symbol 520 MovieClip [levels\level1-3-1.lvl]Used by:727
Symbol 521 MovieClip [levels\map1.lvl]Used by:727
Symbol 522 MovieClip [levels\pipeTest.lvl]Used by:727
Symbol 523 MovieClip [levels\test.lvl]Used by:727
Symbol 524 MovieClip [level]Uses:27Used by:727
Symbol 525 MovieClip [database.xml]Used by:727
Symbol 526 Bitmap [charset\goomba_walk.png]Used by:567
Symbol 527 Bitmap [charset\goomba_die.png]Used by:567
Symbol 528 Bitmap [charset\energyOrb.png]Used by:567
Symbol 529 Bitmap [charset\door2.png]Used by:567
Symbol 530 Bitmap [charset\door1.png]Used by:567
Symbol 531 Bitmap [charset\coin.png]Used by:567
Symbol 532 Bitmap [charset\brickBlock.png]Used by:567
Symbol 533 Bitmap [charset\bombBlock.png]Used by:567
Symbol 534 Bitmap [charset\blankBlock.png]Used by:567
Symbol 535 Bitmap [charset\bigCoin.png]Used by:567
Symbol 536 Bitmap [charset\amy_walk.png]Used by:567
Symbol 537 Bitmap [charset\amy_stand.png]Used by:567
Symbol 538 Bitmap [charset\amy_spinDash.png]Used by:567
Symbol 539 Bitmap [charset\amy_skid.png]Used by:567
Symbol 540 Bitmap [charset\amy_selected.png]Used by:567
Symbol 541 Bitmap [charset\amy_roll.png]Used by:567
Symbol 542 Bitmap [charset\amy_jump.png]Used by:567
Symbol 543 Bitmap [charset\amy_flinch.png]Used by:567
Symbol 544 Bitmap [charset\amy_fall.png]Used by:567
Symbol 545 Bitmap [charset\amy_duck.png]Used by:567
Symbol 546 Bitmap [charset\amy_die.png]Used by:567
Symbol 547 Bitmap [charset\_spiny_icon.png]Used by:567
Symbol 548 Bitmap [charset\_speedBlock_icon.png]Used by:567
Symbol 549 Bitmap [charset\_shotBlock_icon.png]Used by:567
Symbol 550 Bitmap [charset\_prizeBlock_icon.png]Used by:567
Symbol 551 Bitmap [charset\_noteBlock_icon.png]Used by:567
Symbol 552 Bitmap [charset\_map_level_icon.png]Used by:567
Symbol 553 Bitmap [charset\_map_joint_icon.png]Used by:567
Symbol 554 Bitmap [charset\_icon_springBoard.png]Used by:567
Symbol 555 Bitmap [charset\_icon_pipe.png]Used by:567
Symbol 556 Bitmap [charset\_goomba_icon.png]Used by:567
Symbol 557 Bitmap [charset\_coin_icon.png]Used by:567
Symbol 558 Bitmap [charset\_coin_bigCoin.png]Used by:567
Symbol 559 Bitmap [charset\_brick_icon.png]Used by:567
Symbol 560 Bitmap [charset\_bombBlock_icon.png]Used by:567
Symbol 561 Bitmap [charset\_block_icon.png]Used by:567
Symbol 562 Bitmap [chipset\metroid.png]Used by:567
Symbol 563 Bitmap [chipset\megaman.png]Used by:567
Symbol 564 Bitmap [chipset\mario.png]Used by:567
Symbol 565 Bitmap [chipset\map.png]Used by:567
Symbol 566 Bitmap [chipset\basis.png]Used by:567
Symbol 567 GraphicUses:526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566Used by:727
Symbol 568 Bitmap [charset\spiny_walk.png]Used by:667
Symbol 569 Bitmap [charset\spiny_die.png]Used by:667
Symbol 570 Bitmap [charset\spikeMetroid.png]Used by:667
Symbol 571 Bitmap [charset\speedBlock.png]Used by:667
Symbol 572 Bitmap [charset\sonic_springBoard.png]Used by:667
Symbol 573 Bitmap [charset\shotBlock_return.png]Used by:667
Symbol 574 Bitmap [charset\shotBlock_break.png]Used by:667
Symbol 575 Bitmap [charset\shotBlock.png]Used by:667
Symbol 576 Bitmap [charset\samus_wallJump.png]Used by:667
Symbol 577 Bitmap [charset\samus_walk_upSlant.png]Used by:667
Symbol 578 Bitmap [charset\samus_walk_shoot.png]Used by:667
Symbol 579 Bitmap [charset\samus_walk_downSlant.png]Used by:667
Symbol 580 Bitmap [charset\samus_walk.png]Used by:667
Symbol 581 Bitmap [charset\samus_startMorph.png]Used by:667
Symbol 582 Bitmap [charset\samus_startDuck.png]Used by:667
Symbol 583 Bitmap [charset\samus_stand_upSlant.png]Used by:667
Symbol 584 Bitmap [charset\samus_stand_up.png]Used by:667
Symbol 585 Bitmap [charset\samus_stand_downSlant.png]Used by:667
Symbol 586 Bitmap [charset\samus_stand.png]Used by:667
Symbol 587 Bitmap [charset\samus_slip.png]Used by:667
Symbol 588 Bitmap [charset\samus_selected.png]Used by:667
Symbol 589 Bitmap [charset\samus_normalShot.png]Used by:667
Symbol 590 Bitmap [charset\samus_morphBall.png]Used by:667
Symbol 591 Bitmap [charset\samus_land.png]Used by:667
Symbol 592 Bitmap [charset\samus_jumpFlip.png]Used by:667
Symbol 593 Bitmap [charset\samus_jump_upSlant.png]Used by:667
Symbol 594 Bitmap [charset\samus_jump_up.png]Used by:667
Symbol 595 Bitmap [charset\samus_jump_shoot.png]Used by:667
Symbol 596 Bitmap [charset\samus_jump_downSlant.png]Used by:667
Symbol 597 Bitmap [charset\samus_jump_down.png]Used by:667
Symbol 598 Bitmap [charset\samus_jump.png]Used by:667
Symbol 599 Bitmap [charset\samus_flinch.png]Used by:667
Symbol 600 Bitmap [charset\samus_fall.png]Used by:667
Symbol 601 Bitmap [charset\samus_endMorph.png]Used by:667
Symbol 602 Bitmap [charset\samus_duck_upSlant.png]Used by:667
Symbol 603 Bitmap [charset\samus_duck_up.png]Used by:667
Symbol 604 Bitmap [charset\samus_duck_downSlant.png]Used by:667
Symbol 605 Bitmap [charset\samus_duck.png]Used by:667
Symbol 606 Bitmap [charset\samus_die.png]Used by:667
Symbol 607 Bitmap [charset\samus_boostUp.png]Used by:667
Symbol 608 Bitmap [charset\samus_boostSide.png]Used by:667
Symbol 609 Bitmap [charset\samus_bomb.png]Used by:667
Symbol 610 Bitmap [charset\ringGrab.png]Used by:667
Symbol 611 Bitmap [charset\ring.png]Used by:667
Symbol 612 Bitmap [charset\prizeBlock.png]Used by:667
Symbol 613 Bitmap [charset\piranaPlant.png]Used by:667
Symbol 614 Bitmap [charset\pipeIcon.png]Used by:667
Symbol 615 Bitmap [charset\peach_walk.png]Used by:667
Symbol 616 Bitmap [charset\peach_walk.gif]Used by:667
Symbol 617 Bitmap [charset\peach_stand.png]Used by:667
Symbol 618 Bitmap [charset\peach_stand.gif]Used by:667
Symbol 619 Bitmap [charset\peach_slide.png]Used by:667
Symbol 620 Bitmap [charset\peach_slide.gif]Used by:667
Symbol 621 Bitmap [charset\peach_skid.png]Used by:667
Symbol 622 Bitmap [charset\peach_selected2.png]Used by:667
Symbol 623 Bitmap [charset\peach_selected.png]Used by:667
Symbol 624 Bitmap [charset\peach_jump.png]Used by:667
Symbol 625 Bitmap [charset\peach_jump.gif]Used by:667
Symbol 626 Bitmap [charset\peach_float.png]Used by:667
Symbol 627 Bitmap [charset\peach_float.gif]Used by:667
Symbol 628 Bitmap [charset\peach_flinch.png]Used by:667
Symbol 629 Bitmap [charset\peach_flinch.gif]Used by:667
Symbol 630 Bitmap [charset\peach_fall.png]Used by:667
Symbol 631 Bitmap [charset\peach_fall.gif]Used by:667
Symbol 632 Bitmap [charset\peach_duck.png]Used by:667
Symbol 633 Bitmap [charset\peach_duck.gif]Used by:667
Symbol 634 Bitmap [charset\paraTroopa_walk.png]Used by:667
Symbol 635 Bitmap [charset\noteBlock.png]Used by:667
Symbol 636 Bitmap [charset\mushroom1up.png]Used by:667
Symbol 637 Bitmap [charset\mushroom.png]Used by:667
Symbol 638 Bitmap [charset\marioGoalFrame.png]Used by:667
Symbol 639 Bitmap [charset\mario_ledge.png]Used by:667
Symbol 640 Bitmap [charset\map_samus.png]Used by:667
Symbol 641 Bitmap [charset\map_rock.png]Used by:667
Symbol 642 Bitmap [charset\map_peach.png]Used by:667
Symbol 643 Bitmap [charset\map_pathVert.png]Used by:667
Symbol 644 Bitmap [charset\map_pathHorz.png]Used by:667
Symbol 645 Bitmap [charset\map_joint.png]Used by:667
Symbol 646 Bitmap [charset\map_help.png]Used by:667
Symbol 647 Bitmap [charset\map_hammerBros.png]Used by:667
Symbol 648 Bitmap [charset\map_fortress.png]Used by:667
Symbol 649 Bitmap [charset\map_door.png]Used by:667
Symbol 650 Bitmap [charset\map_bush.png]Used by:667
Symbol 651 Bitmap [charset\map_amy.png]Used by:667
Symbol 652 Bitmap [charset\map_airShip.png]Used by:667
Symbol 653 Bitmap [charset\map_10.png]Used by:667
Symbol 654 Bitmap [charset\map_9.png]Used by:667
Symbol 655 Bitmap [charset\map_8.png]Used by:667
Symbol 656 Bitmap [charset\map_7.png]Used by:667
Symbol 657 Bitmap [charset\map_6.png]Used by:667
Symbol 658 Bitmap [charset\map_5.png]Used by:667
Symbol 659 Bitmap [charset\map_4.png]Used by:667
Symbol 660 Bitmap [charset\map_3.png]Used by:667
Symbol 661 Bitmap [charset\map_2.png]Used by:667
Symbol 662 Bitmap [charset\map_1.png]Used by:667
Symbol 663 Bitmap [charset\koopa_walk.png]Used by:667
Symbol 664 Bitmap [charset\koopa_shellWait.png]Used by:667
Symbol 665 Bitmap [charset\koopa_shellMove.png]Used by:667
Symbol 666 Bitmap [charset\koopa_die.png]Used by:667
Symbol 667 GraphicUses:568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666Used by:727
Symbol 668 Sound [music\grassland.mp3]Used by:727
Symbol 669 Sound [sound\coin.mp3]Used by:727
Symbol 670 Sound [music\JazzBelmont.mp3]Used by:727
Symbol 671 Sound [sound\dashBoost.mp3]Used by:727
Symbol 672 Sound [music\JazzBelmont_intro.mp3]Used by:727
Symbol 673 Sound [sound\duckSlide.mp3]Used by:727
Symbol 674 Sound [music\mario.mp3]Used by:727
Symbol 675 Sound [sound\enterLevel.mp3]Used by:727
Symbol 676 Sound [music\mario_intro.mp3]Used by:727
Symbol 677 Sound [sound\float.mp3]Used by:727
Symbol 678 Sound [music\mario_underground.mp3]Used by:727
Symbol 679 Sound [sound\landing.mp3]Used by:727
Symbol 680 Sound [music\title.mp3]Used by:727
Symbol 681 Sound [sound\mapMove.mp3]Used by:727
Symbol 682 Sound [music\title_intro.mp3]Used by:727
Symbol 683 Sound [sound\mario_1up.mp3]Used by:727
Symbol 684 Sound [sound\mario_damage.mp3]Used by:727
Symbol 685 Sound [sound\mario_die.mp3]Used by:727
Symbol 686 Sound [sound\mario_goal.mp3]Used by:727
Symbol 687 Sound [sound\mario_noteBlock.mp3]Used by:727
Symbol 688 Sound [sound\mario_pipe.mp3]Used by:727
Symbol 689 Sound [sound\mario_powerUp.mp3]Used by:727
Symbol 690 Sound [sound\mario_vanish.mp3]Used by:727
Symbol 691 Sound [sound\marioBrick.mp3]Used by:727
Symbol 692 Sound [sound\marioEmerge.mp3]Used by:727
Symbol 693 Sound [sound\marioFlinch.mp3]Used by:727
Symbol 694 Sound [sound\marioJump.mp3]Used by:727
Symbol 695 Sound [sound\marioKick.mp3]Used by:727
Symbol 696 Sound [sound\marioKill.mp3]Used by:727
Symbol 697 Sound [sound\marioSkid.mp3]Used by:727
Symbol 698 Sound [sound\marioStomp.mp3]Used by:727
Symbol 699 Sound [sound\metroid_blockBreak.mp3]Used by:727
Symbol 700 Sound [sound\metroid_bomb.mp3]Used by:727
Symbol 701 Sound [sound\metroid_die.mp3]Used by:727
Symbol 702 Sound [sound\metroid_doorClose.mp3]Used by:727
Symbol 703 Sound [sound\metroid_doorOpen.mp3]Used by:727
Symbol 704 Sound [sound\metroid_footstep.mp3]Used by:727
Symbol 705 Sound [sound\metroid_healingOrb.mp3]Used by:727
Symbol 706 Sound [sound\metroid_jumpFlip.mp3]Used by:727
Symbol 707 Sound [sound\metroid_landing.mp3]Used by:727
Symbol 708 Sound [sound\metroid_menuBG.mp3]Used by:727
Symbol 709 Sound [sound\metroid_menuChange.mp3]Used by:727
Symbol 710 Sound [sound\metroid_samusFlinch.mp3]Used by:727
Symbol 711 Sound [sound\metroid_select.mp3]Used by:727
Symbol 712 Sound [sound\metroid_shotNormal.mp3]Used by:727
Symbol 713 Sound [sound\metroid_smallImpact.mp3]Used by:727
Symbol 714 Sound [sound\metroid_speedBoostJump.mp3]Used by:727
Symbol 715 Sound [sound\metroid_speedBoostLoop.mp3]Used by:727
Symbol 716 Sound [sound\metroid_speedBoostStart.mp3]Used by:727
Symbol 717 Sound [sound\metroid_speedBoostStored.mp3]Used by:727
Symbol 718 Sound [sound\pause.mp3]Used by:727
Symbol 719 Sound [sound\saveGame.mp3]Used by:727
Symbol 720 Sound [sound\slide.mp3]Used by:727
Symbol 721 Sound [sound\sonic_die.mp3]Used by:727
Symbol 722 Sound [sound\sonic_SpringBoard.mp3]Used by:727
Symbol 723 Sound [sound\sonicFlinch.mp3]Used by:727
Symbol 724 Sound [sound\sonicJump.mp3]Used by:727
Symbol 725 Sound [sound\sonicSkid.mp3]Used by:727
Symbol 726 Sound [sound\sonicSpeed.mp3]Used by:727
Symbol 727 MovieClipUses:466 467 468 471 202 190 198 206 223 219 475 361 365 366 460 476 440 463 431 435 464 480 504 506 507 157 158 508 159 319 322 320 335 336 343 353 304 509 510 310 356 325 326 357 512 311 312 313 321 314 315 513 323 333 324 514 317 334 515 516 517 518 519 520 521 522 523 524 385 421 394 422 306 525 567 23 667 65 128 27 303 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 1 720 721 722 723 724 725 726Used by:Timeline
Symbol 728 MovieClipUsed by:Timeline

Instance Names

"game"Frame 3Symbol 728 MovieClip
"frame_mc"Symbol 10 MovieClip [loadInterface1] Frame 1Symbol 4 MovieClip
"fill_mc"Symbol 10 MovieClip [loadInterface1] Frame 1Symbol 6 MovieClip
"file_txt"Symbol 10 MovieClip [loadInterface1] Frame 1Symbol 9 EditableText
"glow_mc"Symbol 21 MovieClip [loadInterface0] Frame 1Symbol 13 MovieClip
"fill_mc"Symbol 21 MovieClip [loadInterface0] Frame 1Symbol 18 MovieClip
"file_txt"Symbol 21 MovieClip [loadInterface0] Frame 1Symbol 20 EditableText
"frame_mc"Symbol 21 MovieClip [loadInterface0] Frame 1Symbol 4 MovieClip
"b"Symbol 43 MovieClip [SimpleButtonDown] Frame 1Symbol 40 MovieClip [BrdrShdw]
"face"Symbol 43 MovieClip [SimpleButtonDown] Frame 1Symbol 42 MovieClip [BrdrFace]
"b"Symbol 48 MovieClip [SimpleButtonIn] Frame 1Symbol 45 MovieClip [BrdrBlk]
"it"Symbol 48 MovieClip [SimpleButtonIn] Frame 1Symbol 47 MovieClip [BrdrHilght]
"g"Symbol 48 MovieClip [SimpleButtonIn] Frame 1Symbol 40 MovieClip [BrdrShdw]
"face"Symbol 48 MovieClip [SimpleButtonIn] Frame 1Symbol 42 MovieClip [BrdrFace]
"ob"Symbol 49 MovieClip [SimpleButtonUp] Frame 1Symbol 45 MovieClip [BrdrBlk]
"ol"Symbol 49 MovieClip [SimpleButtonUp] Frame 1Symbol 42 MovieClip [BrdrFace]
"ib"Symbol 49 MovieClip [SimpleButtonUp] Frame 1Symbol 40 MovieClip [BrdrShdw]
"il"Symbol 49 MovieClip [SimpleButtonUp] Frame 1Symbol 47 MovieClip [BrdrHilght]
"face"Symbol 49 MovieClip [SimpleButtonUp] Frame 1Symbol 42 MovieClip [BrdrFace]
"boundingBox_mc"Symbol 57 MovieClip [FocusRect] Frame 1Symbol 38 MovieClip [BoundingBox]
"tabCapture"Symbol 58 MovieClip [FocusManager] Frame 1Symbol 55 Button
"boundingBox_mc"Symbol 61 MovieClip [SimpleButton] Frame 1Symbol 38 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 65 MovieClip [Button] Frame 1Symbol 38 MovieClip [BoundingBox]
"dfs"Symbol 121 MovieClip [BtnDownArrow] Frame 1Symbol 69 MovieClip [ScrollTrack]
"dfs"Symbol 122 MovieClip [BtnUpArrow] Frame 1Symbol 69 MovieClip [ScrollTrack]
"boundingBox_mc"Symbol 124 MovieClip [HScrollBar] Frame 1Symbol 38 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 125 MovieClip [VScrollBar] Frame 1Symbol 38 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 126 MovieClip [View] Frame 1Symbol 38 MovieClip [BoundingBox]
"boundingBox_mc"Symbol 127 MovieClip [ScrollView] Frame 1Symbol 38 MovieClip [BoundingBox]
"label"Symbol 128 MovieClip [TextArea] Frame 1Symbol 36 EditableText
"bar"Symbol 187 MovieClip Frame 1Symbol 177 MovieClip
"slider"Symbol 187 MovieClip Frame 1Symbol 183 MovieClip
"max_btn"Symbol 187 MovieClip Frame 1Symbol 180 MovieClip
"min_btn"Symbol 187 MovieClip Frame 1Symbol 180 MovieClip
"idle"Symbol 190 MovieClip [options_win] Frame 10Symbol 65 MovieClip [Button]
"background"Symbol 198 MovieClip [pause_win] Frame 3Symbol 191 MovieClip
"blur"Symbol 198 MovieClip [pause_win] Frame 3Symbol 191 MovieClip
"cursor"Symbol 198 MovieClip [pause_win] Frame 11Symbol 197 MovieClip
"background"Symbol 202 MovieClip [characterSelect_win] Frame 1Symbol 201 MovieClip
"txt"Symbol 205 MovieClip Frame 1Symbol 204 EditableText
"image"Symbol 206 MovieClip [swf\title.swf] Frame 1Symbol 27 MovieClip [imageLoader]
"new_mc"Symbol 206 MovieClip [swf\title.swf] Frame 1Symbol 205 MovieClip
"continue_mc"Symbol 206 MovieClip [swf\title.swf] Frame 1Symbol 205 MovieClip
"options_mc"Symbol 206 MovieClip [swf\title.swf] Frame 1Symbol 205 MovieClip
"credits_mc"Symbol 206 MovieClip [swf\title.swf] Frame 1Symbol 205 MovieClip
"emboss"Symbol 218 MovieClip Frame 1Symbol 217 MovieClip
"image"Symbol 310 MovieClip [mario_ledge] Frame 1Symbol 309 MovieClip
"preHit"Symbol 310 MovieClip [mario_ledge] Frame 1Symbol 306 MovieClip [hitArea]
"hit"Symbol 310 MovieClip [mario_ledge] Frame 1Symbol 306 MovieClip [hitArea]
"hit"Symbol 314 MovieClip [samusBomb] Frame 1Symbol 306 MovieClip [hitArea]
"attack"Symbol 315 MovieClip [samusShot] Frame 1Symbol 303 MovieClip [attackArea]
"hit"Symbol 315 MovieClip [samusShot] Frame 1Symbol 306 MovieClip [hitArea]
"attack"Symbol 320 MovieClip [brickBlock] Frame 1Symbol 303 MovieClip [attackArea]
"attack"Symbol 321 MovieClip [prizeBlock] Frame 1Symbol 303 MovieClip [attackArea]
"itemMask"Symbol 321 MovieClip [prizeBlock] Frame 1Symbol 306 MovieClip [hitArea]
"hit"Symbol 322 MovieClip [bombBlock] Frame 1Symbol 306 MovieClip [hitArea]
"hit"Symbol 323 MovieClip [shotBlock] Frame 1Symbol 306 MovieClip [hitArea]
"hit"Symbol 324 MovieClip [speedBlock] Frame 1Symbol 306 MovieClip [hitArea]
"hit"Symbol 325 MovieClip [noteBlock] Frame 1Symbol 306 MovieClip [hitArea]
"mask"Symbol 326 MovieClip [pipe] Frame 1Symbol 306 MovieClip [hitArea]
"inner"Symbol 326 MovieClip [pipe] Frame 1Symbol 306 MovieClip [hitArea]
"outer"Symbol 326 MovieClip [pipe] Frame 1Symbol 306 MovieClip [hitArea]
"preHit"Symbol 333 MovieClip [slopeUp] Frame 1Symbol 306 MovieClip [hitArea]
"rightHit"Symbol 333 MovieClip [slopeUp] Frame 1Symbol 328 MovieClip
"leftHit"Symbol 333 MovieClip [slopeUp] Frame 1Symbol 330 MovieClip
"hit"Symbol 333 MovieClip [slopeUp] Frame 1Symbol 332 MovieClip
"hit"Symbol 334 MovieClip [springBoard] Frame 1Symbol 306 MovieClip [hitArea]
"image"Symbol 343 MovieClip [energyOrb] Frame 1Symbol 342 MovieClip
"hit"Symbol 343 MovieClip [energyOrb] Frame 1Symbol 306 MovieClip [hitArea]
"background"Symbol 349 MovieClip Frame 1Symbol 344 MovieClip
"itemRoulette"Symbol 353 MovieClip [goalMario] Frame 1Symbol 349 MovieClip
"frame"Symbol 353 MovieClip [goalMario] Frame 1Symbol 352 MovieClip
"hit"Symbol 353 MovieClip [goalMario] Frame 1Symbol 306 MovieClip [hitArea]
"hit"Symbol 356 MovieClip [mushroom] Frame 1Symbol 306 MovieClip [hitArea]
"coinAnim"Symbol 385 MovieClip Frame 1Symbol 382 MovieClip
"coins_txt"Symbol 385 MovieClip Frame 1Symbol 384 EditableText
"rings_txt"Symbol 394 MovieClip Frame 1Symbol 389 EditableText
"ringFlash"Symbol 394 MovieClip Frame 1Symbol 392 MovieClip
"coins_txt"Symbol 394 MovieClip Frame 1Symbol 393 EditableText
"mask"Symbol 420 MovieClip Frame 1Symbol 160 MovieClip
"grid_mc"Symbol 420 MovieClip Frame 1Symbol 413 MovieClip
"map_mc"Symbol 420 MovieClip Frame 1Symbol 414 MovieClip
"frame_mc"Symbol 420 MovieClip Frame 1Symbol 419 MovieClip
"emptyMask"Symbol 421 MovieClip Frame 1Symbol 395 MovieClip
"emptyTanks"Symbol 421 MovieClip Frame 1Symbol 399 MovieClip
"fullMask"Symbol 421 MovieClip Frame 1Symbol 395 MovieClip
"coins_txt"Symbol 421 MovieClip Frame 1Symbol 405 EditableText
"energy_txt"Symbol 421 MovieClip Frame 1Symbol 409 EditableText
"map_mc"Symbol 421 MovieClip Frame 1Symbol 420 MovieClip
"image"Symbol 422 MovieClip [hud] Frame 8Symbol 385 MovieClip
"image"Symbol 422 MovieClip [hud] Frame 15Symbol 394 MovieClip
"image"Symbol 422 MovieClip [hud] Frame 21Symbol 421 MovieClip
"hit"Symbol 431 MovieClip [metroidBombExplosion] Frame 1Symbol 306 MovieClip [hitArea]
"attack"Symbol 431 MovieClip [metroidBombExplosion] Frame 1Symbol 303 MovieClip [attackArea]
"hit"Symbol 514 MovieClip [spikeMetroidBlock] Frame 1Symbol 306 MovieClip [hitArea]
"flags_txt"Symbol 515 MovieClip [setFlags] Frame 2Symbol 128 MovieClip [TextArea]
"background"Symbol 524 MovieClip [level] Frame 1Symbol 27 MovieClip [imageLoader]

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "sound\selectCharacter.mp3"
ExportAssets (56)Timeline Frame 1Symbol 10 as "loadInterface1"
ExportAssets (56)Timeline Frame 1Symbol 21 as "loadInterface0"
ExportAssets (56)Timeline Frame 1Symbol 23 as "charset\invisible.png"
ExportAssets (56)Timeline Frame 1Symbol 27 as "imageLoader"
ExportAssets (56)Timeline Frame 1Symbol 29 as "black"
ExportAssets (56)Timeline Frame 1Symbol 38 as "BoundingBox"
ExportAssets (56)Timeline Frame 1Symbol 40 as "BrdrShdw"
ExportAssets (56)Timeline Frame 1Symbol 42 as "BrdrFace"
ExportAssets (56)Timeline Frame 1Symbol 43 as "SimpleButtonDown"
ExportAssets (56)Timeline Frame 1Symbol 45 as "BrdrBlk"
ExportAssets (56)Timeline Frame 1Symbol 47 as "BrdrHilght"
ExportAssets (56)Timeline Frame 1Symbol 48 as "SimpleButtonIn"
ExportAssets (56)Timeline Frame 1Symbol 49 as "SimpleButtonUp"
ExportAssets (56)Timeline Frame 1Symbol 50 as "Defaults"
ExportAssets (56)Timeline Frame 1Symbol 51 as "UIObjectExtensions"
ExportAssets (56)Timeline Frame 1Symbol 52 as "UIObject"
ExportAssets (56)Timeline Frame 1Symbol 57 as "FocusRect"
ExportAssets (56)Timeline Frame 1Symbol 58 as "FocusManager"
ExportAssets (56)Timeline Frame 1Symbol 59 as "UIComponentExtensions"
ExportAssets (56)Timeline Frame 1Symbol 60 as "UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 61 as "SimpleButton"
ExportAssets (56)Timeline Frame 1Symbol 62 as "Border"
ExportAssets (56)Timeline Frame 1Symbol 63 as "RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 64 as "ButtonSkin"
ExportAssets (56)Timeline Frame 1Symbol 65 as "Button"
ExportAssets (56)Timeline Frame 1Symbol 66 as "CustomBorder"
ExportAssets (56)Timeline Frame 1Symbol 69 as "ScrollTrack"
ExportAssets (56)Timeline Frame 1Symbol 76 as "ScrollDownArrowDisabled"
ExportAssets (56)Timeline Frame 1Symbol 78 as "ScrollThemeColor1"
ExportAssets (56)Timeline Frame 1Symbol 80 as "ScrollThemeColor2"
ExportAssets (56)Timeline Frame 1Symbol 81 as "ScrollDownArrowDown"
ExportAssets (56)Timeline Frame 1Symbol 82 as "ScrollDownArrowOver"
ExportAssets (56)Timeline Frame 1Symbol 83 as "ScrollDownArrowUp"
ExportAssets (56)Timeline Frame 1Symbol 89 as "ScrollThumbBottomDisabled"
ExportAssets (56)Timeline Frame 1Symbol 91 as "ThumbThemeColor1"
ExportAssets (56)Timeline Frame 1Symbol 93 as "ThumbThemeColor3"
ExportAssets (56)Timeline Frame 1Symbol 94 as "ScrollThumbBottomDown"
ExportAssets (56)Timeline Frame 1Symbol 95 as "ScrollThumbBottomOver"
ExportAssets (56)Timeline Frame 1Symbol 96 as "ScrollThumbBottomUp"
ExportAssets (56)Timeline Frame 1Symbol 98 as "ScrollThumbGripDisabled"
ExportAssets (56)Timeline Frame 1Symbol 100 as "ThumbThemeColor2"
ExportAssets (56)Timeline Frame 1Symbol 101 as "ScrollThumbGripDown"
ExportAssets (56)Timeline Frame 1Symbol 102 as "ScrollThumbGripOver"
ExportAssets (56)Timeline Frame 1Symbol 103 as "ScrollThumbGripUp"
ExportAssets (56)Timeline Frame 1Symbol 105 as "ScrollThumbMiddleDisabled"
ExportAssets (56)Timeline Frame 1Symbol 106 as "ScrollThumbMiddleDown"
ExportAssets (56)Timeline Frame 1Symbol 110 as "ScrollThumbMiddleOver"
ExportAssets (56)Timeline Frame 1Symbol 111 as "ScrollThumbMiddleUp"
ExportAssets (56)Timeline Frame 1Symbol 112 as "ScrollThumbTopDisabled"
ExportAssets (56)Timeline Frame 1Symbol 113 as "ScrollThumbTopDown"
ExportAssets (56)Timeline Frame 1Symbol 114 as "ScrollThumbTopOver"
ExportAssets (56)Timeline Frame 1Symbol 115 as "ScrollThumbTopUp"
ExportAssets (56)Timeline Frame 1Symbol 116 as "ScrollTrackDisabled"
ExportAssets (56)Timeline Frame 1Symbol 117 as "ScrollUpArrowDisabled"
ExportAssets (56)Timeline Frame 1Symbol 118 as "ScrollUpArrowDown"
ExportAssets (56)Timeline Frame 1Symbol 119 as "ScrollUpArrowOver"
ExportAssets (56)Timeline Frame 1Symbol 120 as "ScrollUpArrowUp"
ExportAssets (56)Timeline Frame 1Symbol 121 as "BtnDownArrow"
ExportAssets (56)Timeline Frame 1Symbol 122 as "BtnUpArrow"
ExportAssets (56)Timeline Frame 1Symbol 123 as "ScrollBarAssets"
ExportAssets (56)Timeline Frame 1Symbol 124 as "HScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 125 as "VScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 126 as "View"
ExportAssets (56)Timeline Frame 1Symbol 127 as "ScrollView"
ExportAssets (56)Timeline Frame 1Symbol 128 as "TextArea"
ExportAssets (56)Timeline Frame 1Symbol 30 as "__Packages.mx.core.UIObject"
ExportAssets (56)Timeline Frame 1Symbol 129 as "__Packages.mx.skins.SkinElement"
ExportAssets (56)Timeline Frame 1Symbol 130 as "__Packages.mx.styles.CSSTextStyles"
ExportAssets (56)Timeline Frame 1Symbol 132 as "__Packages.mx.styles.CSSStyleDeclaration"
ExportAssets (56)Timeline Frame 1Symbol 131 as "__Packages.mx.styles.StyleManager"
ExportAssets (56)Timeline Frame 1Symbol 31 as "__Packages.mx.core.UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 729 as "__Packages.com.mosesSupposes.fuse.Shortcuts"
ExportAssets (56)Timeline Frame 1Symbol 730 as "__Packages.com.mosesSupposes.fuse.FuseKitCommon"
ExportAssets (56)Timeline Frame 1Symbol 731 as "__Packages.com.mosesSupposes.fuse.ZigoEngine"
ExportAssets (56)Timeline Frame 1Symbol 732 as "__Packages.com.mosesSupposes.fuse.ZManager"
ExportAssets (56)Timeline Frame 1Symbol 733 as "__Packages.com.mosesSupposes.fuse.PennerEasing"
ExportAssets (56)Timeline Frame 1Symbol 734 as "__Packages.com.mosesSupposes.fuse.FuseFMP"
ExportAssets (56)Timeline Frame 1Symbol 735 as "__Packages.ParticleSystem"
ExportAssets (56)Timeline Frame 1Symbol 736 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 737 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 738 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 739 as "__Packages.mx.transitions.easing.None"
ExportAssets (56)Timeline Frame 1Symbol 32 as "__Packages.mx.core.View"
ExportAssets (56)Timeline Frame 1Symbol 33 as "__Packages.mx.core.ScrollView"
ExportAssets (56)Timeline Frame 1Symbol 34 as "__Packages.mx.controls.TextArea"
ExportAssets (56)Timeline Frame 1Symbol 133 as "__Packages.mx.skins.Border"
ExportAssets (56)Timeline Frame 1Symbol 134 as "__Packages.mx.skins.RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 135 as "__Packages.mx.managers.DepthManager"
ExportAssets (56)Timeline Frame 1Symbol 136 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 137 as "__Packages.mx.events.UIEventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 138 as "__Packages.mx.core.ExternalContent"
ExportAssets (56)Timeline Frame 1Symbol 139 as "__Packages.mx.skins.CustomBorder"
ExportAssets (56)Timeline Frame 1Symbol 140 as "__Packages.mx.controls.scrollClasses.ScrollThumb"
ExportAssets (56)Timeline Frame 1Symbol 141 as "__Packages.mx.controls.SimpleButton"
ExportAssets (56)Timeline Frame 1Symbol 142 as "__Packages.mx.controls.scrollClasses.ScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 143 as "__Packages.mx.controls.HScrollBar"
ExportAssets (56)Timeline Frame 1Symbol 144 as "__Packages.mx.controls.Button"
ExportAssets (56)Timeline Frame 1Symbol 145 as "__Packages.mx.skins.ColoredSkinElement"
ExportAssets (56)Timeline Frame 1Symbol 146 as "__Packages.mx.core.ext.UIObjectExtensions"
ExportAssets (56)Timeline Frame 1Symbol 147 as "__Packages.mx.skins.halo.Defaults"
ExportAssets (56)Timeline Frame 1Symbol 148 as "__Packages.mx.managers.SystemManager"
ExportAssets (56)Timeline Frame 1Symbol 149 as "__Packages.mx.managers.FocusManager"
ExportAssets (56)Timeline Frame 1Symbol 150 as "__Packages.mx.skins.halo.FocusRect"
ExportAssets (56)Timeline Frame 1Symbol 151 as "__Packages.mx.managers.OverlappedWindows"
ExportAssets (56)Timeline Frame 1Symbol 152 as "__Packages.mx.styles.CSSSetStyle"
ExportAssets (56)Timeline Frame 1Symbol 153 as "__Packages.mx.core.ext.UIComponentExtensions"
ExportAssets (56)Timeline Frame 1Symbol 154 as "__Packages.mx.skins.halo.RectBorder"
ExportAssets (56)Timeline Frame 1Symbol 155 as "__Packages.mx.skins.halo.ButtonSkin"
ExportAssets (56)Timeline Frame 1Symbol 156 as "__Packages.mx.controls.VScrollBar"
ExportAssets (56)Timeline Frame 2Symbol 157 as "map_decoration"
ExportAssets (56)Timeline Frame 2Symbol 158 as "map_level"
ExportAssets (56)Timeline Frame 2Symbol 159 as "map_player"
ExportAssets (56)Timeline Frame 2Symbol 190 as "options_win"
ExportAssets (56)Timeline Frame 2Symbol 198 as "pause_win"
ExportAssets (56)Timeline Frame 2Symbol 202 as "characterSelect_win"
ExportAssets (56)Timeline Frame 2Symbol 206 as "swf\title.swf"
ExportAssets (56)Timeline Frame 2Symbol 208 as "stageLight"
ExportAssets (56)Timeline Frame 2Symbol 219 as "titleLogoAppear"
ExportAssets (56)Timeline Frame 2Symbol 223 as "credits_win"
ExportAssets (56)Timeline Frame 2Symbol 224 as "block_blank"
ExportAssets (56)Timeline Frame 2Symbol 225 as "block_shot"
ExportAssets (56)Timeline Frame 2Symbol 226 as "samus_selected"
ExportAssets (56)Timeline Frame 2Symbol 227 as "peach_selected"
ExportAssets (56)Timeline Frame 2Symbol 228 as "amy_selected"
ExportAssets (56)Timeline Frame 2Symbol 229 as "amy_die"
ExportAssets (56)Timeline Frame 2Symbol 230 as "mushroomImage"
ExportAssets (56)Timeline Frame 2Symbol 231 as "coin"
ExportAssets (56)Timeline Frame 2Symbol 232 as "coin10"
ExportAssets (56)Timeline Frame 2Symbol 233 as "sonic_springBoard.png"
ExportAssets (56)Timeline Frame 2Symbol 234 as "block_speed"
ExportAssets (56)Timeline Frame 2Symbol 235 as "block_return"
ExportAssets (56)Timeline Frame 2Symbol 236 as "block_break"
ExportAssets (56)Timeline Frame 2Symbol 237 as "block_bomb"
ExportAssets (56)Timeline Frame 2Symbol 238 as "block_prize"
ExportAssets (56)Timeline Frame 2Symbol 239 as "block_note"
ExportAssets (56)Timeline Frame 2Symbol 240 as "block_brick"
ExportAssets (56)Timeline Frame 2Symbol 241 as "spiny_walk"
ExportAssets (56)Timeline Frame 2Symbol 242 as "spiny_die"
ExportAssets (56)Timeline Frame 2Symbol 243 as "samus_normalShot"
ExportAssets (56)Timeline Frame 2Symbol 244 as "samus_iceShot"
ExportAssets (56)Timeline Frame 2Symbol 245 as "samus_chargedNormalShot"
ExportAssets (56)Timeline Frame 2Symbol 246 as "samus_chargedIceShot"
ExportAssets (56)Timeline Frame 2Symbol 247 as "samus_charge3"
ExportAssets (56)Timeline Frame 2Symbol 248 as "samus_charge2"
ExportAssets (56)Timeline Frame 2Symbol 249 as "samus_charge1"
ExportAssets (56)Timeline Frame 2Symbol 250 as "samus_bomb"
ExportAssets (56)Timeline Frame 2Symbol 251 as "samus_wallJump"
ExportAssets (56)Timeline Frame 2Symbol 252 as "samus_walk_upSlant"
ExportAssets (56)Timeline Frame 2Symbol 253 as "samus_walk_shoot"
ExportAssets (56)Timeline Frame 2Symbol 254 as "samus_walk_downSlant"
ExportAssets (56)Timeline Frame 2Symbol 255 as "samus_walk"
ExportAssets (56)Timeline Frame 2Symbol 256 as "samus_startMorph"
ExportAssets (56)Timeline Frame 2Symbol 257 as "samus_startDuck"
ExportAssets (56)Timeline Frame 2Symbol 258 as "samus_stand_upSlant"
ExportAssets (56)Timeline Frame 2Symbol 259 as "samus_stand_up"
ExportAssets (56)Timeline Frame 2Symbol 260 as "samus_stand_downSlant"
ExportAssets (56)Timeline Frame 2Symbol 261 as "samus_stand"
ExportAssets (56)Timeline Frame 2Symbol 262 as "samus_slip"
ExportAssets (56)Timeline Frame 2Symbol 263 as "samus_morphBall"
ExportAssets (56)Timeline Frame 2Symbol 264 as "samus_land"
ExportAssets (56)Timeline Frame 2Symbol 265 as "samus_jumpFlip"
ExportAssets (56)Timeline Frame 2Symbol 266 as "samus_jump_upSlant"
ExportAssets (56)Timeline Frame 2Symbol 267 as "samus_jump_up"
ExportAssets (56)Timeline Frame 2Symbol 268 as "samus_jump_shoot"
ExportAssets (56)Timeline Frame 2Symbol 269 as "samus_jump_downSlant"
ExportAssets (56)Timeline Frame 2Symbol 270 as "samus_jump_down"
ExportAssets (56)Timeline Frame 2Symbol 271 as "samus_jump"
ExportAssets (56)Timeline Frame 2Symbol 272 as "samus_flinch"
ExportAssets (56)Timeline Frame 2Symbol 273 as "samus_fall"
ExportAssets (56)Timeline Frame 2Symbol 274 as "samus_endMorph"
ExportAssets (56)Timeline Frame 2Symbol 275 as "samus_duck_upSlant"
ExportAssets (56)Timeline Frame 2Symbol 276 as "samus_duck_up"
ExportAssets (56)Timeline Frame 2Symbol 277 as "samus_duck_downSlant"
ExportAssets (56)Timeline Frame 2Symbol 278 as "samus_duck"
ExportAssets (56)Timeline Frame 2Symbol 279 as "samus_die"
ExportAssets (56)Timeline Frame 2Symbol 280 as "samus_boostUp"
ExportAssets (56)Timeline Frame 2Symbol 281 as "samus_boostSide"
ExportAssets (56)Timeline Frame 2Symbol 282 as "peach_walk"
ExportAssets (56)Timeline Frame 2Symbol 283 as "peach_stand"
ExportAssets (56)Timeline Frame 2Symbol 284 as "peach_slide"
ExportAssets (56)Timeline Frame 2Symbol 285 as "peach_skid"
ExportAssets (56)Timeline Frame 2Symbol 286 as "peach_jump"
ExportAssets (56)Timeline Frame 2Symbol 287 as "peach_float"
ExportAssets (56)Timeline Frame 2Symbol 288 as "peach_flinch"
ExportAssets (56)Timeline Frame 2Symbol 289 as "peach_fall"
ExportAssets (56)Timeline Frame 2Symbol 290 as "peach_duck"
ExportAssets (56)Timeline Frame 2Symbol 291 as "amy_walk"
ExportAssets (56)Timeline Frame 2Symbol 292 as "amy_stand"
ExportAssets (56)Timeline Frame 2Symbol 293 as "amy_spinDash"
ExportAssets (56)Timeline Frame 2Symbol 294 as "amy_skid"
ExportAssets (56)Timeline Frame 2Symbol 295 as "amy_roll"
ExportAssets (56)Timeline Frame 2Symbol 296 as "amy_jump"
ExportAssets (56)Timeline Frame 2Symbol 297 as "amy_flinch"
ExportAssets (56)Timeline Frame 2Symbol 298 as "amy_fall"
ExportAssets (56)Timeline Frame 2Symbol 299 as "amy_duck"
ExportAssets (56)Timeline Frame 2Symbol 300 as "goomba_walk"
ExportAssets (56)Timeline Frame 2Symbol 301 as "goomba_die"
ExportAssets (56)Timeline Frame 2Symbol 303 as "attackArea"
ExportAssets (56)Timeline Frame 2Symbol 304 as "goomba"
ExportAssets (56)Timeline Frame 2Symbol 306 as "hitArea"
ExportAssets (56)Timeline Frame 2Symbol 310 as "mario_ledge"
ExportAssets (56)Timeline Frame 2Symbol 311 as "player_amy"
ExportAssets (56)Timeline Frame 2Symbol 312 as "player_peach"
ExportAssets (56)Timeline Frame 2Symbol 313 as "player_samus"
ExportAssets (56)Timeline Frame 2Symbol 314 as "samusBomb"
ExportAssets (56)Timeline Frame 2Symbol 315 as "samusShot"
ExportAssets (56)Timeline Frame 2Symbol 316 as "scroll"
ExportAssets (56)Timeline Frame 2Symbol 317 as "spiny"
ExportAssets (56)Timeline Frame 2Symbol 319 as "blankBlock"
ExportAssets (56)Timeline Frame 2Symbol 320 as "brickBlock"
ExportAssets (56)Timeline Frame 2Symbol 321 as "prizeBlock"
ExportAssets (56)Timeline Frame 2Symbol 322 as "bombBlock"
ExportAssets (56)Timeline Frame 2Symbol 323 as "shotBlock"
ExportAssets (56)Timeline Frame 2Symbol 324 as "speedBlock"
ExportAssets (56)Timeline Frame 2Symbol 325 as "noteBlock"
ExportAssets (56)Timeline Frame 2Symbol 326 as "pipe"
ExportAssets (56)Timeline Frame 2Symbol 333 as "slopeUp"
ExportAssets (56)Timeline Frame 2Symbol 334 as "springBoard"
ExportAssets (56)Timeline Frame 2Symbol 335 as "coin10Block"
ExportAssets (56)Timeline Frame 2Symbol 336 as "coinBlock"
ExportAssets (56)Timeline Frame 2Symbol 343 as "energyOrb"
ExportAssets (56)Timeline Frame 2Symbol 353 as "goalMario"
ExportAssets (56)Timeline Frame 2Symbol 356 as "mushroom"
ExportAssets (56)Timeline Frame 2Symbol 357 as "pit"
ExportAssets (56)Timeline Frame 2Symbol 361 as "particle_smoke"
ExportAssets (56)Timeline Frame 2Symbol 365 as "particle_sparkle"
ExportAssets (56)Timeline Frame 2Symbol 366 as "particle_streak"
ExportAssets (56)Timeline Frame 2Symbol 369 as "mario_heartEmpty"
ExportAssets (56)Timeline Frame 2Symbol 372 as "mario_heartFull"
ExportAssets (56)Timeline Frame 2Symbol 373 as "mario_hpMask"
ExportAssets (56)Timeline Frame 2Symbol 422 as "hud"
ExportAssets (56)Timeline Frame 2Symbol 431 as "metroidBombExplosion"
ExportAssets (56)Timeline Frame 2Symbol 435 as "smallExplosion"
ExportAssets (56)Timeline Frame 2Symbol 440 as "brickPieces"
ExportAssets (56)Timeline Frame 2Symbol 460 as "blockCoin"
ExportAssets (56)Timeline Frame 2Symbol 463 as "grabCoin"
ExportAssets (56)Timeline Frame 2Symbol 464 as "smokePuff"
ExportAssets (56)Timeline Frame 2Symbol 466 as "transition_mc"
ExportAssets (56)Timeline Frame 2Symbol 467 as "transition_cut"
ExportAssets (56)Timeline Frame 2Symbol 468 as "transition_fade"
ExportAssets (56)Timeline Frame 2Symbol 471 as "transition_square"
ExportAssets (56)Timeline Frame 2Symbol 472 as "swf\title\title3.png"
ExportAssets (56)Timeline Frame 2Symbol 473 as "swf\title\title2.png"
ExportAssets (56)Timeline Frame 2Symbol 474 as "swf\title\title1.png"
ExportAssets (56)Timeline Frame 2Symbol 476 as "brickPiece"
ExportAssets (56)Timeline Frame 2Symbol 477 as "swf\bg\mario3.png"
ExportAssets (56)Timeline Frame 2Symbol 478 as "swf\bg\mario2.png"
ExportAssets (56)Timeline Frame 2Symbol 479 as "swf\bg\mario1.png"
ExportAssets (56)Timeline Frame 2Symbol 504 as "swf\bg\metroid1.swf"
ExportAssets (56)Timeline Frame 2Symbol 506 as "scroller"
ExportAssets (56)Timeline Frame 2Symbol 507 as "setMusic"
ExportAssets (56)Timeline Frame 2Symbol 508 as "map_path"
ExportAssets (56)Timeline Frame 2Symbol 509 as "koopa"
ExportAssets (56)Timeline Frame 2Symbol 510 as "koopaShell"
ExportAssets (56)Timeline Frame 2Symbol 512 as "player"
ExportAssets (56)Timeline Frame 2Symbol 513 as "setBackground"
ExportAssets (56)Timeline Frame 2Symbol 514 as "spikeMetroidBlock"
ExportAssets (56)Timeline Frame 2Symbol 515 as "setFlags"
ExportAssets (56)Timeline Frame 2Symbol 516 as "map"
ExportAssets (56)Timeline Frame 2Symbol 517 as "levels\level1-1-1.lvl"
ExportAssets (56)Timeline Frame 2Symbol 518 as "levels\level1-2-1.lvl"
ExportAssets (56)Timeline Frame 2Symbol 519 as "levels\level1-2-2.lvl"
ExportAssets (56)Timeline Frame 2Symbol 520 as "levels\level1-3-1.lvl"
ExportAssets (56)Timeline Frame 2Symbol 521 as "levels\map1.lvl"
ExportAssets (56)Timeline Frame 2Symbol 522 as "levels\pipeTest.lvl"
ExportAssets (56)Timeline Frame 2Symbol 523 as "levels\test.lvl"
ExportAssets (56)Timeline Frame 2Symbol 524 as "level"
ExportAssets (56)Timeline Frame 2Symbol 525 as "database.xml"
ExportAssets (56)Timeline Frame 2Symbol 526 as "charset\goomba_walk.png"
ExportAssets (56)Timeline Frame 2Symbol 527 as "charset\goomba_die.png"
ExportAssets (56)Timeline Frame 2Symbol 528 as "charset\energyOrb.png"
ExportAssets (56)Timeline Frame 2Symbol 529 as "charset\door2.png"
ExportAssets (56)Timeline Frame 2Symbol 530 as "charset\door1.png"
ExportAssets (56)Timeline Frame 2Symbol 531 as "charset\coin.png"
ExportAssets (56)Timeline Frame 2Symbol 532 as "charset\brickBlock.png"
ExportAssets (56)Timeline Frame 2Symbol 533 as "charset\bombBlock.png"
ExportAssets (56)Timeline Frame 2Symbol 534 as "charset\blankBlock.png"
ExportAssets (56)Timeline Frame 2Symbol 535 as "charset\bigCoin.png"
ExportAssets (56)Timeline Frame 2Symbol 536 as "charset\amy_walk.png"
ExportAssets (56)Timeline Frame 2Symbol 537 as "charset\amy_stand.png"
ExportAssets (56)Timeline Frame 2Symbol 538 as "charset\amy_spinDash.png"
ExportAssets (56)Timeline Frame 2Symbol 539 as "charset\amy_skid.png"
ExportAssets (56)Timeline Frame 2Symbol 540 as "charset\amy_selected.png"
ExportAssets (56)Timeline Frame 2Symbol 541 as "charset\amy_roll.png"
ExportAssets (56)Timeline Frame 2Symbol 542 as "charset\amy_jump.png"
ExportAssets (56)Timeline Frame 2Symbol 543 as "charset\amy_flinch.png"
ExportAssets (56)Timeline Frame 2Symbol 544 as "charset\amy_fall.png"
ExportAssets (56)Timeline Frame 2Symbol 545 as "charset\amy_duck.png"
ExportAssets (56)Timeline Frame 2Symbol 546 as "charset\amy_die.png"
ExportAssets (56)Timeline Frame 2Symbol 547 as "charset\_spiny_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 548 as "charset\_speedBlock_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 549 as "charset\_shotBlock_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 550 as "charset\_prizeBlock_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 551 as "charset\_noteBlock_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 552 as "charset\_map_level_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 553 as "charset\_map_joint_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 554 as "charset\_icon_springBoard.png"
ExportAssets (56)Timeline Frame 2Symbol 555 as "charset\_icon_pipe.png"
ExportAssets (56)Timeline Frame 2Symbol 556 as "charset\_goomba_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 557 as "charset\_coin_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 558 as "charset\_coin_bigCoin.png"
ExportAssets (56)Timeline Frame 2Symbol 559 as "charset\_brick_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 560 as "charset\_bombBlock_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 561 as "charset\_block_icon.png"
ExportAssets (56)Timeline Frame 2Symbol 562 as "chipset\metroid.png"
ExportAssets (56)Timeline Frame 2Symbol 563 as "chipset\megaman.png"
ExportAssets (56)Timeline Frame 2Symbol 564 as "chipset\mario.png"
ExportAssets (56)Timeline Frame 2Symbol 565 as "chipset\map.png"
ExportAssets (56)Timeline Frame 2Symbol 566 as "chipset\basis.png"
ExportAssets (56)Timeline Frame 2Symbol 568 as "charset\spiny_walk.png"
ExportAssets (56)Timeline Frame 2Symbol 569 as "charset\spiny_die.png"
ExportAssets (56)Timeline Frame 2Symbol 570 as "charset\spikeMetroid.png"
ExportAssets (56)Timeline Frame 2Symbol 571 as "charset\speedBlock.png"
ExportAssets (56)Timeline Frame 2Symbol 572 as "charset\sonic_springBoard.png"
ExportAssets (56)Timeline Frame 2Symbol 573 as "charset\shotBlock_return.png"
ExportAssets (56)Timeline Frame 2Symbol 574 as "charset\shotBlock_break.png"
ExportAssets (56)Timeline Frame 2Symbol 575 as "charset\shotBlock.png"
ExportAssets (56)Timeline Frame 2Symbol 576 as "charset\samus_wallJump.png"
ExportAssets (56)Timeline Frame 2Symbol 577 as "charset\samus_walk_upSlant.png"
ExportAssets (56)Timeline Frame 2Symbol 578 as "charset\samus_walk_shoot.png"
ExportAssets (56)Timeline Frame 2Symbol 579 as "charset\samus_walk_downSlant.png"
ExportAssets (56)Timeline Frame 2Symbol 580 as "charset\samus_walk.png"
ExportAssets (56)Timeline Frame 2Symbol 581 as "charset\samus_startMorph.png"
ExportAssets (56)Timeline Frame 2Symbol 582 as "charset\samus_startDuck.png"
ExportAssets (56)Timeline Frame 2Symbol 583 as "charset\samus_stand_upSlant.png"
ExportAssets (56)Timeline Frame 2Symbol 584 as "charset\samus_stand_up.png"
ExportAssets (56)Timeline Frame 2Symbol 585 as "charset\samus_stand_downSlant.png"
ExportAssets (56)Timeline Frame 2Symbol 586 as "charset\samus_stand.png"
ExportAssets (56)Timeline Frame 2Symbol 587 as "charset\samus_slip.png"
ExportAssets (56)Timeline Frame 2Symbol 588 as "charset\samus_selected.png"
ExportAssets (56)Timeline Frame 2Symbol 589 as "charset\samus_normalShot.png"
ExportAssets (56)Timeline Frame 2Symbol 590 as "charset\samus_morphBall.png"
ExportAssets (56)Timeline Frame 2Symbol 591 as "charset\samus_land.png"
ExportAssets (56)Timeline Frame 2Symbol 592 as "charset\samus_jumpFlip.png"
ExportAssets (56)Timeline Frame 2Symbol 593 as "charset\samus_jump_upSlant.png"
ExportAssets (56)Timeline Frame 2Symbol 594 as "charset\samus_jump_up.png"
ExportAssets (56)Timeline Frame 2Symbol 595 as "charset\samus_jump_shoot.png"
ExportAssets (56)Timeline Frame 2Symbol 596 as "charset\samus_jump_downSlant.png"
ExportAssets (56)Timeline Frame 2Symbol 597 as "charset\samus_jump_down.png"
ExportAssets (56)Timeline Frame 2Symbol 598 as "charset\samus_jump.png"
ExportAssets (56)Timeline Frame 2Symbol 599 as "charset\samus_flinch.png"
ExportAssets (56)Timeline Frame 2Symbol 600 as "charset\samus_fall.png"
ExportAssets (56)Timeline Frame 2Symbol 601 as "charset\samus_endMorph.png"
ExportAssets (56)Timeline Frame 2Symbol 602 as "charset\samus_duck_upSlant.png"
ExportAssets (56)Timeline Frame 2Symbol 603 as "charset\samus_duck_up.png"
ExportAssets (56)Timeline Frame 2Symbol 604 as "charset\samus_duck_downSlant.png"
ExportAssets (56)Timeline Frame 2Symbol 605 as "charset\samus_duck.png"
ExportAssets (56)Timeline Frame 2Symbol 606 as "charset\samus_die.png"
ExportAssets (56)Timeline Frame 2Symbol 607 as "charset\samus_boostUp.png"
ExportAssets (56)Timeline Frame 2Symbol 608 as "charset\samus_boostSide.png"
ExportAssets (56)Timeline Frame 2Symbol 609 as "charset\samus_bomb.png"
ExportAssets (56)Timeline Frame 2Symbol 610 as "charset\ringGrab.png"
ExportAssets (56)Timeline Frame 2Symbol 611 as "charset\ring.png"
ExportAssets (56)Timeline Frame 2Symbol 612 as "charset\prizeBlock.png"
ExportAssets (56)Timeline Frame 2Symbol 613 as "charset\piranaPlant.png"
ExportAssets (56)Timeline Frame 2Symbol 614 as "charset\pipeIcon.png"
ExportAssets (56)Timeline Frame 2Symbol 615 as "charset\peach_walk.png"
ExportAssets (56)Timeline Frame 2Symbol 616 as "charset\peach_walk.gif"
ExportAssets (56)Timeline Frame 2Symbol 617 as "charset\peach_stand.png"
ExportAssets (56)Timeline Frame 2Symbol 618 as "charset\peach_stand.gif"
ExportAssets (56)Timeline Frame 2Symbol 619 as "charset\peach_slide.png"
ExportAssets (56)Timeline Frame 2Symbol 620 as "charset\peach_slide.gif"
ExportAssets (56)Timeline Frame 2Symbol 621 as "charset\peach_skid.png"
ExportAssets (56)Timeline Frame 2Symbol 622 as "charset\peach_selected2.png"
ExportAssets (56)Timeline Frame 2Symbol 623 as "charset\peach_selected.png"
ExportAssets (56)Timeline Frame 2Symbol 624 as "charset\peach_jump.png"
ExportAssets (56)Timeline Frame 2Symbol 625 as "charset\peach_jump.gif"
ExportAssets (56)Timeline Frame 2Symbol 626 as "charset\peach_float.png"
ExportAssets (56)Timeline Frame 2Symbol 627 as "charset\peach_float.gif"
ExportAssets (56)Timeline Frame 2Symbol 628 as "charset\peach_flinch.png"
ExportAssets (56)Timeline Frame 2Symbol 629 as "charset\peach_flinch.gif"
ExportAssets (56)Timeline Frame 2Symbol 630 as "charset\peach_fall.png"
ExportAssets (56)Timeline Frame 2Symbol 631 as "charset\peach_fall.gif"
ExportAssets (56)Timeline Frame 2Symbol 632 as "charset\peach_duck.png"
ExportAssets (56)Timeline Frame 2Symbol 633 as "charset\peach_duck.gif"
ExportAssets (56)Timeline Frame 2Symbol 634 as "charset\paraTroopa_walk.png"
ExportAssets (56)Timeline Frame 2Symbol 635 as "charset\noteBlock.png"
ExportAssets (56)Timeline Frame 2Symbol 636 as "charset\mushroom1up.png"
ExportAssets (56)Timeline Frame 2Symbol 637 as "charset\mushroom.png"
ExportAssets (56)Timeline Frame 2Symbol 638 as "charset\marioGoalFrame.png"
ExportAssets (56)Timeline Frame 2Symbol 639 as "charset\mario_ledge.png"
ExportAssets (56)Timeline Frame 2Symbol 640 as "charset\map_samus.png"
ExportAssets (56)Timeline Frame 2Symbol 641 as "charset\map_rock.png"
ExportAssets (56)Timeline Frame 2Symbol 642 as "charset\map_peach.png"
ExportAssets (56)Timeline Frame 2Symbol 643 as "charset\map_pathVert.png"
ExportAssets (56)Timeline Frame 2Symbol 644 as "charset\map_pathHorz.png"
ExportAssets (56)Timeline Frame 2Symbol 645 as "charset\map_joint.png"
ExportAssets (56)Timeline Frame 2Symbol 646 as "charset\map_help.png"
ExportAssets (56)Timeline Frame 2Symbol 647 as "charset\map_hammerBros.png"
ExportAssets (56)Timeline Frame 2Symbol 648 as "charset\map_fortress.png"
ExportAssets (56)Timeline Frame 2Symbol 649 as "charset\map_door.png"
ExportAssets (56)Timeline Frame 2Symbol 650 as "charset\map_bush.png"
ExportAssets (56)Timeline Frame 2Symbol 651 as "charset\map_amy.png"
ExportAssets (56)Timeline Frame 2Symbol 652 as "charset\map_airShip.png"
ExportAssets (56)Timeline Frame 2Symbol 653 as "charset\map_10.png"
ExportAssets (56)Timeline Frame 2Symbol 654 as "charset\map_9.png"
ExportAssets (56)Timeline Frame 2Symbol 655 as "charset\map_8.png"
ExportAssets (56)Timeline Frame 2Symbol 656 as "charset\map_7.png"
ExportAssets (56)Timeline Frame 2Symbol 657 as "charset\map_6.png"
ExportAssets (56)Timeline Frame 2Symbol 658 as "charset\map_5.png"
ExportAssets (56)Timeline Frame 2Symbol 659 as "charset\map_4.png"
ExportAssets (56)Timeline Frame 2Symbol 660 as "charset\map_3.png"
ExportAssets (56)Timeline Frame 2Symbol 661 as "charset\map_2.png"
ExportAssets (56)Timeline Frame 2Symbol 662 as "charset\map_1.png"
ExportAssets (56)Timeline Frame 2Symbol 663 as "charset\koopa_walk.png"
ExportAssets (56)Timeline Frame 2Symbol 664 as "charset\koopa_shellWait.png"
ExportAssets (56)Timeline Frame 2Symbol 665 as "charset\koopa_shellMove.png"
ExportAssets (56)Timeline Frame 2Symbol 666 as "charset\koopa_die.png"
ExportAssets (56)Timeline Frame 2Symbol 668 as "music\grassland.mp3"
ExportAssets (56)Timeline Frame 2Symbol 669 as "sound\coin.mp3"
ExportAssets (56)Timeline Frame 2Symbol 670 as "music\JazzBelmont.mp3"
ExportAssets (56)Timeline Frame 2Symbol 671 as "sound\dashBoost.mp3"
ExportAssets (56)Timeline Frame 2Symbol 672 as "music\JazzBelmont_intro.mp3"
ExportAssets (56)Timeline Frame 2Symbol 673 as "sound\duckSlide.mp3"
ExportAssets (56)Timeline Frame 2Symbol 674 as "music\mario.mp3"
ExportAssets (56)Timeline Frame 2Symbol 675 as "sound\enterLevel.mp3"
ExportAssets (56)Timeline Frame 2Symbol 676 as "music\mario_intro.mp3"
ExportAssets (56)Timeline Frame 2Symbol 677 as "sound\float.mp3"
ExportAssets (56)Timeline Frame 2Symbol 678 as "music\mario_underground.mp3"
ExportAssets (56)Timeline Frame 2Symbol 679 as "sound\landing.mp3"
ExportAssets (56)Timeline Frame 2Symbol 680 as "music\title.mp3"
ExportAssets (56)Timeline Frame 2Symbol 681 as "sound\mapMove.mp3"
ExportAssets (56)Timeline Frame 2Symbol 682 as "music\title_intro.mp3"
ExportAssets (56)Timeline Frame 2Symbol 683 as "sound\mario_1up.mp3"
ExportAssets (56)Timeline Frame 2Symbol 684 as "sound\mario_damage.mp3"
ExportAssets (56)Timeline Frame 2Symbol 685 as "sound\mario_die.mp3"
ExportAssets (56)Timeline Frame 2Symbol 686 as "sound\mario_goal.mp3"
ExportAssets (56)Timeline Frame 2Symbol 687 as "sound\mario_noteBlock.mp3"
ExportAssets (56)Timeline Frame 2Symbol 688 as "sound\mario_pipe.mp3"
ExportAssets (56)Timeline Frame 2Symbol 689 as "sound\mario_powerUp.mp3"
ExportAssets (56)Timeline Frame 2Symbol 690 as "sound\mario_vanish.mp3"
ExportAssets (56)Timeline Frame 2Symbol 691 as "sound\marioBrick.mp3"
ExportAssets (56)Timeline Frame 2Symbol 692 as "sound\marioEmerge.mp3"
ExportAssets (56)Timeline Frame 2Symbol 693 as "sound\marioFlinch.mp3"
ExportAssets (56)Timeline Frame 2Symbol 694 as "sound\marioJump.mp3"
ExportAssets (56)Timeline Frame 2Symbol 695 as "sound\marioKick.mp3"
ExportAssets (56)Timeline Frame 2Symbol 696 as "sound\marioKill.mp3"
ExportAssets (56)Timeline Frame 2Symbol 697 as "sound\marioSkid.mp3"
ExportAssets (56)Timeline Frame 2Symbol 698 as "sound\marioStomp.mp3"
ExportAssets (56)Timeline Frame 2Symbol 699 as "sound\metroid_blockBreak.mp3"
ExportAssets (56)Timeline Frame 2Symbol 700 as "sound\metroid_bomb.mp3"
ExportAssets (56)Timeline Frame 2Symbol 701 as "sound\metroid_die.mp3"
ExportAssets (56)Timeline Frame 2Symbol 702 as "sound\metroid_doorClose.mp3"
ExportAssets (56)Timeline Frame 2Symbol 703 as "sound\metroid_doorOpen.mp3"
ExportAssets (56)Timeline Frame 2Symbol 704 as "sound\metroid_footstep.mp3"
ExportAssets (56)Timeline Frame 2Symbol 705 as "sound\metroid_healingOrb.mp3"
ExportAssets (56)Timeline Frame 2Symbol 706 as "sound\metroid_jumpFlip.mp3"
ExportAssets (56)Timeline Frame 2Symbol 707 as "sound\metroid_landing.mp3"
ExportAssets (56)Timeline Frame 2Symbol 708 as "sound\metroid_menuBG.mp3"
ExportAssets (56)Timeline Frame 2Symbol 709 as "sound\metroid_menuChange.mp3"
ExportAssets (56)Timeline Frame 2Symbol 710 as "sound\metroid_samusFlinch.mp3"
ExportAssets (56)Timeline Frame 2Symbol 711 as "sound\metroid_select.mp3"
ExportAssets (56)Timeline Frame 2Symbol 712 as "sound\metroid_shotNormal.mp3"
ExportAssets (56)Timeline Frame 2Symbol 713 as "sound\metroid_smallImpact.mp3"
ExportAssets (56)Timeline Frame 2Symbol 714 as "sound\metroid_speedBoostJump.mp3"
ExportAssets (56)Timeline Frame 2Symbol 715 as "sound\metroid_speedBoostLoop.mp3"
ExportAssets (56)Timeline Frame 2Symbol 716 as "sound\metroid_speedBoostStart.mp3"
ExportAssets (56)Timeline Frame 2Symbol 717 as "sound\metroid_speedBoostStored.mp3"
ExportAssets (56)Timeline Frame 2Symbol 718 as "sound\pause.mp3"
ExportAssets (56)Timeline Frame 2Symbol 719 as "sound\saveGame.mp3"
ExportAssets (56)Timeline Frame 2Symbol 720 as "sound\slide.mp3"
ExportAssets (56)Timeline Frame 2Symbol 721 as "sound\sonic_die.mp3"
ExportAssets (56)Timeline Frame 2Symbol 722 as "sound\sonic_SpringBoard.mp3"
ExportAssets (56)Timeline Frame 2Symbol 723 as "sound\sonicFlinch.mp3"
ExportAssets (56)Timeline Frame 2Symbol 724 as "sound\sonicJump.mp3"
ExportAssets (56)Timeline Frame 2Symbol 725 as "sound\sonicSkid.mp3"
ExportAssets (56)Timeline Frame 2Symbol 726 as "sound\sonicSpeed.mp3"

Labels

"idle"Symbol 198 MovieClip [pause_win] Frame 2
"pause"Symbol 198 MovieClip [pause_win] Frame 11
"start"Symbol 202 MovieClip [characterSelect_win] Frame 1
"main"Symbol 202 MovieClip [characterSelect_win] Frame 7
"end"Symbol 202 MovieClip [characterSelect_win] Frame 13
"none"Symbol 422 MovieClip [hud] Frame 1
"peach"Symbol 422 MovieClip [hud] Frame 8
"amy"Symbol 422 MovieClip [hud] Frame 15
"samus"Symbol 422 MovieClip [hud] Frame 21
"fadeOut"Symbol 467 MovieClip [transition_cut] Frame 1
"fadeIn"Symbol 467 MovieClip [transition_cut] Frame 8
"fadeOut"Symbol 468 MovieClip [transition_fade] Frame 1
"fadeIn"Symbol 468 MovieClip [transition_fade] Frame 16
"fadeOut"Symbol 471 MovieClip [transition_square] Frame 1
"fadeIn"Symbol 471 MovieClip [transition_square] Frame 25

Dynamic Text Variables

filenameSymbol 9 EditableText"file"
filenameSymbol 20 EditableText"file"
labelSymbol 193 EditableText"Option"
textSymbol 204 EditableText"text"




http://swfchan.com/35/173759/info.shtml
Created: 17/10 -2018 09:41:28 Last modified: 17/10 -2018 09:41:28 Server time: 14/11 -2024 22:52:53