[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Frame 1 (27 B)
org.document.Mojie.init();
Symbol 1270 MovieClip [__Packages.org.document.Mojie] Frame 0 (756 B)
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.document) {
_global.org.document = new Object();
}
if (!_global.org.document.Mojie) {
var _local1 = function () {
};
_global.org.document.Mojie = _local1;
var _local2 = _local1.prototype;
_local1.init = function () {
stop();
_root.enterFrame = new flash.display.DisplayObject(_root);
org.data.Load.init();
};
_local1.__get__enterFrame = function () {
return(_root.enterFrame);
};
_local1.main = function () {
org.display.MainPlane.init();
};
(_local1.addProperty("enterFrame", _local1.__get__enterFrame, function () {
}));// not popped
(ASSetPropFlags(_global.org.document.Mojie.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1271 MovieClip [__Packages.flash.events.EventDispatcher] Frame 0 (3.23 KiB) ●
#initclip
if (!_global.flash) {
_global.flash = new Object();
}
if (!_global.flash.events) {
_global.flash.events = new Object();
}
if (!_global.flash.events.EventDispatcher) {
var _local1 = function (obj) {
this._listenerList = new Array();
this._obj = obj;
};
_global.flash.events.EventDispatcher = _local1;
var _local2 = _local1.prototype;
_local2.addEventListener = function (type, listener) {
this._addListener(type, listener);
};
_local2.dispatchEvent = function (event) {
this._runListener(event.type);
};
_local2.removeEventListener = function (type, listener) {
this._removeListener(type, listener);
};
_local2.removeListenerList = function (array, listener) {
var _local3 = array.length;
var _local4 = 0;
while (_local4 < _local3) {
if (array[_local4] == listener) {
array.splice(_local4, 1);
break;
}
_local4 = _local4 + 1;
}
return(array.length);
};
_local2._addListener = function (type, listener) {
var _local4 = this._listenerList.length;
if (_local4 == 0) {
this._listenerList[0] = type;
this[this._listenerList[0]] = new Array();
this[this._listenerList[0]].push(listener);
} else {
var _local5 = 0;
while (_local5 < _local4) {
if (type == this._listenerList[_local5]) {
var _local6 = this[this._listenerList[_local5]].length;
var _local7 = 0;
while (_local7 < _local6) {
if (this[this._listenerList[_local5]][_local7] == listener) {
break;
}
if (_local7 == (_local6 - 1)) {
this[this._listenerList[_local5]].push(listener);
}
_local7 = _local7 + 1;
}
break;
}
if (_local5 == (_local4 - 1)) {
this._listenerList[_local4] = type;
this[this._listenerList[_local4]] = new Array();
this[this._listenerList[_local4]].push(listener);
}
_local5 = _local5 + 1;
}
}
};
_local2._removeListener = function (type, listener) {
var _local4 = this._listenerList.length;
var _local5 = 0;
while (_local5 < _local4) {
if (type == this._listenerList[_local5]) {
var _local6 = this[this._listenerList[_local5]].length;
var _local7 = 0;
while (_local7 < _local6) {
if (this[this._listenerList[_local5]][_local7] == listener) {
this[this._listenerList[_local5]].splice(_local7, 1);
break;
}
_local7 = _local7 + 1;
}
if (this[this._listenerList[_local5]].length == 0) {
delete this[this._listenerList[_local5]];
this._listenerList.splice(_local5, 1);
}
break;
}
_local5 = _local5 + 1;
}
};
_local2._runListener = function (type) {
var _local3 = this._listenerList.length;
var _local4 = 0;
while (_local4 < _local3) {
if (type == this._listenerList[_local4]) {
var _local5 = this[this._listenerList[_local4]].length;
var _local6 = 0;
while (_local6 < _local5) {
var _local7 = new flash.events.Event(this._listenerList[_local4]);
_local7.target = this;
this[this._listenerList[_local4]]._loc2_(_local7);
_local6 = _local6 + 1;
}
}
_local4 = _local4 + 1;
}
};
(ASSetPropFlags(_global.flash.events.EventDispatcher.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1272 MovieClip [__Packages.flash.events.Event] Frame 0 (1.5 KiB) ●
#initclip
if (!_global.flash) {
_global.flash = new Object();
}
if (!_global.flash.events) {
_global.flash.events = new Object();
}
if (!_global.flash.events.Event) {
var _local1 = function (type) {
this._type = type;
};
_global.flash.events.Event = _local1;
var _local2 = _local1.prototype;
_local1.__get__COMPLETE = function () {
return("complete");
};
_local1.__get__ENTER_FRAME = function () {
return("enterFrame");
};
_local1.__get__OPEN = function () {
return("open");
};
_local1.__get__SOUND_COMPLETE = function () {
return("soundComplete");
};
_local2.__get__target = function () {
return(this._target);
};
_local2.__set__target = function (value) {
this._target = value;
return(this.__get__target());
};
_local2.__get__type = function () {
return(this._type);
};
_local2._target = null;
(_local1.addProperty("COMPLETE", _local1.__get__COMPLETE, function () {
}));// not popped
(_local1.addProperty("ENTER_FRAME", _local1.__get__ENTER_FRAME, function () {
}));// not popped
(_local1.addProperty("OPEN", _local1.__get__OPEN, function () {
}));// not popped
(_local1.addProperty("SOUND_COMPLETE", _local1.__get__SOUND_COMPLETE, function () {
}));// not popped
(_local2.addProperty("target", _local2.__get__target, _local2.__set__target));// not popped
(_local2.addProperty("type", _local2.__get__type, function () {
}));// not popped
(ASSetPropFlags(_global.flash.events.Event.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1273 MovieClip [__Packages.flash.display.DisplayObject] Frame 0 (6.08 KiB) ● ●
#initclip
if (!_global.flash) {
_global.flash = new Object();
}
if (!_global.flash.display) {
_global.flash.display = new Object();
}
if (!_global.flash.display.DisplayObject) {
var _local1 = function (obj) {
super();
this._enterFrameArray = new Array();
if (typeof(obj) == "string") {
this._Identifier = obj;
} else if ((typeof(obj) == "movieclip") || (typeof(obj) == "object")) {
this.init(obj);
} else if (obj == undefined) {
this._Identifier = undefined;
}
};
_global.flash.display.DisplayObject = _local1;
//_global.flash.display.DisplayObject extends flash.events.EventDispatcher
var _local2 = _local1.prototype;
_local2.init = function (obj) {
this._object = obj;
};
_local2.__get__Identifier = function () {
return(this._Identifier);
};
_local2.addEventListener = function (type, listener) {
super.addEventListener(type, listener);
if (type == "enterFrame") {
this._enterFrameArray.push(listener);
var target = this;
this._object.onEnterFrame = function () {
target.dispatchEvent(new flash.events.Event("enterFrame"));
};
}
};
_local2.removeEventListener = function (type, listener) {
super.removeEventListener(type, listener);
if (type == "enterFrame") {
if (this.removeListenerList(this._enterFrameArray, listener) == 0) {
delete this._object.onEnterFrame;
}
}
};
_local2.getBounds = function (targetCoordinateSpace) {
var _local3 = this._object.getBounds(targetCoordinateSpace.info);
return(new flash.geom.Rectangle(_local3.xMin, _local3.yMin, _local3.xMax - _local3.xMin, _local3.yMax - _local3.yMin));
};
_local2.getRect = function (targetCoordinateSpace) {
var _local3 = this._object.getRect(targetCoordinateSpace.info);
return(new flash.geom.Rectangle(_local3.xMin, _local3.yMin, _local3.xMax - _local3.xMin, _local3.yMax - _local3.yMin));
};
_local2.globalToLocal = function (point) {
this._object.globalToLocal(point);
return(point);
};
_local2.hitTestObject = function (obj) {
return(this._object.hitTest(obj.info));
};
_local2.hitTestPoint = function (x, y, shapeFlag) {
return(this._object.hitTest(x, y, shapeFlag));
};
_local2.localToGlobal = function (point) {
this._object.localToGlobal(point);
return(point);
};
_local2.__get__alpha = function () {
return(this._object._alpha / 100);
};
_local2.__set__alpha = function (value) {
this._object._alpha = value * 100;
return(this.__get__alpha());
};
_local2.__get__height = function () {
return(this._object._height);
};
_local2.__set__height = function (value) {
this._object._height = value;
return(this.__get__height());
};
_local2.__get__info = function () {
return(this._object);
};
_local2.__set__mask = function (value) {
this._object.setMask(value.info);
return(this.__get__mask());
};
_local2.__get__mouseX = function () {
return(this._object._xmouse);
};
_local2.__get__mouseY = function () {
return(this._object._ymouse);
};
_local2.__get__name = function () {
return(this._object._name);
};
_local2.__set__name = function (value) {
this._object._name = value;
return(this.__get__name());
};
_local2.__get__parent = function () {
return(this._object._parent);
};
_local2.__get__rotation = function () {
return(this._object._rotation);
};
_local2.__set__rotation = function (value) {
this._object._rotation = value;
return(this.__get__rotation());
};
_local2.__get__scaleX = function () {
return(this._object._xscale / 100);
};
_local2.__set__scaleX = function (value) {
this._object._xscale = value * 100;
return(this.__get__scaleX());
};
_local2.__get__scaleY = function () {
return(this._object._yscale / 100);
};
_local2.__set__scaleY = function (value) {
this._object._yscale = value * 100;
return(this.__get__scaleY());
};
_local2.__get__visible = function () {
return(this._object._visible);
};
_local2.__set__visible = function (value) {
this._object._visible = value;
return(this.__get__visible());
};
_local2.__get__width = function () {
return(this._object._width);
};
_local2.__set__width = function (value) {
this._object._width = value;
return(this.__get__width());
};
_local2.__get__x = function () {
return(this._object._x);
};
_local2.__set__x = function (value) {
this._object._x = value;
return(this.__get__x());
};
_local2.__get__y = function () {
return(this._object._y);
};
_local2.__set__y = function (value) {
this._object._y = value;
return(this.__get__y());
};
_local2._Identifier = "";
(_local2.addProperty("Identifier", _local2.__get__Identifier, function () {
}));// not popped
(_local2.addProperty("alpha", _local2.__get__alpha, _local2.__set__alpha));// not popped
(_local2.addProperty("height", _local2.__get__height, _local2.__set__height));// not popped
(_local2.addProperty("info", _local2.__get__info, function () {
}));// not popped
(_local2.addProperty("mask", function () {
}, _local2.__set__mask));// not popped
(_local2.addProperty("mouseX", _local2.__get__mouseX, function () {
}));// not popped
(_local2.addProperty("mouseY", _local2.__get__mouseY, function () {
}));// not popped
(_local2.addProperty("name", _local2.__get__name, _local2.__set__name));// not popped
(_local2.addProperty("parent", _local2.__get__parent, function () {
}));// not popped
(_local2.addProperty("rotation", _local2.__get__rotation, _local2.__set__rotation));// not popped
(_local2.addProperty("scaleX", _local2.__get__scaleX, _local2.__set__scaleX));// not popped
(_local2.addProperty("scaleY", _local2.__get__scaleY, _local2.__set__scaleY));// not popped
(_local2.addProperty("visible", _local2.__get__visible, _local2.__set__visible));// not popped
(_local2.addProperty("width", _local2.__get__width, _local2.__set__width));// not popped
(_local2.addProperty("x", _local2.__get__x, _local2.__set__x));// not popped
(_local2.addProperty("y", _local2.__get__y, _local2.__set__y));// not popped
(ASSetPropFlags(_global.flash.display.DisplayObject.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1274 MovieClip [__Packages.org.data.Load] Frame 0 (2.48 KiB) ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.data) {
_global.org.data = new Object();
}
if (!_global.org.data.Load) {
var _local1 = function () {
};
_global.org.data.Load = _local1;
var _local2 = _local1.prototype;
_local1.init = function () {
var _local2 = _root.createEmptyMovieClip("mask", 100);
_local2.beginFill(0);
_local2.moveTo(-500, -500);
_local2.lineTo(1500, -500);
_local2.lineTo(1500, 1500);
_local2.lineTo(640, 1500);
_local2.lineTo(640, 0);
_local2.lineTo(0, 0);
_local2.lineTo(0, 480);
_local2.lineTo(640, 480);
_local2.lineTo(640, 1500);
_local2.lineTo(-500, 1500);
_local2.lineTo(-500, 0);
org.data.Load._loadingPlane = _root.attachMovie("loadingPlane", "loadingPlane", 0);
org.data.Load._loadingPlane.sphere.stop();
org.document.Mojie.enterFrame.addEventListener(flash.events.Event.ENTER_FRAME, org.data.Load._loadHandler);
};
_local1._loadHandler = function () {
var _local2 = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
org.data.Load._loadingPlane.sphere.gotoAndStop(Math.floor(_local2));
if (_local2 == 100) {
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.data.Load._loadHandler);
org.data.Load._loadingPlane.removeMovieClip();
_root.gotoAndStop(2);
_root.temp.swapDepths(0);
_root.temp.removeMovieClip();
org.data.Save.init();
org.data.AbilityManager.loadData();
org.data.MissionManager.loadData();
org.media.SoundManager.init();
org.document.Mojie.main();
_root.attachMovie("controlS_btn", "controlS_btn", 50000, {_x:550, _y:4});
_root.controlS_btn.gotoAndStop(1);
_root.controlS_btn._alpha = 0;
_root.controlS_btn.Sound_btn.enabled = false;
org.data.Load._controlSound = new flash.display.InteractiveObject(_root.controlS_btn.Sound_btn);
org.data.Load._controlSound.addEventListener(flash.events.MouseEvent.CLICK, org.data.Load._stopORstrat);
}
};
_local1._stopORstrat = function () {
if (_root.controlS_btn._currentframe == 1) {
stopAllSounds();
org.media.SoundManager._voiced = false;
_root.controlS_btn.gotoAndStop(2);
} else {
org.media.SoundManager._voiced = true;
_root.controlS_btn.gotoAndStop(1);
if (org.media.SoundManager._Bgflag) {
org.media.SoundManager.otherBgStart();
} else {
org.media.SoundManager.progressBgStart();
}
}
};
(ASSetPropFlags(_global.org.data.Load.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1275 MovieClip [__Packages.flash.display.InteractiveObject] Frame 0 (6.52 KiB) ● ●
#initclip
if (!_global.flash) {
_global.flash = new Object();
}
if (!_global.flash.display) {
_global.flash.display = new Object();
}
if (!_global.flash.display.InteractiveObject) {
var _local1 = function (obj) {
super(obj);
this._obj = obj;
this._keyDownList = new Array();
this._keyUpList = new Array();
this._mouseWheelList = new Array();
this._dragOutList = new Array();
this._dragOverList = new Array();
this._mouseMoveList = new Array();
this._pressList = new Array();
this._releaseList = new Array();
this._releaseOutsideList = new Array();
this._rollOutList = new Array();
this._rollOverList = new Array();
this._keyListener = new Object();
this._mouseListener = new Object();
};
_global.flash.display.InteractiveObject = _local1;
//_global.flash.display.InteractiveObject extends flash.display.DisplayObject
var _local2 = _local1.prototype;
_local2.init = function (obj) {
this._obj = obj;
super.init(this._obj);
};
_local2._timeOver = function (target) {
target._doubleClick_time--;
if (target._doubleClick_time <= 0) {
clearInterval(target._ID_doubleClick);
}
};
_local2.addEventListener = function (type, listener) {
super.addEventListener(type, listener);
var target = this;
if (((type == "click") || (type == "doubleClick")) || (type == "mouseUp")) {
this._releaseList.push(listener);
this._obj.onRelease = function () {
target.dispatchEvent(new flash.events.MouseEvent("mouseUp"));
target.dispatchEvent(new flash.events.MouseEvent("click"));
if (target._doubleClickEnabled) {
if (target._doubleClick_time == 0) {
target._ID_doubleClick = setInterval(target._timeOver, 300, target);
target._doubleClick_time = 1;
} else {
target.dispatchEvent(new flash.events.MouseEvent("doubleClick"));
target._doubleClick_time = 0;
clearInterval(target._ID_doubleClick);
}
}
};
} else if (type == "dragOut") {
this._dragOutList.push(listener);
this._obj.onDragOut = function () {
target.dispatchEvent(new flash.events.MouseEvent("dragOut"));
};
} else if (type == "dragOver") {
this._dragOverList.push(listener);
this._obj.onDragOver = function () {
target.dispatchEvent(new flash.events.MouseEvent("dragOver"));
};
} else if (type == "keyDown") {
this._keyDownList.push(listener);
Key.addListener(this._keyListener);
this._keyListener.onKeyDown = function () {
target.dispatchEvent(new flash.events.KeyboardEvent("keyDown"));
};
} else if (type == "keyUp") {
this._keyUpList.push(listener);
Key.addListener(this._keyListener);
this._keyListener.onKeyUp = function () {
target.dispatchEvent(new flash.events.KeyboardEvent("keyUp"));
};
} else if (type == "mouseDown") {
this._pressList.push(listener);
this._obj.onPress = function () {
target.dispatchEvent(new flash.events.MouseEvent("mouseDown"));
};
} else if (type == "mouseMove") {
this._mouseMoveList.push(listener);
this._obj.onMouseMove = function () {
if (this.hitTest(_xmouse, _ymouse, true)) {
target.dispatchEvent(new flash.events.MouseEvent("mouseMove"));
}
};
} else if (type == "clickOutside") {
this._releaseOutsideList.push(listener);
this._obj.onReleaseOutside = function () {
target.dispatchEvent(new flash.events.MouseEvent("clickOutside"));
};
} else if (type == "mouseWheel") {
this._mouseWheelList.push(listener);
Mouse.addListener(this._mouseListener);
this._mouseListener.onMouseWheel = function () {
target.dispatchEvent(new flash.events.MouseEvent("mouseWheel"));
};
} else if (type == "rollOut") {
this._rollOutList.push(listener);
this._obj.onRollOut = function () {
target.dispatchEvent(new flash.events.MouseEvent("rollOut"));
};
} else if (type == "rollOver") {
this._rollOverList.push(listener);
this._obj.onRollOver = function () {
target.dispatchEvent(new flash.events.MouseEvent("rollOver"));
};
}
};
_local2.removeEventListener = function (type, listener) {
super.removeEventListener(type, listener);
if (((type == "click") || (type == "doubleClick")) || (type == "mouseUp")) {
if (this.removeListenerList(this._releaseList, listener) == 0) {
delete this._obj.onRelease;
}
} else if (type == "dragOut") {
if (this.removeListenerList(this._dragOutList, listener) == 0) {
delete this._obj.onDragOut;
}
} else if (type == "dragOver") {
if (this.removeListenerList(this._dragOverList, listener) == 0) {
delete this._obj.onDragOver;
}
} else if (type == "keyDown") {
if (this.removeListenerList(this._keyDownList, listener) == 0) {
delete this._keyListener.onKeyDown;
if (this._keyUpList.length == 0) {
Key.removeListener(this._keyListener);
}
}
} else if (type == "keyUp") {
if (this.removeListenerList(this._keyUpList, listener) == 0) {
delete this._keyListener.onKeyUp;
if (this._keyDownList.length == 0) {
Key.removeListener(this._keyListener);
}
}
} else if (type == "mouseDown") {
if (this.removeListenerList(this._pressList, listener) == 0) {
delete this._obj.onPress;
}
} else if (type == "mouseMove") {
if (this.removeListenerList(this._mouseMoveList, listener) == 0) {
delete this._obj.onMouseMove;
}
} else if (type == "clickOutside") {
if (this.removeListenerList(this._releaseOutsideList, listener) == 0) {
delete this._obj.onReleaseOutside;
}
} else if (type == "mouseWheel") {
if (this.removeListenerList(this._mouseWheelList, listener) == 0) {
Mouse.removeListener(this._mouseListener);
delete this._mouseListener.onMouseWheel;
}
} else if (type == "rollOut") {
if (this.removeListenerList(this._rollOutList, listener) == 0) {
delete this._obj.onRollOut;
}
} else if (type == "rollOver") {
if (this.removeListenerList(this._rollOverList, listener) == 0) {
delete this._obj.onRollOver;
}
}
};
_local2.__get__doubleClickEnabled = function () {
return(this._doubleClickEnabled);
};
_local2.__set__doubleClickEnabled = function (value) {
this._doubleClickEnabled = value;
return(this.__get__doubleClickEnabled());
};
_local2._doubleClickEnabled = false;
_local2._doubleClick_time = 0;
(_local2.addProperty("doubleClickEnabled", _local2.__get__doubleClickEnabled, _local2.__set__doubleClickEnabled));// not popped
(ASSetPropFlags(_global.flash.display.InteractiveObject.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1276 MovieClip [__Packages.flash.events.MouseEvent] Frame 0 (2.28 KiB) ●
#initclip
if (!_global.flash) {
_global.flash = new Object();
}
if (!_global.flash.events) {
_global.flash.events = new Object();
}
if (!_global.flash.events.MouseEvent) {
var _local1 = function (type) {
super(type);
};
_global.flash.events.MouseEvent = _local1;
//_global.flash.events.MouseEvent extends flash.events.Event
var _local2 = _local1.prototype;
_local1.__get__CLICK = function () {
return("click");
};
_local1.__get__CLICK_OUTSIDE = function () {
return("clickOutside");
};
_local1.__get__DRAG_OUT = function () {
return("dragOut");
};
_local1.__get__DRAG_OVER = function () {
return("dragOver");
};
_local1.__get__DOUBLE_CLICK = function () {
return("doubleClick");
};
_local1.__get__MOUSE_DOWN = function () {
return("mouseDown");
};
_local1.__get__MOUSE_MOVE = function () {
return("mouseMove");
};
_local1.__get__MOUSE_UP = function () {
return("mouseUp");
};
_local1.__get__MOUSE_WHEEL = function () {
return("mouseWheel");
};
_local1.__get__ROLL_OUT = function () {
return("rollOut");
};
_local1.__get__ROLL_OVER = function () {
return("rollOver");
};
(_local1.addProperty("CLICK", _local1.__get__CLICK, function () {
}));// not popped
(_local1.addProperty("CLICK_OUTSIDE", _local1.__get__CLICK_OUTSIDE, function () {
}));// not popped
(_local1.addProperty("DRAG_OUT", _local1.__get__DRAG_OUT, function () {
}));// not popped
(_local1.addProperty("DRAG_OVER", _local1.__get__DRAG_OVER, function () {
}));// not popped
(_local1.addProperty("DOUBLE_CLICK", _local1.__get__DOUBLE_CLICK, function () {
}));// not popped
(_local1.addProperty("MOUSE_DOWN", _local1.__get__MOUSE_DOWN, function () {
}));// not popped
(_local1.addProperty("MOUSE_MOVE", _local1.__get__MOUSE_MOVE, function () {
}));// not popped
(_local1.addProperty("MOUSE_UP", _local1.__get__MOUSE_UP, function () {
}));// not popped
(_local1.addProperty("MOUSE_WHEEL", _local1.__get__MOUSE_WHEEL, function () {
}));// not popped
(_local1.addProperty("ROLL_OUT", _local1.__get__ROLL_OUT, function () {
}));// not popped
(_local1.addProperty("ROLL_OVER", _local1.__get__ROLL_OVER, function () {
}));// not popped
(ASSetPropFlags(_global.flash.events.MouseEvent.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1277 MovieClip [__Packages.flash.events.KeyboardEvent] Frame 0 (809 B)
#initclip
if (!_global.flash) {
_global.flash = new Object();
}
if (!_global.flash.events) {
_global.flash.events = new Object();
}
if (!_global.flash.events.KeyboardEvent) {
var _local1 = function (type) {
super(type);
};
_global.flash.events.KeyboardEvent = _local1;
//_global.flash.events.KeyboardEvent extends flash.events.Event
var _local2 = _local1.prototype;
_local1.__get__KEY_DOWN = function () {
return("keyDown");
};
_local1.__get__KEY_UP = function () {
return("keyUp");
};
(_local1.addProperty("KEY_DOWN", _local1.__get__KEY_DOWN, function () {
}));// not popped
(_local1.addProperty("KEY_UP", _local1.__get__KEY_UP, function () {
}));// not popped
(ASSetPropFlags(_global.flash.events.KeyboardEvent.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1278 MovieClip [__Packages.org.data.Save] Frame 0 (5.27 KiB) ● ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.data) {
_global.org.data = new Object();
}
if (!_global.org.data.Save) {
var _local1 = function () {
};
_global.org.data.Save = _local1;
var _local2 = _local1.prototype;
_local1.init = function () {
if (!org.data.Save._data.data.first) {
org.data.Save._data.data.first = true;
org.data.Save._data.data.master = 1;
org.data.Save._data.data.star = 0;
org.data.Save._data.data.ability1Level = 1;
org.data.Save._data.data.ability2Level = 1;
org.data.Save._data.data.ability3Level = 1;
org.data.Save._data.data.ability4Level = 1;
org.data.Save._data.data.player = 3;
org.data.Save._data.data.score = 0;
var _loc1_ = 1;
while (_loc1_ <= 10) {
org.data.Save._data.data[("user" + _loc1_) + "_enabled"] = false;
org.data.Save._data.data[("user" + _loc1_) + "_name"] = "";
org.data.Save._data.data[("user" + _loc1_) + "_score"] = -1;
_loc1_ = _loc1_ + 1;
}
org.data.Save._data.flush();
}
};
_local1.__get__ability1Level = function () {
return(org.data.Save._data.data.ability1Level);
};
_local1.__set__ability1Level = function (value) {
org.data.Save._data.data.ability1Level = value;
org.data.Save._data.flush();
return(org.data.Save.__get__ability1Level());
};
_local1.__get__ability2Level = function () {
return(org.data.Save._data.data.ability2Level);
};
_local1.__set__ability2Level = function (value) {
org.data.Save._data.data.ability2Level = value;
org.data.Save._data.flush();
return(org.data.Save.__get__ability2Level());
};
_local1.__get__ability3Level = function () {
return(org.data.Save._data.data.ability3Level);
};
_local1.__set__ability3Level = function (value) {
org.data.Save._data.data.ability3Level = value;
org.data.Save._data.flush();
return(org.data.Save.__get__ability3Level());
};
_local1.__get__ability4Level = function () {
return(org.data.Save._data.data.ability4Level);
};
_local1.__set__ability4Level = function (value) {
org.data.Save._data.data.ability4Level = value;
org.data.Save._data.flush();
return(org.data.Save.__get__ability4Level());
};
_local1.__get__master = function () {
return(org.data.Save._data.data.master);
};
_local1.__set__master = function (value) {
org.data.Save._data.data.master = value;
org.data.Save._data.flush();
return(org.data.Save.__get__master());
};
_local1.__get__player = function () {
return(org.data.Save._data.data.player);
};
_local1.__set__player = function (value) {
org.data.Save._data.data.player = value;
org.data.Save._data.flush();
return(org.data.Save.__get__player());
};
_local1.__get__low_score = function () {
return(org.data.Save._data.data.user10_score);
};
_local1.__get__score = function () {
return(org.data.Save._data.data.score);
};
_local1.__set__score = function (value) {
org.data.Save._data.data.score = value;
org.data.Save._data.flush();
return(org.data.Save.__get__score());
};
_local1.__get__star = function () {
return(org.data.Save._data.data.star);
};
_local1.__set__star = function (value) {
org.data.Save._data.data.star = value;
org.data.Save._data.flush();
return(org.data.Save.__get__star());
};
_local1.format = function (newName, newScore) {
var _local3 = 1;
while (_local3 <= 10) {
var _local4 = "user" + _local3;
if (newScore > org.data.Save._data.data[_local4 + "_score"]) {
var _local5 = 10;
while (_local5 > _local3) {
org.data.Save._data.data[("user" + _local5) + "_enabled"] = org.data.Save._data.data[("user" + (_local5 - 1)) + "_enabled"];
org.data.Save._data.data[("user" + _local5) + "_name"] = org.data.Save._data.data[("user" + (_local5 - 1)) + "_name"];
org.data.Save._data.data[("user" + _local5) + "_score"] = org.data.Save._data.data[("user" + (_local5 - 1)) + "_score"];
_local5 = _local5 - 1;
}
org.data.Save._data.data[("user" + _local3) + "_enabled"] = true;
org.data.Save._data.data[("user" + _local3) + "_name"] = newName;
org.data.Save._data.data[("user" + _local3) + "_score"] = newScore;
break;
}
_local3 = _local3 + 1;
}
return(org.data.Save._data);
};
_local1._data = SharedObject.getLocal("MojieSaveData", "/");
(_local1.addProperty("ability1Level", _local1.__get__ability1Level, _local1.__set__ability1Level));// not popped
(_local1.addProperty("ability2Level", _local1.__get__ability2Level, _local1.__set__ability2Level));// not popped
(_local1.addProperty("ability3Level", _local1.__get__ability3Level, _local1.__set__ability3Level));// not popped
(_local1.addProperty("ability4Level", _local1.__get__ability4Level, _local1.__set__ability4Level));// not popped
(_local1.addProperty("master", _local1.__get__master, _local1.__set__master));// not popped
(_local1.addProperty("player", _local1.__get__player, _local1.__set__player));// not popped
(_local1.addProperty("low_score", _local1.__get__low_score, function () {
}));// not popped
(_local1.addProperty("score", _local1.__get__score, _local1.__set__score));// not popped
(_local1.addProperty("star", _local1.__get__star, _local1.__set__star));// not popped
(ASSetPropFlags(_global.org.data.Save.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1279 MovieClip [__Packages.org.data.AbilityManager] Frame 0 (8.46 KiB) ● ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.data) {
_global.org.data = new Object();
}
if (!_global.org.data.AbilityManager) {
var _local1 = function () {
};
_global.org.data.AbilityManager = _local1;
var _local2 = _local1.prototype;
_local1.__get__ability1Level = function () {
return(org.data.AbilityManager._levelList[0]);
};
_local1.__get__ability2Level = function () {
return(org.data.AbilityManager._levelList[1]);
};
_local1.__get__ability3Level = function () {
return(org.data.AbilityManager._levelList[2]);
};
_local1.__get__ability4Level = function () {
return(org.data.AbilityManager._levelList[3]);
};
_local1.__get__enabled = function () {
var _loc1_ = 0;
while (_loc1_ < 4) {
if (org.data.AbilityManager._star >= org.data.AbilityManager._abilityList[_loc1_][org.data.AbilityManager._levelList[_loc1_] - 1]) {
return(true);
}
_loc1_ = _loc1_ + 1;
}
return(false);
};
_local1.__get__player = function () {
return(org.data.AbilityManager._player);
};
_local1.__set__player = function (value) {
org.data.AbilityManager._player = value;
if (org.data.MissionManager.slave == 1) {
org.data.Save.player = value;
}
return(org.data.AbilityManager.__get__player());
};
_local1.__get__score = function () {
return(org.data.AbilityManager._score);
};
_local1.__set__score = function (value) {
org.data.AbilityManager._score = value;
if (org.data.MissionManager.slave == 1) {
org.data.Save.score = org.data.AbilityManager._score;
}
return(org.data.AbilityManager.__get__score());
};
_local1.__get__star = function () {
return(org.data.AbilityManager._star);
};
_local1.__set__star = function (value) {
org.data.AbilityManager._star = value;
if (org.data.MissionManager.slave == 1) {
org.data.Save.star = value;
}
return(org.data.AbilityManager.__get__star());
};
_local1.loadData = function () {
org.data.AbilityManager._star = org.data.Save.star;
org.data.AbilityManager._levelList = [org.data.Save.ability1Level, org.data.Save.ability2Level, org.data.Save.ability3Level, org.data.Save.ability4Level];
org.data.AbilityManager._player = org.data.Save.player;
org.data.AbilityManager._score = org.data.Save.score;
};
_local1.newData = function () {
org.data.AbilityManager._star = 0;
org.data.AbilityManager._levelList = [1, 1, 1, 1];
org.data.AbilityManager._player = 3;
org.data.Save.score = 0;
org.data.AbilityManager._score = org.data.Save.score;
org.data.Save.player = 3;
org.data.Save.star = 0;
org.data.Save.ability1Level = 1;
org.data.Save.ability2Level = 1;
org.data.Save.ability3Level = 1;
org.data.Save.ability4Level = 1;
};
_local1.display = function () {
org.media.SoundManager._Bgflag = true;
_root.controlS_btn._alpha = 0;
_root.controlS_btn.Sound_btn.enabled = false;
org.media.SoundManager.progressBgStop();
org.media.SoundManager.otherBgStart();
org.data.AbilityManager._abilityPlane = _root.attachMovie("abilityPlane", "abilityPlane", 0);
org.data.AbilityManager._abilityPlane.noMore._alpha = 0;
org.data.AbilityManager._abilityPlane.noMore.nameOkBtn.enabled = false;
org.data.AbilityManager._abilityPlane.starOutput.text = org.data.AbilityManager._star;
org.data.AbilityManager._okEvent = new flash.display.InteractiveObject(org.data.AbilityManager._abilityPlane.okBtn);
org.data.AbilityManager._okEvent.addEventListener(flash.events.MouseEvent.CLICK, org.data.AbilityManager._okHandler);
var _local2 = 0;
while (_local2 < 4) {
if (org.data.AbilityManager._levelList[_local2] > 1) {
org.data.AbilityManager._abilityPlane["ability" + (_local2 + 1)].gotoAndStop(2);
var _local3 = 1;
while (_local3 <= 3) {
if (org.data.AbilityManager._levelList[_local2] > _local3) {
org.data.AbilityManager._abilityPlane[(("star" + (_local2 + 1)) + "_") + _local3].gotoAndStop(2);
} else {
org.data.AbilityManager._abilityPlane[(("star" + (_local2 + 1)) + "_") + _local3].gotoAndStop(1);
}
_local3 = _local3 + 1;
}
} else {
org.data.AbilityManager._abilityPlane["ability" + (_local2 + 1)].gotoAndStop(1);
var _local3 = 1;
while (_local3 <= 3) {
org.data.AbilityManager._abilityPlane[(("star" + (_local2 + 1)) + "_") + _local3].gotoAndStop(1);
_local3 = _local3 + 1;
}
}
org.data.AbilityManager._upgradeEventList[_local2] = new flash.display.InteractiveObject(org.data.AbilityManager._abilityPlane[("upgrade" + (_local2 + 1)) + "Btn"]);
org.data.AbilityManager._upgradeEventList[_local2].addEventListener(flash.events.MouseEvent.CLICK, org.data.AbilityManager._upgradeHandler);
_local2 = _local2 + 1;
}
};
_local1._okHandler = function () {
org.media.SoundManager.btnStart();
org.data.AbilityManager._okEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.data.AbilityManager._okHandler);
org.data.AbilityManager._okBtn.removeEventListener(flash.events.MouseEvent.CLICK, org.data.AbilityManager._removenoMore);
var _loc1_ = 0;
while (_loc1_ < 4) {
org.data.AbilityManager._upgradeEventList[_loc1_].removeEventListener(flash.events.MouseEvent.CLICK, org.data.AbilityManager._upgradeHandler);
_loc1_ = _loc1_ + 1;
}
if (org.data.MissionManager.slave == 1) {
org.data.Save.star = org.data.AbilityManager._star;
}
org.display.MissionPlane.init(true);
};
_local1._upgradeHandler = function (event) {
org.media.SoundManager.btnStart();
var _local2 = Number(event.target.info._name.substr(7, 1)) - 1;
var _local3 = org.data.AbilityManager._abilityList[_local2][org.data.AbilityManager._levelList[_local2] - 1];
if (((org.data.AbilityManager._star + 1) > _local3) && (org.data.AbilityManager._levelList[_local2] < 5)) {
org.data.AbilityManager._star = org.data.AbilityManager._star - _local3;
org.data.AbilityManager._abilityPlane.starOutput.text = org.data.AbilityManager._star;
org.data.AbilityManager._levelList[_local2]++;
org.data.Save[("ability" + (_local2 + 1)) + "Level"]++;
org.data.AbilityManager._abilityPlane["ability" + (_local2 + 1)].gotoAndStop(2);
org.data.AbilityManager._abilityPlane[(("star" + (_local2 + 1)) + "_") + (org.data.AbilityManager._levelList[_local2] - 1)].gotoAndStop(2);
} else {
org.data.AbilityManager._abilityPlane.noMore._alpha = 100;
org.data.AbilityManager._abilityPlane.noMore.nameOkBtn.enabled = true;
org.data.AbilityManager._abilityPlane.upgrade1Btn.enabled = false;
org.data.AbilityManager._abilityPlane.upgrade2Btn.enabled = false;
org.data.AbilityManager._abilityPlane.upgrade3Btn.enabled = false;
org.data.AbilityManager._abilityPlane.upgrade4Btn.enabled = false;
org.data.AbilityManager._okBtn = new flash.display.InteractiveObject(org.data.AbilityManager._abilityPlane.noMore.nameOkBtn);
org.data.AbilityManager._okBtn.addEventListener(flash.events.MouseEvent.CLICK, org.data.AbilityManager._removenoMore);
}
};
_local1._removenoMore = function () {
org.data.AbilityManager._abilityPlane.upgrade1Btn.enabled = true;
org.data.AbilityManager._abilityPlane.upgrade2Btn.enabled = true;
org.data.AbilityManager._abilityPlane.upgrade3Btn.enabled = true;
org.data.AbilityManager._abilityPlane.upgrade4Btn.enabled = true;
org.media.SoundManager.btnStart();
org.data.AbilityManager._abilityPlane.noMore._alpha = 0;
org.data.AbilityManager._abilityPlane.noMore.nameOkBtn.enabled = false;
};
_local1._abilityList = new Array([5, 8, 11], [5, 9, 13], [7, 10, 13], [7, 12, 17]);
_local1._levelList = new Array();
_local1._upgradeEventList = new Array();
(_local1.addProperty("ability1Level", _local1.__get__ability1Level, function () {
}));// not popped
(_local1.addProperty("ability2Level", _local1.__get__ability2Level, function () {
}));// not popped
(_local1.addProperty("ability3Level", _local1.__get__ability3Level, function () {
}));// not popped
(_local1.addProperty("ability4Level", _local1.__get__ability4Level, function () {
}));// not popped
(_local1.addProperty("enabled", _local1.__get__enabled, function () {
}));// not popped
(_local1.addProperty("player", _local1.__get__player, _local1.__set__player));// not popped
(_local1.addProperty("score", _local1.__get__score, _local1.__set__score));// not popped
(_local1.addProperty("star", _local1.__get__star, _local1.__set__star));// not popped
(ASSetPropFlags(_global.org.data.AbilityManager.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1280 MovieClip [__Packages.org.data.MissionManager] Frame 0 (1.26 KiB) ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.data) {
_global.org.data = new Object();
}
if (!_global.org.data.MissionManager) {
var _local1 = function () {
};
_global.org.data.MissionManager = _local1;
var _local2 = _local1.prototype;
_local1.__get__master = function () {
return(org.data.MissionManager._master);
};
_local1.__get__slave = function () {
return(org.data.MissionManager._slave);
};
_local1.loadData = function () {
org.data.MissionManager._master = org.data.Save.master;
org.data.MissionManager._slave = 1;
};
_local1.missionUp = function () {
org.data.MissionManager._slave++;
if (org.data.MissionManager._slave == 4) {
org.data.MissionManager._slave = 1;
org.data.MissionManager._master++;
org.data.Save.master = org.data.MissionManager._master;
}
};
_local1.newData = function () {
org.data.MissionManager._master = 1;
org.data.MissionManager._slave = 1;
org.data.Save.master = 1;
};
(_local1.addProperty("master", _local1.__get__master, function () {
}));// not popped
(_local1.addProperty("slave", _local1.__get__slave, function () {
}));// not popped
(ASSetPropFlags(_global.org.data.MissionManager.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1281 MovieClip [__Packages.org.media.SoundManager] Frame 0 (3.65 KiB) ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.media) {
_global.org.media = new Object();
}
if (!_global.org.media.SoundManager) {
var _local1 = function () {
};
_global.org.media.SoundManager = _local1;
var _local2 = _local1.prototype;
_local1.init = function () {
org.media.SoundManager._Bgflag = true;
org.media.SoundManager._voiced = true;
org.media.SoundManager._badSud = new Sound();
org.media.SoundManager._badSud.attachSound("badSud");
org.media.SoundManager._bombSud = new Sound();
org.media.SoundManager._bombSud.attachSound("bombSud");
org.media.SoundManager._btnSud = new Sound();
org.media.SoundManager._btnSud.attachSound("btnSud");
org.media.SoundManager._completeSud = new Sound();
org.media.SoundManager._completeSud.attachSound("completeSud");
org.media.SoundManager._hitSud = new Sound();
org.media.SoundManager._hitSud.attachSound("hitSud");
org.media.SoundManager._otherBgSud = new Sound();
org.media.SoundManager._otherBgSud.attachSound("otherBgSud");
org.media.SoundManager._progressBg1Sud = new Sound();
org.media.SoundManager._progressBg1Sud.attachSound("progressBg1Sud");
org.media.SoundManager._progressBg2Sud = new Sound();
org.media.SoundManager._progressBg2Sud.attachSound("progressBg2Sud");
org.media.SoundManager._progressBg3Sud = new Sound();
org.media.SoundManager._progressBg3Sud.attachSound("progressBg3Sud");
org.media.SoundManager._progressBg4Sud = new Sound();
org.media.SoundManager._progressBg4Sud.attachSound("progressBg4Sud");
org.media.SoundManager._shotSud = new Sound();
org.media.SoundManager._shotSud.attachSound("shotSud");
};
_local1.allStop = function () {
org.media.SoundManager._btnSud.stop();
};
_local1.badStart = function () {
if (org.media.SoundManager._voiced) {
org.media.SoundManager._badSud.start();
}
};
_local1.bombStart = function () {
if (org.media.SoundManager._voiced) {
org.media.SoundManager._bombSud.start(0.1);
}
};
_local1.btnStart = function () {
if (org.media.SoundManager._voiced) {
org.media.SoundManager._btnSud.start(0.1);
}
};
_local1.completeStart = function () {
if (org.media.SoundManager._voiced) {
org.media.SoundManager._completeSud.start();
}
};
_local1.hitStart = function () {
if (org.media.SoundManager._voiced) {
org.media.SoundManager._hitSud.start(0.1);
}
};
_local1.otherBgStart = function () {
if (org.media.SoundManager._voiced) {
org.media.SoundManager._otherBgSud.start(0, 9999);
}
};
_local1.otherBgStop = function () {
org.media.SoundManager._otherBgSud.stop("otherBgSud");
};
_local1.progressBgStart = function () {
var _loc1_ = org.data.MissionManager.master;
if (org.media.SoundManager._voiced) {
if (_loc1_ <= 3) {
org.media.SoundManager._progressBg1Sud.start(0, 9999);
} else if (_loc1_ <= 6) {
org.media.SoundManager._progressBg2Sud.start(0, 9999);
} else if (_loc1_ <= 9) {
org.media.SoundManager._progressBg3Sud.start(0, 9999);
} else {
org.media.SoundManager._progressBg4Sud.start(0, 9999);
}
}
};
_local1.progressBgStop = function () {
org.media.SoundManager._progressBg1Sud.stop("progressBg1Sud");
org.media.SoundManager._progressBg2Sud.stop("progressBg2Sud");
org.media.SoundManager._progressBg3Sud.stop("progressBg3Sud");
org.media.SoundManager._progressBg4Sud.stop("progressBg4Sud");
};
_local1.shotStart = function () {
if (org.media.SoundManager._voiced) {
org.media.SoundManager._shotSud.start(0.23);
}
};
(ASSetPropFlags(_global.org.media.SoundManager.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1282 MovieClip [__Packages.org.display.MissionPlane] Frame 0 (2.14 KiB) ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.display) {
_global.org.display = new Object();
}
if (!_global.org.display.MissionPlane) {
var _local1 = function () {
};
_global.org.display.MissionPlane = _local1;
var _local2 = _local1.prototype;
_local1.init = function (isContinueSound) {
org.media.SoundManager._Bgflag = true;
_root.controlS_btn._alpha = 0;
_root.controlS_btn.Sound_btn.enabled = false;
if (!isContinueSound) {
org.media.SoundManager.progressBgStop();
org.media.SoundManager.otherBgStart();
}
var _local3 = _root.attachMovie("missionPlane", "missionPlane", 0);
var _local4 = 1;
while (_local4 <= 12) {
if (_local4 < org.data.MissionManager.master) {
_local3["m" + _local4].gotoAndStop(2);
var _local5 = 1;
while (_local5 <= 3) {
_local3[(("m" + _local4) + "_") + _local5]._visible = true;
_local5 = _local5 + 1;
}
} else if (_local4 == org.data.MissionManager.master) {
_local3["m" + _local4].gotoAndStop(2);
var _local5 = 1;
while (_local5 <= 3) {
if (_local5 <= org.data.MissionManager.slave) {
_local3[(("m" + _local4) + "_") + _local5]._visible = true;
} else {
_local3[(("m" + _local4) + "_") + _local5]._visible = false;
}
_local5 = _local5 + 1;
}
} else {
_local3["m" + _local4].gotoAndStop(1);
var _local5 = 1;
while (_local5 <= 3) {
_local3[(("m" + _local4) + "_") + _local5]._visible = false;
_local5 = _local5 + 1;
}
}
_local4 = _local4 + 1;
}
org.display.MissionPlane._nextEvent = new flash.display.InteractiveObject(_local3.nextBtn);
org.display.MissionPlane._nextEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.MissionPlane._nextHandler);
};
_local1._nextHandler = function () {
org.media.SoundManager.btnStart();
org.display.MissionPlane._nextEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.MissionPlane._nextHandler);
org.display.Progress.init();
};
(ASSetPropFlags(_global.org.display.MissionPlane.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1283 MovieClip [__Packages.org.display.Progress] Frame 0 (51.9 KiB) ● ● ● ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.display) {
_global.org.display = new Object();
}
if (!_global.org.display.Progress) {
}
var _local1 = function () {
};
_global.org.display.Progress = _local1;
var _local2 = _local1.prototype;
_local1.init = function () {
org.media.SoundManager._Bgflag = false;
org.media.SoundManager.progressBgStop();
org.media.SoundManager.otherBgStop();
org.media.SoundManager.progressBgStart();
org.display.Progress._count = 0;
org.display.Progress._chainList = new Array();
org.display.Progress._sphereList = new Array();
org.display.Progress._sphereList2 = new Array();
org.display.Progress._typeList = new Array(0, 0, 0, 0, 0, 0);
org.display.Progress._addLength = 0;
org.display.Progress._isAdd = true;
org.display.Progress._isAlpha = false;
org.display.Progress._isBack = false;
org.display.Progress._isFailure = false;
org.display.Progress._isKey4Down = false;
org.display.Progress._isMissile = false;
org.display.Progress._isPause = false;
org.display.Progress._isSameRemove = false;
org.display.Progress._isShot = true;
org.display.Progress._isTargetLine = false;
org.display.Progress._mouseListener = new Object();
org.display.Progress._lastSphere = undefined;
org.display.Progress._lineSelect = 1;
org.display.Progress._currentSphere = 0;
org.display.Progress._flashState1 = 0;
org.display.Progress._flashState2 = 0;
org.display.Progress._nowBack = 0;
org.display.Progress._nowPause = 0;
org.display.Progress._star = org.data.AbilityManager.star;
org.display.Progress._k = null;
org.display.Progress._ability1Level = org.data.AbilityManager.ability1Level;
org.display.Progress._ability2Level = org.data.AbilityManager.ability2Level;
org.display.Progress._ability3Level = org.data.AbilityManager.ability3Level;
org.display.Progress._ability4Level = org.data.AbilityManager.ability4Level;
org.display.Progress._maxPause = org.display.Progress.MAX_PAUSE + (30 * (org.display.Progress._ability1Level - 1));
org.display.Progress._maxBack = org.display.Progress.MAX_BACK + (30 * (org.display.Progress._ability2Level - 1));
org.display.Progress._blastWidth = org.display.Progress.BLAST_WIDTH + (10 * (org.display.Progress._ability3Level - 1));
org.display.Progress._blastHeight = org.display.Progress.BLAST_HEIGHT + (10 * (org.display.Progress._ability3Level - 1));
org.display.Progress._missileWidth = org.display.Progress.MISSILE_WIDTH + (10 * (org.display.Progress._ability4Level - 1));
org.display.Progress._missileHeight = org.display.Progress.MISSILE_HEIGHT + (10 * (org.display.Progress._ability4Level - 1));
org.display.Progress._rect = new flash.geom.Rectangle(0, 0, 640, 480);
var _local2 = org.data.MissionManager.master;
var _local3 = org.data.MissionManager.slave;
var _local4 = ((_local2 > 9) ? 312 : 352);
org.data.MissionTransform.transform();
org.display.Progress._totalSphere = org.display.Progress._maxN * org.display.Progress.LENGTH;
org.display.Progress._map = _root.attachMovie(org.display.Progress._name + "Map", "map", 0);
org.display.Progress._protableTransform1 = org.display.Progress._map.protableTransform1;
org.display.Progress._protableTransform2 = org.display.Progress._map.protableTransform2;
org.display.Progress._effect1 = org.display.Progress._map.createEmptyMovieClip("effect1", 9999);
org.display.Progress._map.middle.swapDepths(10000);
org.display.Progress._effect2 = org.display.Progress._map.createEmptyMovieClip("effect2", 10001);
org.display.Progress._artillery = org.display.Progress._map.createEmptyMovieClip("artillery", 10002);
org.display.Progress._artillery._x = org.display.Progress._map.protable1._x;
org.display.Progress._artillery._y = org.display.Progress._map.protable1._y;
org.display.Progress._artillery.attachMovie("wait", "skin", 0);
org.display.Progress._artillery.createEmptyMovieClip("startShot", 1)._y = 40;
org.display.Progress._artillery.skin.nowSphere.gotoAndStop(org.display.Progress._randomTypeList[random(org.display.Progress._randomTypeList.length)]);
org.display.Progress._artillery.skin.nextSphere.gotoAndStop(org.display.Progress._randomTypeList[random(org.display.Progress._randomTypeList.length)]);
org.display.Progress._isHaveRemoveProtable2 = (((org.display.Progress._map.middle.removeProtable2 != undefined) || (org.display.Progress._map.removeProtable2 != undefined)) ? true : false);
org.display.Progress._removeProtable1 = ((org.display.Progress._map.removeProtable1 == undefined) ? (org.display.Progress._map.middle.removeProtable1) : (org.display.Progress._map.removeProtable1));
org.display.Progress._removeProtable2 = (org.display.Progress._isHaveRemoveProtable2 ? (org.display.Progress._map.removeProtable2) : undefined);
_root.controlS_btn._alpha = 100;
_root.controlS_btn.Sound_btn.enabled = true;
org.display.Progress._mouseListener.onMouseDown = function () {
if ((!org.display.Progress._isShot) && (_root._ymouse > 40)) {
org.media.SoundManager.shotStart();
org.display.Progress._isShot = true;
var _local2 = org.display.Progress._map.getNextHighestDepth();
var _local3 = new flash.geom.Point();
org.display.Progress._artillery.startShot.localToGlobal(_local3);
var _local4 = org.display.Progress._map.attachMovie("sphere", "s" + _local2, _local2, {_x:_local3.x, _y:_local3.y});
_local4.type = org.display.Progress._artillery.skin.nowSphere._currentframe;
_local4.gotoAndStop(_local4.type);
_local4.x = Math.cos(org.display.Progress._angle) * org.display.Progress._v;
_local4.y = Math.sin(org.display.Progress._angle) * org.display.Progress._v;
if (org.display.Progress._isAlpha) {
_local4.isAlpha = true;
_local4.attachMovie("item6", "item", 0).gotoAndStop(_local4.type);
org.display.Progress._isAlpha = false;
} else if (org.display.Progress._isMissile) {
_local4.isMissile = true;
_local4.attachMovie("item5", "item", 0).gotoAndStop(_local4.type);
org.display.Progress._isMissile = false;
} else if (org.display.Progress._isSameRemove) {
_local4.isSameRemove = true;
_local4.attachMovie("item4", "item", 0).gotoAndStop(_local4.type);
org.display.Progress._isSameRemove = false;
}
var _local5 = org.display.Progress._artillery.skin.nextSphere._currentframe;
var _local6 = org.display.Progress._artillery.attachMovie("shot", "skin", 0);
var _local7 = new Array();
var _local8 = 0;
while (_local8 < 6) {
if (org.display.Progress._typeList[_local8] > 0) {
_local7.push(_local8 + 1);
}
_local8 = _local8 + 1;
}
if (_local7.length == 0) {
_local7.push(org.display.Progress._randomTypeList[random(org.display.Progress._randomTypeList.length)]);
}
org.display.Progress._artillery.skin.nowSphere.gotoAndStop(_local5);
org.display.Progress._artillery.skin.nextSphere.gotoAndStop(_local7[random(_local7.length)]);
_local6.onEnterFrame = function () {
if (this._currentframe == this._totalframes) {
delete this.onEnterFrame;
var _local2 = this.nowSphere._currentframe;
var _local3 = this.nextSphere._currentframe;
var _local4;
if (org.display.Progress._artillery.skin.nowSphere.miniItem) {
_local4 = org.display.Progress._artillery.skin.nowSphere.miniItem.n;
}
org.display.Progress._artillery.attachMovie("wait", "skin", 0);
org.display.Progress._artillery.skin.nowSphere.gotoAndStop(_local2);
org.display.Progress._artillery.skin.nextSphere.gotoAndStop(_local3);
if (_local4 != undefined) {
org.display.Progress._artillery.skin.nowSphere.attachMovie("miniItem" + _local4, "miniItem", 0).n = _local4;
}
}
};
org.display.Progress._shotSphere = new flash.display.DisplayObject(_local4);
org.display.Progress._shotSphere.addEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._shotSphereHandler);
}
};
org.display.Progress._mouseListener.onMouseMove = function () {
org.display.Progress._angle = Math.atan2(_root._ymouse - org.display.Progress._artillery._y, _root._xmouse - org.display.Progress._artillery._x);
org.display.Progress._artillery._rotation = ((org.display.Progress._angle * 180) / Math.PI) - 90;
};
org.display.Progress._top = _root.attachMovie(org.display.Progress._name + "Top", "top", 1);
org.display.Progress._progressPlane = _root.attachMovie("progressPlane", "progressPlane", 2);
org.display.Progress._progressPlane.levelOutput.text = (("level " + _local2) + "-") + _local3;
org.display.Progress._progressPlane.playerOutput.text = org.data.AbilityManager.player;
org.display.Progress._progressPlane.starOutput.text = org.display.Progress._star;
org.display.Progress._progressPlane.sphereBar.stop();
org.display.Progress._progressPlane.inputNamePlane._visible = false;
org.display.Progress._backPlane = org.display.Progress._progressPlane.backPlane;
org.display.Progress._backPlane._visible = false;
org.display.Progress._levelPlane = org.display.Progress._progressPlane.levelPlane;
org.display.Progress._score = new flash.text.MappingNumber(org.display.Progress._progressPlane, "num1_", org.display.Progress._progressPlane.getNextHighestDepth(), 325, 10);
org.display.Progress._score.value = org.data.AbilityManager.score;
org.display.Progress._score.x = 398 - (org.display.Progress._score.width / 2);
(new flash.text.MappingNumber(org.display.Progress._levelPlane, "num2_", 0, _local4, 48)).value = _local2;
(new flash.text.MappingNumber(org.display.Progress._levelPlane, "num2_", 1, 446, 48)).value = _local3;
org.display.Progress._backCancelEvent = new flash.display.InteractiveObject(org.display.Progress._backPlane.backCancelBtn);
org.display.Progress._backOkEvent = new flash.display.InteractiveObject(org.display.Progress._backPlane.backOkBtn);
org.display.Progress._backEvent = new flash.display.InteractiveObject(org.display.Progress._progressPlane.backBtn);
org.display.Progress._timer = new flash.utils.Timer(1000, 2);
org.display.Progress._timer.addEventListener(flash.events.TimerEvent.TIMER_COMPLETE, org.display.Progress._startWaitHandler);
org.display.Progress._timer.start();
org.display.Progress._itemTimer = new flash.utils.Timer(15000);
org.display.Progress._itemTimer.addEventListener(flash.events.TimerEvent.TIMER, org.display.Progress._itemHandler);
};
_local1.getMissionInfo = function (n, type, max, two, depthlist, depthlist2) {
org.display.Progress._name = "m" + n;
org.display.Progress._randomTypeList = type;
org.display.Progress._maxN = max;
org.display.Progress._isTwo = two;
org.display.Progress._depthTransformList = depthlist;
org.display.Progress._depthTransformList2 = depthlist2;
};
_local1._addSphere = function (type, frame, n, line) {
org.display.Progress._count++;
if (type == undefined) {
type = org.display.Progress._randomTypeList[random(org.display.Progress._randomTypeList.length)];
}
org.display.Progress._typeList[type - 1]++;
if (frame == undefined) {
frame = 1;
}
if (line == undefined) {
line = org.display.Progress._lineSelect;
}
var _local5 = org.display.Progress._map.getNextHighestDepth();
var _local6 = (org.display.Progress._isTwo ? ((org.display.Progress._name + "_") + line) : (org.display.Progress._name));
var _local7 = org.display.Progress._map.attachMovie(_local6 + "Sphere", "s" + org.display.Progress._count, _local5);
_local7.s.gotoAndStop(type);
_local7.s.unit.stop();
_local7.type = type;
_local7.line = line;
_local7.start = new flash.geom.Point(_local7.s._x, _local7.s._y);
_local7.unitTotalFrames = _local7.s.unit._totalframes;
var _local8 = ((line == 1) ? (org.display.Progress._sphereList) : (org.display.Progress._sphereList2));
var _local9 = _local8.length;
_local7.gotoAndStop(frame);
if (n == undefined) {
org.display.Progress._lastSphere = _local7;
_local8.push(org.display.Progress._lastSphere);
} else {
_local7.isChain = true;
_local8.splice(n, 0, _local7);
org.display.Progress._chainList = [];
org.display.Progress._isDel = true;
}
_local7.isBack = true;
_local7.refresh = function (state) {
if (state != 0) {
var _local3 = this.s._x;
var _local4 = this.s._y;
var _local5 = Math.abs(state);
var _local6 = 0;
while (_local6 < _local5) {
if (state > 0) {
this.nextFrame();
} else if (this._currentframe == 1) {
this.isInit = true;
this._alpha = 0;
} else {
this.prevFrame();
}
_local6 = _local6 + 1;
}
var _local7 = this.s.unit;
var _local8 = this.s.item;
var _local9 = _local7._currentframe + state;
if (_local9 < 1) {
_local9 = (_local7._totalframes + _local9) - 1;
} else if (_local9 > _local7._totalframes) {
_local9 = _local9 - _local7._totalframes;
}
_local7.gotoAndStop(_local9);
var _local10 = Math.atan2(this.s._y - _local4, this.s._x - _local3);
if (state > 0) {
_local7._rotation = ((_local10 * 180) / Math.PI) + 180;
_local8._rotation = ((_local10 * 180) / Math.PI) + 180;
} else {
_local7._rotation = (_local10 * 180) / Math.PI;
_local8._rotation = (_local10 * 180) / Math.PI;
}
}
if (this._currentframe == this._totalframes) {
if (!org.display.Progress._isFailure) {
org.media.SoundManager.badStart();
org.display.Progress._isFailure = true;
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._enterFrame);
Mouse.removeListener(org.display.Progress._mouseListener);
org.display.Progress._backEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._backHandler);
org.document.Mojie.enterFrame.addEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._failureHandler);
org.document.Mojie.enterFrame.addEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._flashManager);
}
org.display.Progress._removeSphereList([this]);
this.removeMovieClip();
}
};
return(_local7);
};
_local1._allSameTypeRemove = function (type) {
var _local2 = org.display.Progress._sphereList.concat(org.display.Progress._sphereList2);
var _local3 = _local2.length;
var _local4 = 0;
while (_local4 < _local3) {
var _local5 = _local2[_local4];
if (_local5.type == type) {
org.display.Progress._removeSphereList([_local5]);
org.display.Progress._removeSphere(_local5);
}
_local4 = _local4 + 1;
}
};
_local1._backCancelHandler = function () {
org.media.SoundManager.btnStart();
org.display.Progress._backCancelEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._backCancelHandler);
org.display.Progress._backOkEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._backOkHandler);
org.display.Progress._backPlane._visible = false;
org.document.Mojie.enterFrame.addEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._enterFrame);
org.document.Mojie.enterFrame.addEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._drawLineHandler);
if (org.display.Progress._isShot) {
org.display.Progress._shotSphere.info.unit.play();
org.display.Progress._shotSphere.addEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._shotSphereHandler);
}
org.display.Progress._itemTimer.start();
Mouse.addListener(org.display.Progress._mouseListener);
};
_local1._backHandler = function () {
org.media.SoundManager.btnStart();
org.display.Progress._backPlane._visible = true;
if (org.display.Progress._isShot) {
org.display.Progress._shotSphere.info.unit.stop();
org.display.Progress._shotSphere.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._shotSphereHandler);
}
org.display.Progress._itemTimer.stop();
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._drawLineHandler);
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._enterFrame);
Mouse.removeListener(org.display.Progress._mouseListener);
org.display.Progress._backCancelEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._backCancelHandler);
org.display.Progress._backOkEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._backOkHandler);
};
_local1._backOkHandler = function () {
org.media.SoundManager.btnStart();
org.display.Progress._removeObject();
org.display.MainPlane.init();
};
_local1._blast = function (sphere) {
var _local2 = new flash.geom.Rectangle(sphere.s._x - (org.display.Progress._blastWidth / 2), sphere.s._y - (org.display.Progress._blastHeight / 2), org.display.Progress._blastWidth, org.display.Progress._blastHeight);
var _local3 = org.display.Progress._sphereList.concat(org.display.Progress._sphereList2);
var _local4 = _local3.length;
var _local5 = 0;
while (_local5 < _local4) {
var _local6 = _local3[_local5];
if (_local2.contains(_local6.s._x, _local6.s._y)) {
var _local7 = ((_local6.getDepth() > 10000) ? (org.display.Progress._effect2) : (org.display.Progress._effect1));
var _local8 = _local7.getNextHighestDepth();
_local7.attachMovie("blast", "blast" + _local8, _local8, {_x:_local6.s._x, _y:_local6.s._y}).onEnterFrame = function () {
if (this._currentframe == this._totalframes) {
delete this.onEnterFrame;
this.removeMovieClip();
}
};
org.display.Progress._removeSphereList([_local6]);
org.display.Progress._removeSphere(_local6);
}
_local5 = _local5 + 1;
}
};
_local1._completeWaitHandler = function () {
if (org.display.Progress._isShot) {
org.display.Progress._shotSphere.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._shotSphereHandler);
}
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._drawLineHandler);
org.display.Progress._timer.removeEventListener(flash.events.TimerEvent.TIMER_COMPLETE, org.display.Progress._completeWaitHandler);
org.display.Progress._timer.stop();
Mouse.removeListener(org.display.Progress._mouseListener);
org.data.MissionManager.missionUp();
org.data.AbilityManager.star = org.display.Progress._star;
org.data.AbilityManager.score = org.display.Progress._score.value;
if (org.data.MissionManager.master == 13) {
org.display.Top10Plane.score = org.display.Progress._score.value;
org.data.AbilityManager.newData();
org.data.MissionManager.newData();
if (org.display.Progress._score.value > org.data.Save.low_score) {
org.display.Progress._progressPlane.inputNamePlane._visible = true;
Selection.setFocus(org.display.Progress._progressPlane.inputNamePlane.nameInput);
org.display.Progress._progressPlane.inputNamePlane.nameInput.maxChars = 8;
org.display.Progress._nameOkEvent = new flash.display.InteractiveObject(org.display.Progress._progressPlane.inputNamePlane.nameOkBtn);
org.display.Progress._nameOkEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._nameOkHandler);
} else {
org.display.Top10Plane.init(false);
}
} else {
org.display.Progress._removeObject();
if (org.data.AbilityManager.enabled) {
org.data.AbilityManager.display();
} else {
org.display.MissionPlane.init();
}
}
};
_local1._drawLineHandler = function () {
org.display.Progress._lineN++;
var _loc9_ = (new flash.geom.Point());
org.display.Progress._artillery.startShot.localToGlobal(_loc9_);
var _loc3_ = _loc9_.x;
var _loc2_ = _loc9_.y;
var _loc6_ = (Math.cos(org.display.Progress._angle) * 5);
var _loc5_ = (Math.sin(org.display.Progress._angle) * 5);
org.display.Progress._targetLine._rotation = 0;
org.display.Progress._targetLine._x = _loc3_;
org.display.Progress._targetLine._y = _loc2_;
var _loc7_ = org.display.Progress._sphereList.concat(org.display.Progress._sphereList2);
var _loc8_ = _loc7_.length;
while (true) {
var _loc4_ = false;
if (!org.display.Progress._rect.contains(_loc3_, _loc2_)) {
break;
}
var _loc1_ = 0;
while (_loc1_ < _loc8_) {
if (_loc7_[_loc1_].s.hitTest(_loc3_, _loc2_, false)) {
_loc4_ = true;
_loc3_ = _loc3_ + _loc6_;
_loc2_ = _loc2_ + _loc5_;
break;
}
_loc1_ = _loc1_ + 1;
}
if (_loc4_) {
break;
}
_loc3_ = _loc3_ + _loc6_;
_loc2_ = _loc2_ + _loc5_;
}
org.display.Progress._targetLine._height = flash.geom.Point.distance(_loc9_, new flash.geom.Point(_loc3_, _loc2_));
org.display.Progress._targetLine._rotation = org.display.Progress._artillery._rotation;
if (org.display.Progress._lineN == 900) {
org.display.Progress._isTargetLine = false;
org.display.Progress._targetLine.removeMovieClip();
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._drawLineHandler);
}
};
_local1._enterFrame = function () {
if (org.display.Progress._isDel) {
org.display.Progress._isHit = false;
org.display.Progress._sphereTransform();
if (org.display.Progress._isBack) {
org.display.Progress._nowBack++;
if (org.display.Progress._nowBack == org.display.Progress._maxBack) {
org.display.Progress._isBack = false;
}
}
if (org.display.Progress._isPause) {
org.display.Progress._nowPause++;
if (org.display.Progress._nowPause == org.display.Progress._maxPause) {
org.display.Progress._isPause = false;
}
}
if (org.display.Progress._isAdd) {
var _loc32_ = (flash.geom.Point.distance(org.display.Progress._lastSphere.start, new flash.geom.Point(org.display.Progress._lastSphere.s._x, org.display.Progress._lastSphere.s._y)) >= 31);
if ((org.display.Progress._lastSphere == undefined) || (_loc32_)) {
org.display.Progress._addSphere();
org.display.Progress._addLength++;
org.display.Progress._currentSphere++;
var _loc33_ = Math.floor((org.display.Progress._currentSphere / org.display.Progress._totalSphere) * 100);
org.display.Progress._progressPlane.sphereBar.gotoAndStop(_loc33_);
if (org.display.Progress._addLength == org.display.Progress.LENGTH) {
org.display.Progress._addLength = 0;
org.display.Progress._maxN--;
org.display.Progress._isAdd = false;
org.display.Progress._lastSphere.isBack = false;
}
if ((org.display.Progress._k == null) || (isNaN(org.display.Progress._k))) {
org.display.Progress._k = org.display.Progress._sphereList[0]._currentframe - org.display.Progress._sphereList[1]._currentframe;
if (!((org.display.Progress._k == null) || (isNaN(org.display.Progress._k)))) {
org.display.Progress._isShot = false;
}
}
}
} else {
var _loc21_ = (org.display.Progress._isTwo ? (org.display.Progress._sphereList.length + org.display.Progress._sphereList2.length) : (org.display.Progress._sphereList.length));
if ((_loc21_ <= (org.display.Progress.LENGTH - 10)) && (org.display.Progress._maxN > 0)) {
org.display.Progress._isAdd = true;
var _loc8_ = 0;
while (_loc8_ < org.display.Progress._sphereList.length) {
org.display.Progress._sphereList[_loc8_].isBack = true;
_loc8_ = _loc8_ + 1;
}
_loc8_ = 0;
while (_loc8_ < org.display.Progress._sphereList2.length) {
org.display.Progress._sphereList2[_loc8_].isBack = true;
_loc8_ = _loc8_ + 1;
}
if (org.display.Progress._isTwo) {
org.display.Progress._lineSelect = ((org.display.Progress._lineSelect == 1) ? 2 : 1);
}
} else if (_loc21_ == 0) {
org.media.SoundManager.completeStart();
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._enterFrame);
org.display.Progress._itemTimer.stop();
org.display.Progress._timer.addEventListener(flash.events.TimerEvent.TIMER_COMPLETE, org.display.Progress._completeWaitHandler);
org.display.Progress._backEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._backHandler);
org.display.Progress._timer.start();
}
}
_loc21_ = org.display.Progress._chainList.length;
if (_loc21_ > 0) {
org.media.SoundManager.bombStart();
org.display.Progress._removeSphereList(org.display.Progress._chainList);
_loc8_ = 0;
while (_loc8_ < _loc21_) {
org.display.Progress._removeSphere(org.display.Progress._chainList[_loc8_]);
_loc8_ = _loc8_ + 1;
}
}
org.display.Progress._chainList = [];
org.display.Progress._flashManager();
var _loc9_ = 0;
while (_loc9_ < 2) {
var _loc5_ = undefined;
if (_loc9_ == 0) {
_loc5_ = org.display.Progress._sphereList;
} else if (_loc9_ == 1) {
_loc5_ = org.display.Progress._sphereList2;
if (!org.display.Progress._isTwo) {
break;
}
}
_loc21_ = _loc5_.length;
var _loc2_ = new Array();
var _loc13_ = false;
var _loc25_ = false;
_loc8_ = _loc21_ - 1;
while (_loc8_ >= 0) {
var _loc1_ = _loc5_[_loc8_];
var _loc7_ = _loc5_[_loc8_ - 1];
var _loc3_ = _loc5_[_loc8_ + 1];
var _loc19_ = ((_loc9_ == 0) ? (org.display.Progress._depthTransformList) : (org.display.Progress._depthTransformList2));
var _loc22_ = _loc19_.length;
if (_loc22_ > 0) {
var _loc23_ = false;
var _loc12_ = 0;
while (_loc12_ < _loc22_) {
var _loc16_ = _loc19_[_loc12_];
var _loc17_ = _loc1_._currentframe;
if ((_loc17_ >= _loc16_[0]) && (_loc17_ <= _loc16_[1])) {
if (_loc1_.getDepth() > 10000) {
var _loc11_ = (_loc1_.getDepth() - 10000);
while (org.display.Progress._map.getInstanceAtDepth(_loc11_)) {
_loc11_ = _loc11_ + 1;
}
_loc1_.swapDepths(_loc11_);
}
_loc23_ = true;
}
_loc12_ = _loc12_ + 1;
}
if ((!_loc23_) && (_loc1_.getDepth() < 10000)) {
_loc1_.swapDepths(org.display.Progress._map.getNextHighestDepth());
}
}
if (_loc1_.isSameRemove && ((_loc1_._currentframe - org.display.Progress._k) >= (_loc3_._currentframe - 1))) {
_loc25_ = true;
org.display.Progress._chainList = [];
var _loc6_ = new Array();
var _loc4_ = new Array();
var _loc30_ = ((Math.abs(_loc1_._currentframe - (_loc7_._currentframe - org.display.Progress._k)) < 3) ? (_loc7_.type) : undefined);
var _loc31_ = ((Math.abs((_loc1_._currentframe - org.display.Progress._k) - (_loc3_._currentframe - 1)) < 3) ? (_loc3_.type) : undefined);
if (_loc30_ != undefined) {
_loc9_ = _loc8_ - 1;
while (_loc9_ >= 0) {
var _loc10_ = _loc5_[_loc9_];
if (_loc9_ == (_loc8_ - 1)) {
_loc6_.push(_loc10_);
} else {
if (!((_loc10_.type == _loc6_[_loc6_.length - 1].type) && (Math.abs((_loc10_._currentframe - org.display.Progress._k) - _loc6_[_loc6_.length - 1]._currentframe) < 3))) {
break;
}
_loc6_.push(_loc10_);
}
_loc9_ = _loc9_ - 1;
}
}
if (_loc31_ != undefined) {
_loc9_ = _loc8_ + 1;
while (_loc9_ < _loc21_) {
_loc10_ = _loc5_[_loc9_];
if (_loc9_ == (_loc8_ + 1)) {
_loc4_.push(_loc10_);
} else {
if (!((_loc10_.type == _loc4_[_loc4_.length - 1].type) && (Math.abs((_loc10_._currentframe - 1) - (_loc4_[_loc4_.length - 1]._currentframe - org.display.Progress._k)) < 3))) {
break;
}
_loc4_.push(_loc10_);
}
_loc9_ = _loc9_ + 1;
}
}
var _loc18_ = _loc6_.length;
if (_loc18_ > 0) {
org.display.Progress._removeSphereList(_loc6_);
_loc8_ = 0;
while (_loc8_ < _loc18_) {
org.display.Progress._removeSphere(_loc6_[_loc8_]);
_loc8_ = _loc8_ + 1;
}
}
var _loc14_ = _loc4_.length;
if (_loc14_ > 0) {
var _loc20_ = new Array();
_loc8_ = _loc14_ - 1;
while (_loc8_ >= 0) {
_loc20_.push(_loc4_[_loc8_]);
_loc8_ = _loc8_ - 1;
}
org.display.Progress._removeSphereList(_loc20_);
_loc8_ = 0;
while (_loc8_ < _loc14_) {
org.display.Progress._removeSphere(_loc4_[_loc8_]);
_loc8_ = _loc8_ + 1;
}
}
if ((_loc18_ > 0) || (_loc14_ > 0)) {
org.media.SoundManager.bombStart();
org.display.Progress._removeSphereList([_loc1_]);
org.display.Progress._removeSphere(_loc1_);
}
} else if (!_loc25_) {
var _loc29_ = (_loc1_._currentframe - org.display.Progress._k);
var _loc28_ = _loc2_[_loc2_.length - 1]._currentframe;
if (_loc2_.length == 0) {
if (_loc1_.isChain) {
_loc13_ = true;
}
_loc2_.push(_loc1_);
} else {
if ((_loc1_.type == _loc2_[_loc2_.length - 1].type) && (Math.abs(_loc29_ - _loc28_) <= 1)) {
if (_loc1_.isChain) {
_loc13_ = true;
}
_loc2_.push(_loc1_);
if (_loc8_ == 0) {
if ((_loc2_.length > 2) && _loc13_) {
if ((Math.abs(_loc5_[_loc2_.length]._currentframe - (_loc5_[_loc2_.length - 1]._currentframe - org.display.Progress._k)) > (_loc9_ + 1)) || (_loc5_[_loc2_.length].type != _loc1_.type)) {
org.display.Progress._chainList = _loc2_;
break;
}
}
}
}
if ((_loc2_.length > 2) && (_loc13_)) {
if ((Math.abs(_loc5_[(_loc8_ + 1) + _loc2_.length]._currentframe - (_loc5_[_loc8_ + _loc2_.length]._currentframe - org.display.Progress._k)) > (_loc9_ + 1)) || (_loc5_[(_loc8_ + 1) + _loc2_.length].type != _loc5_[_loc8_ + 1].type)) {
org.display.Progress._chainList = _loc2_;
break;
}
}
if (_loc1_.isChain) {
_loc13_ = true;
} else {
_loc13_ = false;
}
_loc2_ = [_loc1_];
}
}
if (_loc1_.isControl) {
_loc1_.isControl = false;
if (_loc3_.state == -1) {
_loc1_.refresh(-1);
if ((_loc1_._currentframe + 1) == (_loc7_._currentframe - org.display.Progress._k)) {
_loc7_.isControl = true;
_loc1_.state = -1;
}
} else if (_loc3_.state == 0) {
_loc1_.refresh(0);
if (_loc1_._currentframe == (_loc7_._currentframe - org.display.Progress._k)) {
_loc7_.isControl = true;
_loc1_.state = 0;
}
}
} else {
var _loc15_ = 6;
if (org.display.Progress._isBack) {
if (((!_loc1_.isInit) && (!_loc3_.isInit)) && ((_loc1_._currentframe - org.display.Progress._k) < (_loc3_._currentframe - 1))) {
var _loc24_ = ((_loc3_._currentframe - 1) - (_loc1_._currentframe - org.display.Progress._k));
if (_loc24_ >= (_loc15_ - 1)) {
_loc1_.refresh(_loc15_ - 1);
} else {
_loc1_.refresh(_loc24_ + 1);
}
} else {
_loc1_.refresh(-1);
}
} else if (_loc1_.isInit && ((_loc7_._currentframe - org.display.Progress._k) >= 1)) {
_loc1_.isInit = false;
_loc1_._alpha = 100;
_loc1_.refresh(1);
} else if (((!org.display.Progress._isPause) && (!_loc1_.isInit)) && (_loc8_ == (_loc21_ - 1))) {
_loc1_.refresh(1);
} else if ((!_loc1_.isInit) && ((_loc1_._currentframe - org.display.Progress._k) < (_loc3_._currentframe - 1))) {
if (_loc3_.isInit) {
_loc1_.refresh(1);
} else {
_loc24_ = (_loc3_._currentframe - 1) - (_loc1_._currentframe - org.display.Progress._k);
if (_loc24_ >= _loc15_) {
_loc1_.refresh(_loc15_);
} else {
if ((_loc1_.type == _loc7_.type) && ((_loc7_._currentframe - org.display.Progress._k) > (_loc1_._currentframe + 1))) {
_loc1_.isChain = true;
}
_loc1_.refresh(_loc24_ + 1);
}
}
} else if ((!org.display.Progress._isPause) && ((_loc1_._currentframe - org.display.Progress._k) == (_loc3_._currentframe - 1))) {
_loc1_.isBack = true;
_loc1_.refresh(1);
} else if ((!org.display.Progress._isPause) && ((_loc1_._currentframe - org.display.Progress._k) > (_loc3_._currentframe - 1))) {
if (_loc1_.isBack) {
_loc1_.refresh(-1);
var _loc26_ = (_loc3_._currentframe + 1);
var _loc27_ = (_loc1_._currentframe - org.display.Progress._k);
if ((_loc1_.type == _loc3_.type) && (Math.abs(_loc27_ - _loc26_) <= 1)) {
_loc1_.isChain = true;
}
if (_loc7_.isBack && ((_loc1_._currentframe + 1) == (_loc7_._currentframe - org.display.Progress._k))) {
_loc7_.isControl = true;
_loc1_.state = -1;
}
} else if (!_loc1_.isBack) {
_loc1_.refresh(1);
} else {
_loc1_.refresh(1);
}
}
}
_loc8_ = _loc8_ - 1;
}
_loc9_ = _loc9_ + 1;
}
}
org.display.Progress._isHit = true;
};
_local1._failureHandler = function () {
var _loc10_ = 0;
while (_loc10_ < 2) {
var _loc11_ = undefined;
if (_loc10_ == 0) {
_loc11_ = org.display.Progress._sphereList;
} else {
if (!org.display.Progress._isTwo) {
break;
}
_loc11_ = org.display.Progress._sphereList2;
}
var _loc12_ = _loc11_.length;
var _loc6_ = 0;
while (_loc6_ < _loc12_) {
var _loc1_ = _loc11_[_loc6_];
_loc1_.refresh(7);
var _loc7_ = ((_loc10_ == 0) ? (org.display.Progress._depthTransformList) : (org.display.Progress._depthTransformList2));
var _loc8_ = _loc7_.length;
if (_loc8_ > 0) {
var _loc9_ = false;
var _loc3_ = 0;
while (_loc3_ < _loc8_) {
var _loc4_ = _loc7_[_loc3_];
var _loc5_ = _loc1_._currentframe;
if ((_loc5_ >= _loc4_[0]) && (_loc5_ <= _loc4_[1])) {
if (_loc1_.getDepth() > 10000) {
var _loc2_ = (_loc1_.getDepth() - 10000);
while (org.display.Progress._map.getInstanceAtDepth(_loc2_)) {
_loc2_ = _loc2_ + 1;
}
_loc1_.swapDepths(_loc2_);
}
_loc9_ = true;
}
_loc3_ = _loc3_ + 1;
}
if ((!_loc9_) && (_loc1_.getDepth() < 10000)) {
_loc1_.swapDepths(org.display.Progress._map.getNextHighestDepth());
}
}
_loc6_ = _loc6_ + 1;
}
_loc10_ = _loc10_ + 1;
}
if ((org.display.Progress._sphereList.length == 0) && (org.display.Progress._sphereList2.length == 0)) {
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._drawLineHandler);
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._failureHandler);
org.display.Progress._backEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._backHandler);
org.data.AbilityManager.player = org.data.AbilityManager.player - 1;
org.data.AbilityManager.score = org.display.Progress._score.value;
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._flashManager);
org.display.Progress._removeProtable1.sphere._alpha = 100;
org.display.Progress._removeProtable2.sphere._alpha = 100;
org.document.Mojie.enterFrame.addEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._targetSphereRemove);
}
};
_local1._failureWaitHandler = function () {
org.display.Progress._timer.removeEventListener(flash.events.TimerEvent.TIMER_COMPLETE, org.display.Progress._failureWaitHandler);
org.display.Progress._timer.stop();
if (org.data.AbilityManager.player == 0) {
org.display.Top10Plane.score = org.display.Progress._score.value;
org.data.AbilityManager.newData();
org.data.MissionManager.newData();
org.display.Progress._removeObject();
org.display.OverPlane.init();
} else {
org.display.Progress.init();
}
};
_local1._flashManager = function () {
var _loc1_ = undefined;
var _loc2_ = undefined;
if (org.display.Progress._sphereList.length > 0) {
var _loc3_ = org.display.Progress._sphereList[0];
_loc1_ = _loc3_._currentframe / _loc3_._totalframes;
}
if (org.display.Progress._sphereList2.length > 0) {
_loc3_ = org.display.Progress._sphereList2[0];
_loc2_ = _loc3_._currentframe / _loc3_._totalframes;
}
if (org.display.Progress._isHaveRemoveProtable2) {
if (_loc1_ >= 0.8) {
_loc1_ = (_loc1_ - 0.8) / 0.2;
_loc1_ = _loc1_ * 16;
if (org.display.Progress._flashState1 == 0) {
org.display.Progress._removeProtable1.sphere._alpha = org.display.Progress._removeProtable1.sphere._alpha - _loc1_;
if (org.display.Progress._removeProtable1.sphere._alpha <= 0) {
org.display.Progress._flashState1 = 1;
}
} else {
org.display.Progress._removeProtable1.sphere._alpha = org.display.Progress._removeProtable1.sphere._alpha + _loc1_;
if (org.display.Progress._removeProtable1.sphere._alpha >= 100) {
org.display.Progress._flashState1 = 0;
}
}
} else {
org.display.Progress._removeProtable1.sphere._alpha = 100;
}
if (_loc2_ >= 0.8) {
_loc2_ = (_loc2_ - 0.8) / 0.2;
_loc2_ = _loc2_ * 16;
if (org.display.Progress._flashState2 == 0) {
org.display.Progress._removeProtable2.sphere._alpha = org.display.Progress._removeProtable2.sphere._alpha - _loc2_;
if (org.display.Progress._removeProtable2.sphere._alpha <= 0) {
org.display.Progress._flashState2 = 1;
}
} else {
org.display.Progress._removeProtable2.sphere._alpha = org.display.Progress._removeProtable2.sphere._alpha + _loc2_;
if (org.display.Progress._removeProtable2.sphere._alpha >= 100) {
org.display.Progress._flashState2 = 0;
}
}
} else {
org.display.Progress._removeProtable2.sphere._alpha = 100;
}
} else {
if ((_loc1_ < _loc2_) && (_loc2_ != undefined)) {
_loc1_ = _loc2_;
}
if (_loc1_ >= 0.8) {
_loc1_ = (_loc1_ - 0.8) / 0.2;
_loc1_ = _loc1_ * 16;
if (org.display.Progress._flashState1 == 0) {
org.display.Progress._removeProtable1.sphere._alpha = org.display.Progress._removeProtable1.sphere._alpha - _loc1_;
if (org.display.Progress._removeProtable1.sphere._alpha <= 0) {
org.display.Progress._flashState1 = 1;
}
} else {
org.display.Progress._removeProtable1.sphere._alpha = org.display.Progress._removeProtable1.sphere._alpha + _loc1_;
if (org.display.Progress._removeProtable1.sphere._alpha >= 100) {
org.display.Progress._flashState1 = 0;
}
}
} else {
org.display.Progress._removeProtable1.sphere._alpha = 100;
}
}
};
_local1._itemHandler = function () {
var _loc2_ = org.display.Progress._sphereList.concat(org.display.Progress._sphereList2);
var _loc1_ = _loc2_[random(_loc2_.length)];
if (!_loc1_.isItem) {
_loc1_.isItem = true;
_loc1_.itemN = 0;
_loc1_.event = new flash.display.DisplayObject(_loc1_);
_loc1_.event.addEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._itemTimeHandler);
var _loc3_ = random(8);
_loc1_.itemType = _loc3_;
_loc1_.s.attachMovie("item" + _loc3_, "item", 0).gotoAndStop(_loc1_.type);
}
};
_local1._itemTimeHandler = function (event) {
var _local2 = event.target.info;
if (_local2.itemN == org.display.Progress.ITEM_MAXTIME) {
_local2.event.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._itemTimeHandler);
_local2.isItem = false;
_local2.itemType = undefined;
_local2.s.item.removeMovieClip();
} else if (!org.display.Progress._backPlane._visible) {
_local2.itemN++;
}
};
_local1._missile = function (sphere) {
sphere._x = sphere._x + sphere.x;
sphere._y = sphere._y + sphere.y;
var _local2 = new flash.geom.Rectangle(sphere._x - (org.display.Progress._missileWidth / 2), sphere._y - (org.display.Progress._missileHeight / 2), org.display.Progress._missileWidth, org.display.Progress._missileHeight);
var _local3;
var _local4 = false;
var _local5 = 0;
while (_local5 < 2) {
if (_local5 == 0) {
_local3 = org.display.Progress._sphereList;
} else {
_local3 = org.display.Progress._sphereList2;
}
var _local6 = _local3.length;
var _local7 = 0;
while (_local7 < _local6) {
var _local8 = _local3[_local7];
if (_local2.contains(_local8.s._x, _local8.s._y)) {
org.display.Progress._removeSphereList([_local8]);
org.display.Progress._removeSphere(_local8);
_local4 = true;
}
_local7 = _local7 + 1;
}
_local5 = _local5 + 1;
}
if (_local4) {
org.media.SoundManager.bombStart();
}
};
_local1._nameOkHandler = function () {
var _loc1_ = org.display.Progress._progressPlane.inputNamePlane.nameInput.text;
if (_loc1_.length != 0) {
org.display.Progress._nameOkEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._nameOkHandler);
org.display.Progress._removeObject();
org.display.Top10Plane.name = _loc1_;
org.display.Top10Plane.init(false);
}
};
_local1._protableTransform = function () {
if (org.display.Progress._artillery._x == org.display.Progress._map.protable1._x) {
org.display.Progress._artillery._x = org.display.Progress._map.protable2._x;
org.display.Progress._artillery._y = org.display.Progress._map.protable2._y;
} else {
org.display.Progress._artillery._x = org.display.Progress._map.protable1._x;
org.display.Progress._artillery._y = org.display.Progress._map.protable1._y;
}
org.display.Progress._angle = Math.atan2(_root._ymouse - org.display.Progress._artillery._y, _root._xmouse - org.display.Progress._artillery._x);
org.display.Progress._artillery._rotation = ((org.display.Progress._angle * 180) / Math.PI) - 90;
org.display.Progress._isChange = false;
};
_local1._removeObject = function () {
org.display.Progress._backEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._backHandler);
org.display.Progress._backCancelEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._backCancelHandler);
org.display.Progress._backOkEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._backOkHandler);
org.display.Progress._effect1.removeMovieClip();
org.display.Progress._effect2.removeMovieClip();
org.display.Progress._top.removeMovieClip();
org.display.Progress._progressPlane.removeMovieClip();
};
_local1._removeSphere = function (sphere) {
var _local2 = ((sphere.getDepth() > 10000) ? (org.display.Progress._effect2) : (org.display.Progress._effect1));
var _local3 = _local2.getNextHighestDepth();
_local2.attachMovie("blast", "blast" + _local3, _local3, {_x:sphere.s._x, _y:sphere.s._y}).onEnterFrame = function () {
if (this._currentframe == this._totalframes) {
delete this.onEnterFrame;
this.removeMovieClip();
}
};
if (sphere.itemType == 0) {
if (!org.display.Progress._isBack) {
org.display.Progress._isPause = true;
org.display.Progress._nowPause = 0;
}
} else if (sphere.itemType == 1) {
org.display.Progress._blast(sphere);
} else if (sphere.itemType == 2) {
org.display.Progress._isBack = true;
org.display.Progress._nowBack = 0;
org.display.Progress._isPause = false;
} else if (sphere.itemType == 3) {
if (!org.display.Progress._isTargetLine) {
org.display.Progress._lineN = 0;
org.display.Progress._isTargetLine = true;
org.display.Progress._targetLine = org.display.Progress._effect2.attachMovie("targetLine", "targetLine", org.display.Progress._effect2.getNextHighestDepth());
org.document.Mojie.enterFrame.addEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._drawLineHandler);
}
} else if (sphere.itemType == 4) {
org.display.Progress._isAlpha = false;
org.display.Progress._isMissile = false;
org.display.Progress._isSameRemove = true;
org.display.Progress._artillery.skin.nowSphere.attachMovie("miniItem4", "miniItem", 0).n = 4;
} else if (sphere.itemType == 5) {
org.display.Progress._isAlpha = false;
org.display.Progress._isSameRemove = false;
org.display.Progress._isMissile = true;
org.display.Progress._artillery.skin.nowSphere.attachMovie("miniItem5", "miniItem", 0).n = 5;
} else if (sphere.itemType == 6) {
org.display.Progress._isMissile = false;
org.display.Progress._isSameRemove = false;
org.display.Progress._isAlpha = true;
org.display.Progress._artillery.skin.nowSphere.attachMovie("miniItem6", "miniItem", 0).n = 6;
} else if (sphere.itemType == 7) {
org.display.Progress._star++;
org.display.Progress._progressPlane.starOutput.text = org.display.Progress._star;
}
sphere.event.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._itemTimeHandler);
sphere.removeMovieClip();
};
_local1._removeSphereList = function (list) {
var _local2 = list.length;
var _local3 = list[_local2 - 1];
var _local4 = false;
var _local5;
var _local6 = 0;
while (_local6 < 2) {
if (_local6 == 0) {
_local5 = org.display.Progress._sphereList;
} else {
if (_local4) {
break;
}
_local5 = org.display.Progress._sphereList2;
}
var _local7 = _local5.length;
var _local8 = 0;
while (_local8 < _local7) {
if (_local5[_local8] == _local3) {
_local5.splice(_local8, _local2);
_local6 = 0;
while (_local6 < _local2) {
org.display.Progress._typeList[list[_local6].s._currentframe - 1]--;
_local6 = _local6 + 1;
}
_local4 = true;
break;
}
_local8 = _local8 + 1;
}
_local6 = _local6 + 1;
}
if (!org.display.Progress._isFailure) {
org.display.Progress._score.value = org.display.Progress._score.value + ((org.display.Progress.BASE_SCORE * _local2) + (((org.display.Progress.CHAIN_SCORE * (_local2 + 1)) * _local2) / 2));
org.display.Progress._score.x = 398 - (org.display.Progress._score.width / 2);
}
};
_local1._shotSphereHandler = function (event) {
var _local2 = event.target.info;
if (!org.display.Progress._rect.contains(_local2._x, _local2._y)) {
org.display.Progress._shotSphere.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._shotSphereHandler);
org.display.Progress._isShot = false;
_local2.removeMovieClip();
} else if ((org.display.Progress._protableTransform1.hitTest(_local2._x, _local2._y) && (org.display.Progress._isChange == true)) || (org.display.Progress._protableTransform2.hitTest(_local2._x, _local2._y) && (org.display.Progress._isChange == true))) {
org.display.Progress._shotSphere.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._shotSphereHandler);
org.display.Progress._isShot = false;
_local2.removeMovieClip();
org.display.Progress._protableTransform();
}
if (_local2.isMissile) {
org.display.Progress._missile(_local2);
} else if (_local2.target) {
if (_local2.move.arrive || (flash.geom.Point.distance(new flash.geom.Point(_local2.move.targetX, _local2.move.targetY), new flash.geom.Point(_local2._x, _local2._y)) > 50)) {
_local2.target._alpha = 100;
org.display.Progress._shotSphere.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._shotSphereHandler);
org.display.Progress._isShot = false;
_local2.removeMovieClip();
} else {
_local2.move.targetX = _local2.hitSphere.s._x;
_local2.move.targetY = _local2.hitSphere.s._y;
_local2.move.refresh();
}
} else {
_local2._x = _local2._x + _local2.x;
_local2._y = _local2._y + _local2.y;
var _local3;
var _local4 = false;
var _local5 = 0;
while (_local5 < 2) {
if (_local5 == 0) {
_local3 = org.display.Progress._sphereList;
} else {
if (_local4) {
break;
}
_local3 = org.display.Progress._sphereList2;
}
var _local6 = _local3.length;
var _local7 = _local6 - 1;
while (_local7 >= 0) {
var _local8 = _local3[_local7];
if (_local8.hitTest(_local2._x, _local2._y, false) && (_local8.getDepth() > 10000)) {
org.media.SoundManager.hitStart();
if (_local2.isAlpha) {
org.media.SoundManager.bombStart();
org.display.Progress._shotSphere.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._shotSphereHandler);
org.display.Progress._allSameTypeRemove(_local8.type);
org.display.Progress._isShot = false;
_local2.removeMovieClip();
} else if (org.display.Progress._isHit) {
org.display.Progress._isDel = false;
if (_local7 == 0) {
_local2.target = org.display.Progress._addSphere(_local2.type, (_local8._currentframe + org.display.Progress._k) - 1, _local7, _local5 + 1);
_local2.target.isSameRemove = _local2.isSameRemove;
org.display.Progress._shotSphere.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._shotSphereHandler);
org.display.Progress._isShot = false;
_local2.removeMovieClip();
} else {
_local2.hitSphere = _local8;
_local2.target = org.display.Progress._addSphere(_local2.type, _local8._currentframe, _local7, _local5 + 1);
_local2.target.isSameRemove = _local2.isSameRemove;
_local2.target._alpha = 0;
_local2.move = new flash.physics.Move(_local2, _local2.hitSphere.s._x, _local2.hitSphere.s._y, 13);
}
}
_local4 = true;
break;
}
_local7 = _local7 - 1;
}
_local5 = _local5 + 1;
}
}
};
_local1._sphereTransform = function () {
if (Key.isDown(4)) {
if (!org.display.Progress._isKey4Down) {
org.display.Progress._isKey4Down = true;
var _loc1_ = org.display.Progress._artillery.skin.nowSphere._currentframe;
org.display.Progress._artillery.skin.nowSphere.gotoAndStop(org.display.Progress._artillery.skin.nextSphere._currentframe);
org.display.Progress._artillery.skin.nextSphere.gotoAndStop(_loc1_);
}
} else {
org.display.Progress._isKey4Down = false;
}
};
_local1._start = function () {
org.display.Progress._backEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.Progress._backHandler);
org.document.Mojie.enterFrame.addEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._enterFrame);
Mouse.addListener(org.display.Progress._mouseListener);
org.display.Progress._angle = Math.atan2(_root._ymouse - org.display.Progress._artillery._y, _root._xmouse - org.display.Progress._artillery._x);
org.display.Progress._artillery._rotation = ((org.display.Progress._angle * 180) / Math.PI) - 90;
org.display.Progress._protableTransform1.onPress = function () {
org.display.Progress._isChange = true;
};
org.display.Progress._protableTransform2.onPress = function () {
org.display.Progress._isChange = true;
};
};
_local1._startWaitHandler = function () {
org.display.Progress._timer.removeEventListener(flash.events.TimerEvent.TIMER_COMPLETE, org.display.Progress._startWaitHandler);
org.display.Progress._timer.stop();
org.display.Progress._levelPlane._visible = false;
org.display.Progress._start();
org.display.Progress._itemTimer.start();
};
_local1._targetSphereRemove = function () {
org.display.Progress._removeProtable1.sphere._alpha = org.display.Progress._removeProtable1.sphere._alpha - 10;
org.display.Progress._removeProtable2.sphere._alpha = org.display.Progress._removeProtable2.sphere._alpha - 10;
org.display.Progress._removeProtable1.sphere._xscale = org.display.Progress._removeProtable1.sphere._xscale + 10;
org.display.Progress._removeProtable2.sphere._xscale = org.display.Progress._removeProtable2.sphere._xscale + 10;
org.display.Progress._removeProtable1.sphere._yscale = org.display.Progress._removeProtable1.sphere._yscale + 10;
org.display.Progress._removeProtable2.sphere._yscale = org.display.Progress._removeProtable2.sphere._yscale + 10;
if (org.display.Progress._removeProtable1.sphere._alpha <= 0) {
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.Progress._targetSphereRemove);
org.display.Progress._timer = new flash.utils.Timer(2000, 1);
org.display.Progress._timer.start();
org.display.Progress._timer.addEventListener(flash.events.TimerEvent.TIMER_COMPLETE, org.display.Progress._failureWaitHandler);
}
};
_local1._isChange = false;
_local1._isHit = true;
_local1._isDel = true;
_local1.BASE_SCORE = 10;
_local1.BLAST_HEIGHT = 100;
_local1.BLAST_WIDTH = 100;
_local1.CHAIN_SCORE = 10;
_local1.ITEM_MAXTIME = 450;
_local1.LENGTH = 16;
_local1.MAX_BACK = 150;
_local1.MAX_PAUSE = 150;
_local1.MISSILE_HEIGHT = 50;
_local1.MISSILE_WIDTH = 50;
_local1._v = 15;
ASSetPropFlags(_global.org.display.Progress.prototype, null, 1);
#endinitclip
Symbol 1284 MovieClip [__Packages.flash.text.MappingNumber] Frame 0 (3.28 KiB) ●
#initclip
if (!_global.flash) {
_global.flash = new Object();
}
if (!_global.flash.text) {
_global.flash.text = new Object();
}
if (!_global.flash.text.MappingNumber) {
var _local1 = function (mc, name, depth, x, y) {
if (depth == undefined) {
depth = mc.getNextHighestDepth();
}
if (x == undefined) {
x = 0;
}
if (y == undefined) {
y = 0;
}
this._name = name;
this._numberArray = new Array();
this._numberMappingArray = new Array();
this._mc = mc.createEmptyMovieClip("MappingNumber" + depth, depth);
this._mc._x = x;
this._mc._y = y;
};
_global.flash.text.MappingNumber = _local1;
var _local2 = _local1.prototype;
_local2.__get__height = function () {
return(this._mc._height);
};
_local2.__get__spacing = function () {
return(this._spacing);
};
_local2.__set__spacing = function (value) {
this._spacing = value;
return(this.__get__spacing());
};
_local2.__get__value = function () {
return(this._value);
};
_local2.__set__value = function (value) {
this._value = value;
this._clear();
this._setNumber(this._value);
return(this.__get__value());
};
_local2.__get__width = function () {
return(this._mc._width);
};
_local2.__get__x = function () {
return(this._mc._x);
};
_local2.__set__x = function (value) {
this._mc._x = value;
return(this.__get__x());
};
_local2.__get__y = function () {
return(this._mc._y);
};
_local2.__set__y = function (value) {
this._mc._y = value;
return(this.__get__y());
};
_local2._clear = function () {
var _local2 = this._numberMappingArray.length;
var _local3 = 0;
while (_local3 < _local2) {
this._numberMappingArray[_local3].removeMovieClip();
_local3 = _local3 + 1;
}
this._numberArray = [];
this._numberMappingArray = [];
};
_local2._setNumber = function (value) {
var _local3 = value.toString();
var _local4 = _local3.length;
var _local5 = 0;
while (_local5 < _local4) {
this._numberArray.push(Number(_local3.substring(_local5, _local5 + 1)));
_local5 = _local5 + 1;
}
_local4 = this._numberArray.length;
_local5 = 0;
while (_local5 < _local4) {
var _local6;
var _local7 = this._mc.getNextHighestDepth();
if (_local5 == 0) {
_local6 = this._mc.attachMovie(this._name + this._numberArray[_local5], this._name + _local7, _local7);
} else {
_local6 = this._mc.attachMovie(this._name + this._numberArray[_local5], this._name + _local7, _local7, {_x:(this._prevMc._x + this._prevMc._width) + this._spacing});
}
this._prevMc = _local6;
this._numberMappingArray.push(_local6);
_local5 = _local5 + 1;
}
};
_local2._spacing = 0;
(_local2.addProperty("height", _local2.__get__height, function () {
}));// not popped
(_local2.addProperty("spacing", _local2.__get__spacing, _local2.__set__spacing));// not popped
(_local2.addProperty("value", _local2.__get__value, _local2.__set__value));// not popped
(_local2.addProperty("width", _local2.__get__width, function () {
}));// not popped
(_local2.addProperty("x", _local2.__get__x, _local2.__set__x));// not popped
(_local2.addProperty("y", _local2.__get__y, _local2.__set__y));// not popped
(ASSetPropFlags(_global.flash.text.MappingNumber.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1285 MovieClip [__Packages.flash.utils.Timer] Frame 0 (2.84 KiB) ●
#initclip
if (!_global.flash) {
_global.flash = new Object();
}
if (!_global.flash.utils) {
_global.flash.utils = new Object();
}
if (!_global.flash.utils.Timer) {
var _local1 = function (delay, count) {
super(this);
this._delay = delay;
this._nowCount = this._count(count);
this._repeatCount = this._nowCount;
this._repeatEnabled = ((this._repeatCount == 0) ? false : true);
};
_global.flash.utils.Timer = _local1;
//_global.flash.utils.Timer extends flash.events.EventDispatcher
var _local2 = _local1.prototype;
_local2._count = function (repeatCount) {
var _local2 = Math.floor(repeatCount);
if (isNaN(_local2)) {
return(0);
}
if (_local2 < 0) {
return(1);
}
if (_local2 == 0) {
return(0);
}
return(_local2);
};
_local2._timer = function (target) {
if (target._repeatEnabled) {
target._nowCount--;
target._currentCount++;
target.dispatchEvent(new flash.events.Event("timer"));
if (target._nowCount == 0) {
target.reset();
target.dispatchEvent(new flash.events.Event("timerComplete"));
}
} else {
target._currentCount++;
target.dispatchEvent(new flash.events.Event("timer"));
}
};
_local2.reset = function () {
this.stop();
this._nowCount = this._repeatCount;
};
_local2.start = function () {
if (!this._startEnabled) {
this._startEnabled = true;
this._id = setInterval(this._timer, this._delay, this);
}
};
_local2.stop = function () {
this._startEnabled = false;
clearInterval(this._id);
};
_local2.__get__currentCount = function () {
return(this._currentCount);
};
_local2.__get__delay = function () {
return(this._delay);
};
_local2.__set__delay = function (value) {
this._delay = value;
if (this._startEnabled) {
this.stop();
this.start();
}
return(this.__get__delay());
};
_local2.__get__repeatCount = function () {
return(this._repeatCount);
};
_local2.__set__repeatCount = function (value) {
var _local3 = this._count(value);
if (_local3 == 0) {
this._repeatEnabled = false;
} else if (this._repeatCount >= _local3) {
this._nowCount = this._nowCount - (this._repeatCount - _local3);
if (this._nowCount < 0) {
this._nowCount = 0;
}
} else {
this._nowCount = this._nowCount + (_local3 - this._repeatCount);
}
this._repeatCount = _local3;
return(this.__get__repeatCount());
};
_local2._startEnabled = false;
_local2._currentCount = 0;
(_local2.addProperty("currentCount", _local2.__get__currentCount, function () {
}));// not popped
(_local2.addProperty("delay", _local2.__get__delay, _local2.__set__delay));// not popped
(_local2.addProperty("repeatCount", _local2.__get__repeatCount, _local2.__set__repeatCount));// not popped
(ASSetPropFlags(_global.flash.utils.Timer.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1286 MovieClip [__Packages.org.data.MissionTransform] Frame 0 (5.67 KiB) ● ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.data) {
_global.org.data = new Object();
}
if (!_global.org.data.MissionTransform) {
var _local1 = function () {
};
_global.org.data.MissionTransform = _local1;
var _local2 = _local1.prototype;
_local1.transform = function () {
var _loc2_ = org.data.MissionManager.master;
var _loc1_ = org.data.MissionManager.slave;
if (_loc2_ == 1) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(5, [1, 2, 3, 4], 3, false, [], []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(7, [1, 2, 3, 4], 3, false, [], []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(10, [1, 2, 3, 4], 3, false, org.data.MissionTransform._mission10List, []);
}
} else if (_loc2_ == 2) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(16, [1, 2, 3, 4], 3, false, org.data.MissionTransform._mission16List, []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(5, [1, 2, 3, 4], 3, false, [], []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(1, [1, 2, 3, 4], 3, false, org.data.MissionTransform._mission1List, []);
}
} else if (_loc2_ == 3) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(17, [1, 2, 3, 4], 3, false, [], []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(20, [1, 2, 3, 4], 3, false, [], []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(12, [1, 2, 3, 4], 3, false, org.data.MissionTransform._mission12List, []);
}
} else if (_loc2_ == 4) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(9, [1, 2, 3, 4], 3, false, [], []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(3, [1, 2, 3, 4], 3, false, [], []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(14, [1, 2, 3, 4], 3, false, org.data.MissionTransform._mission14List, []);
}
} else if (_loc2_ == 5) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(13, [1, 2, 3, 4, 5], 3, false, [], []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(8, [1, 2, 3, 4, 5], 3, false, [], []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(19, [1, 2, 3, 4, 5], 3, true, [], []);
}
} else if (_loc2_ == 6) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(24, [1, 2, 3, 4, 5], 3, true, [], []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(4, [1, 2, 3, 4, 5], 3, false, [], []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(1, [1, 2, 3, 4, 5], 3, false, org.data.MissionTransform._mission1List, []);
}
} else if (_loc2_ == 7) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(21, [1, 2, 3, 4, 5], 4, false, [], []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(22, [1, 2, 3, 4, 5], 4, false, [], []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(12, [1, 2, 3, 4, 5], 4, false, org.data.MissionTransform._mission12List, []);
}
} else if (_loc2_ == 8) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(8, [1, 2, 3, 4, 5], 4, false, [], []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(7, [1, 2, 3, 4, 5], 4, false, [], []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(18, [1, 2, 3, 4, 5], 4, true, org.data.MissionTransform._mission18_1List, org.data.MissionTransform._mission18_2List);
}
} else if (_loc2_ == 9) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(19, [1, 2, 3, 4, 5, 6], 4, true, [], []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(14, [1, 2, 3, 4, 5, 6], 4, false, org.data.MissionTransform._mission14List, []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(23, [1, 2, 3, 4, 5, 6], 4, false, [], []);
}
} else if (_loc2_ == 10) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(6, [1, 2, 3, 4, 5, 6], 4, false, [], []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(16, [1, 2, 3, 4, 5, 6], 4, false, org.data.MissionTransform._mission16List, []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(2, [1, 2, 3, 4, 5, 6], 4, false, org.data.MissionTransform._mission2List, []);
}
} else if (_loc2_ == 11) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(9, [1, 2, 3, 4, 5, 6], 4, false, [], []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(17, [1, 2, 3, 4, 5, 6], 4, false, [], []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(24, [1, 2, 3, 4, 5, 6], 4, true, [], []);
}
} else if (_loc2_ == 12) {
if (_loc1_ == 1) {
org.display.Progress.getMissionInfo(6, [1, 2, 3, 4, 5, 6], 4, false, [], []);
} else if (_loc1_ == 2) {
org.display.Progress.getMissionInfo(11, [1, 2, 3, 4, 5, 6], 4, false, [], []);
} else if (_loc1_ == 3) {
org.display.Progress.getMissionInfo(23, [1, 2, 3, 4, 5, 6], 4, false, [], []);
}
}
};
_local1._mission1List = new Array([819, 929], [1127, 1256], [1602, 1681], [1854, 1942]);
_local1._mission2List = new Array([912, 1136]);
_local1._mission10List = new Array([110, 247], [399, 565]);
_local1._mission12List = new Array([164, 278], [435, 549], [739, 965]);
_local1._mission14List = new Array([823, 920], [1476, 1572]);
_local1._mission16List = new Array([1688, 1838]);
_local1._mission18_1List = new Array([1130, 1269]);
_local1._mission18_2List = new Array([424, 603], [1618, 1780]);
(ASSetPropFlags(_global.org.data.MissionTransform.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1287 MovieClip [__Packages.flash.events.TimerEvent] Frame 0 (818 B)
#initclip
if (!_global.flash) {
_global.flash = new Object();
}
if (!_global.flash.events) {
_global.flash.events = new Object();
}
if (!_global.flash.events.TimerEvent) {
var _local1 = function (type) {
super(type);
};
_global.flash.events.TimerEvent = _local1;
//_global.flash.events.TimerEvent extends flash.events.Event
var _local2 = _local1.prototype;
_local1.__get__TIMER = function () {
return("timer");
};
_local1.__get__TIMER_COMPLETE = function () {
return("timerComplete");
};
(_local1.addProperty("TIMER", _local1.__get__TIMER, function () {
}));// not popped
(_local1.addProperty("TIMER_COMPLETE", _local1.__get__TIMER_COMPLETE, function () {
}));// not popped
(ASSetPropFlags(_global.flash.events.TimerEvent.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1288 MovieClip [__Packages.org.display.MainPlane] Frame 0 (2.63 KiB) ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.display) {
_global.org.display = new Object();
}
if (!_global.org.display.MainPlane) {
var _local1 = function () {
};
_global.org.display.MainPlane = _local1;
var _local2 = _local1.prototype;
_local1.init = function () {
org.media.SoundManager._Bgflag = true;
_root.controlS_btn._alpha = 0;
_root.controlS_btn.Sound_btn.enabled = false;
org.media.SoundManager.progressBgStop();
org.media.SoundManager.otherBgStop();
org.media.SoundManager.otherBgStart();
var _local2 = _root.attachMovie("mainPlane", "mainPlane", 0);
org.display.MainPlane._exitEvent = new flash.display.InteractiveObject(_local2.exitBtn);
org.display.MainPlane._helpEvent = new flash.display.InteractiveObject(_local2.helpBtn);
org.display.MainPlane._starqEvent = new flash.display.InteractiveObject(_local2.startBtn);
org.display.MainPlane._startEvent = new flash.display.InteractiveObject(_local2.startBtn);
org.display.MainPlane._exitEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.MainPlane._exitHandler);
org.display.MainPlane._helpEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.MainPlane._helpHandler);
org.display.MainPlane._starqEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.MainPlane._starqHandler);
org.display.MainPlane._startEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.MainPlane._startHandler);
};
_local1._exitHandler = function () {
org.media.SoundManager.btnStart();
fscommand ("quit");
};
_local1._helpHandler = function () {
org.media.SoundManager.btnStart();
org.display.MainPlane._removeListener();
org.display.HelpPlane.init();
};
_local1._removeListener = function () {
org.media.SoundManager.btnStart();
org.display.MainPlane._exitEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.MainPlane._exitHandler);
org.display.MainPlane._helpEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.MainPlane._helpHandler);
org.display.MainPlane._starqEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.MainPlane._starqHandler);
org.display.MainPlane._startEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.MainPlane._startHandler);
};
_local1._starqHandler = function () {
org.media.SoundManager.btnStart();
};
_local1._startHandler = function () {
org.media.SoundManager.btnStart();
org.display.MainPlane._removeListener();
org.display.StartPlane.init();
};
(ASSetPropFlags(_global.org.display.MainPlane.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1289 MovieClip [__Packages.org.display.HelpPlane] Frame 0 (2.13 KiB) ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.display) {
_global.org.display = new Object();
}
if (!_global.org.display.HelpPlane) {
var _local1 = function () {
};
_global.org.display.HelpPlane = _local1;
var _local2 = _local1.prototype;
_local1.init = function () {
org.display.HelpPlane._help = _root.attachMovie("helpPlane", "helpPlane", 0);
org.display.HelpPlane._help.stop();
org.display.HelpPlane._backEvent = new flash.display.InteractiveObject(org.display.HelpPlane._help.backBtn);
org.display.HelpPlane._backEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.HelpPlane._backHandler);
org.document.Mojie.enterFrame.addEventListener(flash.events.Event.ENTER_FRAME, org.display.HelpPlane._enterFrame);
};
_local1._backHandler = function () {
org.media.SoundManager.btnStart();
org.display.HelpPlane._backEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.HelpPlane._backHandler);
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.HelpPlane._enterFrame);
org.display.MainPlane.init();
};
_local1._enterFrame = function () {
if (org.display.HelpPlane._help._currentframe == 1) {
org.display.HelpPlane._help.rightBtn.onRelease = function () {
org.media.SoundManager.btnStart();
org.display.HelpPlane._help.nextFrame();
};
} else if ((org.display.HelpPlane._help._currentframe == 2) || (org.display.HelpPlane._help._currentframe == 3)) {
org.display.HelpPlane._help.leftBtn.onRelease = function () {
org.media.SoundManager.btnStart();
org.display.HelpPlane._help.prevFrame();
};
org.display.HelpPlane._help.rightBtn.onRelease = function () {
org.media.SoundManager.btnStart();
org.display.HelpPlane._help.nextFrame();
};
} else if (org.display.HelpPlane._help._currentframe == 4) {
org.display.HelpPlane._help.leftBtn.onRelease = function () {
org.media.SoundManager.btnStart();
org.display.HelpPlane._help.prevFrame();
};
}
};
(ASSetPropFlags(_global.org.display.HelpPlane.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1290 MovieClip [__Packages.org.display.StartPlane] Frame 0 (2.25 KiB) ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.display) {
_global.org.display = new Object();
}
if (!_global.org.display.StartPlane) {
var _local1 = function () {
};
_global.org.display.StartPlane = _local1;
var _local2 = _local1.prototype;
_local1.init = function () {
var _local2 = _root.attachMovie("startPlane", "startPlane", 0);
if ((org.data.MissionManager.master == 1) && (org.data.MissionManager.slave == 1)) {
_local2.continueBtn._visible = false;
}
org.display.StartPlane._backEvent = new flash.display.InteractiveObject(_local2.backBtn);
org.display.StartPlane._continueEvent = new flash.display.InteractiveObject(_local2.continueBtn);
org.display.StartPlane._newEvent = new flash.display.InteractiveObject(_local2.newBtn);
org.display.StartPlane._backEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.StartPlane._backHandler);
org.display.StartPlane._continueEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.StartPlane._continueHandler);
org.display.StartPlane._newEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.StartPlane._newHandler);
};
_local1._backHandler = function () {
org.media.SoundManager.btnStart();
org.display.StartPlane._removeAllListener();
org.display.MainPlane.init();
};
_local1._continueHandler = function () {
org.media.SoundManager.btnStart();
org.display.StartPlane._removeAllListener();
org.display.MissionPlane.init(true);
};
_local1._newHandler = function () {
org.media.SoundManager.btnStart();
org.display.StartPlane._removeAllListener();
org.data.AbilityManager.newData();
org.data.MissionManager.newData();
org.display.Progress.init();
};
_local1._removeAllListener = function () {
org.display.StartPlane._backEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.StartPlane._backHandler);
org.display.StartPlane._continueEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.StartPlane._continueHandler);
org.display.StartPlane._newEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.StartPlane._newHandler);
};
(ASSetPropFlags(_global.org.display.StartPlane.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1291 MovieClip [__Packages.org.display.Top10Plane] Frame 0 (1.78 KiB) ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.display) {
_global.org.display = new Object();
}
if (!_global.org.display.Top10Plane) {
var _local1 = function () {
};
_global.org.display.Top10Plane = _local1;
var _local2 = _local1.prototype;
_local1.init = function (isContinueSound) {
if (!isContinueSound) {
org.media.SoundManager.progressBgStop();
org.media.SoundManager.otherBgStart();
}
org.media.SoundManager._Bgflag = true;
_root.controlS_btn._alpha = 0;
_root.controlS_btn.Sound_btn.enabled = false;
org.display.Top10Plane._top10Plane = _root.attachMovie("top10Plane", "top10Plane", 0);
org.display.Top10Plane._okEvent = new flash.display.InteractiveObject(org.display.Top10Plane._top10Plane.okBtn);
org.display.Top10Plane._okEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.Top10Plane._okHandler);
org.display.Top10Plane._data = org.data.Save.format(org.display.Top10Plane.name, org.display.Top10Plane.score);
var _local3 = 1;
while (_local3 <= 10) {
var _local4 = "user" + _local3;
if (org.display.Top10Plane._data.data[_local4 + "_enabled"]) {
var _local5 = _local4 + "_name";
var _local6 = _local4 + "_score";
org.display.Top10Plane._top10Plane[_local5].text = org.display.Top10Plane._data.data[_local5];
org.display.Top10Plane._top10Plane[_local6].text = org.display.Top10Plane._data.data[_local6];
}
_local3 = _local3 + 1;
}
};
_local1._okHandler = function () {
org.media.SoundManager.btnStart();
org.display.Top10Plane._okEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.Top10Plane._okHandler);
org.display.MainPlane.init();
};
(ASSetPropFlags(_global.org.display.Top10Plane.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1292 MovieClip [__Packages.org.display.OverPlane] Frame 0 (2.75 KiB) ●
#initclip
if (!_global.org) {
_global.org = new Object();
}
if (!_global.org.display) {
_global.org.display = new Object();
}
if (!_global.org.display.OverPlane) {
var _local1 = function () {
};
_global.org.display.OverPlane = _local1;
var _local2 = _local1.prototype;
_local1.init = function () {
org.media.SoundManager._Bgflag = true;
_root.controlS_btn._alpha = 0;
_root.controlS_btn.Sound_btn.enabled = false;
org.display.OverPlane._user10_score = org.data.Save.low_score;
org.display.OverPlane._score = org.display.Top10Plane.score;
org.media.SoundManager.allStop();
org.media.SoundManager.otherBgStart();
org.display.OverPlane._overPlane = _root.attachMovie("overPlane", "overPlane", 0);
org.display.OverPlane._overPlane.inputNamePlane._visible = false;
org.display.OverPlane._timer = new flash.utils.Timer(2000, 1);
org.display.OverPlane._timer.start();
org.display.OverPlane._timer.addEventListener(flash.events.TimerEvent.TIMER_COMPLETE, org.display.OverPlane._timerCompleteHandler);
org.document.Mojie.enterFrame.addEventListener(flash.events.Event.ENTER_FRAME, org.display.OverPlane._enterFrame);
};
_local1._enterFrame = function () {
var _loc1_ = org.display.OverPlane._overPlane.gameOver;
if (_loc1_._currentframe == _loc1_._totalframes) {
org.document.Mojie.enterFrame.removeEventListener(flash.events.Event.ENTER_FRAME, org.display.OverPlane._enterFrame);
_loc1_.stop();
}
};
_local1._okHandler = function () {
org.media.SoundManager.btnStart();
var _loc1_ = org.display.OverPlane._overPlane.inputNamePlane.nameInput.text;
if (_loc1_.length > 0) {
org.display.OverPlane._okEvent.removeEventListener(flash.events.MouseEvent.CLICK, org.display.OverPlane._okHandler);
org.display.Top10Plane.name = _loc1_;
org.display.Top10Plane.init(true);
}
};
_local1._timerCompleteHandler = function () {
org.display.OverPlane._timer.stop();
org.display.OverPlane._timer.removeEventListener(flash.events.TimerEvent.TIMER_COMPLETE, org.display.OverPlane._timerCompleteHandler);
if (org.display.OverPlane._score > org.display.OverPlane._user10_score) {
org.display.OverPlane._overPlane.inputNamePlane._visible = true;
Selection.setFocus(org.display.OverPlane._overPlane.inputNamePlane.nameInput);
org.display.OverPlane._overPlane.inputNamePlane.nameInput.maxChars = 8;
org.display.OverPlane._okEvent = new flash.display.InteractiveObject(org.display.OverPlane._overPlane.inputNamePlane.nameOkBtn);
org.display.OverPlane._okEvent.addEventListener(flash.events.MouseEvent.CLICK, org.display.OverPlane._okHandler);
} else {
org.display.Top10Plane.init(true);
}
};
(ASSetPropFlags(_global.org.display.OverPlane.prototype, null, 1));// not popped
}
#endinitclip
Symbol 1293 MovieClip [__Packages.flash.physics.Move] Frame 0 (3.18 KiB) ●
#initclip
if (!_global.flash) {
_global.flash = new Object();
}
if (!_global.flash.physics) {
_global.flash.physics = new Object();
}
if (!_global.flash.physics.Move) {
var _local1 = function (mc, x, y, v) {
this._mc = mc;
this._targetX = x;
this._targetY = y;
this._v = v;
this.init();
this._setWayX();
this._setWayY();
};
_global.flash.physics.Move = _local1;
var _local2 = _local1.prototype;
_local2.__get__arrive = function () {
return((this._wayX == "arrive") && (this._wayY == "arrive"));
};
_local2.__get__targetX = function () {
return(this._targetX);
};
_local2.__set__targetX = function (value) {
this._targetX = value;
this.init();
this._setWayX();
return(this.__get__targetX());
};
_local2.__get__targetY = function () {
return(this._targetY);
};
_local2.__set__targetY = function (value) {
this._targetY = value;
this.init();
this._setWayY();
return(this.__get__targetY());
};
_local2.__get__v = function () {
return(this._v);
};
_local2.__set__v = function (value) {
this._v = value;
return(this.__get__v());
};
_local2.init = function () {
this._angle = Math.atan2(this._targetY - this._mc._y, this._targetX - this._mc._x);
this._kx = Math.cos(this._angle);
this._ky = Math.sin(this._angle);
this._moveX = this._mc._x;
this._moveY = this._mc._y;
};
_local2._setWayX = function () {
var _local2 = this._mc._x;
if (_local2 > this._targetX) {
this._wayX = "left";
} else if (_local2 < this._targetX) {
this._wayX = "right";
} else {
this._wayX = "arrive";
}
};
_local2._setWayY = function () {
var _local2 = this._mc._y;
if (_local2 > this._targetY) {
this._wayY = "up";
} else if (_local2 < this._targetY) {
this._wayY = "down";
} else {
this._wayY = "arrive";
}
};
_local2.refresh = function () {
this._moveX = this._moveX + (this._kx * this._v);
this._moveY = this._moveY + (this._ky * this._v);
this._mc._x = this._moveX;
this._mc._y = this._moveY;
if (this._wayX == "left") {
if (this._mc._x <= this._targetX) {
this._mc._x = this._targetX;
this._wayX = "arrive";
}
} else if (this._wayX == "right") {
if (this._mc._x >= this._targetX) {
this._mc._x = this._targetX;
this._wayX = "arrive";
}
} else {
this._mc._x = this._targetX;
}
if (this._wayY == "up") {
if (this._mc._y <= this._targetY) {
this._mc._y = this._targetY;
this._wayY = "arrive";
}
} else if (this._wayY == "down") {
if (this._mc._y >= this._targetY) {
this._mc._y = this._targetY;
this._wayY = "arrive";
}
} else {
this._mc._y = this._targetY;
}
};
_local2._arrive = false;
(_local2.addProperty("arrive", _local2.__get__arrive, function () {
}));// not popped
(_local2.addProperty("targetX", _local2.__get__targetX, _local2.__set__targetX));// not popped
(_local2.addProperty("targetY", _local2.__get__targetY, _local2.__set__targetY));// not popped
(_local2.addProperty("v", _local2.__get__v, _local2.__set__v));// not popped
(ASSetPropFlags(_global.flash.physics.Move.prototype, null, 1));// not popped
}
#endinitclip
Symbol 38 MovieClip Frame 30 (8 B)
stop();
Symbol 50 MovieClip Frame 30 (8 B)
stop();
Symbol 62 MovieClip Frame 30 (8 B)
stop();
Symbol 74 MovieClip Frame 30 (8 B)
stop();
Symbol 141 MovieClip Frame 22 (8 B)
stop();
Symbol 142 MovieClip [mainPlane] Frame 49 (8 B)
stop();