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

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

Missile Rush - defend your cities from dangerous missiles.swf

This is the info page for
Flash #93621

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


ActionScript [AS3]
Section 1
//AuxFunctions (caurina.transitions.AuxFunctions) package caurina.transitions { public class AuxFunctions { public static function getObjectLength(_arg1:Object):uint{ var _local3:String; var _local2:uint; for (_local3 in _arg1) { _local2++; }; return (_local2); } public static function numberToG(_arg1:Number):Number{ return (((_arg1 & 0xFF00) >> 8)); } public static function numberToB(_arg1:Number):Number{ return ((_arg1 & 0xFF)); } public static function numberToR(_arg1:Number):Number{ return (((_arg1 & 0xFF0000) >> 16)); } public static function concatObjects(... _args):Object{ var _local3:Object; var _local5:String; var _local2:Object = {}; var _local4:int; while (_local4 < _args.length) { _local3 = _args[_local4]; for (_local5 in _local3) { if (_local3[_local5] == null){ delete _local2[_local5]; } else { _local2[_local5] = _local3[_local5]; }; }; _local4++; }; return (_local2); } } }//package caurina.transitions
Section 2
//Equations (caurina.transitions.Equations) package caurina.transitions { public class Equations { public function Equations(){ trace("Equations is a static class and should not be instantiated."); } public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); if (_arg1 < (1 / 2.75)){ return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2)); }; if (_arg1 < (2 / 2.75)){ _arg1 = (_arg1 - (1.5 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2)); }; if (_arg1 < (2.5 / 2.75)){ _arg1 = (_arg1 - (2.25 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2)); }; _arg1 = (_arg1 - (2.625 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2)); } public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; if (_arg1 < 1){ --_arg1; return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); }; --_arg1; return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2)); } public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2)); }; --_arg1; return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2)); } public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2)); }; return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2)); } public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2)); }; _arg1 = (_arg1 - 2); _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2)); } public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2)); } public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2)); } public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2)); } public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function init():void{ Tweener.registerTransition("easenone", easeNone); Tweener.registerTransition("linear", easeNone); Tweener.registerTransition("easeinquad", easeInQuad); Tweener.registerTransition("easeoutquad", easeOutQuad); Tweener.registerTransition("easeinoutquad", easeInOutQuad); Tweener.registerTransition("easeoutinquad", easeOutInQuad); Tweener.registerTransition("easeincubic", easeInCubic); Tweener.registerTransition("easeoutcubic", easeOutCubic); Tweener.registerTransition("easeinoutcubic", easeInOutCubic); Tweener.registerTransition("easeoutincubic", easeOutInCubic); Tweener.registerTransition("easeinquart", easeInQuart); Tweener.registerTransition("easeoutquart", easeOutQuart); Tweener.registerTransition("easeinoutquart", easeInOutQuart); Tweener.registerTransition("easeoutinquart", easeOutInQuart); Tweener.registerTransition("easeinquint", easeInQuint); Tweener.registerTransition("easeoutquint", easeOutQuint); Tweener.registerTransition("easeinoutquint", easeInOutQuint); Tweener.registerTransition("easeoutinquint", easeOutInQuint); Tweener.registerTransition("easeinsine", easeInSine); Tweener.registerTransition("easeoutsine", easeOutSine); Tweener.registerTransition("easeinoutsine", easeInOutSine); Tweener.registerTransition("easeoutinsine", easeOutInSine); Tweener.registerTransition("easeincirc", easeInCirc); Tweener.registerTransition("easeoutcirc", easeOutCirc); Tweener.registerTransition("easeinoutcirc", easeInOutCirc); Tweener.registerTransition("easeoutincirc", easeOutInCirc); Tweener.registerTransition("easeinexpo", easeInExpo); Tweener.registerTransition("easeoutexpo", easeOutExpo); Tweener.registerTransition("easeinoutexpo", easeInOutExpo); Tweener.registerTransition("easeoutinexpo", easeOutInExpo); Tweener.registerTransition("easeinelastic", easeInElastic); Tweener.registerTransition("easeoutelastic", easeOutElastic); Tweener.registerTransition("easeinoutelastic", easeInOutElastic); Tweener.registerTransition("easeoutinelastic", easeOutInElastic); Tweener.registerTransition("easeinback", easeInBack); Tweener.registerTransition("easeoutback", easeOutBack); Tweener.registerTransition("easeinoutback", easeInOutBack); Tweener.registerTransition("easeoutinback", easeOutInBack); Tweener.registerTransition("easeinbounce", easeInBounce); Tweener.registerTransition("easeoutbounce", easeOutBounce); Tweener.registerTransition("easeinoutbounce", easeInOutBounce); Tweener.registerTransition("easeoutinbounce", easeOutInBounce); } public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2)); } public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001))); } public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2)); } public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((_arg3 * _arg1) * _arg1) + _arg2)); } public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2)); } public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2)); } public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2)); } public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2)); } public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; --_arg1; return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); } public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2)); } public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); } public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 == 0){ return (_arg2); }; if (_arg1 == _arg4){ return ((_arg2 + _arg3)); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005))); }; --_arg1; return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2)); } public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2)); } public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2)); } public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } } }//package caurina.transitions
Section 3
//PropertyInfoObj (caurina.transitions.PropertyInfoObj) package caurina.transitions { public class PropertyInfoObj { public var modifierParameters:Array; public var isSpecialProperty:Boolean; public var valueComplete:Number; public var modifierFunction:Function; public var extra:Object; public var valueStart:Number; public var hasModifier:Boolean; public var arrayIndex:Number; public var originalValueComplete:Object; public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){ valueStart = _arg1; valueComplete = _arg2; originalValueComplete = _arg3; arrayIndex = _arg4; extra = _arg5; isSpecialProperty = _arg6; hasModifier = Boolean(_arg7); modifierFunction = _arg7; modifierParameters = _arg8; } public function toString():String{ var _local1 = "\n[PropertyInfoObj "; _local1 = (_local1 + ("valueStart:" + String(valueStart))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("valueComplete:" + String(valueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("arrayIndex:" + String(arrayIndex))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("extra:" + String(extra))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("hasModifier:" + String(hasModifier))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierFunction:" + String(modifierFunction))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierParameters:" + String(modifierParameters))); _local1 = (_local1 + "]\n"); return (_local1); } public function clone():PropertyInfoObj{ var _local1:PropertyInfoObj = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters); return (_local1); } } }//package caurina.transitions
Section 4
//SpecialProperty (caurina.transitions.SpecialProperty) package caurina.transitions { public class SpecialProperty { public var parameters:Array; public var getValue:Function; public var preProcess:Function; public var setValue:Function; public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){ getValue = _arg1; setValue = _arg2; parameters = _arg3; preProcess = _arg4; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialProperty "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("setValue:" + String(setValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("preProcess:" + String(preProcess))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 5
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier) package caurina.transitions { public class SpecialPropertyModifier { public var getValue:Function; public var modifyValues:Function; public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){ modifyValues = _arg1; getValue = _arg2; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialPropertyModifier "); _local1 = (_local1 + ("modifyValues:" + String(modifyValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 6
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter) package caurina.transitions { public class SpecialPropertySplitter { public var parameters:Array; public var splitValues:Function; public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){ splitValues = _arg1; parameters = _arg2; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialPropertySplitter "); _local1 = (_local1 + ("splitValues:" + String(splitValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 7
//Tweener (caurina.transitions.Tweener) package caurina.transitions { import flash.events.*; import flash.display.*; import flash.utils.*; public class Tweener { private static var _timeScale:Number = 1; private static var _currentTimeFrame:Number; private static var _specialPropertySplitterList:Object; private static var _engineExists:Boolean = false; private static var _specialPropertyModifierList:Object; private static var _currentTime:Number; private static var _tweenList:Array; private static var _specialPropertyList:Object; private static var _transitionList:Object; private static var _inited:Boolean = false; private static var __tweener_controller__:MovieClip; public function Tweener(){ trace("Tweener is a static class and should not be instantiated."); } public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{ if (!_inited){ init(); }; var _local4:SpecialPropertyModifier = new SpecialPropertyModifier(_arg2, _arg3); _specialPropertyModifierList[_arg1] = _local4; } public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{ if (!_inited){ init(); }; var _local6:SpecialProperty = new SpecialProperty(_arg2, _arg3, _arg4, _arg5); _specialPropertyList[_arg1] = _local6; } public static function init(... _args):void{ _inited = true; _transitionList = new Object(); Equations.init(); _specialPropertyList = new Object(); _specialPropertyModifierList = new Object(); _specialPropertySplitterList = new Object(); } private static function updateTweens():Boolean{ var _local1:int; if (_tweenList.length == 0){ return (false); }; _local1 = 0; while (_local1 < _tweenList.length) { if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){ if (!updateTweenByIndex(_local1)){ removeTweenByIndex(_local1); }; if (_tweenList[_local1] == null){ removeTweenByIndex(_local1, true); _local1--; }; }; _local1++; }; return (true); } public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Array; var _local8:Function; var _local9:TweenListObj; var _local10:Number; var _local11:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local4 = _arg1.concat(); } else { _local4 = [_arg1]; }; var _local5:Object = _arg2; if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; var _local6:Number = (isNaN(_local5.time)) ? 0 : _local5.time; var _local7:Number = (isNaN(_local5.delay)) ? 0 : _local5.delay; if (typeof(_local5.transition) == "string"){ _local11 = _local5.transition.toLowerCase(); _local8 = _transitionList[_local11]; } else { _local8 = _local5.transition; }; if (!Boolean(_local8)){ _local8 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local4.length) { if (_local5.useFrames == true){ _local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams); } else { _local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams); }; _local9.properties = null; _local9.onStart = _local5.onStart; _local9.onUpdate = _local5.onUpdate; _local9.onComplete = _local5.onComplete; _local9.onOverwrite = _local5.onOverwrite; _local9.onStartParams = _local5.onStartParams; _local9.onUpdateParams = _local5.onUpdateParams; _local9.onCompleteParams = _local5.onCompleteParams; _local9.onOverwriteParams = _local5.onOverwriteParams; _local9.onStartScope = _local5.onStartScope; _local9.onUpdateScope = _local5.onUpdateScope; _local9.onCompleteScope = _local5.onCompleteScope; _local9.onOverwriteScope = _local5.onOverwriteScope; _local9.onErrorScope = _local5.onErrorScope; _local9.isCaller = true; _local9.count = _local5.count; _local9.waitFrames = _local5.waitFrames; _tweenList.push(_local9); if ((((_local6 == 0)) && ((_local7 == 0)))){ _local10 = (_tweenList.length - 1); updateTweenByIndex(_local10); removeTweenByIndex(_local10); }; _local3++; }; return (true); } public static function pauseAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { pauseTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function removeTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local5:SpecialPropertySplitter; var _local6:Array; var _local7:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ if (_specialPropertySplitterList[_args[_local4]]){ _local5 = _specialPropertySplitterList[_args[_local4]]; _local6 = _local5.splitValues(_arg1, null); _local7 = 0; while (_local7 < _local6.length) { _local3.push(_local6[_local7].name); _local7++; }; } else { _local3.push(_args[_local4]); }; }; _local4++; }; return (affectTweens(removeTweenByIndex, _arg1, _local3)); } public static function splitTweens(_arg1:Number, _arg2:Array):uint{ var _local5:uint; var _local6:String; var _local7:Boolean; var _local3:TweenListObj = _tweenList[_arg1]; var _local4:TweenListObj = _local3.clone(false); _local5 = 0; while (_local5 < _arg2.length) { _local6 = _arg2[_local5]; if (Boolean(_local3.properties[_local6])){ _local3.properties[_local6] = undefined; delete _local3.properties[_local6]; }; _local5++; }; for (_local6 in _local4.properties) { _local7 = false; _local5 = 0; while (_local5 < _arg2.length) { if (_arg2[_local5] == _local6){ _local7 = true; break; }; _local5++; }; if (!_local7){ _local4.properties[_local6] = undefined; delete _local4.properties[_local6]; }; }; _tweenList.push(_local4); return ((_tweenList.length - 1)); } public static function updateFrame():void{ _currentTimeFrame++; } public static function resumeTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj = _tweenList[_arg1]; if ((((_local2 == null)) || (!(_local2.isPaused)))){ return (false); }; var _local3:Number = getCurrentTweeningTime(_local2); _local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused)); _local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused)); _local2.timePaused = undefined; _local2.isPaused = false; return (true); } public static function getVersion():String{ return ("AS3 1.31.74"); } public static function onEnterFrame(_arg1:Event):void{ updateTime(); updateFrame(); var _local2:Boolean; _local2 = updateTweens(); if (!_local2){ stopEngine(); }; } public static function updateTime():void{ _currentTime = getTimer(); } private static function updateTweenByIndex(_arg1:Number):Boolean{ var tTweening:TweenListObj; var mustUpdate:Boolean; var nv:Number; var t:Number; var b:Number; var c:Number; var d:Number; var pName:String; var eventScope:Object; var tScope:Object; var tProperty:Object; var pv:Number; var i = _arg1; tTweening = _tweenList[i]; if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){ return (false); }; var isOver:Boolean; var cTime:Number = getCurrentTweeningTime(tTweening); if (cTime >= tTweening.timeStart){ tScope = tTweening.scope; if (tTweening.isCaller){ do { t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1)); b = tTweening.timeStart; c = (tTweening.timeComplete - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d); } while (!(cTime >= nv)); } else { mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates))); if (cTime >= tTweening.timeComplete){ isOver = true; mustUpdate = true; }; if (!tTweening.hasStarted){ if (Boolean(tTweening.onStart)){ eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope; try { tTweening.onStart.apply(eventScope, tTweening.onStartParams); } catch(e2:Error) { handleError(tTweening, e2, "onStart"); }; }; for (pName in tTweening.properties) { if (tTweening.properties[pName].isSpecialProperty){ if (Boolean(_specialPropertyList[pName].preProcess)){ tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra); }; pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { pv = tScope[pName]; }; tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv; }; mustUpdate = true; tTweening.hasStarted = true; }; if (mustUpdate){ for (pName in tTweening.properties) { tProperty = tTweening.properties[pName]; if (isOver){ nv = tProperty.valueComplete; } else { if (tProperty.hasModifier){ t = (cTime - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams); nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters); } else { t = (cTime - tTweening.timeStart); b = tProperty.valueStart; c = (tProperty.valueComplete - tProperty.valueStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d, tTweening.transitionParams); }; }; if (tTweening.rounded){ nv = Math.round(nv); }; if (tProperty.isSpecialProperty){ _specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { tScope[pName] = nv; }; }; tTweening.updatesSkipped = 0; if (Boolean(tTweening.onUpdate)){ eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope; try { tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams); } catch(e3:Error) { handleError(tTweening, e3, "onUpdate"); }; }; } else { tTweening.updatesSkipped++; }; }; if (((isOver) && (Boolean(tTweening.onComplete)))){ eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope; try { tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams); } catch(e4:Error) { handleError(tTweening, e4, "onComplete"); }; }; return (!(isOver)); }; return (true); } public static function setTimeScale(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (isNaN(_arg1)){ _arg1 = 1; }; if (_arg1 < 1E-5){ _arg1 = 1E-5; }; if (_arg1 != _timeScale){ if (_tweenList != null){ _local2 = 0; while (_local2 < _tweenList.length) { _local3 = getCurrentTweeningTime(_tweenList[_local2]); _tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1)); _tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1)); if (_tweenList[_local2].timePaused != undefined){ _tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1)); }; _local2++; }; }; _timeScale = _arg1; }; } public static function resumeAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { resumeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{ var eventScope:Object; var pTweening = _arg1; var pError = _arg2; var pCallBackName = _arg3; if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){ eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope; try { pTweening.onError.apply(eventScope, [pTweening.scope, pError]); } catch(metaError:Error) { printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace())); }; } else { if (!Boolean(pTweening.onError)){ printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace())); }; }; } private static function startEngine():void{ _engineExists = true; _tweenList = new Array(); __tweener_controller__ = new MovieClip(); __tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); _currentTimeFrame = 0; updateTime(); } public static function removeAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { removeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Number; var _local5:String; var _local6:Array; var _local13:Function; var _local14:Object; var _local15:TweenListObj; var _local16:Number; var _local17:Array; var _local18:Array; var _local19:Array; var _local20:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local6 = _arg1.concat(); } else { _local6 = [_arg1]; }; var _local7:Object = TweenListObj.makePropertiesChain(_arg2); if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; var _local8:Number = (isNaN(_local7.time)) ? 0 : _local7.time; var _local9:Number = (isNaN(_local7.delay)) ? 0 : _local7.delay; var _local10:Array = new Array(); var _local11:Object = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true}; var _local12:Object = new Object(); for (_local5 in _local7) { if (!_local11[_local5]){ if (_specialPropertySplitterList[_local5]){ _local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters); _local3 = 0; while (_local3 < _local17.length) { if (_specialPropertySplitterList[_local17[_local3].name]){ _local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters); _local4 = 0; while (_local4 < _local18.length) { _local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false}; _local4++; }; } else { _local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false}; }; _local3++; }; } else { if (_specialPropertyModifierList[_local5] != undefined){ _local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]); _local3 = 0; while (_local3 < _local19.length) { _local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue}; _local3++; }; } else { _local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]}; }; }; }; }; for (_local5 in _local10) { if (_specialPropertyList[_local5] != undefined){ _local10[_local5].isSpecialProperty = true; } else { if (_local6[0][_local5] == undefined){ printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property.")); }; }; }; for (_local5 in _local12) { if (_local10[_local5] != undefined){ _local10[_local5].modifierParameters = _local12[_local5].modifierParameters; _local10[_local5].modifierFunction = _local12[_local5].modifierFunction; }; }; if (typeof(_local7.transition) == "string"){ _local20 = _local7.transition.toLowerCase(); _local13 = _transitionList[_local20]; } else { _local13 = _local7.transition; }; if (!Boolean(_local13)){ _local13 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local6.length) { _local14 = new Object(); for (_local5 in _local10) { _local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters); }; if (_local7.useFrames == true){ _local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams); } else { _local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams); }; _local15.properties = _local14; _local15.onStart = _local7.onStart; _local15.onUpdate = _local7.onUpdate; _local15.onComplete = _local7.onComplete; _local15.onOverwrite = _local7.onOverwrite; _local15.onError = _local7.onError; _local15.onStartParams = _local7.onStartParams; _local15.onUpdateParams = _local7.onUpdateParams; _local15.onCompleteParams = _local7.onCompleteParams; _local15.onOverwriteParams = _local7.onOverwriteParams; _local15.onStartScope = _local7.onStartScope; _local15.onUpdateScope = _local7.onUpdateScope; _local15.onCompleteScope = _local7.onCompleteScope; _local15.onOverwriteScope = _local7.onOverwriteScope; _local15.onErrorScope = _local7.onErrorScope; _local15.rounded = _local7.rounded; _local15.skipUpdates = _local7.skipUpdates; removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete); _tweenList.push(_local15); if ((((_local8 == 0)) && ((_local9 == 0)))){ _local16 = (_tweenList.length - 1); updateTweenByIndex(_local16); removeTweenByIndex(_local16); }; _local3++; }; return (true); } public static function registerTransition(_arg1:String, _arg2:Function):void{ if (!_inited){ init(); }; _transitionList[_arg1] = _arg2; } public static function printError(_arg1:String):void{ trace(("## [Tweener] Error: " + _arg1)); } private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{ var _local5:uint; var _local6:Array; var _local7:uint; var _local8:uint; var _local9:uint; var _local4:Boolean; if (!Boolean(_tweenList)){ return (false); }; _local5 = 0; while (_local5 < _tweenList.length) { if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){ if (_arg3.length == 0){ _arg1(_local5); _local4 = true; } else { _local6 = new Array(); _local7 = 0; while (_local7 < _arg3.length) { if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){ _local6.push(_arg3[_local7]); }; _local7++; }; if (_local6.length > 0){ _local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties); if (_local8 == _local6.length){ _arg1(_local5); _local4 = true; } else { _local9 = splitTweens(_local5, _local6); _arg1(_local9); _local4 = true; }; }; }; }; _local5++; }; return (_local4); } public static function getTweens(_arg1:Object):Array{ var _local2:uint; var _local3:String; if (!Boolean(_tweenList)){ return ([]); }; var _local4:Array = new Array(); _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ for (_local3 in _tweenList[_local2].properties) { _local4.push(_local3); }; }; _local2++; }; return (_local4); } public static function isTweening(_arg1:Object):Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ return (true); }; _local2++; }; return (false); } public static function pauseTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj = _tweenList[_arg1]; if ((((_local2 == null)) || (_local2.isPaused))){ return (false); }; _local2.timePaused = getCurrentTweeningTime(_local2); _local2.isPaused = true; return (true); } public static function getCurrentTweeningTime(_arg1:Object):Number{ return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime); } public static function getTweenCount(_arg1:Object):Number{ var _local2:uint; if (!Boolean(_tweenList)){ return (0); }; var _local3:Number = 0; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ _local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties)); }; _local2++; }; return (_local3); } private static function stopEngine():void{ _engineExists = false; _tweenList = null; _currentTime = 0; _currentTimeFrame = 0; __tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); __tweener_controller__ = null; } public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{ var removedLocally:Boolean; var i:uint; var pName:String; var eventScope:Object; var p_scope = _arg1; var p_properties = _arg2; var p_timeStart = _arg3; var p_timeComplete = _arg4; var removed:Boolean; var tl:uint = _tweenList.length; i = 0; while (i < tl) { if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){ if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){ removedLocally = false; for (pName in _tweenList[i].properties) { if (Boolean(p_properties[pName])){ if (Boolean(_tweenList[i].onOverwrite)){ eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope; try { _tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams); } catch(e:Error) { handleError(_tweenList[i], e, "onOverwrite"); }; }; _tweenList[i].properties[pName] = undefined; delete _tweenList[i].properties[pName]; removedLocally = true; removed = true; }; }; if (removedLocally){ if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){ removeTweenByIndex(i); }; }; }; }; i = (i + 1); }; return (removed); } public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{ if (!_inited){ init(); }; var _local4:SpecialPropertySplitter = new SpecialPropertySplitter(_arg2, _arg3); _specialPropertySplitterList[_arg1] = _local4; } public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{ _tweenList[_arg1] = null; if (_arg2){ _tweenList.splice(_arg1, 1); }; return (true); } public static function resumeTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(resumeTweenByIndex, _arg1, _local3)); } public static function pauseTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(pauseTweenByIndex, _arg1, _local3)); } } }//package caurina.transitions
Section 8
//TweenListObj (caurina.transitions.TweenListObj) package caurina.transitions { public class TweenListObj { public var hasStarted:Boolean; public var onUpdate:Function; public var useFrames:Boolean; public var count:Number; public var onOverwriteParams:Array; public var timeStart:Number; public var timeComplete:Number; public var onStartParams:Array; public var onUpdateScope:Object; public var rounded:Boolean; public var onUpdateParams:Array; public var properties:Object; public var onComplete:Function; public var transitionParams:Object; public var updatesSkipped:Number; public var onStart:Function; public var onOverwriteScope:Object; public var skipUpdates:Number; public var onStartScope:Object; public var scope:Object; public var isCaller:Boolean; public var timePaused:Number; public var transition:Function; public var onCompleteParams:Array; public var onError:Function; public var timesCalled:Number; public var onErrorScope:Object; public var onOverwrite:Function; public var isPaused:Boolean; public var waitFrames:Boolean; public var onCompleteScope:Object; public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){ scope = _arg1; timeStart = _arg2; timeComplete = _arg3; useFrames = _arg4; transition = _arg5; transitionParams = _arg6; properties = new Object(); isPaused = false; timePaused = undefined; isCaller = false; updatesSkipped = 0; timesCalled = 0; skipUpdates = 0; hasStarted = false; } public function clone(_arg1:Boolean):TweenListObj{ var _local3:String; var _local2:TweenListObj = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams); _local2.properties = new Array(); for (_local3 in properties) { _local2.properties[_local3] = properties[_local3].clone(); }; _local2.skipUpdates = skipUpdates; _local2.updatesSkipped = updatesSkipped; if (!_arg1){ _local2.onStart = onStart; _local2.onUpdate = onUpdate; _local2.onComplete = onComplete; _local2.onOverwrite = onOverwrite; _local2.onError = onError; _local2.onStartParams = onStartParams; _local2.onUpdateParams = onUpdateParams; _local2.onCompleteParams = onCompleteParams; _local2.onOverwriteParams = onOverwriteParams; _local2.onStartScope = onStartScope; _local2.onUpdateScope = onUpdateScope; _local2.onCompleteScope = onCompleteScope; _local2.onOverwriteScope = onOverwriteScope; _local2.onErrorScope = onErrorScope; }; _local2.rounded = rounded; _local2.isPaused = isPaused; _local2.timePaused = timePaused; _local2.isCaller = isCaller; _local2.count = count; _local2.timesCalled = timesCalled; _local2.waitFrames = waitFrames; _local2.hasStarted = hasStarted; return (_local2); } public function toString():String{ var _local3:String; var _local1 = "\n[TweenListObj "; _local1 = (_local1 + ("scope:" + String(scope))); _local1 = (_local1 + ", properties:"); var _local2:Boolean; for (_local3 in properties) { if (!_local2){ _local1 = (_local1 + ","); }; _local1 = (_local1 + ("[name:" + properties[_local3].name)); _local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart)); _local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete)); _local1 = (_local1 + "]"); _local2 = false; }; _local1 = (_local1 + (", timeStart:" + String(timeStart))); _local1 = (_local1 + (", timeComplete:" + String(timeComplete))); _local1 = (_local1 + (", useFrames:" + String(useFrames))); _local1 = (_local1 + (", transition:" + String(transition))); _local1 = (_local1 + (", transitionParams:" + String(transitionParams))); if (skipUpdates){ _local1 = (_local1 + (", skipUpdates:" + String(skipUpdates))); }; if (updatesSkipped){ _local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped))); }; if (Boolean(onStart)){ _local1 = (_local1 + (", onStart:" + String(onStart))); }; if (Boolean(onUpdate)){ _local1 = (_local1 + (", onUpdate:" + String(onUpdate))); }; if (Boolean(onComplete)){ _local1 = (_local1 + (", onComplete:" + String(onComplete))); }; if (Boolean(onOverwrite)){ _local1 = (_local1 + (", onOverwrite:" + String(onOverwrite))); }; if (Boolean(onError)){ _local1 = (_local1 + (", onError:" + String(onError))); }; if (onStartParams){ _local1 = (_local1 + (", onStartParams:" + String(onStartParams))); }; if (onUpdateParams){ _local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams))); }; if (onCompleteParams){ _local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams))); }; if (onOverwriteParams){ _local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams))); }; if (onStartScope){ _local1 = (_local1 + (", onStartScope:" + String(onStartScope))); }; if (onUpdateScope){ _local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope))); }; if (onCompleteScope){ _local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope))); }; if (onOverwriteScope){ _local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope))); }; if (onErrorScope){ _local1 = (_local1 + (", onErrorScope:" + String(onErrorScope))); }; if (rounded){ _local1 = (_local1 + (", rounded:" + String(rounded))); }; if (isPaused){ _local1 = (_local1 + (", isPaused:" + String(isPaused))); }; if (timePaused){ _local1 = (_local1 + (", timePaused:" + String(timePaused))); }; if (isCaller){ _local1 = (_local1 + (", isCaller:" + String(isCaller))); }; if (count){ _local1 = (_local1 + (", count:" + String(count))); }; if (timesCalled){ _local1 = (_local1 + (", timesCalled:" + String(timesCalled))); }; if (waitFrames){ _local1 = (_local1 + (", waitFrames:" + String(waitFrames))); }; if (hasStarted){ _local1 = (_local1 + (", hasStarted:" + String(hasStarted))); }; _local1 = (_local1 + "]\n"); return (_local1); } public static function makePropertiesChain(_arg1:Object):Object{ var _local3:Object; var _local4:Object; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Number; var _local2:Object = _arg1.base; if (_local2){ _local3 = {}; if ((_local2 is Array)){ _local4 = []; _local8 = 0; while (_local8 < _local2.length) { _local4.push(_local2[_local8]); _local8++; }; } else { _local4 = [_local2]; }; _local4.push(_arg1); _local6 = _local4.length; _local7 = 0; while (_local7 < _local6) { if (_local4[_local7]["base"]){ _local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]); } else { _local5 = _local4[_local7]; }; _local3 = AuxFunctions.concatObjects(_local3, _local5); _local7++; }; if (_local3["base"]){ delete _local3["base"]; }; return (_local3); //unresolved jump }; return (_arg1); } } }//package caurina.transitions
Section 9
//_fb304 (classes._fb304) package classes { import flash.display.*; import flash.geom.*; import flash.net.*; public class _fb304 { private static var mycalc:Number = 57.2957795130823; private static var point:Point; private static var mycalc2:Number = 0.0174532925199433; public static var Random:_yd376 = new _yd376(); private static var rect:Rectangle; private static var mypi:Number = 6.28318530717959; public static function _rl237():Number{ return (Random._dk328(0, 359)); } public static function _ym216():Number{ if (_qi134() == true){ return (1); }; return (-1); } public static function _fl73(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Boolean{ var _local8:Number = _arg5; var _local9:Number = _arg6; if (_local8 < _arg1){ _local8 = _arg1; }; if (_local8 > (_arg1 + _arg3)){ _local8 = (_arg1 + _arg3); }; if (_local9 < _arg2){ _local9 = _arg2; }; if (_local9 > (_arg2 + _arg4)){ _local9 = (_arg2 + _arg4); }; return (((((_arg5 - _local8) * (_arg5 - _local8)) + ((_arg6 - _local9) * (_arg6 - _local9))) < (_arg7 * _arg7))); } public static function _hu54(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean{ if ((((((((_arg1 < (_arg3 + _arg5))) && ((_arg2 < (_arg4 + _arg6))))) && ((_arg1 > _arg3)))) && ((_arg2 > _arg4)))){ return (true); }; return (false); } public static function _nv54(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:BitmapData, _arg9:Boolean=true):void{ point = new Point(_arg2, _arg3); rect = new Rectangle(_arg4, _arg5, _arg6, _arg7); _arg8.copyPixels(_arg1, rect, point, null, null, _arg9); } public static function _dq109(_arg1:int, _arg2:int):int{ return (Random._wy20(_arg1, _arg2)); } public static function _yo304(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean{ if (Math.sqrt((((_arg4 - _arg1) * (_arg4 - _arg1)) + ((_arg5 - _arg2) * (_arg5 - _arg2)))) <= (_arg3 + _arg6)){ return (true); }; return (false); } public static function _py208(_arg1:Number, _arg2:Number):Number{ var _local3:Number = (Math.atan2(_arg2, _arg1) * mycalc); if (_local3 < 0){ _local3 = (_local3 + 360); }; return (_local3); } public static function _dt278(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=1, _arg5:Number=1, _arg6:Number=1, _arg7:Number=0, _arg8:Boolean=true, _arg9:Number=20, _arg10:Number=0, _arg11:Number=0, _arg12:Number=0, _arg13:Boolean=false, _arg14:Number=1):void{ var _local16:BitmapData; var _local17:BitmapData; var _local15:Number = 0; var _local18:BitmapData = _arg3; var _local19:Number = 1; var _local20:Number = 1; var _local21:Number = 1; var _local22:int; var _local23:Boolean; if (_arg8 == false){ _local20 = 0; _local21 = 0; }; _arg1[_arg2] = new BitmapData((_local18.width * _arg9), _local18.height, true, 0); _local19 = 1; var _local24:int; while (_local24 < _arg9) { if (_arg8 == false){ _local20 = (_local20 + ((1 / _arg9) * _arg14)); _local21 = (_local21 + ((1 / _arg9) * _arg14)); }; _local16 = new BitmapData(_local18.width, _local18.height, true, 0); _local17 = new BitmapData(_local18.width, _local18.height, true, 0); if (_arg13 == true){ if (_local23 == false){ _local23 = true; } else { _local23 = false; }; } else { _local23 = true; }; if (_local23 == true){ _nv54(_local18, 0, 0, 0, 0, _local18.width, _local18.height, _local16); _oc267(_local16, ((_local18.width / 2) - 0.5), ((_local18.height / 2) - 0.5), _local17, _local19, _local20, _local21, _local15, 0, 0, _arg4, _arg5, _arg6); }; _nv54(_local17, (_local24 * _local18.width), 0, 0, 0, _local18.width, _local18.height, _arg1[_arg2]); _arg4 = (_arg4 + _arg10); _arg5 = (_arg5 + _arg11); _arg6 = (_arg6 + _arg12); if (_arg4 < 0){ _arg4 = 0; }; if (_arg5 < 0){ _arg5 = 0; }; if (_arg6 < 0){ _arg6 = 0; }; if (_arg8 == true){ _local20 = (_local20 - ((1 / _arg9) * _arg14)); _local21 = (_local21 - ((1 / _arg9) * _arg14)); }; _local15 = (_local15 + _arg7); if (_local15 > 360){ _local15 = (_local15 - 360); } else { if (_local15 < 0){ _local15 = (_local15 + 360); }; }; _local24++; }; _local16 = null; _local17 = null; _local18 = null; } public static function _vw202(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=1, _arg5:Number=1, _arg6:Number=1, _arg7:Number=20, _arg8:Number=1):void{ var _local10:BitmapData; var _local11:BitmapData; var _local9:Number = 0; var _local12:BitmapData = _arg3; var _local13:Number = 0; var _local14:Number = _arg8; var _local15:Number = _arg8; var _local16:int; var _local17:Number = (360 / _arg7); var _local18:Number = (_local12.width * _arg8); var _local19:Number = (_local12.height * _arg8); _arg1[_arg2] = new BitmapData((_local18 * _arg7), _local19, true, 0); _local13 = 1; var _local20:int; while (_local20 < _arg7) { _local10 = new BitmapData(_local12.width, _local12.height, true, 0); _local11 = new BitmapData(_local18, _local19, true, 0); _nv54(_local12, 0, 0, 0, 0, _local12.width, _local12.height, _local10); _oc267(_local10, ((_local18 / 2) - 0.5), ((_local19 / 2) - 0.5), _local11, _local13, _local14, _local15, _local9, 0, 0, _arg4, _arg5, _arg6); _nv54(_local11, (_local20 * _local18), 0, 0, 0, _local18, _local19, _arg1[_arg2]); _local9 = (_local9 + _local17); _local20++; }; _local10 = null; _local11 = null; _local12 = null; } public static function _mk266(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Number):void{ var _local5:ColorTransform = new ColorTransform(); _local5.redMultiplier = _arg2; _local5.greenMultiplier = _arg3; _local5.blueMultiplier = _arg4; _arg1.transform.colorTransform = _local5; } public static function _nl22(_arg1:_vc343, _arg2:_vc343):Boolean{ var _local3:Number = _arg1.x; var _local4:Number = _arg1.y; var _local5:Number = ((_arg1.collision_width - 1) * Math.abs(_arg1.xscale)); var _local6:Number = ((_arg1.collision_height - 1) * Math.abs(_arg1.yscale)); var _local7:Number = _arg2.x; var _local8:Number = _arg2.y; var _local9:Number = ((_arg2.collision_width - 1) * Math.abs(_arg2.xscale)); var _local10:Number = ((_arg2.collision_height - 1) * Math.abs(_arg2.yscale)); if (_arg1.centerhandle == true){ _local3 = (_local3 - (_local5 / 2)); _local4 = (_local4 - (_local6 / 2)); }; if (_arg2.centerhandle == true){ _local7 = (_local7 - (_local9 / 2)); _local8 = (_local8 - (_local10 / 2)); }; if ((((_arg1.collision_enabled == true)) && ((_arg2.collision_enabled == true)))){ return (_vy379(_local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10)); }; return (false); } public static function _ti25(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:BitmapData, _arg9:Number=1, _arg10:Number=1, _arg11:Number=1, _arg12:Number=1, _arg13:String=null):void{ var _local14:BitmapData = new BitmapData(_arg4, _arg5, true, 0); var _local15:BitmapData = new BitmapData(_arg4, _arg5, true, 0); _nv54(_arg1, 0, 0, _arg2, _arg3, _arg4, _arg5, _local14); var _local16:Matrix = new Matrix(); var _local17:ColorTransform = new ColorTransform(_arg10, _arg11, _arg12, _arg9, 0, 0, 0, 0); _local16.scale(1, 1); _local16.translate(0, 0); _local15.draw(_local14, _local16, _local17, _arg13, null, true); _nv54(_local15, _arg6, _arg7, 0, 0, _arg4, _arg5, _arg8); _local14 = null; _local15 = null; } public static function _wv25(_arg1:String):void{ var _local2:URLRequest = new URLRequest(_arg1); navigateToURL(_local2, irrcrpt("_gqfsp", 5)); } public static function _pc383(_arg1:Number, _arg2:Number, _arg3:Number=100):Number{ return ((_arg1 / (_arg2 / _arg3))); } public static function _lc168(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Number=1, _arg6:Number=1, _arg7:Number=1, _arg8:String=null):void{ var _local9:Matrix = new Matrix(); var _local10:ColorTransform = new ColorTransform(1, 1, 1, _arg5, 0, 0, 0, 0); _local9.translate((-(_arg1.width) / 2), (-(_arg1.height) / 2)); _local9.scale(_arg6, _arg7); _local9.translate(_arg2, _arg3); _arg4.draw(_arg1, _local9, _local10, _arg8, null, true); } public static function _xy23(_arg1:String, _arg2:int):String{ while (_arg1.length < _arg2) { _arg1 = ("0" + _arg1); }; return (_arg1); } public static function _xa120(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Number=1, _arg6:Number=1, _arg7:Number=1, _arg8:Number=1, _arg9:Number=1, _arg10:Number=1, _arg11:String=null, _arg12:Boolean=true):void{ var _local13:Matrix = new Matrix(); var _local14:ColorTransform = new ColorTransform(_arg8, _arg9, _arg10, _arg5, 0, 0, 0, 0); _local13.scale(_arg6, _arg7); _local13.translate(_arg2, _arg3); _arg4.draw(_arg1, _local13, _local14, _arg11, null, _arg12); } public static function _cr164(_arg1:_vc343, _arg2:_vc343):Boolean{ var _local3:Number = _arg1.x; var _local4:Number = _arg1.y; var _local5:Number = ((_arg1.collision_width - 1) * Math.abs(_arg1.xscale)); var _local6:Number = ((_arg1.collision_height - 1) * Math.abs(_arg1.yscale)); if (_arg1.centerhandle == true){ _local3 = (_local3 - (_local5 / 2)); _local4 = (_local4 - (_local6 / 2)); }; return (_fl73(_local3, _local4, _local5, _local6, _arg2.x, _arg2.y, (_arg2.collision_radius * Math.abs(_arg2.xscale)))); } public static function _dd25(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:BitmapData, _arg9:Boolean=true):void{ point = new Point((_arg2 - (_arg6 / 2)), (_arg3 - (_arg7 / 2))); rect = new Rectangle(_arg4, _arg5, _arg6, _arg7); _arg8.copyPixels(_arg1, rect, point, null, null, _arg9); } public static function _ex346(_arg1:Number, _arg2:Number):Number{ return ((_arg2 * Math.sin((_arg1 * mycalc2)))); } public static function _mt100(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number, _arg5:Number, _arg6:Number=20, _arg7:Boolean=true, _arg8:Number=0, _arg9:Number=1):void{ var _local10:BitmapData; var _local11:BitmapData; var _local12:BitmapData = _arg3; var _local13:Number = _arg9; var _local14:Number = _arg9; var _local15:int; var _local16:Number = (_local12.width * _arg9); var _local17:Number = (_local12.height * _arg9); _arg1[_arg2] = new BitmapData((_local16 * _arg6), _local17, true, 0); var _local18:int; while (_local18 < _arg6) { _local10 = new BitmapData(_local12.width, _local12.height, true, 0); _local11 = new BitmapData(_local16, _local17, true, 0); _nv54(_local12, 0, 0, 0, 0, _local12.width, _local12.height, _local10); _oc267(_local10, ((_local16 / 2) - 0.5), ((_local17 / 2) - 0.5), _local11, 1, _local13, _local14, _arg8, 0, 0, 1, 1, 1, null, _arg7); _nv54(_local11, (_local18 * _local16), 0, 0, 0, _local16, _local17, _arg1[_arg2]); _local13 = (_local13 + _arg4); _local14 = (_local14 + _arg5); _local18++; }; _local10 = null; _local11 = null; _local12 = null; } public static function _uv102(_arg1:_vc343, _arg2:_vc343):Boolean{ if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1.collision_radius * _arg1.xscale) + (_arg2.collision_radius * _arg2.xscale))){ return (true); }; return (false); } public static function _qt263(_arg1:Number, _arg2:Number):Number{ return ((_arg2 * Math.cos((_arg1 * mycalc2)))); } public static function _kp380(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (Math.sqrt((((_arg3 - _arg1) * (_arg3 - _arg1)) + ((_arg4 - _arg2) * (_arg4 - _arg2))))); } public static function _xk266(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ var _local5:Number = (Math.atan2((_arg4 - _arg2), (_arg3 - _arg1)) * mycalc); if (_local5 < 0){ _local5 = (_local5 + 360); }; return (_local5); } public static function _ma41(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=2, _arg5:Number=20):void{ var _local6:BitmapData; var _local7:BitmapData; var _local8:BitmapData = _arg3; var _local9:int; var _local10:Number = _arg4; var _local11:Number = ((_local10 - 1) / _arg5); _arg1[_arg2] = new BitmapData((_local8.width * _arg5), _local8.height, true, 0); var _local12:int; while (_local12 < _arg5) { _local6 = new BitmapData(_local8.width, _local8.height, true, 0); _local7 = new BitmapData(_local8.width, _local8.height, true, 0); _nv54(_local8, 0, 0, 0, 0, _local8.width, _local8.height, _local6); _xa120(_local6, 0, 0, _local7, 1, 1, 1, _local10, _local10, _local10, null, false); _nv54(_local7, (_local12 * _local8.width), 0, 0, 0, _local8.width, _local8.height, _arg1[_arg2]); _local10 = (_local10 - _local11); if (_local10 < 1){ _local10 = 1; }; _local12++; }; _local6 = null; _local7 = null; _local8 = null; } public static function _pj380(_arg1:Number, _arg2:Number):Number{ return (Random._dk328(_arg1, _arg2)); } public static function _vy379(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):Boolean{ if ((((_arg1 > (_arg5 + _arg7))) || (((_arg1 + _arg3) < _arg5)))){ return (false); }; if ((((_arg2 > (_arg6 + _arg8))) || (((_arg2 + _arg4) < _arg6)))){ return (false); }; return (true); } public static function _fj166(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=1, _arg5:Number=1, _arg6:Number=1, _arg7:Number=20, _arg8:Number=1, _arg9:Boolean=true, _arg10:Number=0):void{ var _local11:BitmapData; var _local12:BitmapData; var _local13:BitmapData = _arg3; var _local14:Number = 0; var _local15:Number = 1; var _local16:Number = 1; var _local17:int; _arg1[_arg2] = new BitmapData((_local13.width * _arg7), _local13.height, true, 0); _local14 = 1; if (_arg9 == false){ _local14 = 0; }; var _local18:int; while (_local18 < _arg7) { _local11 = new BitmapData(_local13.width, _local13.height, true, 0); _local12 = new BitmapData(_local13.width, _local13.height, true, 0); _nv54(_local13, 0, 0, 0, 0, _local13.width, _local13.height, _local11); _oc267(_local11, ((_local13.width / 2) - 0.5), ((_local13.height / 2) - 0.5), _local12, _local14, _local15, _local16, _arg10, 0, 0, _arg4, _arg5, _arg6, null, true); _nv54(_local12, (_local18 * _local13.width), 0, 0, 0, _local13.width, _local13.height, _arg1[_arg2]); if (_arg9 == true){ _local14 = (_local14 - ((1 / _arg7) * _arg8)); } else { _local14 = (_local14 + ((1 / _arg7) * _arg8)); }; _local18++; }; _local11 = null; _local12 = null; _local13 = null; } public static function _he178(_arg1:_vc343, _arg2:_vc343):Boolean{ if ((((_arg1.collision_enabled == true)) && ((_arg2.collision_enabled == true)))){ if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1.collision_radius * _arg1.xscale) + (_arg2.collision_radius * _arg2.xscale))){ return (true); }; return (false); //unresolved jump }; return (false); } public static function _nd13(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:BitmapData, _arg5:Number=20):void{ var _local6:BitmapData; var _local7:BitmapData; var _local8:BitmapData = _arg3; var _local9:int; var _local10:Number = 0; _local10 = 1; _arg1[_arg2] = new BitmapData((_local8.width * _arg5), _local8.height, true, 0); var _local11:int; while (_local11 < _arg5) { _local6 = new BitmapData(_local8.width, _local8.height, true, 0); _local7 = new BitmapData(_local8.width, _local8.height, true, 0); _nv54(_local8, 0, 0, 0, 0, _local8.width, _local8.height, _local6); _nv54(_local6, 0, 0, 0, 0, _local6.width, _local6.height, _local7); _xa120(_arg4, 0, 0, _local7, _local10, 1, 1, 1, 1, 1, null, false); _nv54(_local7, (_local11 * _local8.width), 0, 0, 0, _local8.width, _local8.height, _arg1[_arg2]); _local10 = (_local10 - (1 / _arg5)); if (_local10 < 0){ _local10 = 0; }; _local11++; }; _local6 = null; _local7 = null; _local8 = null; } public static function _oc267(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Number=1, _arg6:Number=1, _arg7:Number=1, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Number=1, _arg12:Number=1, _arg13:Number=1, _arg14:String=null, _arg15:Boolean=true):void{ var _local16:Number = 0; if (_arg8 != 0){ if (_arg8 > 180){ _local16 = (-360 + _arg8); } else { _local16 = _arg8; }; _local16 = ((mypi * _local16) / 360); }; var _local17:Number = _arg1.width; var _local18:Number = _arg1.height; var _local19:ColorTransform = new ColorTransform(_arg11, _arg12, _arg13, _arg5, 0, 0, 0, 0); var _local20:Matrix = new Matrix(); var _local21:Number = (_local17 + ((_arg10 * _local17) / 2)); var _local22:Number = -((_local18 / 2)); _local22 = (_local22 - ((_arg9 * _local18) / 1)); _local20.translate((-(_local21) / 2), _local22); _local20.b = _arg9; _local20.c = _arg10; _local20.scale(_arg6, _arg7); _local20.rotate(_local16); _local20.translate(_arg2, _arg3); _arg4.draw(_arg1, _local20, _local19, _arg14, null, _arg15); } public static function _wj23(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=1, _arg5:Number=1, _arg6:Number=1, _arg7:Number=0, _arg8:Boolean=true, _arg9:Number=20, _arg10:Number=0, _arg11:Number=0, _arg12:Number=0, _arg13:Boolean=false, _arg14:Number=1, _arg15:Number=0):void{ var _local17:BitmapData; var _local18:BitmapData; var _local16:Number = _arg15; var _local19:BitmapData = _arg3; var _local20:Number = 0; var _local21:Number = 1; var _local22:Number = 1; var _local23:int; var _local24:Boolean; if (_arg8 == false){ _local21 = 0; _local22 = 0; }; _arg1[_arg2] = new BitmapData((_local19.width * _arg9), _local19.height, true, 0); _local20 = 1; var _local25:int; while (_local25 < _arg9) { if (_arg8 == false){ _local21 = (_local21 + ((1 / _arg9) * _arg14)); _local22 = (_local22 + ((1 / _arg9) * _arg14)); }; _local17 = new BitmapData(_local19.width, _local19.height, true, 0); _local18 = new BitmapData(_local19.width, _local19.height, true, 0); if (_arg13 == true){ if (_local24 == false){ _local24 = true; } else { _local24 = false; }; } else { _local24 = true; }; if (_local24 == true){ _nv54(_local19, 0, 0, 0, 0, _local19.width, _local19.height, _local17); _oc267(_local17, ((_local19.width / 2) - 0.5), ((_local19.height / 2) - 0.5), _local18, _local20, _local21, _local22, _local16, 0, 0, _arg4, _arg5, _arg6); }; _nv54(_local18, (_local25 * _local19.width), 0, 0, 0, _local19.width, _local19.height, _arg1[_arg2]); _local20 = (_local20 - (1 / _arg9)); _arg4 = (_arg4 + _arg10); _arg5 = (_arg5 + _arg11); _arg6 = (_arg6 + _arg12); if (_arg4 < 0){ _arg4 = 0; }; if (_arg5 < 0){ _arg5 = 0; }; if (_arg6 < 0){ _arg6 = 0; }; if (_arg8 == true){ _local21 = (_local21 - ((1 / _arg9) * _arg14)); _local22 = (_local22 - ((1 / _arg9) * _arg14)); }; _local16 = (_local16 + _arg7); if (_local16 > 360){ _local16 = (_local16 - 360); } else { if (_local16 < 0){ _local16 = (_local16 + 360); }; }; _local25++; }; _local17 = null; _local18 = null; _local19 = null; } public static function _qi134(_arg1:int=50):Boolean{ if (_arg1 > Random._wy20(0, 100)){ return (true); }; return (false); } public static function _sc292(_arg1:Number, _arg2:Number):Number{ _arg1 = (_arg1 + _arg2); if (_arg1 > 360){ _arg1 = (_arg1 - 360); }; if (_arg1 < 0){ _arg1 = (_arg1 + 360); }; return (_arg1); } public static function _pd364(_arg1:Object, _arg2:BitmapData, _arg3:Number=1, _arg4:Number=1, _arg5:Number=1, _arg6:Number=20):void{ var _local8:BitmapData; var _local9:BitmapData; var _local7:Number = 0; var _local10:BitmapData = _arg2; var _local11:Number = 0; var _local12:Number = 1; var _local13:Number = 1; var _local14:int; var _local15:Number = (360 / _arg6); _local11 = 1; var _local16:int; while (_local16 < _arg6) { _arg1[_local16] = new BitmapData(_local10.width, _local10.height, true, 0); _local8 = new BitmapData(_local10.width, _local10.height, true, 0); _local9 = new BitmapData(_local10.width, _local10.height, true, 0); _nv54(_local10, 0, 0, 0, 0, _local10.width, _local10.height, _local8); _oc267(_local8, ((_local10.width / 2) - 0.5), ((_local10.height / 2) - 0.5), _local9, _local11, _local12, _local13, _local7, 0, 0, _arg3, _arg4, _arg5); _nv54(_local9, 0, 0, 0, 0, _local10.width, _local10.height, _arg1[_local16]); _local7 = (_local7 + _local15); _local16++; }; _local8 = null; _local9 = null; _local10 = null; } public static function _gg44(_arg1:_vc343, _arg2:_vc343):Boolean{ var _local3:Boolean; if ((((_arg1.collision_enabled == true)) && ((_arg2.collision_enabled == true)))){ if (_arg1.collision_type == 0){ if (_arg2.collision_type == 0){ _local3 = _nl22(_arg1, _arg2); } else { _local3 = _cr164(_arg1, _arg2); }; } else { if (_arg2.collision_type == 1){ _local3 = _he178(_arg1, _arg2); } else { _local3 = _cr164(_arg2, _arg1); }; }; }; return (_local3); } } }//package classes
Section 10
//_ij74 (classes._ij74) package classes { import flash.display.*; import flash.geom.*; public class _ij74 { private var CHAR_RECTS:Object; private var i:int; private var NEW_LINE:Number; private var DEFAULT_CHAR:Number; private var CSheet:Class; private var chars:Bitmap; public static const CENTER:int = 2; public static const LEFT:int = 0; public static const RIGHT:int = 1; public function _ij74():void{ CSheet = _ij74_CSheet; chars = new CSheet(); DEFAULT_CHAR = "?".charCodeAt(0); NEW_LINE = irrcrpt("\n", 3).charCodeAt(0); CHAR_RECTS = new Object(); super(); i = 32; while (i < 161) { CHAR_RECTS[i] = new Rectangle((((i - 32) % 16) * 16), (int(((i - 32) / 16)) * 16), 9, 16); i++; }; } public function draw(_arg1:BitmapData, _arg2:String, _arg3:int=0, _arg4:int=0, _arg5:int=0):void{ var _local7:String; var _local6:Array = _arg2.split(irrcrpt("\n", 2)); for each (_local7 in _local6) { if (_arg5 == LEFT){ _fx56(_arg1, _local7, _arg3, _arg4); } else { if (_arg5 == RIGHT){ _fx56(_arg1, _local7, (_arg3 - (_local7.length * 8)), _arg4); } else { _fx56(_arg1, _local7, (_arg3 - ((_local7.length * 8) / 2)), _arg4); }; }; _arg4 = (_arg4 + 13); }; } private function _fx56(_arg1:BitmapData, _arg2:String, _arg3:int, _arg4:int):void{ var _local8:Number; var _local5:Point = new Point(_arg3, _arg4); var _local6:int = _arg2.length; var _local7:int; while (_local7 < _local6) { _local8 = _arg2.charCodeAt(_local7); if ((((_local8 > 160)) || ((_local8 < 32)))){ _local8 = DEFAULT_CHAR; }; _arg1.copyPixels(chars.bitmapData, CHAR_RECTS[_local8], _local5); _local5.x = (_local5.x + 8); _local7++; }; } } }//package classes
Section 11
//_ij74_CSheet (classes._ij74_CSheet) package classes { import mx.core.*; public class _ij74_CSheet extends BitmapAsset { } }//package classes
Section 12
//_io323 (classes._io323) package classes { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.geom.*; import flash.ui.*; public class _io323 extends Sprite { private static var KeyClickedUp:Array = []; public static var Key_Clicked:int; private static var KeyClicked:Array = []; public static var MouseClicked:Boolean; private static var KeyClickedDown:Array = []; private static var KeyIsDown:Array = []; public static var MouseDown:Boolean; public static function _uy18(_arg1:int):void{ KeyIsDown[_arg1] = false; KeyClickedDown[_arg1] = false; KeyClicked[_arg1] = false; Key_Clicked = 0; } private static function _ra343(_arg1:MouseEvent):void{ MouseDown = true; MouseClicked = true; } public static function Init(_arg1:Stage):void{ _arg1.addEventListener(MouseEvent.MOUSE_DOWN, _ra343); _arg1.addEventListener(MouseEvent.MOUSE_UP, _tr43); _arg1.addEventListener(KeyboardEvent.KEY_DOWN, _mx273); _arg1.addEventListener(KeyboardEvent.KEY_UP, _xt373); } private static function _mx273(_arg1:KeyboardEvent):void{ KeyIsDown[_arg1.keyCode] = true; KeyClickedDown[_arg1.keyCode] = true; KeyClicked[_arg1.keyCode] = false; trace((irrcrpt("Lfz: ", 1) + _arg1.keyCode)); } private static function _xt373(_arg1:KeyboardEvent):void{ KeyIsDown[_arg1.keyCode] = false; KeyClickedDown[_arg1.keyCode] = false; KeyClicked[_arg1.keyCode] = true; Key_Clicked = _arg1.keyCode; } private static function _tr43(_arg1:MouseEvent):void{ MouseDown = false; MouseClicked = false; } public static function _qm68():void{ var _local1:int; _local1 = 0; while (_local1 < 0x0100) { KeyIsDown[_local1] = false; KeyClicked[_local1] = false; KeyClickedDown[_local1] = false; KeyClickedUp[_local1] = false; _local1++; }; Key_Clicked = 0; } } }//package classes
Section 13
//_is159 (classes._is159) package classes { import flash.media.*; import flash.utils.*; public class _is159 { private static var Sounds:Dictionary; private static var PlayEnabled:Boolean; public static function _bo261(_arg1:String, _arg2:Number):void{ var _local3:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<PJHPxvlf> Vhw Sdq: ", 3) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4)))); }; _local3 = Sounds[_arg1]; _local3._bo261(_arg2); } public static function _lx116(_arg1:String):Number{ var _local2:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<QKIQywmg> Kix Zspyqi: ", 4) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3)))); }; _local2 = Sounds[_arg1]; return (_local2._lx116()); } public static function _ao40(_arg1:String, _arg2:Number):void{ var _local3:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<RLJRzxnh> Xjy Atqzrj: ", 5) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5)))); }; _local3 = Sounds[_arg1]; _local3._ao40(_arg2); } public static function _ww170(_arg1:String):void{ var _local2:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<OIGOwuke> Rnca Uqwpf: ", 2) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5)))); }; _local2 = Sounds[_arg1]; if (PlayEnabled == true){ _local2._ww170(); }; } public static function Init():void{ Sounds = new Dictionary(); PlayEnabled = true; } public static function _ox329():Boolean{ return (PlayEnabled); } public static function _uq383(_arg1:String):void{ var _local2:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<OIGOwuke> Uvqr Uqwpf: ", 2) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2)))); }; _local2 = Sounds[_arg1]; _local2._uq383(); } public static function _qp256(_arg1:String, _arg2:Sound, _arg3:Number=0, _arg4:int=100000):void{ var _local5:_sk47 = new _sk47(); _local5._qp256(_arg2, _arg3, _arg4); Sounds[_arg1] = _local5; } public static function _rh79(_arg1:String):Number{ var _local2:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<RLJRzxnh> Ljy Ufs: ", 5) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3)))); }; _local2 = Sounds[_arg1]; return (_local2._rh79()); } public static function _qg66(_arg1:Boolean):void{ PlayEnabled = _arg1; } public static function _xq274():void{ var _local1:_sk47; for each (_local1 in Sounds) { _local1._uq383(); }; } } }//package classes
Section 14
//_ja136 (classes._ja136) package classes { import flash.events.*; import flash.utils.*; public class _ja136 { private static const delta_array_size:int = 20; private static var delta_count:int; public static var delta_value:Number = 0; private static var delta_LastTime:Number = 0; private static var delta_array:Array = [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30]; private static var delta_average:Number = 0; public static var delta_throttle:Number = 20; public static function _aq239():Number{ var _local1:uint = getTimer(); var _local2:uint = (_local1 - delta_LastTime); delta_LastTime = getTimer(); delta_count++; if (delta_count == delta_array_size){ delta_count = 0; }; delta_array[delta_count] = _local2; delta_average = 0; var _local3:int; while (_local3 < delta_array_size) { delta_average = (delta_average + delta_array[_local3]); _local3++; }; delta_value = (delta_average / delta_array_size); if (delta_value > delta_throttle){ delta_value = delta_throttle; }; return (delta_value); } public static function _cp223():Number{ var _local1:uint = getTimer(); var _local2:uint = (_local1 - delta_LastTime); delta_LastTime = getTimer(); if (_local2 > delta_throttle){ _local2 = delta_throttle; }; return (_local2); } public static function _kl182():void{ delta_LastTime = getTimer(); delta_array = [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30]; delta_average = 30; delta_count = -1; } public static function _ts325(_arg1:Number=40):void{ delta_throttle = _arg1; } } }//package classes
Section 15
//_lq301 (classes._lq301) package classes { import flash.display.*; public class _lq301 { public var user_spacer:Number;// = 0 public var user_counter:Number;// = 0 public var Sprites:Array; public var user_state:int;// = 0 public function _lq301(){ Sprites = []; super(); } public function _bs283(_arg1:int=0):void{ var _local2:int; var _local3:Object; var _local4:int = (Sprites.length - 1); _local2 = _local4; while (_local2 >= 0) { _local3 = Sprites[_local2]; if (_arg1 > 0){ if (_local3.id1 == _arg1){ Sprites.splice(_local2, 1); _local3._qr348(); _local3 = null; }; } else { Sprites.splice(_local2, 1); _local3._qr348(); _local3 = null; }; _local2--; }; } public function _ms78(_arg1:Number=0.001):void{ var _local2:_st351; for each (_local2 in Sprites) { _local2._ao207(-(_arg1), 1); }; } public function _sb188(_arg1:Number):void{ var _local4:_st351; var _local2:int = (Sprites.length - 1); var _local3:int = _local2; while (_local3 >= 0) { _local4 = Sprites[_local3]; _local4._cl16(_arg1); if (_local4.timetodie == true){ _local4._qr348(); Sprites.splice(_local3, 1); _local4 = null; }; _local3--; }; } public function _cf141(_arg1:Sprite, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:int, _arg7:Boolean=true, _arg8:Boolean=true, _arg9:uint=0):_st351{ var _local10:_st351; _local10 = new _st351(); _local10.Init(_arg1, _arg6, _arg2, _arg3, _arg7, _arg9, _arg8); _local10._xy77(_arg4, _arg5); Sprites[Sprites.length] = _local10; return (_local10); } public function _hu56(_arg1:_st351):void{ Sprites[Sprites.length] = _arg1; } public function _oa328(_arg1:Object, _arg2:Number):void{ var _local5:_st351; var _local3:int = (Sprites.length - 1); var _local4:int = _local3; while (_local4 >= 0) { _local5 = Sprites[_local4]; _local5._cl16(_arg2); _arg1(_local5); if (_local5.timetodie == true){ _local5._qr348(); Sprites.splice(_local4, 1); _local5 = null; }; _local4--; }; } public function _bk22(_arg1:int):Boolean{ var _local2:_st351; var _local3:Boolean; for each (_local2 in Sprites) { if (_local2.id1 == _arg1){ _local3 = true; }; }; return (_local3); } public function _le16(_arg1:int=0):_st351{ var _local2:int; var _local3:_st351; var _local4:_st351; var _local5:int = (Sprites.length - 1); _local2 = _local5; while (_local2 >= 0) { _local3 = Sprites[_local2]; if (_local3.id == _arg1){ _local4 = _local3; break; }; _local2--; }; return (_local4); } public function _se17():int{ return (Sprites.length); } public function _fe192(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Boolean=true, _arg7:Boolean=true, _arg8:uint=0):_st351{ var _local9:_st351; _local9 = new _st351(); _local9.Init(_arg1, _arg5, _arg2.width, _arg2.height, _arg6, _arg8, _arg7); _local9._xy77(_arg3, _arg4); _local9._dx126(_arg2); Sprites[Sprites.length] = _local9; return (_local9); } public function _cx352(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Function, _arg7:Function, _arg8:Function, _arg9:uint=0):_st351{ var _local10:_st351; _local10 = new _st351(); _local10._ap105(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9); Sprites[Sprites.length] = _local10; return (_local10); } public function _la343(_arg1:int=0):_st351{ var _local2:int; var _local3:_st351; var _local4:_st351; var _local5:int = (Sprites.length - 1); _local2 = _local5; while (_local2 >= 0) { _local3 = Sprites[_local2]; if (_local3.id1 == _arg1){ _local4 = _local3; break; }; _local2--; }; return (_local4); } public function _nt159():void{ var _local1:_st351; for each (_local1 in Sprites) { _local1.timetodie = true; }; } } }//package classes
Section 16
//_mm133 (classes._mm133) package classes { import caurina.transitions.*; import flash.display.*; import flash.geom.*; import flash.filters.*; public class _mm133 { public var width:int; public var Parent:Sprite; public var obrightness:Number;// = 0 private var MyStage:Sprite; public var filters_array:Array; public var oblur:Number;// = 0 public var blurfilter:BlurFilter; public var Buffer:BitmapData; public var height:int; public var Sprites:_lq301; public var bitmap:Bitmap; public var clscolor:uint; public var oscale:Number;// = 0 public function _dx213(_arg1:Number=1, _arg2:Function=null):void{ Parent.alpha = 0; Parent.visible = true; Parent.mouseEnabled = true; Parent.mouseChildren = true; if (_arg2 != null){ Tweener.addTween(Parent, {alpha:1, time:_arg1, transition:irrcrpt("qnsjfw", 5), onComplete:_arg2}); } else { Tweener.addTween(Parent, {alpha:1, time:_arg1, transition:irrcrpt("mjofbs", 1)}); }; } public function _gn86(_arg1:Boolean):void{ bitmap.cacheAsBitmap = _arg1; } public function get brightness():Number{ return (obrightness); } public function _dt15(_arg1:Boolean):void{ Parent.mouseEnabled = _arg1; Parent.mouseChildren = _arg1; } public function _ib374(_arg1:Number=0.5, _arg2:Number=0, _arg3:Boolean=true):void{ Parent.visible = _arg3; Parent.mouseEnabled = false; Parent.mouseChildren = false; Tweener.addTween(this, {brightness:_arg1, time:0.5, transition:irrcrpt("olqhdu", 3)}); Tweener.addTween(this, {_lb243:_arg2, time:0.5, transition:irrcrpt("pmriev", 4)}); } public function get scale():Number{ return (oscale); } public function set scale(_arg1:Number):void{ oscale = _arg1; Parent.scaleX = oscale; Parent.scaleY = oscale; } public function _kp70(_arg1:Sprite, _arg2:Boolean=true):void{ MyStage = _arg1; Parent = new Sprite(); MyStage.addChild(Parent); Parent.x = 0; Parent.y = 0; width = 1; height = 1; obrightness = 1; oscale = 1; blurfilter = new BlurFilter(0, 0, 1); filters_array = new Array(); filters_array.push(blurfilter); Parent.filters = filters_array; oblur = 0; blurfilter.blurX = 0; blurfilter.blurY = 0; blurfilter.quality = 0; Parent.filters = filters_array; Sprites = new _lq301(); } public function set brightness(_arg1:Number):void{ obrightness = _arg1; _fb304._mk266(Parent, obrightness, obrightness, obrightness); } public function _tk229():void{ Buffer.unlock(); } public function _my290(_arg1:Boolean):void{ Parent.visible = _arg1; } public function _lv216(_arg1:Number=1, _arg2:Number=0, _arg3:Boolean=true):void{ Parent.visible = _arg3; Parent.mouseEnabled = true; Parent.mouseChildren = true; Tweener.addTween(this, {brightness:1, time:0.5, transition:irrcrpt("mjofbs", 1)}); Tweener.addTween(this, {_lb243:0, time:0.5, transition:irrcrpt("olqhdu", 3)}); } public function _sd205(_arg1:Number, _arg2:Number):void{ brightness = _arg1; Tweener.addTween(this, {brightness:1, time:_arg2, transition:irrcrpt("mjofbs", 1)}); } public function _bt261():void{ Buffer.fillRect(new Rectangle(0, 0, width, height), clscolor); } public function _xy77(_arg1:Number, _arg2:Number):void{ Parent.x = _arg1; Parent.y = _arg2; } public function Init(_arg1:Sprite, _arg2:int, _arg3:int, _arg4:Boolean=true, _arg5:uint=4278190080, _arg6:Boolean=true):void{ MyStage = _arg1; clscolor = _arg5; Buffer = new BitmapData(_arg2, _arg3, _arg4, _arg5); bitmap = new Bitmap(Buffer); bitmap.smoothing = _arg6; Parent = new Sprite(); MyStage.addChild(Parent); bitmap.x = (-(bitmap.width) / 2); bitmap.y = (-(bitmap.height) / 2); Parent.addChild(bitmap); Parent.x = (Buffer.width / 2); Parent.y = (Buffer.height / 2); width = _arg2; height = _arg3; obrightness = 1; oscale = 1; blurfilter = new BlurFilter(0, 0, 1); filters_array = new Array(); filters_array.push(blurfilter); Parent.filters = filters_array; oblur = 0; blurfilter.blurX = 0; blurfilter.blurY = 0; blurfilter.quality = 0; Parent.filters = filters_array; Sprites = new _lq301(); } public function _dx126(_arg1:BitmapData):void{ Buffer.copyPixels(_arg1, new Rectangle(0, 0, width, height), new Point(0, 0)); } public function _fi156(_arg1:Number=1, _arg2:Function=null):void{ Parent.mouseEnabled = false; Parent.mouseChildren = false; if (_arg2 != null){ Tweener.addTween(Parent, {alpha:0, time:_arg1, transition:irrcrpt("pmriev", 4), onComplete:_arg2}); } else { Tweener.addTween(Parent, {alpha:0, time:_arg1, transition:irrcrpt("qnsjfw", 5)}); }; } public function set _lb243(_arg1:Number):void{ oblur = _arg1; blurfilter.blurX = _arg1; blurfilter.blurY = _arg1; if (_arg1 == 0){ blurfilter.quality = 0; Parent.filters = null; } else { blurfilter.quality = 2; }; Parent.filters = filters_array; } public function get _lb243():Number{ return (oblur); } public function _qr348():void{ Sprites._bs283(); MyStage.removeChild(Parent); Parent.removeChild(bitmap); if (Buffer != null){ Buffer = null; }; if (bitmap != null){ bitmap = null; }; Parent = null; blurfilter = null; filters_array = null; } public function _px227():void{ Buffer.lock(); } } }//package classes
Section 17
//_ny137 (classes._ny137) package classes { import flash.utils.*; public class _ny137 { private static var fps_time:int; private static var fps_value:int; private static var fps_counter:int; public static function _wt238():void{ fps_time = getTimer(); fps_counter = 0; fps_value = 0; } public static function _du241():int{ fps_counter++; if ((getTimer() - fps_time) > 1000){ fps_time = getTimer(); fps_value = fps_counter; fps_counter = 0; }; return (fps_value); } } }//package classes
Section 18
//_pj354 (classes._pj354) package classes { public class _pj354 { public var FuncArray:Array; public function _pj354(){ FuncArray = []; super(); } public function _pa90(_arg1:Function, _arg2:Number, _arg3:Boolean=false):void{ var _local4:_yd186; _local4 = new _yd186(); _local4.CallFunction = _arg1; _local4.Delay = _arg2; _local4.DelayBuffer = _arg2; _local4.Loop = _arg3; FuncArray[FuncArray.length] = _local4; } public function _bx295():void{ var _local3:_yd186; var _local1:int = (FuncArray.length - 1); var _local2:int = _local1; while (_local2 >= 0) { _local3 = FuncArray[_local2]; _local3.CallFunction = null; FuncArray.splice(_local2, 1); _local3 = null; _local2--; }; } public function _cl16(_arg1:Number):void{ var _local4:_yd186; var _local2:int = (FuncArray.length - 1); var _local3:int = _local2; while (_local3 >= 0) { _local4 = FuncArray[_local3]; FuncArray[_local3].Delay = (_local4.Delay - _arg1); if (_local4.Delay < 1){ _local4.CallFunction(); if (_local4.Loop == false){ _local4.CallFunction = null; FuncArray.splice(_local3, 1); _local4 = null; } else { _local4.Delay = _local4.DelayBuffer; }; }; _local3--; }; } } }//package classes
Section 19
//_pp165 (classes._pp165) package classes { import flash.media.*; import flash.utils.*; public class _pp165 { private static var Sounds:Dictionary; private static var PlayEnabled:Boolean; public static function _bo261(_arg1:String, _arg2:Number):void{ var _local3:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<NHFTpvoet> Tfu Qbo: ", 1) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3)))); }; _local3 = Sounds[_arg1]; _local3._bo261(_arg2); } public static function _lx116(_arg1:String):Number{ var _local2:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<NHFTpvoet> Hfu Wpmvnf: ", 1) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4)))); }; _local2 = Sounds[_arg1]; return (_local2._lx116()); } public static function _hb42():void{ var _local1:_sk47; for each (_local1 in Sounds) { _local1.s_cued = false; }; } public static function _ao40(_arg1:String, _arg2:Number):void{ var _local3:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<RLJXtzsix> Xjy Atqzrj: ", 5) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5)))); }; _local3 = Sounds[_arg1]; _local3._ao40(_arg2); } public static function _ww170(_arg1:String):void{ var _local2:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<NHFTpvoet> Qmbz Tpvoe: ", 1) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2)))); }; _local2 = Sounds[_arg1]; if (PlayEnabled == true){ _local2._ww170(); }; } public static function _se83(_arg1:String):void{ var _local2:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<RLJXtzsix> Hzj: ", 5) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5)))); }; _local2 = Sounds[_arg1]; _local2.s_cued = true; } public static function Init():void{ Sounds = new Dictionary(); PlayEnabled = true; } public static function _ox329():Boolean{ return (PlayEnabled); } public static function _uq383(_arg1:String):void{ var _local2:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<PJHVrxqgv> Vwrs Vrxqg: ", 3) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5)))); }; _local2 = Sounds[_arg1]; _local2._uq383(); } public static function _qp256(_arg1:String, _arg2:Sound, _arg3:Number=0, _arg4:int=0):void{ var _local5:_sk47 = new _sk47(); _local5._qp256(_arg2, _arg3, _arg4); Sounds[_arg1] = _local5; } public static function _rh79(_arg1:String):Number{ var _local2:_sk47; if (Sounds[_arg1] == null){ throw (new Error(((irrcrpt("<NHFTpvoet> Hfu Qbo: ", 1) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4)))); }; _local2 = Sounds[_arg1]; return (_local2._rh79()); } public static function _mo93():void{ var _local1:_sk47; for each (_local1 in Sounds) { if (_local1.s_cued == true){ _local1.s_cued = false; if (PlayEnabled == true){ _local1._ww170(); }; }; }; } public static function _qg66(_arg1:Boolean):void{ PlayEnabled = _arg1; } public static function _xq274():void{ var _local1:_sk47; for each (_local1 in Sounds) { _local1._uq383(); }; _hb42(); } } }//package classes
Section 20
//_pw325 (classes._pw325) package classes { import flash.display.*; import flash.utils.*; import flash.geom.*; import flash.ui.*; public class _pw325 { private var FontRects:Object; private var FontSrcBmp:BitmapData; public var FontSpacing:Number;// = 0 private var FontBmps:Object; public function _pw325(){ FontRects = new Object(); FontBmps = new Object(); super(); } public function _yi387(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number=1, _arg6:Number=1, _arg7:Number=1, _arg8:Number=1, _arg9:Number=1, _arg10:Boolean=true, _arg11:Number=1):void{ var _local12:int = _arg2.length; var _local13:Number = 0; if (_arg10 == true){ _arg3 = (_arg3 - (_df316(_arg2, _arg5) / 2)); }; var _local14:int; while (_local14 < _local12) { _local13 = _arg2.charCodeAt(_local14); _fb304._xa120(FontBmps[_local13], _arg3, _arg4, _arg1, _arg11, _arg5, _arg6, _arg7, _arg8, _arg9); _arg3 = ((_arg3 + (FontRects[_local13].width * _arg5)) + (FontSpacing * _arg5)); _local14++; }; } public function _xn114(_arg1:int, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ FontRects[_arg1] = new Rectangle(_arg2, _arg3, _arg4, _arg5); FontBmps[_arg1] = new BitmapData(FontRects[_arg1].width, FontRects[_arg1].height, true, 0); _fb304._nv54(FontSrcBmp, 0, 0, FontRects[_arg1].x, FontRects[_arg1].y, FontRects[_arg1].width, FontRects[_arg1].height, FontBmps[_arg1]); } public function _sv173(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number=1, _arg8:Number=1, _arg9:Number=1, _arg10:Number=1, _arg11:Number=1, _arg12:Boolean=true, _arg13:Number=1):void{ var _local16:int; var _local17:Number; var _local14:int = _arg2.length; var _local15:Number = 0; if (_arg12 == true){ _arg3 = (_arg3 - (_df316(_arg2, _arg7) / 2)); }; _local17 = _arg3; _local16 = 0; while (_local16 < _local14) { _local15 = _arg2.charCodeAt(_local16); _fb304._xa120(FontBmps[_local15], (_arg3 + _arg5), (_arg4 + _arg6), _arg1, _arg13, _arg7, _arg8, 0.1, 0.1, 0.1); _arg3 = ((_arg3 + (FontRects[_local15].width * _arg7)) + (FontSpacing * _arg7)); _local16++; }; _arg3 = _local17; _local16 = 0; while (_local16 < _local14) { _local15 = _arg2.charCodeAt(_local16); _fb304._xa120(FontBmps[_local15], _arg3, _arg4, _arg1, _arg13, _arg7, _arg8, _arg9, _arg10, _arg11); _arg3 = ((_arg3 + (FontRects[_local15].width * _arg7)) + FontSpacing); _local16++; }; } public function _oj153(_arg1:BitmapData, _arg2:Number=1):void{ FontSrcBmp = _arg1; FontSpacing = _arg2; } public function _df316(_arg1:String, _arg2:Number=1):Number{ var _local3:int = _arg1.length; var _local4:Number = 0; var _local5:int; while (_local5 < _local3) { _local4 = (_local4 + ((FontRects[_arg1.charCodeAt(_local5)].width * _arg2) + (FontSpacing * _arg2))); _local5++; }; return ((_local4 - (FontSpacing * _arg2))); } public function _mb388(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Boolean=true, _arg6:Boolean=true):void{ var _local7:int = _arg2.length; var _local8:Number = 0; var _local9:Point = new Point(); if (_arg5 == true){ _arg3 = (_arg3 - (_df316(_arg2, FontSpacing) / 2)); }; _local9.y = _arg4; var _local10:int; while (_local10 < _local7) { _local8 = _arg2.charCodeAt(_local10); _local9.x = _arg3; _arg1.copyPixels(FontSrcBmp, FontRects[_local8], _local9, null, null, _arg6); _arg3 = (_arg3 + (FontRects[_local8].width + FontSpacing)); _local10++; }; } } }//package classes
Section 21
//_sk47 (classes._sk47) package classes { import flash.media.*; public class _sk47 { private var s_soundchannel:SoundChannel; private var s_sound:Sound; private var s_soundtransform:SoundTransform; private var s_starttime:Number;// = 0 private var s_loops:int; public var s_cued:Boolean; public function _sk47(){ s_soundchannel = new SoundChannel(); s_soundtransform = new SoundTransform(1, 0); } public function _bo261(_arg1:Number):void{ s_soundtransform.pan = _arg1; } public function _uq383():void{ s_soundchannel.stop(); } public function _ww170():void{ s_soundchannel = s_sound.play(s_starttime, s_loops, s_soundtransform); } public function _ao40(_arg1:Number):void{ if (_arg1 < 0){ _arg1 = 0; }; s_soundtransform.volume = _arg1; } public function _rh79():Number{ return (s_soundtransform.pan); } public function _lx116():Number{ return (s_soundtransform.volume); } public function _qp256(_arg1:Sound, _arg2:Number, _arg3:int):void{ s_sound = _arg1; s_starttime = _arg2; s_loops = _arg3; } public function _qr348():void{ _uq383(); s_sound = null; s_soundchannel = null; s_soundtransform = null; } } }//package classes
Section 22
//_st351 (classes._st351) package classes { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; public class _st351 extends Sprite { public var obrightness:Number;// = 0 public var tooltip:_st351; public var animbitmapdata_array:Object; public var xscaling:int; public var xscaling_min:Number;// = 0 public var bluespeed:Number;// = 0 public var yweight:Number;// = 0 public var oscale:Number;// = 0 public var collision_radius:Number;// = 0 public var buffer:BitmapData; public var callback:Object; public var bluestart:Number;// = 0 public var blend:String; public var greentarget:Number;// = 0 public var redspeed:Number;// = 0 public var ymax_boundry:Number;// = 0 public var blue:Number;// = 0 public var xscaling_dir:Number;// = 0 public var isabutton:Boolean; public var bluetarget:Number;// = 0 public var redstart:Number;// = 0 public var animcopystyle:Boolean; public var id2:int; public var id3:int; public var collision_width:Number;// = 0 public var id1:int; public var alphafade_max:int; public var frame_min:int; public var movetype:int;// = 0 public var state:int; public var yscaling_max:Number;// = 0 public var movedata2:Number;// = 0 public var red:Number;// = 0 public var movedata4:Number;// = 0 public var movedata5:Number;// = 0 public var movedata6:Number;// = 0 public var sinspeed:Number;// = 0 public var movedata1:Number;// = 0 public var blurfilter:BlurFilter; public var dampvalue:Number;// = 0 public var dampmultiplier:Number;// = 0 public var frame_work:Number;// = 0 public var movedata3:Number;// = 0 public var ObjectID:int; public var frame_dir:Number;// = 0 public var movement_delaycounter:Number;// = 0 public var alphafade_pausing:Number;// = 0 public var alphafade_pausing_buffer:Number;// = 0 public var collision_height:Number;// = 0 public var xgravity:Number;// = 0 public var cosradius:Number;// = 0 public var hitcallback:Object; public var radiusgrowth:Number;// = 0 public var anglemoving:Number;// = 0 public var velocity:Number;// = 0 public var rotating_min:Number;// = 0 public var xweight:Number;// = 0 public var yscaling:int; public var xmax_boundry:Number;// = 0 public var sinangle:Number;// = 0 public var damping:Number;// = 0 public var green:Number;// = 0 public var buttonmouseoutfunc:Function; public var filters_array:Array; public var alphafading:int; public var id:int; public var xdir:Number;// = 0 public var cosspeed:Number;// = 0 public var greenspeed:Number;// = 0 public var rotating_dir:Number;// = 0 public var durationthenstop:Number;// = 0 public var collision_enabled:Boolean; public var xscaling_max:Number;// = 0 public var greenstart:Number;// = 0 public var frame_border:int; public var ymin_boundry:Number;// = 0 public var buttonmouseoverfunc:Function; public var rotating:int; public var buttonclickfunc:Function; public var hitcount:int; public var animating:int; public var redtarget:Number;// = 0 public var num1:Number;// = 0 public var num2:Number;// = 0 public var num3:Number;// = 0 public var num4:Number;// = 0 public var sinradius:Number;// = 0 public var myParent:Object; public var timetodie:Boolean; public var ydir:Number;// = 0 public var frame:Number;// = 0 public var yscaling_min:Number;// = 0 public var spacer1:Number;// = 0 public var spacer2:Number;// = 0 public var ymin_boundryuser:Number;// = 0 public var alphafade_min:int; public var target:_st351; public var frame_max:int; public var ymax_boundryuser:Number;// = 0 public var xmin_boundryuser:Number;// = 0 public var alphafade_dir:Number;// = 0 public var cosangle:Number;// = 0 public var ygravity:Number;// = 0 public var delta:Number;// = 0 public var yscaling_dir:Number;// = 0 public var xmax_boundryuser:Number;// = 0 public var bmap:Bitmap; public var killedcallback:Object; public var xmin_boundry:Number;// = 0 public var rotate_towards_sprite:_st351; public var flashing:Boolean; public var movement_delay:Number;// = 0 public var rotating_max:Number;// = 0 public function _nw303(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{ xmin_boundry = _arg1; xmax_boundry = _arg3; ymin_boundry = _arg2; ymax_boundry = _arg4; } private function _ps101():void{ if (xscaling){ this.scaleX = (this.scaleX + (xscaling_dir * delta)); switch (xscaling){ case 1: if (this.scaleX >= xscaling_max){ this.scaleX = xscaling_max; xscaling_dir = -(xscaling_dir); } else { if (this.scaleX <= xscaling_min){ this.scaleX = xscaling_min; xscaling_dir = -(xscaling_dir); }; }; break; case 2: if (this.scaleX >= xscaling_max){ this.scaleX = xscaling_min; } else { if (this.scaleX <= xscaling_min){ this.scaleX = xscaling_max; }; }; break; case 3: if (this.scaleX >= xscaling_max){ this.scaleX = xscaling_max; xscaling = 0; } else { if (this.scaleX <= xscaling_min){ this.scaleX = xscaling_min; xscaling = 0; }; }; break; case 4: if (this.scaleX >= xscaling_max){ this.scaleX = xscaling_max; xscaling = 0; timetodie = true; } else { if (this.scaleX <= xscaling_min){ this.scaleX = xscaling_min; xscaling = 0; timetodie = true; }; }; break; }; }; } public function _mj210(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{ xscaling = _arg4; xscaling_dir = _arg1; xscaling_min = _arg2; xscaling_max = _arg3; this.scaleX = _arg5; } public function _vq325():void{ buffer.unlock(); } public function _dx126(_arg1:BitmapData, _arg2:int=0, _arg3:int=0):void{ buffer.copyPixels(_arg1, new Rectangle(_arg2, _arg3, width, height), new Point(0, 0)); } public function _sf380(_arg1:Number, _arg2:Number):Boolean{ return (_ev59(_arg1, _arg2, (this.x - ((collision_width * this.scaleX) / 2)), (this.y - ((collision_height * this.scaleY) / 2)), (collision_width * this.scaleX), (collision_height * this.scaleY))); } public function _up202(_arg1:Number):void{ collision_radius = _arg1; } public function _jt52(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):void{ xdir = _arg1; ydir = _arg2; xgravity = _arg3; ygravity = _arg4; durationthenstop = _arg5; movetype = 1; } public function _gk163(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{ yscaling = _arg4; yscaling_dir = _arg1; yscaling_min = _arg2; yscaling_max = _arg3; this.scaleY = _arg5; xscaling = _arg4; xscaling_dir = _arg1; xscaling_min = _arg2; xscaling_max = _arg3; this.scaleX = _arg5; } public function _qr195(_arg1:Object):void{ callback = _arg1; } public function get brightness():Number{ return (obrightness); } public function _td98(_arg1:Number, _arg2:Number):void{ var _local3:Number = this.rotation; var _local4:Number = _arg1; var _local5:Number = 0; if (_local3 < _local4){ _local5 = 1; if ((_local4 - _local3) > 179){ _local5 = -1; }; } else { if (_local3 > _local4){ _local5 = -1; if ((_local3 - _local4) > 179){ _local5 = 1; }; }; }; _local3 = (_local3 + ((_arg2 * _local5) * delta)); if (_local3 < 0){ _local3 = (_local3 + 360); }; if (_local3 > 359){ _local3 = (_local3 - 360); }; this.rotation = _local3; } public function _px275(_arg1:Object):void{ hitcallback = _arg1; } public function _xy77(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function set scale(_arg1:Number):void{ oscale = _arg1; this.scaleX = oscale; this.scaleY = oscale; } public function _ap105(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Function, _arg7:Function, _arg8:Function, _arg9:uint=0):void{ this.Init(_arg1, _arg5, _arg2.width, _arg2.height, true, _arg9, true); this._xy77(_arg3, _arg4); this._dx126(_arg2); this.mouseEnabled = true; this.buttonMode = true; this.addEventListener(MouseEvent.CLICK, _arg6); this.addEventListener(MouseEvent.MOUSE_OVER, _arg7); this.addEventListener(MouseEvent.MOUSE_OUT, _arg8); this.isabutton = true; this.buttonclickfunc = _arg6; this.buttonmouseoverfunc = _arg7; this.buttonmouseoutfunc = _arg8; } private function _ai293():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; if (movetype == 1){ if (damping > 0){ damping = (damping - delta); if (damping < 1){ damping = dampvalue; xdir = (xdir * dampmultiplier); ydir = (ydir * dampmultiplier); if (Math.abs(xdir) < 0.001){ xdir = 0; }; if (Math.abs(ydir) < 0.001){ ydir = 0; }; if ((((xdir == 0)) && ((ydir == 0)))){ damping = 0; }; }; }; this.x = (this.x + (xdir * delta)); this.y = (this.y + (ydir * delta)); xdir = (xdir + (xgravity * delta)); ydir = (ydir + (ygravity * delta)); if ((((this.x < xmin_boundry)) || ((this.x > xmax_boundry)))){ timetodie = true; }; if ((((this.y < ymin_boundry)) || ((this.y > ymax_boundry)))){ timetodie = true; }; if (durationthenstop > 0){ durationthenstop = (durationthenstop - delta); if (durationthenstop < 1){ movetype = 0; }; }; } else { if (movetype == 2){ _local1 = this.x; _local2 = this.y; _local3 = target.x; _local4 = target.y; if (_local1 < _local3){ movedata1 = (movedata1 + (movedata2 * delta)); if (movedata1 > movedata3){ movedata1 = movedata3; }; } else { if (_local1 > _local3){ movedata1 = (movedata1 - (movedata2 * delta)); if (movedata1 < -(movedata3)){ movedata1 = -(movedata3); }; }; }; this.x = (this.x + (movedata1 * delta)); if (_local2 < _local4){ movedata4 = (movedata4 + (movedata5 * delta)); if (movedata4 > movedata6){ movedata4 = movedata6; }; } else { if (_local2 > _local4){ movedata4 = (movedata4 - (movedata5 * delta)); if (movedata4 < -(movedata6)){ movedata4 = -(movedata6); }; }; }; this.y = (this.y + (movedata4 * delta)); } else { if (movetype == 3){ cosangle = (cosangle + (cosspeed * delta)); sinangle = (sinangle + (sinspeed * delta)); this.x = (this.x + ((Math.cos(cosangle) * cosradius) * delta)); this.y = (this.y + ((Math.sin(sinangle) * sinradius) * delta)); this.x = (this.x + (xdir * delta)); this.y = (this.y + (ydir * delta)); xdir = (xdir + (xgravity * delta)); ydir = (ydir + (ygravity * delta)); if ((((this.x < xmin_boundry)) || ((this.x > xmax_boundry)))){ timetodie = true; }; if ((((this.y < ymin_boundry)) || ((this.y > ymax_boundry)))){ timetodie = true; }; }; }; }; if (durationthenstop > 0){ durationthenstop = (durationthenstop - delta); if (durationthenstop < 1){ movetype = 0; }; } else { if (movetype == 4){ } else { if (movetype == 5){ if (target != null){ cosangle = (cosangle + (cosspeed * delta)); this.x = (target.x + (Math.cos(cosangle) * cosradius)); this.y = (target.y + (Math.sin(cosangle) * cosradius)); } else { timetodie = true; }; } else { if (movetype == 6){ if (target != null){ if (movement_delaycounter > 0){ movement_delaycounter = (movement_delaycounter - delta); if (movement_delaycounter < 1){ movement_delaycounter = movement_delay; anglemoving = _fb304._xk266(this.x, this.y, target.x, target.y); xdir = _fb304._qt263(anglemoving, movedata1); ydir = _fb304._ex346(anglemoving, movedata1); this.x = (this.x + (xdir * delta)); this.y = (this.y + (ydir * delta)); movedata1 = (movedata1 + (movedata2 * delta)); }; } else { anglemoving = _fb304._xk266(this.x, this.y, target.x, target.y); xdir = _fb304._qt263(anglemoving, movedata1); ydir = _fb304._ex346(anglemoving, movedata1); this.x = (this.x + (xdir * delta)); this.y = (this.y + (ydir * delta)); movedata1 = (movedata1 + (movedata2 * delta)); }; } else { timetodie = true; }; } else { if (movetype == 7){ anglemoving = _fb304._xk266(this.x, this.y, movedata1, movedata2); xdir = _fb304._qt263(anglemoving, movedata3); ydir = _fb304._ex346(anglemoving, movedata3); this.x = (this.x + (xdir * delta)); this.y = (this.y + (ydir * delta)); movedata3 = (movedata3 + (movedata4 * delta)); if (xdir > 0){ if (this.x > movedata1){ this.x = movedata1; }; } else { if (xdir < 0){ if (this.x < movedata1){ this.x = movedata1; }; }; }; if (ydir > 0){ if (this.y > movedata2){ this.y = movedata2; }; } else { if (ydir < 0){ if (this.y < movedata2){ this.y = movedata2; }; }; }; if ((((this.x == movedata1)) && ((this.y == movedata2)))){ movetype = 0; }; } else { if (movetype == 8){ cosangle = (cosangle + (cosspeed * delta)); sinangle = (sinangle + (sinspeed * delta)); this.x = (this.x + ((Math.cos(cosangle) * cosradius) * delta)); this.y = (this.y + ((Math.sin(sinangle) * sinradius) * delta)); cosradius = (cosradius + (radiusgrowth * delta)); sinradius = (sinradius + (radiusgrowth * delta)); if ((((this.x < xmin_boundry)) || ((this.x > xmax_boundry)))){ timetodie = true; }; if ((((this.y < ymin_boundry)) || ((this.y > ymax_boundry)))){ timetodie = true; }; } else { if (movetype == 9){ anglemoving = _fb304._xk266(this.x, this.y, movedata1, movedata2); xdir = _fb304._qt263(anglemoving, movedata3); ydir = _fb304._ex346(anglemoving, movedata3); this.x = (this.x + (xdir * delta)); this.y = (this.y + (ydir * delta)); movedata3 = (movedata3 + (movedata4 * delta)); if (xdir > 0){ if (this.x > movedata1){ this.x = movedata1; }; } else { if (xdir < 0){ if (this.x < movedata1){ this.x = movedata1; }; }; }; if (ydir > 0){ if (this.y > movedata2){ this.y = movedata2; }; } else { if (ydir < 0){ if (this.y < movedata2){ this.y = movedata2; }; }; }; if ((((this.x == movedata1)) && ((this.y == movedata2)))){ movetype = 0; timetodie = true; }; }; }; }; }; }; }; }; } public function _hd358(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{ yscaling = _arg4; yscaling_dir = _arg1; yscaling_min = _arg2; yscaling_max = _arg3; this.scaleY = _arg5; } public function set brightness(_arg1:Number):void{ obrightness = _arg1; _fb304._mk266(this, obrightness, obrightness, obrightness); } private function _jv262():void{ if (flashing == true){ redstart = (redstart - (redspeed * delta)); greenstart = (greenstart - (greenspeed * delta)); bluestart = (bluestart - (bluespeed * delta)); if (redstart < redtarget){ redstart = redtarget; }; if (greenstart < greentarget){ greenstart = greentarget; }; if (bluestart < bluetarget){ bluestart = redtarget; }; red = redstart; green = greenstart; blue = bluestart; if (redstart == redtarget){ if (greenstart == greentarget){ if (bluestart == bluetarget){ flashing = false; }; }; }; }; } public function _ht370(_arg1:Object):void{ killedcallback = _arg1; } public function _wm262(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{ rotating = _arg4; rotating_dir = _arg1; rotating_min = _arg2; rotating_max = _arg3; this.rotation = _arg5; } private function _ea350():void{ if (alphafading){ switch (alphafading){ case 1: this.alpha = (this.alpha + (alphafade_dir * delta)); if (this.alpha >= alphafade_max){ this.alpha = alphafade_max; alphafading = 0; } else { if ((((this.alpha < alphafade_min)) || ((this.alpha == alphafade_min)))){ this.alpha = alphafade_min; alphafading = 0; timetodie = true; }; }; break; case 2: if (alphafade_pausing > 0){ alphafade_pausing = (alphafade_pausing - (1 * delta)); if (alphafade_pausing < 1){ alphafade_pausing = 0; _ao207(-(alphafade_dir)); }; } else { this.alpha = (this.alpha + (alphafade_dir * delta)); if (this.alpha >= alphafade_max){ this.alpha = alphafade_max; alphafade_pausing = alphafade_pausing_buffer; }; }; break; }; }; } public function _gn86(_arg1:Boolean):void{ bmap.cacheAsBitmap = _arg1; } public function get _rs329():Number{ return (blurfilter.blurY); } public function _vv281(_arg1:Number, _arg2:Number):void{ alphafading = 2; alphafade_dir = _arg1; alphafade_min = 0; alphafade_max = 1; this.alpha = 0; alphafade_pausing = 0; alphafade_pausing_buffer = _arg2; } public function Init(_arg1:Object, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean=true, _arg6:uint=0, _arg7:Boolean=true):void{ myParent = _arg1; ObjectID = _arg2; buffer = new BitmapData(_arg3, _arg4, _arg5, _arg6); bmap = new Bitmap(buffer); bmap.smoothing = _arg7; myParent.addChild(this); bmap.x = (-(bmap.width) / 2); bmap.y = (-(bmap.height) / 2); this.addChild(bmap); this.x = (buffer.width / 2); this.y = (buffer.height / 2); width = _arg3; height = _arg4; blurfilter = new BlurFilter(0, 0, 1); filters_array = new Array(); filters_array.push(blurfilter); this.filters = filters_array; blurfilter.blurX = 0; blurfilter.blurY = 0; blurfilter.quality = 0; this.filters = filters_array; collision_radius = (width / 2); collision_width = width; collision_height = height; collision_enabled = true; xmin_boundry = -10000; xmax_boundry = 10000; ymin_boundry = -10000; ymax_boundry = 10000; this.alpha = 1; this.scaleX = 1; this.scaleY = 1; this.mouseEnabled = false; red = 1; green = 1; blue = 1; obrightness = 1; oscale = 1; } public function _cl16(_arg1:Number=1):void{ delta = _arg1; _ai293(); _jy365(); _ps101(); _au319(); _ea350(); if (callback != null){ callback(this); }; } public function get scale():Number{ return (oscale); } public function _qr348():void{ callback = null; killedcallback = null; hitcallback = null; rotate_towards_sprite = null; target = null; if (isabutton == true){ this.removeEventListener(MouseEvent.CLICK, buttonclickfunc); this.removeEventListener(MouseEvent.MOUSE_OVER, buttonmouseoverfunc); this.removeEventListener(MouseEvent.MOUSE_OUT, buttonmouseoutfunc); }; buttonclickfunc = null; buttonmouseoverfunc = null; buttonmouseoutfunc = null; myParent.removeChild(this); this.removeChild(bmap); buffer = null; bmap = null; blurfilter = null; filters_array = null; } public function _uv288(_arg1:Number, _arg2:Number):void{ rotating = 6; rotating_dir = _arg2; rotating_min = _arg1; } private function _jy365():void{ if (rotating){ switch (rotating){ case 1: this.rotation = (this.rotation + (rotating_dir * delta)); if (this.rotation >= rotating_max){ this.rotation = rotating_max; rotating_dir = -(rotating_dir); } else { if (this.rotation <= rotating_min){ this.rotation = rotating_min; rotating_dir = -(rotating_dir); }; }; break; case 2: this.rotation = (this.rotation + (rotating_dir * delta)); if (this.rotation >= rotating_max){ this.rotation = rotating_min; } else { if (this.rotation <= rotating_min){ this.rotation = rotating_max; }; }; break; case 3: this.rotation = (this.rotation + (rotating_dir * delta)); if (this.rotation >= rotating_max){ this.rotation = rotating_max; rotating = 0; } else { if (this.rotation <= rotating_min){ this.rotation = rotating_min; rotating = 0; }; }; break; case 4: this.rotation = (this.rotation + (rotating_dir * delta)); if (this.rotation >= rotating_max){ this.rotation = rotating_max; rotating = 0; timetodie = true; } else { if (this.rotation <= rotating_min){ this.rotation = rotating_min; rotating = 0; timetodie = true; }; }; break; case 5: _ac373(rotate_towards_sprite, rotating_dir); break; case 6: _td98(rotating_min, rotating_dir); break; }; }; } public function set _vn276(_arg1:Number):void{ blurfilter.blurX = _arg1; if (_arg1 == 0){ this.filters = null; } else { blurfilter.quality = BitmapFilterQuality.LOW; }; this.filters = filters_array; } public function _yg148(_arg1:Number, _arg2:Number):void{ collision_width = _arg1; collision_height = _arg2; } public function set _rs329(_arg1:Number):void{ blurfilter.blurY = _arg1; if (_arg1 == 0){ this.filters = null; } else { blurfilter.quality = BitmapFilterQuality.LOW; }; this.filters = filters_array; } public function _ao207(_arg1:Number, _arg2:Number=1):void{ alphafading = 1; alphafade_dir = _arg1; alphafade_min = 0; alphafade_max = 1; this.alpha = _arg2; } public function get _vn276():Number{ return (blurfilter.blurX); } private function _au319():void{ if (yscaling){ this.scaleY = (this.scaleY + (yscaling_dir * delta)); switch (yscaling){ case 1: if (this.scaleY >= yscaling_max){ this.scaleY = yscaling_max; yscaling_dir = -(yscaling_dir); } else { if (this.scaleY <= yscaling_min){ this.scaleY = yscaling_min; yscaling_dir = -(yscaling_dir); }; }; break; case 2: if (this.scaleY >= yscaling_max){ this.scaleY = yscaling_min; } else { if (this.scaleY <= yscaling_min){ this.scaleY = yscaling_max; }; }; break; case 3: if (this.scaleY >= yscaling_max){ this.scaleY = yscaling_max; yscaling = 0; } else { if (this.scaleY <= yscaling_min){ this.scaleY = yscaling_min; yscaling = 0; }; }; break; case 4: if (this.scaleY >= yscaling_max){ this.scaleY = yscaling_max; yscaling = 0; timetodie = true; } else { if (this.scaleY <= yscaling_min){ this.scaleY = yscaling_min; yscaling = 0; timetodie = true; }; }; break; }; }; } public function _ac373(_arg1:_st351, _arg2:Number):void{ var _local3:Number = this.rotation; var _local4:Number = _fb304._xk266(this.x, this.y, _arg1.x, _arg1.y); var _local5:Number = 0; if (_local3 < _local4){ _local5 = 1; if ((_local4 - _local3) > 179){ _local5 = -1; }; } else { if (_local3 > _local4){ _local5 = -1; if ((_local3 - _local4) > 179){ _local5 = 1; }; }; }; _local3 = (_local3 + ((_arg2 * _local5) * delta)); if (_local3 < 0){ _local3 = (_local3 + 360); }; if (_local3 > 359){ _local3 = (_local3 - 360); }; this.rotation = _local3; } public function _px227():void{ buffer.lock(); } private function _ev59(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean{ if ((((((((_arg1 < (_arg3 + _arg5))) && ((_arg2 < (_arg4 + _arg6))))) && ((_arg1 > _arg3)))) && ((_arg2 > _arg4)))){ return (true); }; return (false); } public function _lg31(_arg1:_st351, _arg2:Number):void{ rotating = 5; rotating_dir = _arg2; rotate_towards_sprite = _arg1; } } }//package classes
Section 23
//_tu69 (classes._tu69) package classes { import flash.display.*; public class _tu69 { public var user_counter:Number;// = 0 public var user_state:int;// = 0 public var user_spacer:Number;// = 0 public var Sprites:Array; public var spcounter:int;// = 0 public function _tu69(){ Sprites = []; super(); } public function _sb188(_arg1:Number=1):void{ var _local3:_vc343; var _local2:int = (Sprites.length - 1); var _local4:int = _local2; while (_local4 >= 0) { _local3 = Sprites[_local4]; _local3._cl16(_arg1); if (_local3.timetodie == true){ if (_local3.timetodiefunc != null){ _local3.timetodiefunc(_local3); }; _local3._qr348(); Sprites.splice(_local4, 1); _local3 = null; }; _local4--; }; } public function _le16(_arg1:int=0):_vc343{ var _local2:int; var _local3:_vc343; var _local4:_vc343; var _local5:int = (Sprites.length - 1); _local2 = _local5; while (_local2 >= 0) { _local3 = Sprites[_local2]; if (_local3.id == _arg1){ _local4 = _local3; break; }; _local2--; }; return (_local4); } public function _ew149():void{ var _local1:_vc343; for each (_local1 in Sprites) { _local1._yt47(); }; } public function _hu56(_arg1:_vc343):void{ Sprites[Sprites.length] = _arg1; } public function _dm149(_arg1:Number=1):void{ var _local3:_vc343; var _local2:int = (Sprites.length - 1); var _local4:int = _local2; while (_local4 >= 0) { _local3 = Sprites[_local4]; _local3._cl16(_arg1); if (_local3.timetodie == true){ if (_local3.timetodiefunc != null){ _local3.timetodiefunc(_local3); }; _local3._qr348(); Sprites.splice(_local4, 1); _local3 = null; } else { _local3._yt47(); }; _local4--; }; } public function _nt159():void{ var _local1:_vc343; for each (_local1 in Sprites) { _local1.timetodie = true; }; } public function _tp81(_arg1:int):void{ var _local2:_vc343; for each (_local2 in Sprites) { if (_local2.groupid == _arg1){ _local2.timetodie = true; _local2.collision_enabled = false; }; }; } public function _pc49(_arg1:Object, _arg2:Number=1):void{ var _local5:_vc343; var _local3:int = (Sprites.length - 1); var _local4:int = _local3; while (_local4 >= 0) { _local5 = Sprites[_local4]; _arg1(_local5); _local5._cl16(_arg2); if (_local5.timetodie == true){ if (_local5.timetodiefunc != null){ _local5.timetodiefunc(_local5); }; _local5._qr348(); Sprites.splice(_local4, 1); _local5 = null; } else { _local5._yt47(); }; _local4--; }; } public function _se17():int{ return (Sprites.length); } public function _la343(_arg1:int=0):_vc343{ var _local2:int; var _local3:_vc343; var _local4:_vc343; var _local5:int = (Sprites.length - 1); _local2 = _local5; while (_local2 >= 0) { _local3 = Sprites[_local2]; if (_local3.id1 == _arg1){ _local4 = _local3; break; }; _local2--; }; return (_local4); } public function _vr49(_arg1:BitmapData, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Boolean=true, _arg7:Boolean=true):_vc343{ var _local8:_vc343; _local8 = new _vc343(); _local8._ix307(_arg1, 0, 0, _arg1.width, _arg1.height, _arg2, 1, _arg5, _arg6); _local8._xy77(_arg3, _arg4); _local8.drawsmoothing = _arg7; Sprites[Sprites.length] = _local8; return (_local8); } public function _bk22(_arg1:int):Boolean{ var _local2:_vc343; var _local3:Boolean; for each (_local2 in Sprites) { if (_local2.id1 == _arg1){ _local3 = true; }; }; return (_local3); } public function _jq155(_arg1:int):Boolean{ var _local2:_vc343; var _local3:Boolean; for each (_local2 in Sprites) { if (_local2.id == _arg1){ _local3 = true; }; }; return (_local3); } public function _fe192(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:BitmapData, _arg7:Number, _arg8:Number, _arg9:int, _arg10:Number=0, _arg11:Boolean=true, _arg12:Boolean=true):_vc343{ var _local13:_vc343; _local13 = new _vc343(); _local13._ix307(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg9, _arg10, _arg11); _local13._xy77(_arg7, _arg8); _local13.drawsmoothing = _arg12; Sprites[Sprites.length] = _local13; return (_local13); } public function _hg44(_arg1:String):_vc343{ var _local2:int; var _local3:_vc343; var _local4:_vc343; var _local5:int = (Sprites.length - 1); _local2 = _local5; while (_local2 >= 0) { _local3 = Sprites[_local2]; if (_local3.name == _arg1){ _local4 = _local3; break; }; _local2--; }; return (_local4); } public function _ct66(_arg1:Object, _arg2:Number=1):void{ var _local4:_vc343; var _local3:int = (Sprites.length - 1); var _local5:int = _local3; while (_local5 >= 0) { _local4 = Sprites[_local5]; _local4._cl16(_arg2); _arg1(_local4); if (_local4.timetodie == true){ if (_local4.timetodiefunc != null){ _local4.timetodiefunc(_local4); }; _local4._qr348(); Sprites.splice(_local5, 1); _local4 = null; } else { _local4._yt47(); }; _local5--; }; } public function _ti99(_arg1:Number):Number{ var _local3:_vc343; var _local2:Number = 0; for each (_local3 in Sprites) { if (_local3.id == _arg1){ _local2++; }; }; return (_local2); } public function _jq312(_arg1:BitmapData):void{ var _local2:_vc343; for each (_local2 in Sprites) { _local2._ps325(_arg1); }; } public function _un165(_arg1:Object, _arg2:Number=1):void{ var _local4:_vc343; var _local3:int = (Sprites.length - 1); var _local5:int = _local3; while (_local5 >= 0) { _local4 = Sprites[_local5]; _local4._cl16(_arg2); if (_local4.timetodie == true){ if (_local4.timetodiefunc != null){ _local4.timetodiefunc(_local4); }; _local4._qr348(); Sprites.splice(_local5, 1); _local4 = null; } else { _local4._yt47(); _arg1(_local4); }; _local5--; }; } public function _lf101(_arg1:Object, _arg2:Number=1):void{ var _local4:_vc343; var _local3:int = (Sprites.length - 1); var _local5:int = _local3; while (_local5 >= 0) { _local4 = Sprites[_local5]; _local4._cl16(_arg2); if (_local4.timetodie == true){ if (_local4.timetodiefunc != null){ _local4.timetodiefunc(_local4); }; _local4._qr348(); Sprites.splice(_local5, 1); _local4 = null; } else { _arg1(_local4); _local4._yt47(); }; _local5--; }; } public function _bs283(_arg1:int=0):void{ var _local2:int; var _local3:Object; var _local4:int = (Sprites.length - 1); _local2 = _local4; while (_local2 >= 0) { _local3 = Sprites[_local2]; if (_arg1 > 0){ if (_local3.id1 == _arg1){ Sprites.splice(_local2, 1); _local3._qr348(); _local3 = null; }; } else { Sprites.splice(_local2, 1); _local3._qr348(); _local3 = null; }; _local2--; }; } } }//package classes
Section 24
//_vc343 (classes._vc343) package classes { import flash.display.*; import flash.geom.*; public class _vc343 { public var animbitmapdata_array:Object; public var spline_indexstart:int;// = 0 public var xscaling:int; public var rotatemovespeed:Number;// = 0 public var str1:String; public var str2:String; public var collision_type:int; public var spline_flip:int;// = 0 public var bluespeed:Number;// = 0 public var yweight:Number;// = 0 public var timetodiefunc:Function; public var callback:Function; public var bluestart:Number;// = 0 public var yskewing_dir:Number;// = 0 public var dampaddvalue:Number;// = 0 public var blend:String; public var blue:Number;// = 0 public var xscaling_dir:Number;// = 0 public var explodeamountscale:Number;// = 0 public var y:Number;// = 0 public var x:Number;// = 0 public var yscale:Number;// = 0 public var spline_startx:Number;// = 0 public var ct:ColorTransform; public var spline_thrust:Number;// = 0 public var alphafade_max:Number;// = 0 public var frame_min:int; public var state:int; public var spline_starty:Number;// = 0 public var movedata1:Number;// = 0 public var movedata2:Number;// = 0 public var red:Number;// = 0 public var movedata6:Number;// = 0 public var movedata7:Number;// = 0 public var movedata8:Number;// = 0 public var movedata3:Number;// = 0 public var dampmultiplier:Number;// = 0 public var spline_xoffset:Number;// = 0 private var mypi:Number;// = 0 public var movement_delaycounter:Number;// = 0 public var xskewing_min:Number;// = 0 public var movedata4:Number;// = 0 public var movedata5:Number;// = 0 public var hitcallback:Function; public var cosradius:Number;// = 0 public var velocity:Number;// = 0 public var radiusgrowth:Number;// = 0 public var rotating_min:Number;// = 0 public var xweight:Number;// = 0 public var xmax_boundry:Number;// = 0 public var yscaling:int; public var damping:Number;// = 0 public var yskew:Number;// = 0 public var donotautodie:Boolean; public var delayinit:Number;// = 0 public var xdir:Number;// = 0 public var id:int; public var dampmultipliermax:Number;// = 0 public var yskewing_max:Number;// = 0 public var height:int; public var durationthenstop:Number;// = 0 public var xscaling_max:Number;// = 0 public var ymin_boundry:Number;// = 0 public var userflag1:Boolean; public var userflag2:Boolean; public var hitcount:int; public var alpha:Number;// = 0 public var redtarget:Number;// = 0 public var num1:Number;// = 0 public var num2:Number;// = 0 public var num3:Number;// = 0 public var num4:Number;// = 0 public var num5:Number;// = 0 public var ydir:Number;// = 0 public var timetodie:Boolean; public var frame:Number;// = 0 public var nextstate:int; public var xskew:Number;// = 0 public var spacer1:Number;// = 0 public var spacer2:Number;// = 0 public var ymin_boundryuser:Number;// = 0 public var spline_bend1x:Number;// = 0 public var alphafade_min:Number;// = 0 public var myrect:Rectangle; public var target:_vc343; public var spline_bend1y:Number;// = 0 public var ymax_boundryuser:Number;// = 0 public var bmpdest:BitmapData; public var spline_bend2x:Number;// = 0 public var spline_bend2y:Number;// = 0 public var yscaling_dir:Number;// = 0 public var width:int; public var donecallback:Function; public var spline_delaybetweenindex:Number;// = 0 public var flashing:Boolean; public var movement_delay:Number;// = 0 public var donotrender:Boolean; public var dampmultipliermin:Number;// = 0 public var yskewing_min:Number;// = 0 public var scorevalue:Number; public var xscaling_min:Number;// = 0 public var spline_leaveonwhendone:int;// = 0 private var hitbarwidth:Number;// = 0 public var collision_radius:Number;// = 0 public var animstyle:int; public var animatecopyarray:Array; public var flag1:Boolean; public var flag2:Boolean; public var substate:int; public var spline_loop:int;// = 0 public var greentarget:Number;// = 0 public var redspeed:Number;// = 0 public var bmpsrc:BitmapData; public var ymax_boundry:Number;// = 0 public var spline_speed:Number;// = 0 public var spline_ynegate:int;// = 0 public var bluetarget:Number;// = 0 public var redstart:Number;// = 0 public var id1:int; public var id2:int; public var id3:int; public var collision_width:Number;// = 0 public var sinspeed:Number;// = 0 public var name:String; public var dampvalue:Number;// = 0 public var movetype:int;// = 0 public var yscaling_max:Number;// = 0 public var spline_indexcounter:int;// = 0 public var frame_work:Number;// = 0 public var animduration:Number;// = 0 public var spline_endx:Number;// = 0 public var spline_endy:Number;// = 0 public var drawsmoothing:Boolean; public var neverending:Boolean; public var frame_dir:Number;// = 0 public var centerhandle:Boolean; public var delayinit_collisionbuffer:Boolean; public var userobject:Object; public var alphafade_pausing:Number;// = 0 public var alphafade_pausing_buffer:Number;// = 0 public var collision_height:Number;// = 0 public var xgravity:Number;// = 0 public var anglemoving:Number;// = 0 public var xskewing_dir:Number;// = 0 public var sinangle:Number;// = 0 public var life:Number; public var spline_xnegate:int;// = 0 public var green:Number;// = 0 public var srcx:int; public var srcy:int; public var alphafading:int; public var greenspeed:Number;// = 0 public var donotrenderhitbar:Boolean; public var rotating_dir:Number;// = 0 public var xskewing:int; public var cosspeed:Number;// = 0 public var oldx:Number;// = 0 public var oldy:Number;// = 0 public var collision_enabled:Boolean; public var type:int; public var frame_border:int; public var greenstart:Number;// = 0 public var rotating:int; public var showhitcount:Number;// = 0 public var animating:int; public var userbitmapdata:BitmapData; public var mypoint:Point; public var sinradius:Number;// = 0 public var spline_indexend:int;// = 0 public var rotation:Number;// = 0 public var yscaling_min:Number;// = 0 public var parentrenderoffsetx:Number;// = 0 public var parentrenderoffsety:Number;// = 0 public var frame_max:int; public var spline_counter:Number;// = 0 public var explodetype:int; public var alphafade_dir:Number;// = 0 public var xmin_boundryuser:Number;// = 0 public var cosangle:Number;// = 0 public var ygravity:Number;// = 0 public var delta:Number;// = 0 public var xmax_boundryuser:Number;// = 0 public var killedcallback:Function; public var img:int; public var xskewing_max:Number;// = 0 public var xscale:Number;// = 0 public var groupid:int; public var spline_yoffset:Number;// = 0 public var xmin_boundry:Number;// = 0 public var groupparent:_vc343; public var rotate_towards_sprite:_vc343; public var spline_mirror:int;// = 0 public var doboundrycheck:Boolean; public var rotating_max:Number;// = 0 public var yskewing:int; public function _vc343(){ xmin_boundry = -10000; xmax_boundry = 10000; ymin_boundry = -10000; ymax_boundry = 10000; alpha = 1; xscale = 1; yscale = 1; ct = new ColorTransform(); red = 1; green = 1; blue = 1; mypi = (Math.PI * 2); myrect = new Rectangle(0, 0, 0, 0); mypoint = new Point(0, 0); collision_enabled = true; centerhandle = true; name = ""; scorevalue = 0; } public function _ee317(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{ yskewing = _arg4; yskewing_dir = _arg1; yskewing_min = _arg2; yskewing_max = _arg3; yskew = _arg5; } public function _gg25(_arg1:Number, _arg2:Number, _arg3:Number):void{ red = _arg1; green = _arg2; blue = _arg3; } public function _ps101():void{ if (xscaling){ xscale = (xscale + (xscaling_dir * delta)); switch (xscaling){ case 1: if (xscale >= xscaling_max){ xscale = xscaling_max; xscaling_dir = -(xscaling_dir); } else { if (xscale <= xscaling_min){ xscale = xscaling_min; xscaling_dir = -(xscaling_dir); }; }; break; case 2: if (xscale >= xscaling_max){ xscale = xscaling_min; } else { if (xscale <= xscaling_min){ xscale = xscaling_max; }; }; break; case 3: if (xscale >= xscaling_max){ xscale = xscaling_max; xscaling = 0; } else { if (xscale <= xscaling_min){ xscale = xscaling_min; xscaling = 0; }; }; break; case 4: if (xscale >= xscaling_max){ xscale = xscaling_max; xscaling = 0; timetodie = true; } else { if (xscale <= xscaling_min){ xscale = xscaling_min; xscaling = 0; timetodie = true; }; }; break; case 5: if (xscale >= xscaling_max){ xscale = xscaling_max; xscaling_dir = -(xscaling_dir); xscaling = 3; }; break; case 6: if (xscale <= xscaling_min){ xscale = xscaling_min; xscaling_dir = -(xscaling_dir); xscaling = 3; }; break; case 7: if (xscale >= xscaling_max){ xscale = xscaling_max; xscaling_dir = -(xscaling_dir); xscaling = 4; }; break; }; }; } public function _up202(_arg1:Number):void{ collision_radius = _arg1; collision_type = 1; } public function _is165(_arg1:Number, _arg2:Number):void{ oldx = _arg1; oldy = _arg2; } public function _qr195(_arg1:Function):void{ callback = _arg1; } public function _sb239(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ xdir = _fb304._qt263(_arg1, _arg2); ydir = _fb304._ex346(_arg1, _arg2); xmin_boundry = _arg3; xmax_boundry = _arg5; ymin_boundry = _arg4; ymax_boundry = _arg6; movetype = 15; } public function _og370(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number=0, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Boolean=true):void{ xdir = _arg7; ydir = _arg8; xgravity = _arg9; ygravity = _arg10; cosangle = _arg1; cosspeed = _arg2; cosradius = _arg3; sinangle = _arg4; sinspeed = _arg5; sinradius = _arg6; doboundrycheck = _arg11; movetype = 3; } public function _jv262():void{ if (flashing == true){ redstart = (redstart - (redspeed * delta)); greenstart = (greenstart - (greenspeed * delta)); bluestart = (bluestart - (bluespeed * delta)); if (redstart < redtarget){ redstart = redtarget; }; if (greenstart < greentarget){ greenstart = greentarget; }; if (bluestart < bluetarget){ bluestart = redtarget; }; red = redstart; green = greenstart; blue = bluestart; if (redstart == redtarget){ if (greenstart == greentarget){ if (bluestart == bluetarget){ flashing = false; }; }; }; }; } public function _jl369(_arg1:Number, _arg2:Boolean=true):void{ rotatemovespeed = _arg1; movetype = 14; doboundrycheck = _arg2; } public function _tg17(_arg1:_vc343, _arg2:Number, _arg3:Number, _arg4:Number):void{ target = _arg1; cosangle = _arg2; cosspeed = _arg3; cosradius = _arg4; movetype = 5; } public function _ai293():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; if (movetype == 1){ if (damping > 0){ damping = (damping - delta); if (damping < 1){ damping = dampvalue; xdir = (xdir * dampmultiplier); ydir = (ydir * dampmultiplier); if (Math.abs(xdir) < 0.001){ xdir = 0; }; if (Math.abs(ydir) < 0.001){ ydir = 0; }; if ((((xdir == 0)) && ((ydir == 0)))){ damping = 0; movetype = 0; }; }; }; x = (x + (xdir * delta)); y = (y + (ydir * delta)); xdir = (xdir + (xgravity * delta)); ydir = (ydir + (ygravity * delta)); if ((((x < xmin_boundry)) || ((x > xmax_boundry)))){ timetodie = true; }; if ((((y < ymin_boundry)) || ((y > ymax_boundry)))){ timetodie = true; }; if (durationthenstop > 0){ durationthenstop = (durationthenstop - delta); if (durationthenstop < 1){ movetype = 0; }; }; } else { if (movetype == 2){ _local1 = x; _local2 = y; _local3 = 0; _local4 = 0; if (target == null){ } else { _local3 = target.x; _local4 = target.y; if (_local1 < _local3){ movedata1 = (movedata1 + (movedata2 * delta)); if (movedata1 > movedata3){ movedata1 = movedata3; }; } else { if (_local1 > _local3){ movedata1 = (movedata1 - (movedata2 * delta)); if (movedata1 < -(movedata3)){ movedata1 = -(movedata3); }; }; }; x = (x + (movedata1 * delta)); if (_local2 < _local4){ movedata4 = (movedata4 + (movedata5 * delta)); if (movedata4 > movedata6){ movedata4 = movedata6; }; } else { if (_local2 > _local4){ movedata4 = (movedata4 - (movedata5 * delta)); if (movedata4 < -(movedata6)){ movedata4 = -(movedata6); }; }; }; y = (y + (movedata4 * delta)); }; } else { if (movetype == 3){ cosangle = (cosangle + (cosspeed * delta)); sinangle = (sinangle + (sinspeed * delta)); x = (x + ((Math.cos(cosangle) * cosradius) * delta)); y = (y + ((Math.sin(sinangle) * sinradius) * delta)); x = (x + (xdir * delta)); y = (y + (ydir * delta)); xdir = (xdir + (xgravity * delta)); ydir = (ydir + (ygravity * delta)); if (doboundrycheck == true){ if ((((x < xmin_boundry)) || ((x > xmax_boundry)))){ timetodie = true; }; if ((((y < ymin_boundry)) || ((y > ymax_boundry)))){ timetodie = true; }; }; } else { if (movetype == 4){ } else { if (movetype == 5){ if (target != null){ cosangle = (cosangle + (cosspeed * delta)); x = (target.x + (Math.cos(cosangle) * cosradius)); y = (target.y + (Math.sin(cosangle) * cosradius)); } else { timetodie = true; }; } else { if (movetype == 6){ if (target != null){ if (movement_delaycounter > 0){ movement_delaycounter = (movement_delaycounter - delta); if (movement_delaycounter < 1){ movement_delaycounter = movement_delay; anglemoving = _fb304._xk266(x, y, target.x, target.y); xdir = _fb304._qt263(anglemoving, movedata1); ydir = _fb304._ex346(anglemoving, movedata1); x = (x + (xdir * delta)); y = (y + (ydir * delta)); movedata1 = (movedata1 + (movedata2 * delta)); }; } else { anglemoving = _fb304._xk266(x, y, target.x, target.y); xdir = _fb304._qt263(anglemoving, movedata1); ydir = _fb304._ex346(anglemoving, movedata1); x = (x + (xdir * delta)); y = (y + (ydir * delta)); movedata1 = (movedata1 + (movedata2 * delta)); }; if (movedata3 > 0){ movedata3 = (movedata3 - delta); if (movedata3 < 1){ movedata3 = 0; movetype = 0; }; }; } else { timetodie = true; }; } else { if (movetype == 7){ anglemoving = _fb304._xk266(x, y, movedata1, movedata2); xdir = _fb304._qt263(anglemoving, movedata3); ydir = _fb304._ex346(anglemoving, movedata3); x = (x + (xdir * delta)); y = (y + (ydir * delta)); movedata3 = (movedata3 + (movedata4 * delta)); if (xdir > 0){ if (x > movedata1){ x = movedata1; }; } else { if (xdir < 0){ if (x < movedata1){ x = movedata1; }; }; }; if (ydir > 0){ if (y > movedata2){ y = movedata2; }; } else { if (ydir < 0){ if (y < movedata2){ y = movedata2; }; }; }; if ((((x == movedata1)) && ((y == movedata2)))){ if (neverending == false){ movetype = 0; if (donecallback != null){ donecallback(this); donecallback = null; }; }; }; } else { if (movetype == 8){ cosangle = (cosangle + (cosspeed * delta)); sinangle = (sinangle + (sinspeed * delta)); x = (x + ((Math.cos(cosangle) * cosradius) * delta)); y = (y + ((Math.sin(sinangle) * sinradius) * delta)); cosradius = (cosradius + (radiusgrowth * delta)); sinradius = (sinradius + (radiusgrowth * delta)); if ((((x < xmin_boundry)) || ((x > xmax_boundry)))){ timetodie = true; }; if ((((y < ymin_boundry)) || ((y > ymax_boundry)))){ timetodie = true; }; } else { if (movetype == 9){ anglemoving = _fb304._xk266(x, y, movedata1, movedata2); xdir = _fb304._qt263(anglemoving, movedata3); ydir = _fb304._ex346(anglemoving, movedata3); x = (x + (xdir * delta)); y = (y + (ydir * delta)); movedata3 = (movedata3 + (movedata4 * delta)); if (xdir > 0){ if (x > movedata1){ x = movedata1; }; } else { if (xdir < 0){ if (x < movedata1){ x = movedata1; }; }; }; if (ydir > 0){ if (y > movedata2){ y = movedata2; }; } else { if (ydir < 0){ if (y < movedata2){ y = movedata2; }; }; }; if ((((x == movedata1)) && ((y == movedata2)))){ movetype = 0; timetodie = true; }; } else { if (movetype == 10){ if (damping > 0){ damping = (damping - delta); if (damping < 1){ damping = dampvalue; xdir = (xdir * dampmultiplier); ydir = (ydir * dampmultiplier); if (Math.abs(xdir) < 0.001){ xdir = 0; }; if (Math.abs(ydir) < 0.001){ ydir = 0; }; if ((((xdir == 0)) && ((ydir == 0)))){ damping = 0; movetype = 0; }; }; }; x = (x + (xdir * delta)); y = (y + (ydir * delta)); xdir = (xdir + (xgravity * delta)); ydir = (ydir + (ygravity * delta)); if (durationthenstop > 0){ durationthenstop = (durationthenstop - delta); if (durationthenstop < 1){ movetype = 0; }; }; } else { if (movetype == 11){ x = (x + (xdir * delta)); y = (y + (ydir * delta)); if (x < xmin_boundry){ x = xmin_boundry; xdir = -(xdir); } else { if (x > xmax_boundry){ x = xmax_boundry; xdir = -(xdir); }; }; if (y < ymin_boundry){ y = ymin_boundry; ydir = -(ydir); } else { if (y > ymax_boundry){ y = ymax_boundry; ydir = -(ydir); }; }; } else { if (movetype == 12){ x = (x + (xdir * delta)); y = (y + (ydir * delta)); if (x < xmin_boundry){ x = xmax_boundry; } else { if (x > xmax_boundry){ x = xmin_boundry; }; }; if (y < ymin_boundry){ y = ymax_boundry; } else { if (y > ymax_boundry){ y = ymin_boundry; }; }; } else { if (movetype == 13){ x = (x + (xdir * delta)); y = (y + (ydir * delta)); damping = (damping - delta); if (damping < 1){ damping = dampvalue; xdir = (xdir * dampmultiplier); ydir = (ydir * dampmultiplier); dampmultiplier = (dampmultiplier + dampaddvalue); if (movedata1 == 0){ if (dampmultiplier > dampmultipliermax){ dampmultiplier = dampmultipliermax; dampaddvalue = -(dampaddvalue); movedata1 = 1; }; } else { if (dampmultiplier < dampmultipliermin){ dampmultiplier = dampmultipliermin; }; if (Math.abs(xdir) < 0.001){ xdir = 0; }; if (Math.abs(ydir) < 0.001){ ydir = 0; }; if ((((xdir == 0)) && ((ydir == 0)))){ movetype = 0; }; }; }; } else { if (movetype == 14){ xdir = _fb304._qt263(rotation, rotatemovespeed); ydir = _fb304._ex346(rotation, rotatemovespeed); x = (x + (xdir * delta)); y = (y + (ydir * delta)); if (doboundrycheck == true){ if ((((x < xmin_boundry)) || ((x > xmax_boundry)))){ timetodie = true; }; if ((((y < ymin_boundry)) || ((y > ymax_boundry)))){ timetodie = true; }; }; } else { if (movetype == 15){ x = (x + (xdir * delta)); y = (y + (ydir * delta)); if (x < xmin_boundry){ x = xmax_boundry; y = _fb304.Random._dk328(ymin_boundry, ymax_boundry); } else { if (x > xmax_boundry){ x = xmin_boundry; y = _fb304.Random._dk328(ymin_boundry, ymax_boundry); }; }; if (y < ymin_boundry){ y = ymax_boundry; x = _fb304.Random._dk328(xmin_boundry, xmax_boundry); } else { if (y > ymax_boundry){ y = ymin_boundry; x = _fb304.Random._dk328(xmin_boundry, xmax_boundry); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; } public function _qk126(_arg1:Number):void{ life = _arg1; } public function _ix307(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:BitmapData, _arg7:int=1, _arg8:Number=0, _arg9:Boolean=true, _arg10:Boolean=true):void{ delayinit = _arg8; type = _arg7; bmpsrc = _arg1; bmpdest = _arg6; srcx = _arg2; srcy = _arg3; width = _arg4; height = _arg5; myrect.width = width; myrect.height = height; centerhandle = _arg9; collision_radius = (width / 2); collision_width = width; collision_height = height; collision_type = 0; collision_enabled = true; drawsmoothing = _arg10; donotrenderhitbar = false; if (delayinit > 0){ delayinit_collisionbuffer = collision_enabled; collision_enabled = false; }; _mx306(1); } public function _hk336(_arg1:_vc343, _arg2:Number, _arg3:Number):void{ anglemoving = _fb304._xk266(x, y, _arg1.x, _arg1.y); x = (x + (_fb304._qt263(anglemoving, _arg2) * _arg3)); y = (y + (_fb304._ex346(anglemoving, _arg2) * _arg3)); } public function _eq31(_arg1:int):Boolean{ hitcount = (hitcount - _arg1); if (hitcount < 1){ hitcount = 0; return (true); }; return (false); } public function _cx150(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ xdir = _arg1; ydir = _arg2; xmin_boundry = _arg3; xmax_boundry = _arg5; ymin_boundry = _arg4; ymax_boundry = _arg6; movetype = 11; } public function _jk171():void{ if (xskewing){ xskew = (xskew + (xskewing_dir * delta)); switch (xskewing){ case 1: if (xskew >= xskewing_max){ xskew = xskewing_max; xskewing_dir = -(xskewing_dir); } else { if (xskew <= xskewing_min){ xskew = xskewing_min; xskewing_dir = -(xskewing_dir); }; }; break; case 2: if (xskew >= xskewing_max){ xskew = xskewing_min; } else { if (xskew <= xskewing_min){ xskew = xskewing_max; }; }; break; case 3: if (xskew >= xskewing_max){ xskew = xskewing_max; xskewing = 0; } else { if (xskew <= xskewing_min){ xskew = xskewing_min; xskewing = 0; }; }; break; case 4: if (xskew >= xskewing_max){ xskew = xskewing_max; xskewing = 0; timetodie = true; } else { if (xskew <= xskewing_min){ xskew = xskewing_min; xskewing = 0; timetodie = true; }; }; break; }; }; } public function _cl16(_arg1:Number=1):void{ delta = _arg1; if (delayinit != 0){ delayinit = (delayinit - delta); if (delayinit < 1){ delayinit = 0; collision_enabled = delayinit_collisionbuffer; }; } else { _ai293(); _jy365(); _ps101(); _au319(); _ea350(); _qk172(); _jv262(); if (callback != null){ callback(this); }; if (life){ life = (life - _arg1); if (life < 1){ life = 0; timetodie = true; }; }; }; } public function _am219(_arg1:BitmapData, _arg2:Number, _arg3:int, _arg4:int, _arg5:int=0):void{ bmpsrc = _arg1; srcx = 0; srcy = 0; frame_min = 0; frame_max = (_arg3 - 1); frame_dir = _arg2; frame_work = 0; frame = 0; frame_border = _arg5; animstyle = 1; animating = _arg4; } public function _ft89(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{ xmin_boundryuser = _arg1; xmax_boundryuser = _arg3; ymin_boundryuser = _arg2; ymax_boundryuser = _arg4; } public function _kx16(_arg1:_vc343, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ target = _arg1; movedata1 = 0; movedata2 = _arg2; movedata3 = _arg3; movedata4 = 0; movedata5 = _arg4; movedata6 = _arg5; movetype = 2; } public function _qk172():void{ if (animating){ frame_work = (frame_work + (frame_dir * delta)); switch (animating){ case 1: if (frame_work > frame_max){ frame_work = frame_max; frame_dir = -(frame_dir); } else { if (frame_work < frame_min){ frame_work = frame_min; frame_dir = -(frame_dir); }; }; break; case 2: if (frame_work > frame_max){ frame_work = frame_min; } else { if (frame_work < frame_min){ frame_work = frame_max; }; }; break; case 3: if (frame_work >= frame_max){ frame_work = frame_max; animating = 0; } else { if (frame_work <= frame_min){ frame_work = frame_min; animating = 0; }; }; break; case 4: if (frame_work >= frame_max){ frame_work = frame_max; animating = 0; timetodie = true; } else { if (frame_work <= frame_min){ frame_work = frame_min; animating = 0; timetodie = true; }; }; break; case 5: if (frame_work > frame_max){ frame_work = frame_min; } else { if (frame_work < frame_min){ frame_work = frame_max; }; }; animduration = (animduration - delta); if (animduration < 1){ animduration = 0; frame_work = frame_min; animating = 0; }; break; }; frame = Math.round(frame_work); if (animstyle == 1){ srcx = (frame * (width + frame_border)); } else { if (animstyle == 2){ srcx = animatecopyarray[(frame * 2)]; srcy = animatecopyarray[((frame * 2) + 1)]; } else { bmpsrc = animbitmapdata_array[frame]; }; }; }; } public function _rm276(_arg1:Function):void{ killedcallback = _arg1; } public function _jy365():void{ if (rotating){ switch (rotating){ case 1: rotation = (rotation + (rotating_dir * delta)); if (rotation >= rotating_max){ rotation = rotating_max; rotating_dir = -(rotating_dir); } else { if (rotation <= rotating_min){ rotation = rotating_min; rotating_dir = -(rotating_dir); }; }; break; case 2: rotation = (rotation + (rotating_dir * delta)); if (rotation >= rotating_max){ rotation = rotating_min; } else { if (rotation <= rotating_min){ rotation = rotating_max; }; }; break; case 3: rotation = (rotation + (rotating_dir * delta)); if (rotation >= rotating_max){ rotation = rotating_max; rotating = 0; } else { if (rotation <= rotating_min){ rotation = rotating_min; rotating = 0; }; }; break; case 4: rotation = (rotation + (rotating_dir * delta)); if (rotation >= rotating_max){ rotation = rotating_max; rotating = 0; timetodie = true; } else { if (rotation <= rotating_min){ rotation = rotating_min; rotating = 0; timetodie = true; }; }; break; case 5: _ac373(rotate_towards_sprite, rotating_dir); break; case 6: _td98(rotating_min, rotating_dir, delta); break; }; }; } public function _eh233(_arg1:BitmapData, _arg2:Number, _arg3:Number):void{ } public function _ol318(_arg1:Boolean):void{ collision_enabled = _arg1; delayinit_collisionbuffer = collision_enabled; } public function _nr197(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ xdir = _fb304._qt263(_arg1, _arg2); ydir = _fb304._ex346(_arg1, _arg2); xmin_boundry = _arg3; xmax_boundry = _arg5; ymin_boundry = _arg4; ymax_boundry = _arg6; movetype = 12; } public function _ao207(_arg1:Number, _arg2:Number=1, _arg3:Number=0, _arg4:Number=1):void{ alphafading = 1; alphafade_dir = _arg1; alphafade_min = _arg3; alphafade_max = _arg4; alpha = _arg2; } public function _ac373(_arg1:_vc343, _arg2:Number, _arg3:Number=1):void{ var _local4:Number = rotation; var _local5:Number = _fb304._xk266(x, y, _arg1.x, _arg1.y); var _local6:Number = 0; if (_local4 < _local5){ _local6 = 1; if ((_local5 - _local4) > 179){ _local6 = -1; }; } else { if (_local4 > _local5){ _local6 = -1; if ((_local4 - _local5) > 179){ _local6 = 1; }; }; }; _local4 = (_local4 + ((_arg2 * _local6) * _arg3)); if (_local4 < 0){ _local4 = (_local4 + 360); } else { if (_local4 > 359){ _local4 = (_local4 - 360); }; }; if (Math.abs((_local4 - _local5)) < 2){ _local4 = _local5; }; rotation = _local4; } public function _lg31(_arg1:_vc343, _arg2:Number):void{ rotating = 5; rotating_dir = _arg2; rotate_towards_sprite = _arg1; } public function _gk383(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{ xskewing = _arg4; xskewing_dir = _arg1; xskewing_min = _arg2; xskewing_max = _arg3; xskew = _arg5; } public function _nw303(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{ xmin_boundry = _arg1; xmax_boundry = _arg3; ymin_boundry = _arg2; ymax_boundry = _arg4; } public function _mj210(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{ xscaling = _arg4; xscaling_dir = _arg1; xscaling_min = _arg2; xscaling_max = _arg3; xscale = _arg5; } public function _fl319(_arg1:Number, _arg2:Number):void{ xscale = _arg1; yscale = _arg2; } public function _rg304(_arg1:BitmapData, _arg2:Number, _arg3:int, _arg4:int, _arg5:Array):void{ bmpsrc = _arg1; srcx = 0; frame_min = 0; frame_max = (_arg3 - 1); frame_dir = _arg2; frame_work = 0; frame = 0; frame_border = 0; animstyle = 2; animating = _arg4; animatecopyarray = _arg5; } public function _na325():void{ if (yskewing){ yskew = (yskew + (yskewing_dir * delta)); switch (yskewing){ case 1: if (yskew >= yskewing_max){ yskew = yskewing_max; yskewing_dir = -(yskewing_dir); } else { if (yskew <= yskewing_min){ yskew = yskewing_min; yskewing_dir = -(yskewing_dir); }; }; break; case 2: if (yskew >= yskewing_max){ yskew = yskewing_min; } else { if (yskew <= yskewing_min){ yskew = yskewing_max; }; }; break; case 3: if (yskew >= yskewing_max){ yskew = yskewing_max; yskewing = 0; } else { if (yskew <= yskewing_min){ yskew = yskewing_min; yskewing = 0; }; }; break; case 4: if (yskew >= yskewing_max){ yskew = yskewing_max; yskewing = 0; timetodie = true; } else { if (yskew <= yskewing_min){ yskew = yskewing_min; yskewing = 0; timetodie = true; }; }; break; }; }; } public function _sf380(_arg1:Number, _arg2:Number):Boolean{ if (collision_enabled == true){ if (centerhandle == true){ return (_ev59(_arg1, _arg2, (x - ((collision_width * Math.abs(xscale)) / 2)), (y - ((collision_height * Math.abs(yscale)) / 2)), (collision_width * Math.abs(xscale)), (collision_height * Math.abs(yscale)))); }; return (_ev59(_arg1, _arg2, x, y, (collision_width * Math.abs(xscale)), (collision_height * Math.abs(yscale)))); //unresolved jump }; return (false); } public function _pa291(_arg1:Function):void{ timetodiefunc = _arg1; } public function _gk163(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{ yscaling = _arg4; yscaling_dir = _arg1; yscaling_min = _arg2; yscaling_max = _arg3; yscale = _arg5; xscaling = _arg4; xscaling_dir = _arg1; xscaling_min = _arg2; xscaling_max = _arg3; xscale = _arg5; } public function _jt52(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0, _arg6:Boolean=true):void{ xdir = _arg1; ydir = _arg2; xgravity = _arg3; ygravity = _arg4; durationthenstop = _arg5; doboundrycheck = _arg6; movetype = 1; if (doboundrycheck == false){ movetype = 10; }; } public function _ac288(_arg1:String):void{ name = _arg1; } public function _ch31(_arg1:Boolean):void{ drawsmoothing = _arg1; } public function _td98(_arg1:Number, _arg2:Number, _arg3:Number=1):void{ var _local4:Number = rotation; var _local5:Number = _arg1; var _local6:Number = 0; if (_local4 < _local5){ _local6 = 1; if ((_local5 - _local4) > 179){ _local6 = -1; _local4 = (_local4 + ((_arg2 * _local6) * _arg3)); } else { _local4 = (_local4 + ((_arg2 * _local6) * _arg3)); }; } else { if (_local4 > _local5){ _local6 = -1; if ((_local4 - _local5) > 179){ _local6 = 1; _local4 = (_local4 + ((_arg2 * _local6) * _arg3)); } else { _local4 = (_local4 + ((_arg2 * _local6) * _arg3)); }; }; }; if (_local4 < 0){ _local4 = (_local4 + 360); } else { if (_local4 > 359){ _local4 = (_local4 - 360); }; }; if (Math.abs((_local4 - _local5)) < 2){ _local4 = _local5; }; rotation = _local4; } public function _wu198(_arg1:String):void{ blend = _arg1; } public function _go54(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ redstart = _arg1; greenstart = _arg2; bluestart = _arg3; redspeed = _arg4; greenspeed = _arg5; bluespeed = _arg6; redtarget = 1; greentarget = 1; bluetarget = 1; flashing = true; } public function _xy77(_arg1:Number, _arg2:Number):void{ x = _arg1; y = _arg2; } public function _vw95(_arg1:Object, _arg2:Number, _arg3:int, _arg4:int):void{ animbitmapdata_array = _arg1; bmpsrc = animbitmapdata_array[0]; srcx = 0; srcy = 0; frame_min = 0; frame_max = (_arg3 - 1); frame_dir = _arg2; frame_work = 0; frame = 0; animstyle = 3; animating = _arg4; } public function _hd358(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{ yscaling = _arg4; yscaling_dir = _arg1; yscaling_min = _arg2; yscaling_max = _arg3; yscale = _arg5; } public function _be26(_arg1:Function):void{ hitcallback = _arg1; } public function _br347(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Boolean=false, _arg6:Boolean=false):void{ movedata1 = _arg1; movedata2 = _arg2; movedata3 = _arg3; movedata4 = _arg4; movetype = 7; if (_arg5 == true){ movetype = 9; }; neverending = _arg6; } public function _ir80(_arg1:Number, _arg2:Number):void{ alphafading = 2; alphafade_dir = _arg1; alphafade_min = 0; alphafade_max = 1; alpha = 0; alphafade_pausing = 0; alphafade_pausing_buffer = _arg2; } public function _gw287(_arg1:Object, _arg2:Number, _arg3:int, _arg4:Number):void{ animbitmapdata_array = _arg1; bmpsrc = animbitmapdata_array[0]; srcx = 0; srcy = 0; frame_min = 0; frame_max = (_arg3 - 1); frame_dir = _arg2; frame_work = 0; frame = 0; animstyle = 3; animating = 5; animduration = _arg4; } public function _fy304(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):void{ cosangle = _arg1; cosspeed = _arg2; cosradius = _arg3; sinangle = _arg4; sinspeed = _arg5; sinradius = _arg6; radiusgrowth = _arg7; movetype = 8; } public function _me31(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Function):void{ movedata1 = _arg1; movedata2 = _arg2; movedata3 = _arg3; movedata4 = _arg4; movetype = 7; donecallback = _arg5; } public function _wm262(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{ rotating = _arg4; rotating_dir = _arg1; rotating_min = _arg2; rotating_max = _arg3; rotation = _arg5; } public function _mx306(_arg1:Number):void{ alpha = _arg1; } public function _ea350():void{ if (alphafading){ switch (alphafading){ case 1: alpha = (alpha + (alphafade_dir * delta)); if (alpha > alphafade_max){ alpha = alphafade_max; alphafading = 0; } else { if (alpha < alphafade_min){ alpha = alphafade_min; alphafading = 0; timetodie = true; }; }; break; case 2: if (alphafade_pausing > 0){ alphafade_pausing = (alphafade_pausing - (1 * delta)); if (alphafade_pausing < 1){ alphafade_pausing = 0; _ao207(-(alphafade_dir)); }; } else { alpha = (alpha + (alphafade_dir * delta)); if (alpha >= alphafade_max){ alpha = alphafade_max; alphafade_pausing = alphafade_pausing_buffer; }; }; break; }; _mx306(alpha); }; } public function _rn72(_arg1:_vc343, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):void{ target = _arg1; movedata1 = _arg2; movement_delay = _arg3; movement_delaycounter = movement_delay; movetype = 6; movedata2 = _arg4; movedata3 = _arg5; } public function _qr348():void{ animatecopyarray = null; callback = null; killedcallback = null; hitcallback = null; timetodiefunc = null; donecallback = null; myrect = null; mypoint = null; userobject = null; rotate_towards_sprite = null; target = null; groupparent = null; } public function _uv288(_arg1:Number, _arg2:Number):void{ rotating = 6; rotating_dir = _arg2; rotating_min = _arg1; } public function _il22(_arg1:Number, _arg2:Number):void{ xskew = _arg1; yskew = _arg2; } public function _tb211(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ _jt52(_fb304._qt263(_arg1, 0.01), _fb304._ex346(_arg1, 0.01), 0, 0, 0, false); dampvalue = _arg2; damping = dampvalue; dampmultiplier = 1; dampaddvalue = _arg3; dampmultipliermax = _arg4; dampmultipliermin = _arg5; movedata1 = 0; movetype = 13; } public function _yg148(_arg1:Number, _arg2:Number):void{ collision_width = _arg1; collision_height = _arg2; collision_type = 0; } public function _yt47():void{ var _local1:Number; var _local2:Matrix; if (delayinit == 0){ if (donotrender == false){ if (type == 1){ _local1 = 0; if (rotation != 0){ if (rotation > 180){ _local1 = (-360 + rotation); } else { _local1 = rotation; }; _local1 = ((mypi * _local1) / 360); }; _local2 = new Matrix(); if (centerhandle == true){ _local2.translate((-(width) / 2), (-(height) / 2)); }; _local2.scale(xscale, yscale); _local2.rotate(_local1); _local2.translate(x, y); ct.redMultiplier = red; ct.greenMultiplier = green; ct.blueMultiplier = blue; ct.alphaMultiplier = alpha; bmpdest.draw(bmpsrc, _local2, ct, blend, null, drawsmoothing); } else { if (centerhandle == true){ mypoint.x = (x - (width / 2)); mypoint.y = (y - (height / 2)); } else { mypoint.x = x; mypoint.y = y; }; myrect.x = srcx; myrect.y = srcy; bmpdest.copyPixels(bmpsrc, myrect, mypoint, null, null, false); }; }; }; } public function _ai347(_arg1:Number, _arg2:Number=0.95):void{ damping = _arg1; dampvalue = _arg1; dampmultiplier = _arg2; } public function _ps325(_arg1:BitmapData):void{ var _local2:BitmapData = bmpdest; var _local3:Boolean = donotrender; donotrender = false; bmpdest = _arg1; _yt47(); bmpdest = _local2; donotrender = _local3; } public function _xe182(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{ bmpsrc = _arg1; srcx = _arg2; srcy = _arg3; width = _arg4; height = _arg5; myrect.width = width; myrect.height = height; collision_radius = (width / 2); collision_width = width; collision_height = height; collision_enabled = true; } public function _kp78(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Number=0, _arg6:Boolean=true):void{ var _local7:Number = (_arg1 + _fb304.Random._dk328((-(_arg2) / 2), (_arg2 / 2))); if (_local7 < 0){ _local7 = (_local7 + 360); } else { if (_local7 > 360){ _local7 = (_local7 - 360); }; }; _jt52(_fb304._qt263(_local7, _arg3), _fb304._ex346(_local7, _arg3), 0, _arg5, _arg4, _arg6); } public function _au319():void{ if (yscaling){ yscale = (yscale + (yscaling_dir * delta)); switch (yscaling){ case 1: if (yscale >= yscaling_max){ yscale = yscaling_max; yscaling_dir = -(yscaling_dir); } else { if (yscale <= yscaling_min){ yscale = yscaling_min; yscaling_dir = -(yscaling_dir); }; }; break; case 2: if (yscale >= yscaling_max){ yscale = yscaling_min; } else { if (yscale <= yscaling_min){ yscale = yscaling_max; }; }; break; case 3: if (yscale >= yscaling_max){ yscale = yscaling_max; yscaling = 0; } else { if (yscale <= yscaling_min){ yscale = yscaling_min; yscaling = 0; }; }; break; case 4: if (yscale >= yscaling_max){ yscale = yscaling_max; yscaling = 0; timetodie = true; } else { if (yscale <= yscaling_min){ yscale = yscaling_min; yscaling = 0; timetodie = true; }; }; break; case 5: if (yscale >= yscaling_max){ yscale = yscaling_max; yscaling_dir = -(yscaling_dir); yscaling = 3; }; break; case 7: if (yscale >= yscaling_max){ yscale = yscaling_max; yscaling_dir = -(yscaling_dir); yscaling = 4; }; break; }; }; } private function _ev59(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean{ if ((((((((_arg1 < (_arg3 + _arg5))) && ((_arg2 < (_arg4 + _arg6))))) && ((_arg1 > _arg3)))) && ((_arg2 > _arg4)))){ return (true); }; return (false); } } }//package classes
Section 25
//_yd186 (classes._yd186) package classes { public class _yd186 { public var DelayBuffer:Number;// = 0 public var Loop:Boolean; public var CallFunction:Function; public var Delay:Number;// = 0 } }//package classes
Section 26
//_yd376 (classes._yd376) package classes { public class _yd376 { public var seed:uint; public function _yd376(){ seed = 1; } public function _gr275():Number{ return ((_vx142() / 2147483647)); } public function _dk328(_arg1:Number, _arg2:Number):Number{ return ((_arg1 + ((_arg2 - _arg1) * _gr275()))); } public function _nv283():uint{ return (_vx142()); } private function _vx142():uint{ return ((seed = ((seed * 16807) % 2147483647))); } public function _wy20(_arg1:Number, _arg2:Number):uint{ _arg1 = (_arg1 - 0.4999); _arg2 = (_arg2 + 0.4999); return (Math.round((_arg1 + ((_arg2 - _arg1) * _gr275())))); } } }//package classes
Section 27
//InitializedSprite (com.urbansquall.display.InitializedSprite) package com.urbansquall.display { import flash.events.*; import flash.display.*; public class InitializedSprite extends Sprite { public function InitializedSprite(){ if (this.stage != null){ Init(); } else { addEventListener(Event.ADDED_TO_STAGE, doInit); }; } protected function Init():void{ throw (new Error("InitializedSprite. Override the subclasses' init. That's the whole point of InitializedSprite.")); } private function doInit(_arg1:Event):void{ removeEventListener(Event.ADDED_TO_STAGE, doInit); Init(); } } }//package com.urbansquall.display
Section 28
//Preloader (com.urbansquall.preloader.Preloader) package com.urbansquall.preloader { import flash.events.*; import flash.display.*; import flash.utils.*; public class Preloader extends MovieClip { public var oktoexit:Boolean;// = false private var m_firstFrame:Boolean;// = true public function Preloader(){ addEventListener(Event.ENTER_FRAME, checkFrame); } protected function endLoading():void{ } protected function updateLoading(_arg1:Number):void{ } protected function get mainClassName():String{ return ("_cp62"); } protected function beginLoading():void{ } private function checkFrame(_arg1:Event):void{ if ((((currentFrame == totalFrames)) && ((oktoexit == true)))){ removeEventListener(Event.ENTER_FRAME, checkFrame); startup(); return; }; if (m_firstFrame){ beginLoading(); m_firstFrame = false; return; }; var _local2:Number = (root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal); updateLoading(_local2); } private function startup():void{ stop(); if (!m_firstFrame){ endLoading(); }; var _local1:Class = (getDefinitionByName(mainClassName) as Class); if (_local1 == null){ throw (new Error((("Preloader:startup. There was no class matching [" + mainClassName) + "]. You may need to override Preloader::mainClassName"))); }; var _local2:DisplayObject = (new (_local1) as DisplayObject); if (_local2 == null){ throw (new Error((("Preloader::startup. [" + mainClassName) + "] needs to inherit from Sprite or MovieClip."))); }; addChildAt(_local2, 0); } } }//package com.urbansquall.preloader
Section 29
//MochiAd (mochi.MochiAd) package mochi { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("3.0 as3"); } public static function showClickAwayAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; var sendHostProgress:Boolean; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; var _local1:Object = this.parent._mochiad_ctr; var _local2:Number = (getTimer() - this.started); var _local3:Boolean; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(_arg1:String):String{ var _local2:String = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType == "application"){ return (_local2); }; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (_arg1.origFrameRate != undefined){ _arg1.stage.frameRate = _arg1.origFrameRate; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad._containerLCName != undefined){ _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"}); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; var ad_msec:Number = 11000; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; var fadeout_time:Number = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; var _local1:Object = this.parent._mochiad_ctr; var _local2:Number = (getTimer() - this.started); var _local3:Boolean; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; var _local3:Object = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); }; return (_local3); } public static function _cleanup(_arg1:Object):void{ var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; var idx:Number = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(_arg1:Object):MovieClip{ var clip:Object; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; var DEFAULTS:Object = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; var depth:Number = options.depth; delete options.depth; var mc:MovieClip = createEmptyMovieClip(clip, "_mochiad", depth); var wh:Array = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; } else { trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal"); }; var lv:URLVariables = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime())); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function (_arg1:IOErrorEvent):void{ trace("[MochiAds] Blocked URL"); }); loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array = _arg2.split("."); var _local5:Number = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local6:Array; var _local3:Object = _arg2.getBounds(_arg2.root); var _local4:Number = 0; var _local5:Number = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array = _arg2.split("."); var _local4:Number = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = MochiAd.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; default: trace(("[mochiads rpc] unknown rpc id: " + _arg3.id)); }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array = _arg2.split("."); var _local5:Number = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function showPreGameAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var complete:Boolean; var unloaded:Boolean; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }, ad_progress:function (_arg1:Number):void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); return; }; clip = options.clip; var ad_msec:Number = 11000; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; var fadeout_time:Number = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); var fn:Function = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); var bar:MovieClip = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = 10; bar.y = (h - 20); }; var bar_color:Number = options.color; delete options.color; var bar_background:Number = options.background; delete options.background; var bar_outline:Number = options.outline; delete options.outline; var backing_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 1); var backing:Object = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); var inside_mc:MovieClip = createEmptyMovieClip(bar, "_inside", 2); var inside:Object = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; var outline_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 3); var outline:Object = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; var f:Function = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ trace(("[MOCHIAD rpcTestFn] " + _arg1)); return (_arg1); }; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local11:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; var _local1:Object = this.parent.parent.root; var _local2:Object = this.parent._mochiad_ctr; var _local3:Number = (getTimer() - this.started); var _local4:Boolean; var _local5:Number = _local1.loaderInfo.bytesTotal; var _local6:Number = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; var _local7:Number = ((100 * _local6) / _local5); var _local8:Number = ((100 * _local3) / chk.ad_msec); var _local9:Object = this._mochiad_bar._inside; var _local10:Number = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); options.ad_progress(_local10); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7}); if (_local7 == 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local11 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); MochiAd.showPreGameAd(_arg1); } public static function showTimedAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); MochiAd.showInterLevelAd(_arg1); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var mc = _arg1; var f:Function = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package mochi
Section 30
//MochiDigits (mochi.MochiDigits) package mochi { public final class MochiDigits { private var Sibling:MochiDigits; private var Fragment:Number; private var Encoder:Number; public function MochiDigits(_arg1:Number=0, _arg2:uint=0):void{ Encoder = 0; setValue(_arg1, _arg2); } public function reencode():void{ var _local1:uint = int((2147483647 * Math.random())); Fragment = (Fragment ^ (_local1 ^ Encoder)); Encoder = _local1; } public function set value(_arg1:Number):void{ setValue(_arg1); } public function toString():String{ var _local1:String = String.fromCharCode((Fragment ^ Encoder)); if (Sibling != null){ _local1 = (_local1 + Sibling.toString()); }; return (_local1); } public function setValue(_arg1:Number=0, _arg2:uint=0):void{ var _local3:String = _arg1.toString(); var _temp1 = _arg2; _arg2 = (_arg2 + 1); Fragment = (_local3.charCodeAt(_temp1) ^ Encoder); if (_arg2 < _local3.length){ Sibling = new MochiDigits(_arg1, _arg2); } else { Sibling = null; }; reencode(); } public function get value():Number{ return (Number(this.toString())); } public function addValue(_arg1:Number):void{ value = (value + _arg1); } } }//package mochi
Section 31
//MochiScores (mochi.MochiScores) package mochi { import flash.display.*; import flash.text.*; public class MochiScores { private static var boardID:String; public static var onErrorHandler:Object; public static var onCloseHandler:Object; public static function showLeaderboard(_arg1:Object=null):void{ var n:Number; var options = _arg1; if (options != null){ if (options.clip != null){ if ((options.clip is Sprite)){ MochiServices.setContainer(options.clip); }; delete options.clip; } else { MochiServices.setContainer(); }; MochiServices.stayOnTop(); if (options.name != null){ if ((options.name is TextField)){ if (options.name.text.length > 0){ options.name = options.name.text; }; }; }; if (options.score != null){ if ((options.score is TextField)){ if (options.score.text.length > 0){ options.score = options.score.text; }; } else { if ((options.score is MochiDigits)){ options.score = options.score.value; }; }; n = Number(options.score); if (isNaN(n)){ trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'")); } else { if ((((n == Number.NEGATIVE_INFINITY)) || ((n == Number.POSITIVE_INFINITY)))){ trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite")); } else { if (Math.floor(n) != n){ trace((("WARNING: Submitted score '" + options.score) + "' will be truncated")); }; options.score = n; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; }; } else { options = {}; if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; if (options.onClose != null){ onCloseHandler = options.onClose; } else { onCloseHandler = function ():void{ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.play(); } else { trace("Warning: Container is not a MovieClip, cannot call default onClose."); }; }; }; if (options.onError != null){ onErrorHandler = options.onError; } else { onErrorHandler = null; }; if (options.boardID == null){ if (MochiScores.boardID != null){ options.boardID = MochiScores.boardID; }; }; trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal"); MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2); } public static function requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; var _local2:Object = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{ _arg1 = Number(_arg1); if (isNaN(_arg1)){ trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is 'Not a Number'")); } else { if ((((_arg1 == Number.NEGATIVE_INFINITY)) || ((_arg1 == Number.POSITIVE_INFINITY)))){ trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is an infinite")); } else { if (Math.floor(_arg1) != _arg1){ trace((("WARNING: Submitted score '" + String(_arg1)) + "' will be truncated")); }; _arg1 = Number(_arg1); }; }; MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4); } public static function onClose(_arg1:Object=null):void{ if (_arg1 != null){ if (_arg1.error != null){ if (_arg1.error == true){ if (onErrorHandler != null){ if (_arg1.errorCode == null){ _arg1.errorCode = "IOError"; }; onErrorHandler(_arg1.errorCode); MochiServices.doClose(); return; }; }; }; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(_arg1:String):void{ MochiScores.boardID = _arg1; MochiServices.send("scores_setBoardID", {boardID:_arg1}); } } }//package mochi
Section 32
//MochiServices (mochi.MochiServices) package mochi { import flash.events.*; import flash.display.*; import flash.net.*; import flash.utils.*; import flash.geom.*; import flash.system.*; public class MochiServices { private static var _container:Object; private static var _connected:Boolean = false; private static var _swfVersion:String; public static var netupAttempted:Boolean = false; private static var _sendChannel:LocalConnection; private static var _clip:MovieClip; private static var _loader:Loader; private static var _id:String; private static var _listenChannel:LocalConnection; public static var widget:Boolean = false; private static var _timer:Timer; private static var _sendChannelName:String; private static var _connecting:Boolean = false; public static var onError:Object; private static var _listenChannelName:String = "__ms_"; private static var _servicesURL:String = "http://www.mochiads.com/static/lib/services/services.swf"; public static var netup:Boolean = true; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function get connected():Boolean{ return (_connected); } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (_clip != null){ if (_clip._queue != null){ while (_clip._queue.length > 0) { _local2 = _clip._queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _clip._callbacks[_local2.callbackID]; }; delete _clip._callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; }; } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _sendChannel.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ onError("NotConnected"); handleError(_arg2, _arg3, _arg4); flush(true); return; }; _clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); }; if (_clip != null){ if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){ _clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _clip._nextcallbackID++; }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } public static function get childClip():Object{ return (_clip); } private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{ var _local4:int; var _local14:Loader; var _local3:Array = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23]; var _local5:Array = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3]; var _local6:Array = [0, 64, 0, 0, 0]; var _local7:MovieClip = new MovieClip(); var _local8:LocalConnection = new LocalConnection(); var _local9:String = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().getTime())); _local8 = new LocalConnection(); _local7.lc = _local8; _local7.click = _arg2; _local8.client = _local7; _local8.connect(_local9); var _local10:ByteArray = new ByteArray(); var _local11:ByteArray = new ByteArray(); _local11.endian = Endian.LITTLE_ENDIAN; _local11.writeShort(1); _local11.writeUTFBytes(((_arg1 + " ") + _local9)); _local11.writeByte(0); var _local12:uint = ((_local3.length + _local11.length) + 4); var _local13:uint = (_local12 + 35); _local10.endian = Endian.LITTLE_ENDIAN; _local10.writeUTFBytes("FWS"); _local10.writeByte(8); _local10.writeUnsignedInt(_local13); for each (_local4 in _local5) { _local10.writeByte(_local4); }; _local10.writeUnsignedInt(_local12); _local10.writeByte(136); _local10.writeShort(_local11.length); _local10.writeBytes(_local11); for each (_local4 in _local3) { _local10.writeByte(_local4); }; for each (_local4 in _local6) { _local10.writeByte(_local4); }; _local14 = new Loader(); _local14.loadBytes(_local10); _local7.addChild(_local14); return (_local7); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{ var avm1Click:DisplayObject; var x:String; var req:URLRequest; var loader:Loader; var setURL:Function; var err:Function; var complete:Function; var url = _arg1; var burl = _arg2; var btn = _arg3; var onClick = _arg4; var vars:Object = new Object(); vars["mav"] = getVersion(); vars["swfv"] = "9"; vars["swfurl"] = btn.loaderInfo.loaderURL; vars["fv"] = Capabilities.version; vars["os"] = Capabilities.os; vars["lang"] = Capabilities.language; vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY); var s = "?"; var i:Number = 0; for (x in vars) { if (i != 0){ s = (s + "&"); }; i = (i + 1); s = (((s + x) + "=") + escape(vars[x])); }; req = new URLRequest("http://x.mochiads.com/linkping.swf"); loader = new Loader(); setURL = function (_arg1:String):void{ if (avm1Click){ btn.removeChild(avm1Click); }; avm1Click = clickMovie(_arg1, onClick); var _local2:Rectangle = btn.getBounds(btn); btn.addChild(avm1Click); avm1Click.x = _local2.x; avm1Click.y = _local2.y; avm1Click.scaleX = (0.01 * _local2.width); avm1Click.scaleY = (0.01 * _local2.height); }; err = function (_arg1:Object):void{ netup = false; _arg1.target.removeEventListener(_arg1.type, arguments.callee); setURL(burl); }; complete = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; if (netup){ setURL((url + s)); } else { setURL(burl); }; if (!((netupAttempted) || (_connected))){ netupAttempted = true; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete); loader.load(req); }; } public static function disconnect():void{ if (((_connected) || (_connecting))){ if (_clip != null){ if (_clip.parent != null){ if ((_clip.parent is Sprite)){ Sprite(_clip.parent).removeChild(_clip); _clip = null; }; }; }; _connecting = (_connected = false); flush(true); try { _listenChannel.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; if (Security.sandboxType != "application"){ Security.allowDomain("*"); Security.allowInsecureDomain("*"); }; if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType != "application"){ Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; }; return (_local2); } public static function getVersion():String{ return ("3.0"); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); if (_clip.parent != null){ Sprite(_clip.parent).removeChild(_clip); }; } private static function onStatus(_arg1:StatusEvent):void{ switch (_arg1.level){ case "error": _connected = false; _listenChannel.connect(_listenChannelName); break; }; } public static function get id():String{ return (_id); } private static function urlOptions(_arg1:Object):Object{ var _local4:Array; var _local5:Number; var _local6:Array; var _local2:Object = {}; var _local3:String = _arg1.loaderInfo.parameters.mochiad_options; if (_local3){ _local4 = _local3.split("&"); _local5 = 0; while (_local5 < _local4.length) { _local6 = _local4[_local5].split("="); _local2[unescape(_local6[0])] = unescape(_local6[1]); _local5++; }; }; return (_local2); } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_arg1 != null){ if ((_arg1 is Sprite)){ _container = _arg1; }; }; if (_arg2){ if ((_container is Sprite)){ Sprite(_container).addChild(_clip); }; }; } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ var args = _arg1; var callbackObject = _arg2; var callbackMethod = _arg3; if (args != null){ if (args.onError != null){ args.onError.apply(null, ["NotConnected"]); }; if (((!((args.options == null))) && (!((args.options.onError == null))))){ args.options.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ try { var _local5 = callbackObject; _local5[callbackMethod](args); } catch(error:Error) { }; } else { if (callbackMethod != null){ try { callbackMethod.apply(args); } catch(error:Error) { }; }; }; }; } private static function initComChannels():void{ if (!_connected){ _sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion(), parentURL:_container.loaderInfo.loaderURL}); _listenChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _clip.onReceive = function (_arg1:Object):void{ var methodName:String; var pkg = _arg1; var cb:String = pkg.callbackID; var cblst:Object = this.client._callbacks[cb]; if (!cblst){ return; }; var method:* = cblst.callbackMethod; methodName = ""; var obj:Object = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; } else { trace((("Error: Method " + method) + " does not exist.")); }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString())); }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { trace(("Error invoking method on object: " + error.toString())); }; }; }; delete this.client._callbacks[cb]; }; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; trace("connected!"); _connecting = false; _connected = true; while (_clip._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift()); }; }; } private static function listen():void{ _listenChannel = new LocalConnection(); _listenChannel.client = _clip; _clip.handshake = function (_arg1:Object):void{ MochiServices.comChannelName = _arg1.newChannel; }; _listenChannel.allowDomain("*", "localhost"); _listenChannel.allowInsecureDomain("*", "localhost"); _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ var id = _arg1; var clip = _arg2; var clipname:String = ("_mochiservices_com_" + id); if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; if (urlOptions(clip).servicesURL != undefined){ _servicesURL = urlOptions(clip).servicesURL; }; MochiServices.allowDomains(_servicesURL); _clip = createEmptyMovieClip(clip, clipname, 10336, false); _loader = new Loader(); var f:Function = function (_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _listenChannelName = (_listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor((Math.random() * 99999)))); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); var req:URLRequest = new URLRequest(_servicesURL); var vars:URLVariables = new URLVariables(); vars.listenLC = _listenChannelName; vars.mochiad_options = clip.loaderInfo.parameters.mochiad_options; if (widget){ vars.widget = true; }; req.data = vars; listen(); _loader.load(req); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _clip._nextcallbackID = 0; _clip._callbacks = {}; _timer = new Timer(10000, 1); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); return (_clip); } public static function get clip():Object{ return (_container); } public static function bringToTop(_arg1:Event):void{ var e = _arg1; if (MochiServices.clip != null){ if (MochiServices.childClip != null){ try { if (MochiServices.clip.numChildren > 1){ MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1)); }; } catch(errorObject:Error) { trace("Warning: Depth sort error."); _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); }; }; }; } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; if ((clip is DisplayObject)){ if (((!(_connected)) && ((_clip == null)))){ trace("MochiServices Connecting..."); _connecting = true; init(id, clip); }; } else { trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage."); }; if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (_arg1:String):void{ trace(_arg1); }; }; }; } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{ var parent = _arg1; var name = _arg2; var depth = _arg3; var doAdd = _arg4; var mc:MovieClip = new MovieClip(); if (doAdd){ if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; }; try { parent[name] = mc; } catch(e:Error) { throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; mc["_name"] = name; return (mc); } public static function connectWait(_arg1:TimerEvent):void{ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load. (timeout)"); MochiServices.disconnect(); MochiServices.onError("IOError"); }; } } }//package mochi
Section 33
//BitmapAsset (mx.core.BitmapAsset) package mx.core { import flash.display.*; public class BitmapAsset extends FlexBitmap implements IFlexAsset, IFlexDisplayObject { mx_internal static const VERSION:String = "3.2.0.3958"; public function BitmapAsset(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } public function get measuredWidth():Number{ if (bitmapData){ return (bitmapData.width); }; return (0); } public function get measuredHeight():Number{ if (bitmapData){ return (bitmapData.height); }; return (0); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } } }//package mx.core
Section 34
//FlexBitmap (mx.core.FlexBitmap) package mx.core { import flash.display.*; import mx.utils.*; public class FlexBitmap extends Bitmap { mx_internal static const VERSION:String = "3.2.0.3958"; public function FlexBitmap(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){ var bitmapData = _arg1; var pixelSnapping = _arg2; var smoothing = _arg3; super(bitmapData, pixelSnapping, smoothing); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 35
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 36
//IFlexDisplayObject (mx.core.IFlexDisplayObject) package mx.core { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.accessibility.*; public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher { function get visible():Boolean; function get rotation():Number; function localToGlobal(_arg1:Point):Point; function get name():String; function set width(_arg1:Number):void; function get measuredHeight():Number; function get blendMode():String; function get scale9Grid():Rectangle; function set name(_arg1:String):void; function set scaleX(_arg1:Number):void; function set scaleY(_arg1:Number):void; function get measuredWidth():Number; function get accessibilityProperties():AccessibilityProperties; function set scrollRect(_arg1:Rectangle):void; function get cacheAsBitmap():Boolean; function globalToLocal(_arg1:Point):Point; function get height():Number; function set blendMode(_arg1:String):void; function get parent():DisplayObjectContainer; function getBounds(_arg1:DisplayObject):Rectangle; function get opaqueBackground():Object; function set scale9Grid(_arg1:Rectangle):void; function setActualSize(_arg1:Number, _arg2:Number):void; function set alpha(_arg1:Number):void; function set accessibilityProperties(_arg1:AccessibilityProperties):void; function get width():Number; function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean; function set cacheAsBitmap(_arg1:Boolean):void; function get scaleX():Number; function get scaleY():Number; function get scrollRect():Rectangle; function get mouseX():Number; function get mouseY():Number; function set height(_arg1:Number):void; function set mask(_arg1:DisplayObject):void; function getRect(_arg1:DisplayObject):Rectangle; function get alpha():Number; function set transform(_arg1:Transform):void; function move(_arg1:Number, _arg2:Number):void; function get loaderInfo():LoaderInfo; function get root():DisplayObject; function hitTestObject(_arg1:DisplayObject):Boolean; function set opaqueBackground(_arg1:Object):void; function set visible(_arg1:Boolean):void; function get mask():DisplayObject; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function get transform():Transform; function set filters(_arg1:Array):void; function get x():Number; function get y():Number; function get filters():Array; function set rotation(_arg1:Number):void; function get stage():Stage; } }//package mx.core
Section 37
//IRepeaterClient (mx.core.IRepeaterClient) package mx.core { public interface IRepeaterClient { function get instanceIndices():Array; function set instanceIndices(_arg1:Array):void; function get isDocument():Boolean; function set repeaters(_arg1:Array):void; function initializeRepeaterArrays(_arg1:IRepeaterClient):void; function get repeaters():Array; function set repeaterIndices(_arg1:Array):void; function get repeaterIndices():Array; } }//package mx.core
Section 38
//mx_internal (mx.core.mx_internal) package mx.core { public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal"; }//package mx.core
Section 39
//SoundAsset (mx.core.SoundAsset) package mx.core { import flash.media.*; public class SoundAsset extends Sound implements IFlexAsset { mx_internal static const VERSION:String = "3.2.0.3958"; } }//package mx.core
Section 40
//NameUtil (mx.utils.NameUtil) package mx.utils { import flash.display.*; import mx.core.*; import flash.utils.*; public class NameUtil { mx_internal static const VERSION:String = "3.2.0.3958"; private static var counter:int = 0; public static function displayObjectToString(_arg1:DisplayObject):String{ var result:String; var o:DisplayObject; var s:String; var indices:Array; var displayObject = _arg1; try { o = displayObject; while (o != null) { if (((((o.parent) && (o.stage))) && ((o.parent == o.stage)))){ break; }; s = o.name; if ((o is IRepeaterClient)){ indices = IRepeaterClient(o).instanceIndices; if (indices){ s = (s + (("[" + indices.join("][")) + "]")); }; }; result = ((result == null)) ? s : ((s + ".") + result); o = o.parent; }; } catch(e:SecurityError) { }; return (result); } public static function createUniqueName(_arg1:Object):String{ if (!_arg1){ return (null); }; var _local2:String = getQualifiedClassName(_arg1); var _local3:int = _local2.indexOf("::"); if (_local3 != -1){ _local2 = _local2.substr((_local3 + 2)); }; var _local4:int = _local2.charCodeAt((_local2.length - 1)); if ((((_local4 >= 48)) && ((_local4 <= 57)))){ _local2 = (_local2 + "_"); }; return ((_local2 + counter++)); } } }//package mx.utils
Section 41
//_cp62 (_cp62) package { import flash.events.*; import flash.display.*; import classes.*; import com.urbansquall.display.*; import mochi.*; import flash.net.*; import flash.utils.*; import flash.text.*; import flash.geom.*; import flash.filters.*; import flash.ui.*; import caurina.transitions.*; import flash.system.*; public class _cp62 extends InitializedSprite { public static var smartbombsID:String = smartbombs_o.f(0, ""); public static var Project_FrameRate:int = 35; public static var asteroids_o:Object = {n:[3, 2, 2, 8, 1, 7, 9, 5, 14, 10, 1, 4, 1, 4, 1, 6], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; public static var mysp:_vc343; public static var ProgramDelaying:Number; public static var GameLives:int; public static var Mouse_X:Number; public static var Mouse_Y:Number; public static var mochiconnecterror:Boolean; public static var Project_Name:String = irrcrpt("PlvvlohUxvkPxqvlhJdphv", 3); public static var agi_url:String = irrcrpt("jvvr://cik.ctoqticogu.eqo/cuugvu/cik/CIK.uyh", 2); public static var asteroidsID:String = asteroids_o.f(0, ""); public static var Project_Height:int = 438; public static var ShowScoresDone:Boolean; public static var TransitionCallWhenDone:Function; public static var Transition:_mm133; public static var o:Object = {n:[15, 6, 1, 9, 13, 10, 13, 15, 5, 10, 0, 6, 10, 10, 10, 6], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; public static var Functions:_pj354; public static var mochiboardID:String = o.f(0, ""); public static var mochileaderboard:MovieClip = new MovieClip(); public static var ProgramState:Function; public static var GameContainer:Sprite; public static var MyStage:Stage; public static var mydsp:_st351; public static var Delta:Number; public static var GameLevel:int; public static var GameState:int; public static var GameScore:MochiDigits = new MochiDigits(); public static var Font1:_pw325; public static var Font2:_pw325; public static var Font3:_pw325; public static var CallWhenMochiScoresDone:Function; public static var MochiIDString:String = irrcrpt("i376g2240eh615j4", 4); public static var SmallText:_ij74 = new _ij74(); public static var agi_busy:Boolean; public static var agi_loaded:Boolean; public static var mochiadsmc:MovieClip = new MovieClip(); public static var agi_loader:Loader; public static var GameScoreString:String = ""; public static var smartbombs_o:Object = {n:[12, 4, 2, 8, 5, 9, 14, 6, 0, 5, 8, 9, 0, 4, 15, 11], f:function (_arg1:Number, _arg2:String):String{ if (_arg2.length == 16){ return (_arg2); }; return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16)))); }}; public static var agi_urlRequest:URLRequest; public static var SubmitScoreDone:Boolean; public static var agi_api; public static var Project_Width:int = 700; public static var mochiconnect:MovieClip = new MovieClip(); public static var IsOkToRun:Boolean; public static var MySharedObject:SharedObject = SharedObject.getLocal(Project_Name); public static var armorgamesmc:MovieClip; public static var GameScoreUpdated:Boolean; public function _cp62():void{ } private function _uk269():void{ _do49.Init(GameContainer); _yi181.Init(GameContainer); _xr212.Init(GameContainer); _dn318.Init(GameContainer); _ss313(); Functions = new _pj354(); _gx324(); } private function _ap274(_arg1:Stage):void{ _io323.Init(_arg1); _pp165.Init(); _pp165._qp256(irrcrpt("dodup", 3), new _mu68.alarmmp3(), 0, 0); _pp165._qp256(irrcrpt("odxqfk4", 3), new _mu68.launch1mp3(), 0, 0); _pp165._qp256(irrcrpt("qfzshm7", 5), new _mu68.launch2mp3(), 0, 0); _pp165._qp256(irrcrpt("ncwpej5", 2), new _mu68.launch3mp3(), 0, 0); _pp165._qp256(irrcrpt("dqqo3", 2), new _mu68.boom1mp3(), 0, 0); _pp165._qp256(irrcrpt("errp5", 3), new _mu68.boom2mp3(), 0, 0); _pp165._qp256(irrcrpt("cppn4", 1), new _mu68.boom3mp3(), 0, 0); _pp165._qp256(irrcrpt("wqevxfsqf", 4), new _mu68.smartbombmp3(), 0, 0); _pp165._qp256(irrcrpt("wexippmxi", 4), new _mu68.satellitemp3(), 0, 0); _pp165._qp256(irrcrpt("eljhasorgh", 3), new _mu68.bigexplodemp3(), 0, 0); _pp165._qp256(irrcrpt("nix", 4), new _mu68.jetmp3(), 0, 0); _pp165._qp256(irrcrpt("gsyrx", 4), new _mu68.countmp3(), 0, 0); _pp165._qp256(irrcrpt("lsziv", 4), new _mu68.hovermp3(), 0, 0); _pp165._qp256(irrcrpt("fdqwiluh", 3), new _mu68.cantfiremp3(), 0, 0); _is159.Init(); _is159._qp256(irrcrpt("wudfn4", 3), new _mu68.track1mp3(), 0, 1000); _is159._qp256(irrcrpt("vkvng", 2), new _mu68.titlemp3(), 30, 1000); _bd50(); } private function _gx324():void{ stage.quality = StageQuality.HIGH; stage.addEventListener(Event.ENTER_FRAME, _ur350); armorgamesmc = new armorGamesIntroMC(); armorgamesmc.scaleX = 1.5; armorgamesmc.scaleY = 1.5; armorgamesmc.x = (Project_Width / 2); armorgamesmc.y = (Project_Height / 2); armorgamesmc.mouseEnabled = true; armorgamesmc.buttonMode = true; armorgamesmc.addEventListener(MouseEvent.CLICK, _ti38); stage.addChild(armorgamesmc); armorgamesmc.gotoAndPlay(2); _ja136._kl182(); } private function _tm141():Boolean{ var _local1:String = _tp281(); var _local2:Boolean; var _local3:Array = ["test.swf", "flashgamelicense.com", "munsiegames.com"]; var _local4:int; while (_local4 < _local3.length) { if (_local1.indexOf(_local3[_local4]) > 0){ _local2 = true; }; _local4++; }; _local2 = true; return (_local2); } override protected function Init():void{ MyStage = stage; stage.frameRate = Project_FrameRate; stage.quality = StageQuality.MEDIUM; stage.showDefaultContextMenu = false; _ap274(stage); _ja136._ts325((1000 / 20)); IsOkToRun = _tm141(); GameContainer = new Sprite(); GameContainer.x = 0; GameContainer.y = 0; GameContainer.scrollRect = new Rectangle(0, 0, Project_Width, Project_Height); addChild(GameContainer); _uk269(); } private function _ur350(_arg1:Event):void{ if (armorgamesmc.currentFrame == 218){ stage.quality = StageQuality.MEDIUM; armorgamesmc.removeEventListener(MouseEvent.CLICK, _ti38); stage.removeChild(armorgamesmc); armorgamesmc.enabled = false; armorgamesmc.visible = false; armorgamesmc = null; stage.removeEventListener(Event.ENTER_FRAME, _ur350); _yl260(); }; } private function _ss313():void{ agi_loaded = false; Security.allowDomain(agi_url); Security.allowInsecureDomain(agi_url); agi_urlRequest = new URLRequest(agi_url); agi_loader = new Loader(); agi_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, _xj194); agi_loader.load(agi_urlRequest); } private function _tp281():String{ var _local2:String; var _local1:String = this.root.loaderInfo.url; _local2 = _local1; return (_local2.toLowerCase()); } private function _yl260():void{ _do49._ku305(); _ja136._kl182(); _ny137._wt238(); stage.addEventListener(Event.ENTER_FRAME, _gg86); } private function _xj194(_arg1:Event):void{ var _local2:String = irrcrpt("i3dg83h80e6he90dg65ge370f9g286g8", 3); var _local3:String = irrcrpt("okuukng-twuj", 2); agi_api = _arg1.currentTarget.content; addChild(agi_api); agi_api.init(_local2, _local3); agi_loaded = true; trace(irrcrpt("DJL Ordghg!", 3)); } private function _bd50():void{ var _local1:int; Font1 = new _pw325(); Font1._oj153(_mu68.fontbmp, 0); Font2 = new _pw325(); Font2._oj153(_mu68.fontbmp, 0); Font1._xn114(48, 0, 0, 10, 16); Font1._xn114(49, 11, 0, 10, 16); Font1._xn114(50, 22, 0, 10, 16); Font1._xn114(51, 33, 0, 10, 16); Font1._xn114(52, 44, 0, 10, 16); Font1._xn114(53, 55, 0, 10, 16); Font1._xn114(54, 66, 0, 10, 16); Font1._xn114(55, 77, 0, 10, 16); Font1._xn114(56, 88, 0, 10, 16); Font1._xn114(57, 99, 0, 10, 16); Font2._xn114(48, 110, 0, 10, 16); Font2._xn114(49, 121, 0, 10, 16); Font2._xn114(50, 132, 0, 10, 16); Font2._xn114(51, 143, 0, 10, 16); Font2._xn114(52, 154, 0, 10, 16); Font2._xn114(53, 165, 0, 10, 16); Font2._xn114(54, 176, 0, 10, 16); Font2._xn114(55, 187, 0, 10, 16); Font2._xn114(56, 198, 0, 10, 16); Font2._xn114(57, 209, 0, 10, 16); } private function _gg86(_arg1:Event):void{ Delta = _ja136._aq239(); Mouse_X = mouseX; Mouse_Y = mouseY; Functions._cl16(Delta); if (ProgramDelaying > 0){ ProgramDelaying = (ProgramDelaying - Delta); if (ProgramDelaying < 1){ ProgramDelaying = 0; }; } else { ProgramState(Delta); }; _pp165._mo93(); _io323.MouseClicked = false; } public static function _md227(_arg1:Number):void{ } public static function _ak383(_arg1:Event):void{ } public static function _bk343():void{ mochiconnecterror = false; MyStage.addChild(mochiconnect); MochiServices.connect(MochiIDString, mochiconnect, _lo230); } public static function _xt276(_arg1:Number):void{ GameScore.addValue(_arg1); GameScoreString = _fb304._xy23(GameScore.toString(), 7); } public static function _fy173(_arg1:String=null):void{ MyStage.removeChild(_cp62.mochileaderboard); ShowScoresDone = true; CallWhenMochiScoresDone(); } public static function _by54():void{ Transition._my290(false); TransitionCallWhenDone(); } public static function _va26(_arg1:Function):void{ TransitionCallWhenDone = _arg1; Tweener.addTween(Transition, {scale:0, time:1, transition:irrcrpt("nkpgct", 2), onComplete:_by54}); } public static function _iq18(_arg1:Function, _arg2:String=null):void{ var _local3:String = _cp62.mochiboardID; if (_arg2 != null){ _local3 = _arg2; }; CallWhenMochiScoresDone = _arg1; ShowScoresDone = false; if (_cp62.mochiconnecterror == false){ MyStage.addChild(_cp62.mochileaderboard); MochiScores.showLeaderboard({boardID:_local3, clip:_cp62.mochileaderboard, onClose:_fy173, onError:_fy173}); } else { ShowScoresDone = true; CallWhenMochiScoresDone(); }; } public static function _or117():void{ MyStage.removeChild(_cp62.mochileaderboard); SubmitScoreDone = true; CallWhenMochiScoresDone(); } public static function _mc162(_arg1:BitmapData, _arg2:Number, _arg3:Number):void{ _cp62.SmallText.draw(_arg1, (irrcrpt("GQT=", 1) + _ny137._du241()), _arg2, _arg3); } public static function _nm41(_arg1:Function):void{ Transition.scale = 0; Transition._my290(true); Tweener.addTween(Transition, {scale:14, time:1, transition:irrcrpt("qnsjfw", 5), onComplete:_arg1}); } public static function _ti38(_arg1:Event):void{ _fb304._wv25(irrcrpt("kwws://duprujdphv.frp", 3)); } public static function _tq122(_arg1:Event):void{ Tweener.addTween(_arg1.currentTarget, {brightness:1, time:0.2, transition:irrcrpt("pmriev", 4)}); } public static function _lx162(_arg1:Event):void{ Tweener.addTween(_arg1.currentTarget, {brightness:1.6, time:0.225, transition:irrcrpt("mjofbs", 1)}); _pp165._ww170(irrcrpt("mtajw", 5)); } public static function _qi171():void{ GameScore.value = 0; _xt276(0); } public static function _lo230(_arg1:String):void{ mochiconnecterror = true; } public static function _tb227(_arg1:Number, _arg2:Function, _arg3:String=null):void{ var _local4:String = _cp62.mochiboardID; if (_arg3 != null){ _local4 = _arg3; }; CallWhenMochiScoresDone = _arg2; SubmitScoreDone = false; if (_cp62.mochiconnecterror == false){ MyStage.addChild(_cp62.mochileaderboard); MochiScores.showLeaderboard({boardID:_local4, clip:_cp62.mochileaderboard, score:_arg1, onClose:_or117}); } else { SubmitScoreDone = true; CallWhenMochiScoresDone(); }; } public static function _kw170(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number):void{ _cp62.SmallText.draw(_arg1, _arg2, _arg3, _arg4); } public static function _pc170(_arg1:_mm133, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:Function, _arg8:Function, _arg9:Function):void{ } } }//package
Section 42
//_dn318 (_dn318) package { import flash.events.*; import flash.display.*; import classes.*; import mochi.*; import flash.net.*; import flash.utils.*; import flash.geom.*; import flash.filters.*; import flash.ui.*; import caurina.transitions.*; public class _dn318 { public static var MissileSmoke:_tu69; public static var RockSpacer:Number = 0; public static var citybonus_score:Number = 1000; public static var GameOverState:int; public static var Missiles:_tu69; public static var MissileAnim:Object = new Object(); public static var missile_score:Number = 50; public static var SmallParticleAnim:Object = new Object(); public static var SmallSmokeAnim1:Object = new Object(); public static var mybmp:BitmapData; public static var SmallSmokeAnim3:Object = new Object(); public static var SmallSmokeAnim4:Object = new Object(); public static var Ship:_vc343; public static var SmallSmokeAnim2:Object = new Object(); public static var citys:_tu69; public static var Level_BaddiesLaunchSpacerCounter:Number = 0; public static var Screen:_mm133; public static var satellite_score:Number = 100; public static var GameDelay:Number = 0; public static var mydsp:_st351; public static var WaveCompletedSprite:_vc343; public static var SmallSmokeAnims:Array = [SmallSmokeAnim1, SmallSmokeAnim2, SmallSmokeAnim3, SmallSmokeAnim4]; public static var Missiles_Spacer:Number = 0; public static var GameOverSpacer1:Number = 0; public static var GameOverSpacer2:Number = 0; public static var GameOverSpacer3:Number = 0; public static var CursorAnim:Object = new Object(); public static var Launchers:_tu69; public static var IsOpen:Boolean; public static var RockCounter:Number = 0; public static var RockTimer:Number = 0; public static var BigParticleAnim:Object = new Object(); public static var MissileBonus:Number = 0; public static var GameMode:int; public static var GameBackground:BitmapData; public static var EnemyBaddies:_tu69; public static var NewLevelSpacer1:Number = 0; public static var NewLevelSpacer2:Number = 0; public static var NewLevelSpacer3:Number = 0; public static var mysp:_vc343; public static var NewLevelState:int; public static var StateFunctionBuffer:Function; public static var GameOverAnim:Array = [_mu68.gameoverbmp, _mu68.gameover2bmp]; public static var rock_score:Number = 250; public static var smartbomb_score:Number = 500; public static var cityBonusSprite:_vc343; public static var LaunchersLeft:int; public static var Level_TotalBaddiesToLaunchCounter:Number = 0; public static var StateFunction:Function; public static var jet_score:Number = 250; public static var Flipper:Boolean; public static var IncomingAnim:Array = [_mu68.incomingbmp, _mu68.incoming2bmp]; public static var cityBonus:Number = 0; public static var StarSprites:_tu69; public static var jet2_score:Number = 350; public static var missilebonus_score:Number = 50; public static var EnemyBaddiesmokeAnim:Object = new Object(); public static var GameState:int; public static var starot:Number = 0; public static var MissilesLeftSprite:_vc343; public static var MissileSmokeAnim:Object = new Object(); public static var EnemyMissileAnim:Object = new Object(); public static var Explosions1:_tu69; public static var Explosions2:_tu69; public static var MissilesLeft:int; public static var Level_BaddiesLaunchSpacer:Number = 0; public static var Level_TotalBaddiesToLaunch:Number = 0; public static var PauseScreen:_mm133; public static var PlayerExplosions:_tu69; public static var cityBonusCounter:Number = 0; public static var XLocations:Array = [121, 337, 202, 347, 284, 357, 415, 357, 495, 347, 578, 337, 45, 308, 350, 308, 655, 308]; private static var MyStageSprite:Sprite; public static function _ao345():void{ var _local1:BitmapData = _mu68.bigparticle1bmp; var _local2:int; while (_local2 < 5) { mysp = PlayerExplosions._fe192(_local1, 0, 0, _local1.width, _local1.height, Screen.Buffer, 0, 0, 1); mysp._xy77(_fb304._pj380(50, (700 - 50)), _fb304._pj380(50, (400 - 50))); mysp._gk163((0.002 * 3), 0, (1 * 3), 7, 0); mysp.drawsmoothing = true; mysp.blend = BlendMode.ADD; _local2++; }; } public static function _pv174(_arg1:_vc343):void{ var _local4:int; var _local5:BitmapData; var _local2:Number = 0; var _local3:int = _fb304.Random._wy20(25, 200); var _local6:int = _fb304._dq109(1, 5); if (_local6 == 1){ _local5 = _mu68.bigparticle1bmp; }; if (_local6 == 2){ _local5 = _mu68.bigparticle2bmp; }; if (_local6 == 3){ _local5 = _mu68.bigparticle3bmp; }; if (_local6 == 4){ _local5 = _mu68.bigparticle4bmp; }; if (_local6 == 5){ _local5 = _mu68.bigparticle5bmp; }; if (_arg1.y > -1){ mysp = PlayerExplosions._fe192(_local5, 0, 0, _local5.width, _local5.height, _do49.Screen.Buffer, _arg1.x, _arg1.y, 1); mysp._gk163(0.004, 0, 3, 7, 0); mysp.drawsmoothing = true; mysp.blend = BlendMode.ADD; mysp._up202((mysp.width * 0.36)); }; } public static function _tr132(_arg1:Event):void{ _gu131(); } public static function _sf367(_arg1:Number, _arg2:Number):void{ var _local5:int; var _local6:BitmapData; var _local3:Number = 0; var _local4:int = _fb304.Random._wy20(25, 200); var _local7:int = _fb304._dq109(1, 5); if (_local7 == 1){ _local6 = _mu68.bigparticle1bmp; }; if (_local7 == 2){ _local6 = _mu68.bigparticle2bmp; }; if (_local7 == 3){ _local6 = _mu68.bigparticle3bmp; }; if (_local7 == 4){ _local6 = _mu68.bigparticle4bmp; }; if (_local7 == 5){ _local6 = _mu68.bigparticle5bmp; }; mysp = Explosions1._fe192(_local6, 0, 0, _local6.width, _local6.height, Screen.Buffer, _arg1, _arg2, 1); mysp._gk163(0.004, 0, 3, 7, 0); mysp.drawsmoothing = true; mysp.blend = BlendMode.ADD; } public static function _cl361():Boolean{ var _local1:int; if (_cp62.GameLevel > 9){ _local1 = 1; }; if (EnemyBaddies._ti99(5) < _local1){ if (_pe277() == true){ mysp = EnemyBaddies._fe192(_mu68.jet2rightbmp, 0, 0, 50, 50, Screen.Buffer, 0, 0, 0); mysp._am219(_mu68.jet2rightbmp, 0.04, 19, 2, 1); mysp._xy77(-25, _fb304._pj380(40, 170)); mysp._jt52(_fb304._pj380(0.1, 0.2), 0, 0, 0, 0, true); } else { mysp = EnemyBaddies._fe192(_mu68.jet2leftbmp, 0, 0, 50, 50, Screen.Buffer, 0, 0, 0); mysp._am219(_mu68.jet2leftbmp, 0.04, 19, 2, 1); mysp._xy77((700 + 25), _fb304._pj380(40, 170)); mysp._jt52(-(_fb304._pj380(0.1, 0.2)), 0, 0, 0, 0, true); }; mysp._nw303(-25, -25, (700 + 25), (438 + 25)); mysp._qr195(_ke75); mysp.id = 5; mysp.scorevalue = jet2_score; mysp.num2 = _fb304._pj380(500, 8000); _pp165._se83(irrcrpt("kfu", 1)); return (true); //unresolved jump }; return (false); } public static function _gb334(_arg1:_vc343):void{ if (_arg1.movetype == 0){ _arg1.timetodie = true; _arg1._qr195(null); if (_vv291(_arg1) == false){ _lu238(_arg1.x, _arg1.y); } else { _pp165._se83(irrcrpt("fmkibtpshi", 4)); }; }; } public static function _xf180(_arg1:_vc343):void{ var _local2:BitmapData; _arg1.num1 = (_arg1.num1 - _cp62.Delta); if (_arg1.num1 < 1){ _arg1.num1 = (1000 / (_arg1.movedata3 * 145)); _local2 = MissileSmokeAnim[_arg1.num2]; mysp = MissileSmoke._fe192(_local2, 0, 0, _mu68.missilesmokebmp.width, _mu68.missilesmokebmp.height, _do49.Screen.Buffer, 0, 0, 0); mysp._xy77((_arg1.x + _fb304._qt263((_arg1.num2 * 2), -8)), (_arg1.y + _fb304._ex346((_arg1.num2 * 2), -8))); mysp._am219(_local2, 0.015, 30, 4); }; if (_arg1.movetype == 0){ _arg1.timetodie = true; _arg1._qr195(null); _pv174(_arg1); }; } public static function _og231(_arg1:_vc343):void{ var _local2:BitmapData; _arg1.num1 = (_arg1.num1 - _cp62.Delta); if (_arg1.num1 < 1){ _arg1.num1 = (1000 / (_arg1.movedata3 * 145)); _local2 = MissileSmokeAnim[_arg1.num2]; mysp = MissileSmoke._fe192(_local2, 0, 0, _mu68.missilesmokebmp.width, _mu68.missilesmokebmp.height, Screen.Buffer, 0, 0, 0); mysp._xy77((_arg1.x + _fb304._qt263((_arg1.num2 * 2), -8)), (_arg1.y + _fb304._ex346((_arg1.num2 * 2), -8))); mysp._am219(_local2, 0.015, 30, 4); }; if (_arg1.movetype == 0){ _arg1.timetodie = true; _arg1._qr195(null); _qf267(_arg1); }; } public static function _rn194(_arg1:Number, _arg2:Number):void{ var _local7:BitmapData; var _local3:Number = 0; var _local4:int = _fb304.Random._wy20(20, 50); var _local5:BitmapData = SmallSmokeAnims[_fb304._dq109(0, 3)][1]; var _local6:Boolean = _fb304._qi134(); var _local8:int = _fb304._dq109(1, 5); if (_local8 == 1){ _local7 = _mu68.bigparticle1bmp; }; if (_local8 == 2){ _local7 = _mu68.bigparticle2bmp; }; if (_local8 == 3){ _local7 = _mu68.bigparticle3bmp; }; if (_local8 == 4){ _local7 = _mu68.bigparticle4bmp; }; if (_local8 == 5){ _local7 = _mu68.bigparticle5bmp; }; var _local9:int; while (_local9 < _local4) { mysp = Explosions1._fe192(_local7, 0, 0, _local7.width, _local7.height, Screen.Buffer, 0, 0, 1); mysp.drawsmoothing = false; if (_fb304._qi134() == true){ mysp.blend = BlendMode.ADD; }; _local3 = _fb304.Random._dk328(180, 359); mysp._kp78(_local3, 0, _fb304.Random._dk328(0.05, 0.15), 0, 0, false); mysp.ygravity = 0.0001; mysp._xy77(_arg1, _arg2); _local3 = (_local3 + (360 / _local4)); mysp._gk163(-0.00025, 0, 1, 4, _fb304._pj380(0.2, 1)); mysp.userbitmapdata = _local5; mysp._qr195(_cy358); _local9++; }; } public static function _ec293(_arg1:_vc343):void{ _arg1.num1 = (_arg1.num1 - _cp62.Delta); if (_arg1.num1 < 1){ _arg1.num1 = (1000 / 30); mysp = Explosions1._fe192(_mu68.smallparticlebmp, 0, 0, _mu68.smallparticlebmp.width, _mu68.smallparticlebmp.height, Screen.Buffer, _arg1.x, _arg1.y, 0); mysp._am219(SmallParticleAnim[1], _fb304.Random._dk328(0.01, 0.06), 30, 4); mysp._xy77(_arg1.x, _arg1.y); }; if (_arg1.y > 360){ _arg1.timetodie = true; }; } public static function _ul65():void{ Tweener.addTween(Screen.Parent, {alpha:0, time:1, transition:irrcrpt("qnsjfw", 5), onComplete:_tf312}); _is159._xq274(); StateFunction = _cp62._md227; IsOpen = false; Mouse.show(); } public static function _sl383():void{ _hj59.achievementmade = false; _cp62._qi171(); _cp62.GameLevel = 0; _cp62.GameLives = 3; GameBackground = new BitmapData(700, 438, false, 4278190080); _fb304._nv54(_mu68.backgroundbmp, 0, 0, 0, 0, 700, 438, GameBackground, false); _fc255(); StateFunction = _sh70; Level_TotalBaddiesToLaunch = 0; Level_TotalBaddiesToLaunchCounter = 0; Level_BaddiesLaunchSpacer = 2050; Level_BaddiesLaunchSpacerCounter = 0; _bm58(); } public static function _hi78():Boolean{ var _local4:int; var _local1:int; var _local2:Number = 0; var _local3:Number = 0; var _local5:Number = 0; var _local6:Number = 0; if (_cp62.GameLevel > 14){ _local1 = 4; _local5 = 5; _local6 = 7; } else { if (_cp62.GameLevel > 11){ _local1 = 3; _local5 = 5; _local6 = 7; } else { if (_cp62.GameLevel > 8){ _local1 = 2; _local5 = 4; _local6 = 6; } else { if (_cp62.GameLevel > 5){ _local1 = 1; _local5 = 3; _local6 = 5; }; }; }; }; if (GameMode == 2){ _local1 = 100; _local5 = _fb304._pj380(2, 6); _local6 = 7; }; if (EnemyBaddies._ti99(4) < _local1){ _local4 = _fb304._dq109(0, 8); _local2 = XLocations[(_local4 * 2)]; _local3 = XLocations[((_local4 * 2) + 1)]; mysp = EnemyBaddies._fe192(_mu68.smartbombbmp, 0, 0, 32, 32, Screen.Buffer, 0, 0, 0); mysp._xy77(_fb304._pj380(27, (700 - 27)), -21); mysp._br347(_local2, _local3, _fb304._pj380(0.05, 0.18), 0, false); mysp._am219(_mu68.smartbombbmp, 0.025, 19, 2, 1); mysp._qr195(_gb334); mysp.id = 4; mysp.scorevalue = smartbomb_score; mysp.num1 = _local5; mysp.num2 = _local6; _pp165._se83(irrcrpt("uoctvdqod", 2)); return (true); }; return (false); } public static function _yc171():void{ var _local1:Number = _cp62.Mouse_X; var _local2:Number = _cp62.Mouse_Y; _fb304._dd25(_mu68.arrowsbmp, 5, _local2, 0, 0, 6, 10, Screen.Buffer); _fb304._dd25(_mu68.arrowsbmp, (699 - 4), _local2, 20, 0, 6, 10, Screen.Buffer); _fb304._dd25(_mu68.arrowsbmp, _local1, 15, 8, 0, 10, 6, Screen.Buffer); } public static function _gd309():void{ _cp62.agi_busy = false; Screen._lv216(); _cp62.Functions._pa90(_eh360, 1500); } public static function _sg260(_arg1:Number):void{ if (NewLevelState == 1){ if (MissilesLeft > 0){ NewLevelSpacer1 = (NewLevelSpacer1 - _arg1); if (NewLevelSpacer1 < 1){ NewLevelSpacer1 = 33; MissilesLeft--; MissileBonus++; MissilesLeftSprite._xe182(_mu68.missileboxbmp, 0, 0, (MissileBonus * 8), 13); _cp62._xt276((missilebonus_score * _cp62.GameLevel)); _pp165._se83(irrcrpt("gsyrx", 4)); }; } else { NewLevelState = 2; NewLevelSpacer1 = 250; }; } else { if (NewLevelState == 2){ if (cityBonus > 0){ NewLevelSpacer1 = (NewLevelSpacer1 - _arg1); if (NewLevelSpacer1 < 1){ NewLevelSpacer1 = 100; cityBonus--; cityBonusCounter++; cityBonusSprite._xe182(_mu68.citybonusbmp, 0, 0, (cityBonusCounter * 45), 38); _cp62._xt276((citybonus_score * _cp62.GameLevel)); _pp165._se83(irrcrpt("htzsy", 5)); }; } else { NewLevelState = 3; NewLevelSpacer1 = 1000; }; } else { if (NewLevelState == 3){ NewLevelSpacer1 = (NewLevelSpacer1 - _arg1); if (NewLevelSpacer1 < 1){ WaveCompletedSprite._hd358(-0.002, 0, 1, 4, 1); MissilesLeftSprite.timetodie = true; cityBonusSprite.timetodie = true; NewLevelState = 4; NewLevelSpacer1 = 800; }; } else { if (NewLevelState == 4){ NewLevelSpacer1 = (NewLevelSpacer1 - _arg1); if (NewLevelSpacer1 < 1){ _gf120(); if (cityBonus == 0){ _nx202(); } else { _gf338(); }; }; }; }; }; }; } public static function _gm31(_arg1:_vc343):void{ var _local2:BitmapData; var _local3:Number = 0; var _local4:Number = 0; var _local5:Number = _cp62.Mouse_Y; if (_local5 > (_arg1.y - 5)){ _local5 = (_arg1.y - 5); }; _local3 = _arg1.rotation; _local4 = Math.round((_local3 / 2)); if (_local4 < 0){ _local4 = 0; } else { if (_local4 > 179){ _local4 = 179; }; }; _local2 = MissileAnim[_local4]; mysp = Missiles._fe192(_local2, 0, 0, _local2.width, _local2.height, Screen.Buffer, 0, 0, 0); mysp._xy77((_arg1.x + 2), _arg1.y); mysp.x = (mysp.x + _fb304._qt263(_local3, 15)); mysp.y = (mysp.y + _fb304._ex346(_local3, 17)); mysp._br347(_cp62.Mouse_X, _local5, 0.4, 0, false); mysp._qr195(_og231); mysp.num2 = _local4; _arg1.id3 = (_arg1.id3 - 1); MissilesLeft = (MissilesLeft - 1); _pp165._se83((irrcrpt("qfzshm", 5) + _fb304._dq109(1, 3))); _local2 = CursorAnim[1]; mysp = MissileSmoke._fe192(_local2, 0, 0, _mu68.cursorbmp.width, _mu68.cursorbmp.height, Screen.Buffer, 0, 0, 0); mysp._xy77(_cp62.Mouse_X, _local5); mysp._am219(_local2, 0.025, 30, 4); } public static function _ke75(_arg1:_vc343):void{ _arg1.num1 = (_arg1.num1 + _cp62.Delta); if (_arg1.num1 > _arg1.num2){ _tq213(_arg1.x, _arg1.y); if (_fb304._qi134() == true){ _tq213(_arg1.x, _arg1.y); }; if (_fb304._qi134() == true){ _tq213(_arg1.x, _arg1.y); }; _arg1._qr195(null); }; } public static function _nx202():void{ GameState = 3; GameOverState = 1; GameOverSpacer1 = 8000; GameOverSpacer2 = 0; GameOverSpacer3 = 0; mysp = Explosions1._vr49(_mu68.gameoverbmp, Screen.Buffer, 0, 0); mysp._vw95(GameOverAnim, 0.0025, 2, 2); mysp._xy77(350, 100); mysp._gk163(0.0005, 0, 1, 3, 0); mysp = new _vc343(); } public static function _cj300():void{ for each (mysp in Launchers.Sprites) { if (mysp.id != 1000){ mysp.donotrender = false; if (mysp.id > 0){ mysp.bmpsrc = _mu68.launcherbmp; mysp._am219(_mu68.launcherbmp, 0.003, 5, 2, 0); mysp.collision_enabled = true; }; if (mysp.id2 > 0){ mysp.rotation = 270; mysp.collision_enabled = false; }; } else { if (mysp.id3 == 100){ mysp.timetodie = true; }; }; }; MissilesLeft = 0; LaunchersLeft = 3; Tweener.addTween(_dn318, {MissilesLeft:60, time:2, transition:irrcrpt("qnsjfw", 5)}); } public static function _kg145():Boolean{ var _local1:BitmapData; var _local5:int; var _local2:int; var _local3:Number = 0; var _local4:Number = 0; var _local6:Number = 0; var _local7:Number = 0; var _local8:Number = 64; var _local9:int = _fb304._dq109(1, 3); var _local10:Number = 1; if (_local9 == 1){ _local8 = 50; _local1 = _mu68.rock1bmp; } else { if (_local9 == 2){ _local8 = 35; _local1 = _mu68.rock2bmp; } else { if (_local9 == 3){ _local8 = 20; _local1 = _mu68.rock3bmp; }; }; }; if (GameMode == 1){ _local2 = 100; } else { if (_cp62.GameLevel > 10){ _local2 = 5; }; }; if (EnemyBaddies._ti99(6) < _local2){ _local5 = _fb304._dq109(0, 8); _local3 = XLocations[(_local5 * 2)]; _local4 = XLocations[((_local5 * 2) + 1)]; mysp = EnemyBaddies._fe192(_local1, 0, 0, _local8, _local8, Screen.Buffer, 0, 0, 0); mysp._am219(_local1, (_fb304._pj380(0.015, 0.03) * _fb304._ym216()), 19, 2, 1); if (_fb304._qi134() == true){ mysp.frame_dir = -(mysp.frame_dir); }; mysp._xy77(_fb304._pj380(27, (700 - 27)), -21); mysp._br347(_local3, _local4, _fb304._pj380(0.05, 0.15), 0, false); mysp._up202((_local8 * 0.4)); mysp.id = 6; mysp._qr195(_gb334); mysp.scorevalue = rock_score; return (true); //unresolved jump }; return (false); } public static function _tv308():void{ var _local1:int; while (_local1 < 180) { _fb304._fj166(MissileSmokeAnim, (_local1 + 1), _mu68.missilesmokebmp, 1, 1, 1, 30, 1, true, (_local1 * 2)); _fb304._fj166(EnemyBaddiesmokeAnim, (_local1 + 1), _mu68.enemymissilesmokebmp, 1, 1, 1, 30, 1, true, (_local1 * 2)); _local1++; }; _fb304._pd364(MissileAnim, _mu68.missilebmp, 1, 1, 1, 180); _fb304._pd364(EnemyMissileAnim, _mu68.enemymissilebmp, 1, 1, 1, 180); _fb304._wj23(SmallParticleAnim, 1, _mu68.smallparticlebmp, 1.5, 1.5, 0, 0, true, 30, 0, -0.1, 0, false, 1, 0); _fb304._wj23(SmallSmokeAnim1, 1, _mu68.smokeparticle1bmp, 1, 1, 1, 0, true, 30, 0, 0, 0, false, 1, 0); _fb304._wj23(SmallSmokeAnim2, 1, _mu68.smokeparticle2bmp, 1, 1, 1, 0, true, 30, 0, 0, 0, false, 1, 0); _fb304._wj23(SmallSmokeAnim3, 1, _mu68.smokeparticle3bmp, 1, 1, 1, 0, true, 30, 0, 0, 0, false, 1, 0); _fb304._wj23(SmallSmokeAnim4, 1, _mu68.smokeparticle4bmp, 1, 1, 1, 0, true, 30, 0, 0, 0, false, 1, 0); _fb304._fj166(CursorAnim, 1, _mu68.cursorbmp, 1, 1, 1, 30); } public static function _lg95(_arg1:_vc343):void{ if (_arg1.y > 390){ _arg1.y = 390; if (_arg1.ygravity != 0){ _arg1.ydir = -(_arg1.ydir); _arg1.ydir = (_arg1.ydir * 0.5); if (Math.abs(_arg1.ydir) < 0.02){ _arg1.ygravity = 0; _arg1.ydir = 0; }; }; }; } public static function _ln79(_arg1:_vc343):void{ var _local2:_vc343; for each (_local2 in PlayerExplosions.Sprites) { if (_fb304._gg44(_arg1, _local2) == true){ if (_arg1.id == 4){ if (_arg1.y < _local2.y){ _arg1.y = (_arg1.y - _fb304._pj380(_arg1.num1, _arg1.num2)); } else { if (_arg1.x < _local2.x){ _arg1.x = (_arg1.x - _fb304._pj380(_arg1.num1, _arg1.num2)); } else { _arg1.x = (_arg1.x + _fb304._pj380(_arg1.num1, _arg1.num2)); }; }; if (_fb304._gg44(_arg1, _local2) == true){ _arg1.timetodie = true; _arg1.collision_enabled = false; _es360(_arg1); _qf267(_arg1); _cp62._xt276((_arg1.scorevalue * _cp62.GameLevel)); _pp165._se83((irrcrpt("cppn", 1) + _fb304._dq109(1, 3))); }; } else { _arg1.timetodie = true; _arg1.collision_enabled = false; _es360(_arg1); _qf267(_arg1); _cp62._xt276((_arg1.scorevalue * _cp62.GameLevel)); _pp165._se83((irrcrpt("fssq", 4) + _fb304._dq109(1, 3))); }; }; }; } public static function _sh70(_arg1:Number):void{ Screen._px227(); _fb304._nv54(_mu68.backgroundbmp, 0, 0, 0, 0, 700, 438, Screen.Buffer); _yc171(); citys._dm149(_arg1); Launchers._dm149(_arg1); MissileSmoke._sb188(_arg1); MissileSmoke._ew149(); EnemyBaddies._ct66(_ln79, _arg1); Missiles._dm149(_arg1); Explosions2._dm149(_arg1); Explosions1._dm149(_arg1); PlayerExplosions._dm149(_arg1); _cp62.Font1._mb388(Screen.Buffer, _cp62.GameScoreString, 616, 21, false); _cp62.Font2._mb388(Screen.Buffer, ("" + _cp62.GameLevel), 36, 21, true); if (MissilesLeft > 0){ _fb304._dd25(_mu68.missileboxbmp, 350, 425, 0, 0, (MissilesLeft * 8), 13, Screen.Buffer, true); }; _fb304._dd25(_mu68.cursorbmp, _cp62.Mouse_X, _cp62.Mouse_Y, 0, 0, _mu68.cursorbmp.width, _mu68.cursorbmp.height, Screen.Buffer, true); if (GameDelay > 0){ GameDelay = (GameDelay - _cp62.Delta); if (GameDelay < 1){ GameDelay = 0; }; } else { if (GameState == 1){ _wp219(); _mi101(); } else { if (GameState == 2){ _sg260(_arg1); } else { if (GameState == 3){ _uu171(_arg1); }; }; }; }; if (_do49.FPSButton.state == 1){ _cp62._mc162(Screen.Buffer, 330, 10); }; Screen._tk229(); } public static function _ku305():void{ Mouse.hide(); _io323._qm68(); _fb304.Random.seed = _fb304.Random._wy20(100, 100000); Screen.Parent.alpha = 0; Screen._bt261(); Screen.Parent.visible = true; Screen.Sprites._bs283(); _bs283(); _yd179(); Tweener.addTween(Screen.Parent, {alpha:1, time:1, transition:irrcrpt("qnsjfw", 5), onComplete:_iq150}); IsOpen = true; GameState = 0; _sl383(); _sh70(0); _cp62.ProgramState = _cl16; StateFunction = _sh70; _is159._ww170(irrcrpt("wudfn4", 3)); } public static function _wm57():void{ Screen._ib374(); _cp62._tb227(_cp62.GameScore.value, _qt227); } public static function _cy358(_arg1:_vc343):void{ _arg1.num1 = (_arg1.num1 - _cp62.Delta); if (_arg1.num1 < 1){ _arg1.num1 = (1000 / 30); mysp = Explosions2._fe192(_mu68.smokeparticle1bmp, 0, 0, _mu68.smokeparticle1bmp.width, _mu68.smokeparticle1bmp.height, Screen.Buffer, _arg1.x, _arg1.y, 0); mysp._am219(_arg1.userbitmapdata, _fb304.Random._dk328(0.02, 0.02), 30, 4); mysp._xy77(_arg1.x, _arg1.y); mysp._jt52(0, _fb304._pj380(0.003, 0.02)); }; if (_arg1.y > 390){ _arg1.y = 390; if (_arg1.ygravity != 0){ _arg1.ydir = -(_arg1.ydir); _arg1.ydir = (_arg1.ydir * 0.5); if (Math.abs(_arg1.ydir) < 0.02){ _arg1.ygravity = 0; _arg1.ydir = 0; }; }; }; } private static function _tf312():void{ Screen.Parent.visible = false; } public static function _yd179():void{ mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.pausebmp, 327, 200, 1, _tr132, _cp62._lx162, _cp62._tq122); } public static function _dm187(_arg1:_vc343):void{ _arg1.collision_enabled = false; if (_arg1.id < 3){ _arg1.bmpsrc = _mu68.citylefthitbmp; } else { _arg1.bmpsrc = _mu68.cityrighthitbmp; }; _rn194(_arg1.x, _arg1.y); mysp = Launchers._fe192(_mu68.smokebmp, 0, 0, 54, 126, Screen.Buffer, 0, 0, 0); mysp.collision_enabled = false; mysp.id = 1000; mysp._xy77(_arg1.x, (_arg1.y - 29)); mysp._am219(_mu68.smokebmp, 0.025, 14, 2, 1); } public static function _lu238(_arg1:Number, _arg2:Number):void{ var _local7:BitmapData; var _local3:Number = 0; var _local4:int = _fb304.Random._wy20(3, 5); var _local5:BitmapData = SmallSmokeAnims[_fb304._dq109(0, 3)][1]; var _local6:Boolean = _fb304._qi134(); var _local8:int = _fb304._dq109(1, 5); if (_local8 == 1){ _local7 = _mu68.bigparticle1bmp; }; if (_local8 == 2){ _local7 = _mu68.bigparticle2bmp; }; if (_local8 == 3){ _local7 = _mu68.bigparticle3bmp; }; if (_local8 == 4){ _local7 = _mu68.bigparticle4bmp; }; if (_local8 == 5){ _local7 = _mu68.bigparticle5bmp; }; var _local9:int; while (_local9 < _local4) { mysp = Explosions1._fe192(_local7, 0, 0, _local7.width, _local7.height, Screen.Buffer, 0, 0, 1); mysp.drawsmoothing = false; if (_fb304._qi134() == true){ mysp.blend = BlendMode.ADD; }; _local3 = _fb304.Random._dk328(180, 359); mysp._kp78(_local3, 0, _fb304.Random._dk328(0.05, 0.15), 0, 0, false); mysp.ygravity = 0.0001; mysp._xy77(_arg1, _arg2); _local3 = (_local3 + (360 / _local4)); mysp._gk163(-0.00025, 0, 1, 4, _fb304._pj380(0.2, 1)); mysp.userbitmapdata = _local5; mysp._qr195(_cy358); _local9++; }; } public static function _vv291(_arg1:_vc343):Boolean{ var _local2:Boolean; for each (mysp in citys.Sprites) { if (mysp.collision_enabled == true){ if (_fb304._gg44(mysp, _arg1) == true){ _dm187(mysp); _local2 = true; }; }; }; if (_local2 == false){ for each (mysp in Launchers.Sprites) { if (mysp.collision_enabled == true){ if (_fb304._gg44(mysp, _arg1) == true){ _local2 = true; _jy247(mysp.id); MissilesLeft = (MissilesLeft - int((MissilesLeft / LaunchersLeft))); LaunchersLeft = (LaunchersLeft - 1); if (MissilesLeft < 0){ MissilesLeft = 0; }; if (LaunchersLeft == 0){ MissilesLeft = 0; }; }; }; }; }; return (_local2); } public static function _bm58():void{ Launchers._bs283(); _in52(45, ((353 - 16) - 16), 1); _in52(350, (353 - 16), 2); _in52(655, ((353 - 16) - 16), 3); Launchers._ew149(); MissilesLeft = 0; } public static function _na166():void{ Screen._lv216(); _cp62.Functions._pa90(_eh360, 1500); } public static function _uu171(_arg1:Number):void{ if (GameOverState == 1){ GameOverSpacer1 = (GameOverSpacer1 - _arg1); if (GameOverSpacer1 < 1){ GameOverSpacer1 = 0; GameOverState = 2; } else { if (GameOverSpacer1 > 4000){ GameOverSpacer2 = (GameOverSpacer2 + _arg1); if (GameOverSpacer2 > 125){ GameOverSpacer2 = 0; mysp._xy77(_fb304._dq109(50, (700 - 50)), _fb304._dq109(40, 300)); _sf367(mysp.x, mysp.y); if (_fb304._qi134() == true){ _es360(mysp); }; }; }; }; } else { if (GameOverState == 2){ GameOverState = 0; StateFunction = _cp62._md227; Mouse.show(); Screen._ib374(); _uq268(); }; }; } public static function _cl16(_arg1:Number):void{ StateFunction(_arg1); if (_io323.Key_Clicked > 0){ if (_io323.Key_Clicked == 27){ _ul65(); _do49._ku305(); } else { if ((((_io323.Key_Clicked == 80)) || ((_io323.Key_Clicked == 19)))){ _gu131(); }; }; _io323._uy18(_io323.Key_Clicked); }; } public static function Init(_arg1:Sprite):void{ MyStageSprite = _arg1; Screen = new _mm133(); Screen.Init(_arg1, _cp62.Project_Width, _cp62.Project_Height, false); Screen._xy77((700 / 2), (438 / 2)); StarSprites = new _tu69(); citys = new _tu69(); Missiles = new _tu69(); EnemyBaddies = new _tu69(); Explosions1 = new _tu69(); Explosions2 = new _tu69(); MissileSmoke = new _tu69(); PlayerExplosions = new _tu69(); Launchers = new _tu69(); Screen.Parent.alpha = 0; Screen.Parent.visible = false; _tv308(); PauseScreen = new _mm133(); PauseScreen.Init(MyStageSprite, _mu68.pausedbmp.width, _mu68.pausedbmp.height); PauseScreen._dx126(_mu68.pausedbmp); PauseScreen._dt15(false); PauseScreen._my290(false); PauseScreen._xy77(350, 175); } public static function _cd247(_arg1:Number):Boolean{ var _local2:_vc343; var _local3:Boolean; for each (_local2 in Launchers.Sprites) { if (_local2.id2 == _arg1){ if (_local2.donotrender == false){ mysp = _local2; _local3 = true; }; }; }; return (_local3); } public static function _qf267(_arg1:_vc343):void{ var _local4:int; var _local5:BitmapData; var _local2:Number = 0; var _local3:int = _fb304.Random._wy20(25, 200); var _local6:int = _fb304._dq109(1, 5); if (_local6 == 1){ _local5 = _mu68.bigparticle1bmp; }; if (_local6 == 2){ _local5 = _mu68.bigparticle2bmp; }; if (_local6 == 3){ _local5 = _mu68.bigparticle3bmp; }; if (_local6 == 4){ _local5 = _mu68.bigparticle4bmp; }; if (_local6 == 5){ _local5 = _mu68.bigparticle5bmp; }; if (_arg1.y > -1){ mysp = PlayerExplosions._fe192(_local5, 0, 0, _local5.width, _local5.height, Screen.Buffer, _arg1.x, _arg1.y, 1); mysp._gk163(0.004, 0, 3, 7, 0); mysp.drawsmoothing = true; mysp.blend = BlendMode.ADD; mysp._up202((mysp.width * 0.36)); }; } public static function _tq213(_arg1:Number=-1, _arg2:Number=-1):Boolean{ var _local3:BitmapData; var _local10:int; var _local4:Number = 0; var _local5:Number = 0; var _local6:Number = 0; var _local7:Number = 0; var _local8:Number = 0; var _local9:Number = 0; if (((!((_arg1 == -1))) && (!((_arg2 == -1))))){ _local6 = _arg1; _local7 = _arg2; } else { _local6 = _fb304.Random._dk328(50, (700 - 50)); _local7 = -16; }; _local10 = _fb304._dq109(0, 8); _local8 = XLocations[(_local10 * 2)]; _local9 = XLocations[((_local10 * 2) + 1)]; _local4 = _fb304._xk266(_local6, _local7, _local8, _local9); _local5 = Math.round((_local4 / 2)); _local3 = EnemyMissileAnim[_local5]; mysp = EnemyBaddies._fe192(_local3, 0, 0, _local3.width, _local3.height, Screen.Buffer, _local6, _local7, 0); mysp._br347(_local8, _local9, _fb304._pj380(0.08, 0.15), 0, false); mysp._qr195(_br195); mysp.num2 = _local5; mysp.id = 1; mysp.scorevalue = missile_score; return (true); } public static function _em342(_arg1:_vc343):void{ var _local2:Number = _cp62.Mouse_Y; if (_local2 > (_arg1.y - 5)){ _local2 = (_arg1.y - 5); }; _arg1.rotation = _fb304._xk266(_arg1.x, _arg1.y, _cp62.Mouse_X, _local2); } public static function _qw368(_arg1:_vc343):void{ if (_arg1.y > 360){ _arg1.timetodie = true; }; } public static function _vq167(_arg1:_vc343):void{ _arg1.num1 = (_arg1.num1 + _cp62.Delta); if (_arg1.num1 > _arg1.num2){ _tq213(_arg1.x, _arg1.y); if (_fb304._qi134() == true){ _tq213(_arg1.x, _arg1.y); }; _arg1._qr195(null); }; } public static function _fj316(_arg1:Number):void{ if ((((_io323.Key_Clicked > 0)) || ((_io323.MouseClicked == true)))){ _io323._uy18(_io323.Key_Clicked); _sa108(); }; } public static function _uq268():void{ var _local1:String; if (GameMode == 0){ _local1 = irrcrpt("Bsdbef", 1); }; if (GameMode == 1){ _local1 = irrcrpt("Fxyjwtnix", 5); }; if (GameMode == 2){ _local1 = irrcrpt("VpduwErpev", 3); }; if (_cp62.agi_loaded == true){ _cp62.agi_busy = true; _cp62.agi_api.initAGUI({onClose:_gd309}); _cp62.agi_api.showScoreboardSubmit(_cp62.GameScore.value, null, _local1); } else { Screen._lv216(); _cp62.Functions._pa90(_eh360, 1500); }; } public static function _in52(_arg1:Number, _arg2:Number, _arg3:Number):void{ mysp = Launchers._fe192(_mu68.missilereadybmp, 0, 0, _mu68.missilereadybmp.width, _mu68.missilereadybmp.height, Screen.Buffer, 0, 0, 1); mysp._xy77(_arg1, (_arg2 - 34)); mysp.rotation = 270; mysp._qr195(_em342); mysp.id2 = _arg3; mysp.drawsmoothing = true; mysp.collision_enabled = false; mysp = Launchers._fe192(_mu68.launcherbmp, 0, 0, 66, 104, Screen.Buffer, 0, 0, 0); mysp._am219(_mu68.launcherbmp, 0.003, 5, 2, 0); mysp._xy77(_arg1, _arg2); mysp.id = _arg3; } public static function _wp219():void{ var _local1:Number = 350; var _local2:Number = 360; var _local3:Number = 2; if (_io323.MouseClicked == true){ if ((((MissilesLeft > 0)) && ((_cp62.Mouse_Y < 411)))){ if (_cp62.Mouse_X < (350 - 152)){ if (_cd247(1) == true){ _gm31(mysp); } else { if (_cd247(2) == true){ _gm31(mysp); } else { if (_cd247(3) == true){ _gm31(mysp); }; }; }; } else { if (_cp62.Mouse_X > (350 + 152)){ if (_cd247(3) == true){ _gm31(mysp); } else { if (_cd247(2) == true){ _gm31(mysp); } else { if (_cd247(1) == true){ _gm31(mysp); }; }; }; } else { if (_cd247(2) == true){ _gm31(mysp); } else { if (_cp62.Mouse_X > 350){ if (_cd247(3) == true){ _gm31(mysp); } else { if (_cd247(1) == true){ _gm31(mysp); }; }; } else { if (_cd247(1) == true){ _gm31(mysp); } else { if (_cd247(3) == true){ _gm31(mysp); }; }; }; }; }; }; } else { _pp165._ww170(irrcrpt("ecpvhktg", 2)); }; }; } public static function _iq150():void{ _gf338(); } public static function _fc255():void{ var _local1:BitmapData; var _local2:Number = 0; var _local3:Number = 2; var _local4:int; while (_local4 < 6) { if (_local4 < 3){ mysp = citys._fe192(_mu68.cityleftbmp, 0, 0, _mu68.cityleftbmp.width, _mu68.cityleftbmp.height, Screen.Buffer, 0, 0, 0); mysp._xy77((120 + (_local4 * 82)), (345 + (_local2 * 10))); _local2 = (_local2 + 1); } else { mysp = citys._fe192(_mu68.cityrightbmp, 0, 0, _mu68.cityrightbmp.width, _mu68.cityrightbmp.height, Screen.Buffer, 0, 0, 0); mysp._xy77((170 + (_local4 * 82)), (345 + (_local3 * 10))); _local3--; }; mysp.id = _local4; _local4++; }; } public static function _pe277():Boolean{ if (Flipper == false){ Flipper = true; } else { Flipper = false; }; return (Flipper); } public static function _kj367():Boolean{ var _local1:int; if (_cp62.GameLevel > 4){ _local1 = 1; }; if (EnemyBaddies._ti99(2) < _local1){ if (_pe277() == true){ mysp = EnemyBaddies._fe192(_mu68.jetrightbmp, 0, 0, 50, 50, Screen.Buffer, 0, 0, 0); mysp._am219(_mu68.jetrightbmp, 0.04, 19, 2, 1); mysp._xy77(-25, _fb304._pj380(40, 170)); mysp._jt52(_fb304._pj380(0.05, 0.1), 0, 0, 0, 0, true); } else { mysp = EnemyBaddies._fe192(_mu68.jetleftbmp, 0, 0, 50, 50, Screen.Buffer, 0, 0, 0); mysp._am219(_mu68.jetleftbmp, 0.04, 19, 2, 1); mysp._xy77((700 + 25), _fb304._pj380(40, 170)); mysp._jt52(-(_fb304._pj380(0.05, 0.1)), 0, 0, 0, 0, true); }; mysp._nw303(-25, -25, (700 + 25), (438 + 25)); mysp._qr195(_vq167); mysp.id = 2; mysp.scorevalue = jet_score; mysp.num2 = _fb304._pj380(500, 8000); _pp165._se83(irrcrpt("kfu", 1)); return (true); //unresolved jump }; return (false); } public static function _rd215(_arg1:_vc343):void{ _arg1.num1 = (_arg1.num1 - _cp62.Delta); if (_arg1.num1 < 1){ _arg1._qr195(null); _arg1._hd358(-0.001, 0, 1, 4, 1); }; } public static function _jy247(_arg1:Number):void{ var _local2:_vc343; for each (mysp in Launchers.Sprites) { if (mysp.id == _arg1){ mysp.collision_enabled = false; mysp.bmpsrc = _mu68.launcherhitbmp; mysp.animating = 0; mysp.srcx = 0; _rn194(mysp.x, mysp.y); _local2 = Launchers._fe192(_mu68.smokebmp, 0, 0, 54, 126, Screen.Buffer, 0, 0, 0); _local2.collision_enabled = false; _local2.id = 1000; _local2.id3 = 100; _local2._xy77((mysp.x + 4), (mysp.y - 45)); _local2._am219(_mu68.smokebmp, 0.025, 14, 2, 1); }; if (mysp.id2 == _arg1){ mysp.donotrender = true; }; }; } public static function _ci169(_arg1:_vc343):void{ _arg1.num1 = (_arg1.num1 + _cp62.Delta); if (_arg1.num1 > _arg1.num2){ _tq213(_arg1.x, _arg1.y); _arg1._qr195(null); }; } public static function _gf338():void{ _cp62.GameLevel = (_cp62.GameLevel + 1); Level_TotalBaddiesToLaunch = (Level_TotalBaddiesToLaunch + 5); Level_TotalBaddiesToLaunchCounter = 0; Level_BaddiesLaunchSpacer = (Level_BaddiesLaunchSpacer - 100); if (Level_BaddiesLaunchSpacer < 300){ Level_BaddiesLaunchSpacer = 300; }; if (GameMode == 2){ Level_TotalBaddiesToLaunch = (Level_TotalBaddiesToLaunch + 1); Level_BaddiesLaunchSpacer = 600; } else { if (GameMode == 1){ Level_TotalBaddiesToLaunch = (Level_TotalBaddiesToLaunch + 6); Level_BaddiesLaunchSpacer = 300; }; }; Level_BaddiesLaunchSpacerCounter = Level_BaddiesLaunchSpacer; mysp = Explosions1._fe192(_mu68.incomingbmp, 0, 0, _mu68.incomingbmp.width, _mu68.incomingbmp.height, Screen.Buffer, 0, 0, 1); mysp._vw95(IncomingAnim, 0.0025, 2, 2); mysp._xy77(350, 80); mysp._hd358(0.001, 0, 1, 3, 0); mysp.num1 = 2000; mysp._qr195(_rd215); _cj300(); GameState = 1; GameDelay = 3000; _pp165._ww170(irrcrpt("cncto", 2)); Mouse.hide(); } public static function _gu131():void{ StateFunctionBuffer = StateFunction; StateFunction = _fj316; Screen.brightness = 0.5; Screen._dt15(false); PauseScreen._dt15(true); PauseScreen._my290(true); _io323.MouseClicked = false; Mouse.show(); } public static function _eh360():void{ _ul65(); _do49._ku305(); } public static function _bs283():void{ StarSprites._bs283(); citys._bs283(); Missiles._bs283(); EnemyBaddies._bs283(); Explosions1._bs283(); Explosions2._bs283(); MissileSmoke._bs283(); PlayerExplosions._bs283(); Launchers._bs283(); } public static function _br195(_arg1:_vc343):void{ var _local2:BitmapData; _arg1.num1 = (_arg1.num1 - _cp62.Delta); if (_arg1.num1 < 1){ _arg1.num1 = (1000 / (_arg1.movedata3 * 145)); _local2 = EnemyBaddiesmokeAnim[_arg1.num2]; mysp = MissileSmoke._fe192(_local2, 0, 0, _mu68.enemymissilesmokebmp.width, _mu68.enemymissilesmokebmp.height, Screen.Buffer, 0, 0, 0); mysp._xy77((_arg1.x + _fb304._qt263((_arg1.num2 * 2), -8)), (_arg1.y + _fb304._ex346((_arg1.num2 * 2), -8))); mysp._am219(_local2, 0.015, 30, 4); }; if (_arg1.movetype == 0){ _arg1.timetodie = true; _arg1._qr195(null); if (_vv291(_arg1) == false){ _lu238(_arg1.x, _arg1.y); } else { _pp165._se83(irrcrpt("cjhfyqmpef", 1)); }; }; } public static function _es360(_arg1:_vc343):void{ var _local6:BitmapData; var _local8:int; var _local2:Number = 0; var _local3:int = _fb304.Random._wy20(2, 12); var _local4:BitmapData = SmallSmokeAnims[_fb304._dq109(0, 3)][1]; var _local5:Boolean = _fb304._qi134(); var _local7:int = _fb304._dq109(1, 5); if (_local7 == 1){ _local6 = _mu68.bigparticle1bmp; }; if (_local7 == 2){ _local6 = _mu68.bigparticle2bmp; }; if (_local7 == 3){ _local6 = _mu68.bigparticle3bmp; }; if (_local7 == 4){ _local6 = _mu68.bigparticle4bmp; }; if (_local7 == 5){ _local6 = _mu68.bigparticle5bmp; }; if (GameMode != 1){ _local8 = 0; while (_local8 < _local3) { mysp = Explosions1._fe192(_local6, 0, 0, _local6.width, _local6.height, Screen.Buffer, _arg1.x, _arg1.y, 1); mysp.drawsmoothing = false; if (_local5 == true){ _local2 = _fb304._rl237(); }; mysp._kp78(_local2, 0, _fb304.Random._dk328(0.05, 0.15), 0, 0, false); if (_local2 > 180){ mysp.ygravity = 0.0001; }; mysp._xy77(_arg1.x, _arg1.y); _local2 = (_local2 + (360 / _local3)); mysp._gk163(-0.00025, 0, 1, 4, _fb304._pj380(0.2, 1)); mysp.userbitmapdata = _local4; mysp._qr195(_cy358); _local8++; }; } else { _local3 = _fb304.Random._wy20(20, 100); _local8 = 0; while (_local8 < _local3) { mysp = Explosions1._fe192(_mu68.smallparticlebmp, 0, 0, _mu68.smallparticlebmp.width, _mu68.smallparticlebmp.height, Screen.Buffer, _arg1.x, _arg1.y, 0); mysp._am219(SmallParticleAnim[1], _fb304.Random._dk328(0.005, 0.03), 30, 4); _local2 = _fb304._rl237(); mysp._kp78(_local2, 0, _fb304.Random._dk328(0.05, 0.15), 0, 0, false); if (_local2 > 180){ mysp.ygravity = 0.000125; }; mysp._qr195(_lg95); _local8++; }; }; } public static function _tb227():void{ if (GameMode == 0){ _cp62._tb227(_cp62.GameScore.value, _na166); } else { if (GameMode == 1){ _cp62._tb227(_cp62.GameScore.value, _na166, _cp62.smartbombsID); } else { if (GameMode == 2){ _cp62._tb227(_cp62.GameScore.value, _na166, _cp62.asteroidsID); }; }; }; } public static function _mi101():void{ var _local1:int; var _local2:Boolean; if (Level_TotalBaddiesToLaunchCounter < Level_TotalBaddiesToLaunch){ Level_BaddiesLaunchSpacerCounter = (Level_BaddiesLaunchSpacerCounter - _cp62.Delta); if (Level_BaddiesLaunchSpacerCounter < 1){ _local1 = _fb304._dq109(1, 6); if (_fb304._qi134(40) == true){ _local1 = 1; }; if (_cp62.GameLevel > 22){ if (_fb304._qi134(85) == true){ if ((Level_TotalBaddiesToLaunch - Level_TotalBaddiesToLaunchCounter) < 17){ _local1 = 4; }; }; } else { if (_cp62.GameLevel > 20){ if (_fb304._qi134(85) == true){ if ((Level_TotalBaddiesToLaunch - Level_TotalBaddiesToLaunchCounter) < 15){ _local1 = 4; }; }; } else { if (_cp62.GameLevel > 18){ if (_fb304._qi134(85) == true){ if ((Level_TotalBaddiesToLaunch - Level_TotalBaddiesToLaunchCounter) < 13){ _local1 = 4; }; }; } else { if (_cp62.GameLevel > 16){ if (_fb304._qi134(85) == true){ if ((Level_TotalBaddiesToLaunch - Level_TotalBaddiesToLaunchCounter) < 12){ _local1 = 4; }; }; } else { if (_cp62.GameLevel > 14){ if (_fb304._qi134(75) == true){ if ((Level_TotalBaddiesToLaunch - Level_TotalBaddiesToLaunchCounter) < 11){ _local1 = 4; }; }; } else { if (_cp62.GameLevel > 12){ if (_fb304._qi134(60) == true){ if ((Level_TotalBaddiesToLaunch - Level_TotalBaddiesToLaunchCounter) < 10){ _local1 = 4; }; }; } else { if (_cp62.GameLevel > 10){ if (_fb304._qi134() == true){ if ((Level_TotalBaddiesToLaunch - Level_TotalBaddiesToLaunchCounter) < 9){ _local1 = 4; }; }; }; }; }; }; }; }; }; if (GameMode == 2){ _local1 = 4; } else { if (GameMode == 1){ _local1 = 6; }; }; if (_local1 == 1){ if (_tq213() == true){ _local2 = true; }; } else { if (_local1 == 2){ if (_bm192() == true){ _local2 = true; }; } else { if (_local1 == 3){ if (_kj367() == true){ _local2 = true; }; } else { if (_local1 == 4){ if (_hi78() == true){ _local2 = true; }; } else { if (_local1 == 5){ if (_cl361() == true){ _local2 = true; }; } else { if (_local1 == 6){ if (_kg145() == true){ _local2 = true; }; }; }; }; }; }; }; if (_local2 == true){ Level_TotalBaddiesToLaunchCounter++; Level_BaddiesLaunchSpacerCounter = Level_BaddiesLaunchSpacer; }; }; } else { if (EnemyBaddies._se17() == 0){ _be354(); }; }; } public static function _ex144():void{ _ul65(); _do49._ku305(); } public static function _bm192():Boolean{ var _local1:int; if (_cp62.GameLevel > 14){ _local1 = 2; } else { if (_cp62.GameLevel > 2){ _local1 = 1; }; }; if (EnemyBaddies._ti99(3) < _local1){ mysp = EnemyBaddies._fe192(_mu68.satellitebmp, 0, 0, 50, 46, Screen.Buffer, 0, 0, 0); mysp._am219(_mu68.satellitebmp, 0.01, 15, 1, 1); if (_pe277() == true){ mysp._xy77(-25, _fb304._pj380(38, 150)); mysp._jt52(_fb304._pj380(0.03, 0.1), 0, 0, 0, 0, true); } else { mysp._xy77((700 + 25), _fb304._pj380(38, 150)); mysp._jt52(-(_fb304._pj380(0.03, 0.1)), 0, 0, 0, 0, true); }; mysp._nw303(-50, -32, (700 + 50), (438 + 32)); mysp._qr195(_ci169); mysp.id = 3; mysp.scorevalue = satellite_score; mysp.num2 = _fb304._pj380(500, 8000); _pp165._se83(irrcrpt("wexippmxi", 4)); return (true); //unresolved jump }; return (false); } public static function _sa108():void{ Screen.brightness = 1; Screen._dt15(true); PauseScreen._dt15(false); PauseScreen._my290(false); StateFunction = StateFunctionBuffer; Mouse.hide(); } public static function _be354():void{ GameState = 2; NewLevelState = 1; NewLevelSpacer1 = 1000; NewLevelSpacer2 = 0; NewLevelSpacer3 = 0; MissileBonus = 0; _gf120(); WaveCompletedSprite = Explosions1._fe192(_mu68.wavecompletedbmp, 0, 0, _mu68.wavecompletedbmp.width, _mu68.wavecompletedbmp.height, Screen.Buffer, 0, 0, 1); WaveCompletedSprite._xy77(350, 90); WaveCompletedSprite._hd358(0.002, 0, 1, 3, 0); MissilesLeftSprite = Explosions1._fe192(_mu68.missileboxbmp, 0, 0, 0, 13, Screen.Buffer, 0, 0, 0); MissilesLeftSprite._xy77(350, (185 - 35)); cityBonusSprite = Explosions1._fe192(_mu68.citybonusbmp, 0, 0, 0, 38, Screen.Buffer, 0, 0, 0); cityBonusSprite._xy77(350, (230 - 30)); } public static function _gf120():void{ cityBonus = 0; cityBonusCounter = 0; for each (mysp in citys.Sprites) { if (mysp.collision_enabled == true){ cityBonus++; }; }; } public static function _qt227():void{ Screen._lv216(); _cp62.Functions._pa90(_ex144, 1500); } } }//package
Section 43
//_do49 (_do49) package { import flash.events.*; import flash.display.*; import classes.*; import mochi.*; import flash.net.*; import flash.utils.*; import flash.geom.*; import flash.filters.*; import flash.ui.*; import caurina.transitions.*; public class _do49 { public static var mysp:_vc343; public static var Layer5Sprites:_tu69; public static var Screen:_mm133; public static var Layer1Sprites:_tu69; public static var mydsp:_st351; public static var ChooseScore:_mm133; public static var Layer4Sprites:_tu69; public static var IsOpen:Boolean; public static var ChooseGame:_mm133; public static var Layer3Sprites:_tu69; public static var GameChoice:int; public static var mybmp:BitmapData; public static var FPSButton:_st351; public static var CreditScreen:_mm133; public static var StateFunction:Function; public static var Layer2Sprites:_tu69; private static var MyStageSprite:Sprite; public static var TParticle:Object = new Object(); public static function _ba13(_arg1:int=0):void{ if (_cp62.agi_loaded == true){ _cp62.agi_busy = true; _cp62.agi_api.initAGUI({onClose:_re214}); _cp62.agi_api.showScoreboardList(); } else { Screen._lv216(); }; } public static function _oo247(_arg1:Event):void{ _fb304._wv25(irrcrpt("myyu://ybnyyjw.htr/FwrtwLfrjx", 5)); } public static function _iv337(_arg1:Event):void{ if (_arg1.currentTarget.ObjectID == 4){ if (_arg1.currentTarget.state == 1){ _arg1.currentTarget.state = 0; } else { _arg1.currentTarget.state = 1; }; }; if (_arg1.currentTarget.ObjectID == 5){ _arg1.currentTarget.state = (_arg1.currentTarget.state + 1); if (_arg1.currentTarget.state == 4){ _arg1.currentTarget.state = 1; }; if (_arg1.currentTarget.state == 1){ _cp62.MyStage.quality = StageQuality.LOW; _arg1.currentTarget._dx126(_mu68.lowbmp); _arg1.currentTarget.tooltip._dx126(_mu68.tlowbmp); }; if (_arg1.currentTarget.state == 2){ _cp62.MyStage.quality = StageQuality.MEDIUM; _arg1.currentTarget._dx126(_mu68.medbmp); _arg1.currentTarget.tooltip._dx126(_mu68.tmedbmp); }; if (_arg1.currentTarget.state == 3){ _cp62.MyStage.quality = StageQuality.HIGH; _arg1.currentTarget._dx126(_mu68.highbmp); _arg1.currentTarget.tooltip._dx126(_mu68.thibmp); }; }; } public static function _uy161():void{ } public static function _ty242(_arg1:Event):void{ Tweener.addTween(_arg1.currentTarget, {brightness:1.5, time:0.225, transition:irrcrpt("mjofbs", 1)}); _pp165._ww170(irrcrpt("kryhu", 3)); } public static function _ur134(_arg1:Event):void{ _fb304._wv25(irrcrpt("iuuq://bsnpshbnft.dpn", 1)); } public static function _md71(_arg1:Event):void{ Screen._ib374(); ChooseGame._dx213(0.5); } public static function _rq327(_arg1:Event):void{ Tweener.addTween(_arg1.currentTarget, {brightness:1, time:0.2, transition:irrcrpt("nkpgct", 2)}); } public static function _lk229(_arg1:Event):void{ Screen._lv216(); CreditScreen._fi156(0.5, _wp201); } public static function _ng149():void{ Screen._lv216(); } public static function _uh155(_arg1:Event):void{ _pp165._ww170(irrcrpt("mtajw", 5)); } public static function _tq122(_arg1:Event):void{ Tweener.addTween(_arg1.currentTarget, {brightness:1, time:0.2, transition:irrcrpt("nkpgct", 2)}); _arg1.currentTarget.tooltip.visible = false; } public static function _cl16(_arg1:Number):void{ StateFunction(_arg1); if (_io323.Key_Clicked > 0){ if (_io323.Key_Clicked == 27){ }; }; } public static function Init(_arg1:Sprite):void{ MyStageSprite = _arg1; Screen = new _mm133(); Screen.Init(_arg1, _cp62.Project_Width, _cp62.Project_Height, false); Screen._dx126(_mu68.titlebmp); Screen.Parent.alpha = 0; Screen.Parent.visible = false; Layer1Sprites = new _tu69(); Layer2Sprites = new _tu69(); Layer3Sprites = new _tu69(); Layer4Sprites = new _tu69(); Layer5Sprites = new _tu69(); _fb304._fj166(TParticle, 1, _mu68.particlebmp, 1, 1, 1, 30); if (_cp62.IsOkToRun == true){ _yd179(); }; } public static function _lx162(_arg1:Event):void{ Tweener.addTween(_arg1.currentTarget, {brightness:1.5, time:0.225, transition:irrcrpt("mjofbs", 1)}); _pp165._ww170(irrcrpt("lsziv", 4)); _arg1.currentTarget.tooltip.visible = true; } public static function _kh283(_arg1:Event):void{ _fb304._wv25(irrcrpt("lxxt://evqsvkeqiw.gsq", 4)); } public static function _wp201():void{ CreditScreen.Parent.visible = false; } public static function _bs283():void{ Layer1Sprites._bs283(); Layer2Sprites._bs283(); Layer3Sprites._bs283(); Layer4Sprites._bs283(); Layer5Sprites._bs283(); } public static function _re214():void{ _cp62.agi_busy = false; Screen._lv216(); } public static function _yt47(_arg1:Number):void{ Screen._px227(); Screen.Buffer.fillRect(new Rectangle(0, 0, 700, 353), 4278190080); _dn318.PlayerExplosions._dm149(_arg1); _fb304._nv54(_mu68.titlebmp, 0, 353, 0, 353, 700, 85, Screen.Buffer); _fb304._dd25(_mu68.missilerushbmp, (340 + 30), 145, 0, 0, _mu68.missilerushbmp.width, _mu68.missilerushbmp.height, Screen.Buffer); Screen._tk229(); } public static function _sh70(_arg1:Number):void{ _yt47(_arg1); _bc30(); _bc30(); _bc30(); _bc30(); _bc30(); _bc30(); _bc30(); if (FPSButton.state == 1){ _cp62._mc162(Screen.Buffer, 330, 10); }; } public static function _ku305():void{ Mouse.show(); _io323._qm68(); _fb304.Random.seed = _fb304.Random._wy20(100, 100000); Screen.Parent.alpha = 0; Screen._dx126(_mu68.titlebmp); Screen.Parent.visible = true; if (_cp62.IsOkToRun == true){ _is159._ww170(irrcrpt("wlwoh", 3)); Tweener.addTween(Screen.Parent, {alpha:1, time:1, transition:irrcrpt("mjofbs", 1), onComplete:_sl383}); _yt47(0); } else { Screen._dx126(_mu68.lockedbmp); Tweener.addTween(Screen.Parent, {alpha:1, time:1, transition:irrcrpt("qnsjfw", 5)}); }; IsOpen = true; _cp62.ProgramState = _cl16; StateFunction = _cp62._md227; } public static function _ei268(_arg1:Event):void{ if (_arg1.currentTarget.state == 1){ _arg1.currentTarget.state = 0; _arg1.currentTarget._dx126(_mu68.musicoffbmp); _is159._xq274(); _is159._qg66(false); } else { _arg1.currentTarget.state = 1; _arg1.currentTarget._dx126(_mu68.musiconbmp); _is159._qg66(true); _is159._ww170(irrcrpt("xmxpi", 4)); }; } public static function _bc30():void{ mysp = _dn318.PlayerExplosions._fe192(_mu68.particlebmp, 0, 0, _mu68.particlebmp.width, _mu68.particlebmp.height, Screen.Buffer, 0, 0, 0); mysp._xy77(350, 190); mysp._kp78(_fb304._rl237(), 0, _fb304._pj380(0.05, 0.2)); mysp._am219(TParticle[1], _fb304._pj380(0.0125, 0.03), 30, 4); mysp._nw303(-32, -32, (700 + 32), (353 + 32)); } public static function _aw298(_arg1:Event):void{ } public static function _rm304():void{ ChooseGame.Parent.visible = false; } public static function _nk126(_arg1:Event):void{ Screen._ib374(); CreditScreen._dx213(0.5); } private static function _tf312():void{ Screen.Parent.visible = false; } public static function _rv197(_arg1:Event):void{ if (_arg1.currentTarget.ObjectID == 3){ Screen._lv216(); ChooseScore._fi156(0.5, _tp267); } else { GameChoice = _arg1.currentTarget.ObjectID; ChooseScore._fi156(0.5, _tp267); if (GameChoice == 0){ _ba13(0); } else { if (GameChoice == 1){ _ba13(1); } else { if (GameChoice == 2){ _ba13(2); }; }; }; }; } public static function _dn241(_arg1:Event):void{ } public static function _ft306(_arg1:Event):void{ if (_arg1.currentTarget.state == 1){ _arg1.currentTarget.state = 0; _arg1.currentTarget._dx126(_mu68.soundoffbmp); _pp165._xq274(); _pp165._qg66(false); } else { _arg1.currentTarget.state = 1; _arg1.currentTarget._dx126(_mu68.soundonbmp); _pp165._qg66(true); }; } public static function _yd179():void{ mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.scoresbmp, -220, 110, 1, _eu78, _ty242, _rq327); mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.moregamesbmp, 220, 110, 1, _ur134, _ty242, _rq327); mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.armorgamesbmp, 0, 175, 1, _kh283, _ty242, _rq327); mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.startbmp, 0, 110, 1, _md71, _ty242, _rq327); mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.twitterbmp, -240, 185, 1, _oo247, _ty242, _rq327); var _local1:Number = 180; var _local2:Number = 185; mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.musiconbmp, _local1, _local2, 2, _ei268, _lx162, _tq122); mydsp.state = 1; mydsp.tooltip = new _st351(); mydsp.tooltip.Init(Screen.Parent, 1, _mu68.tmusicbmp.width, _mu68.tmusicbmp.height); mydsp.tooltip._dx126(_mu68.tmusicbmp); mydsp.tooltip.visible = false; mydsp.tooltip._xy77(_local1, (_local2 - 35)); mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.soundonbmp, (_local1 + (35 * 1)), _local2, 3, _ft306, _lx162, _tq122); mydsp.state = 1; mydsp.tooltip = new _st351(); mydsp.tooltip.Init(Screen.Parent, 1, _mu68.taudiobmp.width, _mu68.taudiobmp.height); mydsp.tooltip._dx126(_mu68.taudiobmp); mydsp.tooltip.visible = false; mydsp.tooltip._xy77((_local1 + (35 * 1)), (_local2 - 35)); FPSButton = Screen.Sprites._cx352(Screen.Parent, _mu68.fpsbmp, (_local1 + (35 * 2)), _local2, 4, _iv337, _lx162, _tq122); FPSButton.tooltip = new _st351(); FPSButton.tooltip.Init(Screen.Parent, 1, _mu68.tfpsbmp.width, _mu68.tfpsbmp.height); FPSButton.tooltip._dx126(_mu68.tfpsbmp); FPSButton.tooltip.visible = false; FPSButton.tooltip._xy77((_local1 + (35 * 2)), (_local2 - 35)); mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.medbmp, (_local1 + (35 * 3)), _local2, 5, _iv337, _lx162, _tq122); mydsp.state = 2; mydsp.tooltip = new _st351(); mydsp.tooltip.Init(Screen.Parent, 1, _mu68.tmedbmp.width, _mu68.tmedbmp.height); mydsp.tooltip._dx126(_mu68.tmedbmp); mydsp.tooltip.visible = false; mydsp.tooltip._xy77((_local1 + (35 * 3)), (_local2 - 35)); mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.creditsbmp, (_local1 + (35 * 4)), _local2, 6, _nk126, _lx162, _tq122); mydsp.tooltip = new _st351(); mydsp.tooltip.Init(Screen.Parent, 1, _mu68.tcreditsbmp.width, _mu68.tcreditsbmp.height); mydsp.tooltip._dx126(_mu68.tcreditsbmp); mydsp.tooltip.visible = false; mydsp.tooltip._xy77((_local1 + (35 * 4)), (_local2 - 35)); CreditScreen = new _mm133(); CreditScreen.Init(MyStageSprite, _mu68.creditscreenbmp.width, _mu68.creditscreenbmp.height, true); CreditScreen._dx126(_mu68.creditscreenbmp); CreditScreen.Sprites._cx352(CreditScreen.Parent, _mu68.backbmp, 123, -126, 1, _lk229, _cp62._lx162, _cp62._tq122); CreditScreen.Parent.alpha = 0; CreditScreen.Parent.visible = false; CreditScreen._xy77((_cp62.Project_Width / 2), (_cp62.Project_Height / 2)); ChooseGame = new _mm133(); ChooseGame.Init(MyStageSprite, _mu68.menubackground2bmp.width, _mu68.menubackground2bmp.height, true); ChooseGame._dx126(_mu68.menubackground2bmp); _fb304._nv54(_mu68.choosegamebmp, 4, 4, 0, 0, 79, 23, ChooseGame.Buffer); ChooseGame.Sprites._cx352(ChooseGame.Parent, _mu68.backbmp, 123, -126, 3, _ci118, _cp62._lx162, _cp62._tq122); ChooseGame.Sprites._cx352(ChooseGame.Parent, _mu68.arcadebmp, 0, -74, 0, _ci118, _cp62._lx162, _cp62._tq122); ChooseGame.Sprites._cx352(ChooseGame.Parent, _mu68.asteroidsbmp, 0, -5, 1, _ci118, _cp62._lx162, _cp62._tq122); ChooseGame.Sprites._cx352(ChooseGame.Parent, _mu68.smartbombsbmp, 0, 67, 2, _ci118, _cp62._lx162, _cp62._tq122); ChooseGame.Parent.alpha = 0; ChooseGame.Parent.visible = false; ChooseGame._xy77((_cp62.Project_Width / 2), (_cp62.Project_Height / 2)); ChooseScore = new _mm133(); ChooseScore.Init(MyStageSprite, _mu68.menubackgroundbmp.width, _mu68.menubackgroundbmp.height, true); ChooseScore._dx126(_mu68.menubackgroundbmp); _fb304._nv54(_mu68.choosescoresbmp, 4, 4, 0, 0, 139, 23, ChooseScore.Buffer); ChooseScore.Sprites._cx352(ChooseScore.Parent, _mu68.backbmp, 123, -126, 3, _rv197, _cp62._lx162, _cp62._tq122); ChooseScore.Sprites._cx352(ChooseScore.Parent, _mu68.arcadebmp, 0, -74, 0, _rv197, _cp62._lx162, _cp62._tq122); ChooseScore.Sprites._cx352(ChooseScore.Parent, _mu68.asteroidsbmp, 0, -5, 1, _rv197, _cp62._lx162, _cp62._tq122); ChooseScore.Sprites._cx352(ChooseScore.Parent, _mu68.smartbombsbmp, 0, 67, 2, _rv197, _cp62._lx162, _cp62._tq122); ChooseScore.Parent.alpha = 0; ChooseScore.Parent.visible = false; ChooseScore._xy77((_cp62.Project_Width / 2), (_cp62.Project_Height / 2)); } public static function _ci118(_arg1:Event):void{ if (_arg1.currentTarget.ObjectID == 3){ Screen._lv216(); ChooseGame._fi156(0.5, _rm304); } else { GameChoice = _arg1.currentTarget.ObjectID; _dn318.GameMode = GameChoice; Screen._lv216(); ChooseGame._fi156(0.5, _mv248); }; } public static function _ul65():void{ Tweener.addTween(Screen.Parent, {alpha:0, time:1, transition:irrcrpt("olqhdu", 3), onComplete:_tf312}); _is159._xq274(); StateFunction = _cp62._md227; IsOpen = false; Mouse.show(); } public static function _sl383():void{ StateFunction = _sh70; } public static function _tp267():void{ ChooseScore.Parent.visible = false; } public static function _mv248():void{ ChooseGame.Parent.visible = false; _ul65(); _dn318._ku305(); } public static function _eu78(_arg1:Event):void{ Screen._ib374(); _ba13(); } } }//package
Section 44
//_ga267 (_ga267) package { import flash.events.*; import caurina.transitions.*; import flash.display.*; import flash.geom.*; import classes.*; import com.urbansquall.preloader.*; import mochi.*; import flash.utils.*; import flash.net.*; import flash.ui.*; public class _ga267 extends Preloader { private var admc:MovieClip; private var Screen:_mm133; private var initializing:Class; private var GameContainer:Sprite; private var MochiAdsAreLive:Boolean;// = false private var strip:Class; private var preloaderbackgroundbmp:BitmapData; private var armorgames:Class; private var armorgamesbmp:BitmapData; private var preloaderbackground:Class; private var finaladtime:int; private var initializingbmp:BitmapData; private var MySprites:_tu69; private var stripbmp:BitmapData; private var adisclosed:Boolean; private var MochiID:String; public static var bigparticle1bmp:BitmapData = new bigparticle1().bitmapData; private static var bigparticle1:Class = _ga267_bigparticle1; private static var bigparticle2:Class = _ga267_bigparticle2; private static var bigparticle3:Class = _ga267_bigparticle3; private static var bigparticle4:Class = _ga267_bigparticle4; private static var bigparticle5:Class = _ga267_bigparticle5; public static var bigparticle4bmp:BitmapData = new bigparticle4().bitmapData; public static var bigparticle2bmp:BitmapData = new bigparticle2().bitmapData; public static var bigparticle5bmp:BitmapData = new bigparticle5().bitmapData; public static var bigparticle3bmp:BitmapData = new bigparticle3().bitmapData; public function _ga267(){ preloaderbackground = _ga267_preloaderbackground; preloaderbackgroundbmp = new preloaderbackground().bitmapData; strip = _ga267_strip; stripbmp = new strip().bitmapData; armorgames = _ga267_armorgames; armorgamesbmp = new armorgames().bitmapData; initializing = _ga267_initializing; initializingbmp = new initializing().bitmapData; Screen = new _mm133(); MySprites = new _tu69(); MochiID = irrcrpt("h35759he8c71742h", 2); super(); } private function _wv25(_arg1:String):void{ var _local2:URLRequest = new URLRequest(_arg1); navigateToURL(_local2, irrcrpt("_fpero", 4)); } override protected function updateLoading(_arg1:Number):void{ var _local2:int = Math.round((_arg1 * 100)); var _local3:int = (392 * (_local2 / 100)); var _local4:int = (400 * (_local2 / 100)); Screen._px227(); _fb304._nv54(preloaderbackgroundbmp, 0, 0, 0, 0, 700, 438, Screen.Buffer, false); _fb304._nv54(stripbmp, 175, 0, 0, 0, _local3, 294, Screen.Buffer, true); MySprites._dm149(_ja136._aq239()); if (_local2 > 98){ _fb304._dd25(initializingbmp, 350, 320, 0, 0, initializingbmp.width, initializingbmp.height, Screen.Buffer); }; Screen._tk229(); _uw117(); if ((((adisclosed == true)) && ((_local2 > 98)))){ finaladtime = (finaladtime - 1); if (finaladtime < 1){ oktoexit = true; }; }; } private function _um140():void{ adisclosed = true; } private function _aw298(_arg1:Event):void{ Tweener.addTween(_arg1.currentTarget, {brightness:1, time:0.25, transition:irrcrpt("mjofbs", 1)}); } override protected function endLoading():void{ Screen._qr348(); preloaderbackgroundbmp = null; bigparticle1bmp = null; bigparticle2bmp = null; bigparticle3bmp = null; bigparticle4bmp = null; bigparticle5bmp = null; stripbmp = null; initializingbmp = null; removeChild(GameContainer); GameContainer = null; if (MochiAdsAreLive == true){ removeChild(admc); admc.visible = false; admc = null; }; } private function _kh283(_arg1:Event):void{ _wv25(irrcrpt("iuuq://bsnpshbnft.dpn", 1)); } override protected function beginLoading():void{ _ja136._ts325((1000 / 20)); adisclosed = false; finaladtime = (stage.frameRate * 2); GameContainer = new Sprite(); addChild(GameContainer); GameContainer.x = 0; GameContainer.y = 0; GameContainer.scrollRect = new Rectangle(0, 0, 700, 438); Screen.Init(GameContainer, 700, 438, true, 267386880, true); Screen._dx126(preloaderbackgroundbmp); Screen.Sprites._cx352(Screen.Parent, armorgamesbmp, 0, 160, 1, _kh283, _lo48, _aw298); if (MochiAdsAreLive == true){ admc = new MovieClip(); addChild(admc); MochiAd.showPreGameAd({id:MochiID, res:irrcrpt("922z650", 2), clip:admc, ad_failed:_um140, ad_skipped:_um140, ad_finished:_um140}); } else { _um140(); }; } private function _uw117():void{ var _local1:BitmapData; var _local3:_vc343; var _local2:int = _fb304._dq109(1, 5); if (_fb304._qi134() == true){ if (_local2 == 1){ _local1 = bigparticle1bmp; }; if (_local2 == 2){ _local1 = bigparticle2bmp; }; if (_local2 == 3){ _local1 = bigparticle3bmp; }; if (_local2 == 4){ _local1 = bigparticle4bmp; }; if (_local2 == 5){ _local1 = bigparticle5bmp; }; _local3 = MySprites._fe192(_local1, 0, 0, _local1.width, _local1.height, Screen.Buffer, _fb304._pj380(50, (700 - 50)), _fb304._pj380(50, (438 - 50)), 1); _local3._gk163(0.004, 0, 3, 7, 0); _local3.drawsmoothing = true; _local3.blend = BlendMode.ADD; }; } private function _lo48(_arg1:Event):void{ Tweener.addTween(_arg1.currentTarget, {brightness:1.25, time:0.25, transition:irrcrpt("olqhdu", 3)}); } } }//package
Section 45
//_ga267_armorgames (_ga267_armorgames) package { import mx.core.*; public class _ga267_armorgames extends BitmapAsset { } }//package
Section 46
//_ga267_bigparticle1 (_ga267_bigparticle1) package { import mx.core.*; public class _ga267_bigparticle1 extends BitmapAsset { } }//package
Section 47
//_ga267_bigparticle2 (_ga267_bigparticle2) package { import mx.core.*; public class _ga267_bigparticle2 extends BitmapAsset { } }//package
Section 48
//_ga267_bigparticle3 (_ga267_bigparticle3) package { import mx.core.*; public class _ga267_bigparticle3 extends BitmapAsset { } }//package
Section 49
//_ga267_bigparticle4 (_ga267_bigparticle4) package { import mx.core.*; public class _ga267_bigparticle4 extends BitmapAsset { } }//package
Section 50
//_ga267_bigparticle5 (_ga267_bigparticle5) package { import mx.core.*; public class _ga267_bigparticle5 extends BitmapAsset { } }//package
Section 51
//_ga267_initializing (_ga267_initializing) package { import mx.core.*; public class _ga267_initializing extends BitmapAsset { } }//package
Section 52
//_ga267_preloaderbackground (_ga267_preloaderbackground) package { import mx.core.*; public class _ga267_preloaderbackground extends BitmapAsset { } }//package
Section 53
//_ga267_strip (_ga267_strip) package { import mx.core.*; public class _ga267_strip extends BitmapAsset { } }//package
Section 54
//_hj59 (_hj59) package { public class _hj59 { public static var achievementmade:Boolean; } }//package
Section 55
//_mu68 (_mu68) package { import flash.display.*; import flash.media.*; public class _mu68 { private static var soundoff:Class = _mu68_soundoff; private static var menubackground2:Class = _mu68_menubackground2; private static var missilesmoke:Class = _mu68_missilesmoke; public static var titlemp3:Class = _mu68_titlemp3; public static var gameoverbmp:BitmapData = new gameover().bitmapData; public static var smallmoregamesbmp:BitmapData = new smallmoregames().bitmapData; public static var launch3mp3:Class = _mu68_launch3mp3; public static var explode1bmp:BitmapData = new explode1().bitmapData; public static var musicoffbmp:BitmapData = new musicoff().bitmapData; public static var tcreditsbmp:BitmapData = new tcredits().bitmapData; private static var scores:Class = _mu68_scores; public static var smartbombmp3:Class = _mu68_smartbombmp3; private static var incoming:Class = _mu68_incoming; public static var enemymissilebmp:BitmapData = new enemymissile().bitmapData; public static var missilereadybmp:BitmapData = new missileready().bitmapData; public static var smokeparticle1bmp:BitmapData = new smokeparticle1().bitmapData; public static var titlebmp:BitmapData = new titlei().bitmapData; private static var jetleft:Class = _mu68_jetleft; private static var tmusic:Class = _mu68_tmusic; public static var twitterbmp:BitmapData = new twitter().bitmapData; public static var hovermp3:Class = _mu68_hovermp3; public static var medbmp:BitmapData = new med().bitmapData; public static var bigparticle1bmp:BitmapData = new bigparticle1().bitmapData; public static var lockedbmp:BitmapData = new locked().bitmapData; private static var missileready:Class = _mu68_missileready; public static var musiconbmp:BitmapData = new musicon().bitmapData; private static var jet2left:Class = _mu68_jet2left; private static var font:Class = _mu68_font; public static var cityleftbmp:BitmapData = new cityleft().bitmapData; public static var cityrightbmp:BitmapData = new cityright().bitmapData; private static var tlow:Class = _mu68_tlow; private static var citylefthit:Class = _mu68_citylefthit; private static var start:Class = _mu68_start; public static var choosegamebmp:BitmapData = new choosegame().bitmapData; private static var cityrighthit:Class = _mu68_cityrighthit; public static var satellitebmp:BitmapData = new satellite().bitmapData; public static var enemymissilesmokebmp:BitmapData = new enemymissilesmoke().bitmapData; public static var cursorbmp:BitmapData = new cursor().bitmapData; private static var twitter:Class = _mu68_twitter; public static var explode2bmp:BitmapData = new explode2().bitmapData; public static var arcadebmp:BitmapData = new arcade().bitmapData; private static var thi:Class = _mu68_thi; public static var taudiobmp:BitmapData = new taudio().bitmapData; public static var missileboxbmp:BitmapData = new missilebox().bitmapData; public static var smokeparticle2bmp:BitmapData = new smokeparticle2().bitmapData; private static var choosegame:Class = _mu68_choosegame; private static var moregames:Class = _mu68_moregames; private static var smallparticle:Class = _mu68_smallparticle; public static var boom1mp3:Class = _mu68_boom1mp3; public static var menubackgroundbmp:BitmapData = new menubackground().bitmapData; public static var bigparticle2bmp:BitmapData = new bigparticle2().bitmapData; private static var credits:Class = _mu68_credits; public static var smartbombsbmp:BitmapData = new smartbombs().bitmapData; public static var missilebmp:BitmapData = new missile().bitmapData; public static var rock1bmp:BitmapData = new rock1().bitmapData; public static var highbmp:BitmapData = new high().bitmapData; private static var creditscreen:Class = _mu68_creditscreen; public static var creditsbmp:BitmapData = new credits().bitmapData; private static var enemymissile:Class = _mu68_enemymissile; public static var launcherhitbmp:BitmapData = new launcherhit().bitmapData; public static var creditscreenbmp:BitmapData = new creditscreen().bitmapData; public static var missilerushbmp:BitmapData = new missilerush().bitmapData; private static var musicon:Class = _mu68_musicon; private static var incoming2:Class = _mu68_incoming2; public static var fontbmp:BitmapData = new font().bitmapData; public static var gameover2bmp:BitmapData = new gameover2().bitmapData; public static var missilesmokebmp:BitmapData = new missilesmoke().bitmapData; private static var back:Class = _mu68_back; private static var armorgames:Class = _mu68_armorgames; public static var wavecompletedbmp:BitmapData = new wavecompleted().bitmapData; private static var missilebox:Class = _mu68_missilebox; public static var smokeparticle3bmp:BitmapData = new smokeparticle3().bitmapData; private static var fps:Class = _mu68_fps; public static var thibmp:BitmapData = new thi().bitmapData; public static var bigparticle3bmp:BitmapData = new bigparticle3().bitmapData; private static var tparticle:Class = _mu68_tparticle; private static var choosescores:Class = _mu68_choosescores; public static var boom2mp3:Class = _mu68_boom2mp3; public static var track1mp3:Class = _mu68_track1mp3; private static var jet2right:Class = _mu68_jet2right; private static var tmed:Class = _mu68_tmed; public static var rock2bmp:BitmapData = new rock2().bitmapData; private static var locked:Class = _mu68_locked; public static var alarmmp3:Class = _mu68_alarmmp3; private static var arcade:Class = _mu68_arcade; private static var titlei:Class = _mu68_titlei; private static var asteroids:Class = _mu68_asteroids; private static var jetright:Class = _mu68_jetright; public static var tlowbmp:BitmapData = new tlow().bitmapData; private static var missile:Class = _mu68_missile; private static var musicoff:Class = _mu68_musicoff; private static var gameover2:Class = _mu68_gameover2; private static var soundon:Class = _mu68_soundon; public static var incoming2bmp:BitmapData = new incoming2().bitmapData; private static var satellite:Class = _mu68_satellite; private static var background:Class = _mu68_background; public static var backbmp:BitmapData = new back().bitmapData; public static var particlebmp:BitmapData = new tparticle().bitmapData; public static var boom3mp3:Class = _mu68_boom3mp3; public static var jet2leftbmp:BitmapData = new jet2left().bitmapData; public static var smokeparticle4bmp:BitmapData = new smokeparticle4().bitmapData; public static var launch1mp3:Class = _mu68_launch1mp3; private static var low:Class = _mu68_low; public static var bigparticle4bmp:BitmapData = new bigparticle4().bitmapData; private static var paused:Class = _mu68_paused; private static var cursor:Class = _mu68_cursor; public static var rock3bmp:BitmapData = new rock3().bitmapData; public static var menubackground2bmp:BitmapData = new menubackground2().bitmapData; public static var armorgamesbmp:BitmapData = new armorgames().bitmapData; public static var jetleftbmp:BitmapData = new jetleft().bitmapData; private static var bigparticle1:Class = _mu68_bigparticle1; private static var bigparticle2:Class = _mu68_bigparticle2; public static var asteroidsbmp:BitmapData = new asteroids().bitmapData; private static var bigparticle4:Class = _mu68_bigparticle4; private static var bigparticle5:Class = _mu68_bigparticle5; private static var explode1:Class = _mu68_explode1; public static var citybonusbmp:BitmapData = new citybonus().bitmapData; private static var wavecompleted:Class = _mu68_wavecompleted; private static var bigparticle3:Class = _mu68_bigparticle3; private static var rock3:Class = _mu68_rock3; private static var explode2:Class = _mu68_explode2; public static var moregamesbmp:BitmapData = new moregames().bitmapData; private static var rock2:Class = _mu68_rock2; private static var smallmoregames:Class = _mu68_smallmoregames; private static var smoke:Class = _mu68_smoke; public static var tfpsbmp:BitmapData = new tfps().bitmapData; public static var countmp3:Class = _mu68_countmp3; public static var jetrightbmp:BitmapData = new jetright().bitmapData; public static var citylefthitbmp:BitmapData = new citylefthit().bitmapData; public static var soundoffbmp:BitmapData = new soundoff().bitmapData; public static var bigexplodemp3:Class = _mu68_bigexplodemp3; public static var choosescoresbmp:BitmapData = new choosescores().bitmapData; private static var cityright:Class = _mu68_cityright; private static var citybonus:Class = _mu68_citybonus; private static var tscores:Class = _mu68_tscores; public static var soundonbmp:BitmapData = new soundon().bitmapData; private static var rock1:Class = _mu68_rock1; public static var backgroundbmp:BitmapData = new background().bitmapData; public static var incomingbmp:BitmapData = new incoming().bitmapData; public static var sponsorlogobmp:BitmapData = new sponsorlogo().bitmapData; private static var high:Class = _mu68_high; private static var launcher:Class = _mu68_launcher; private static var enemymissilesmoke:Class = _mu68_enemymissilesmoke; private static var tcredits:Class = _mu68_tcredits; public static var lowbmp:BitmapData = new low().bitmapData; public static var tmedbmp:BitmapData = new tmed().bitmapData; public static var bigparticle5bmp:BitmapData = new bigparticle5().bitmapData; private static var arrows:Class = _mu68_arrows; public static var pausedbmp:BitmapData = new paused().bitmapData; public static var arrowsbmp:BitmapData = new arrows().bitmapData; public static var smokebmp:BitmapData = new smoke().bitmapData; public static var smartbombbmp:BitmapData = new smartbomb().bitmapData; public static var tmusicbmp:BitmapData = new tmusic().bitmapData; public static var scoresbmp:BitmapData = new scores().bitmapData; private static var sponsorlogo:Class = _mu68_sponsorlogo; public static var launch2mp3:Class = _mu68_launch2mp3; private static var med:Class = _mu68_med; private static var menubackground:Class = _mu68_menubackground; public static var jet2rightbmp:BitmapData = new jet2right().bitmapData; public static var tscoresbmp:BitmapData = new tscores().bitmapData; public static var smallparticlebmp:BitmapData = new smallparticle().bitmapData; private static var smokeparticle1:Class = _mu68_smokeparticle1; private static var smokeparticle2:Class = _mu68_smokeparticle2; private static var smokeparticle3:Class = _mu68_smokeparticle3; private static var smokeparticle4:Class = _mu68_smokeparticle4; private static var taudio:Class = _mu68_taudio; public static var startbmp:BitmapData = new start().bitmapData; public static var launcherbmp:BitmapData = new launcher().bitmapData; public static var pausebmp:BitmapData = new pause().bitmapData; private static var smartbombs:Class = _mu68_smartbombs; public static var cityrighthitbmp:BitmapData = new cityrighthit().bitmapData; private static var smartbomb:Class = _mu68_smartbomb; public static var satellitemp3:Class = _mu68_satellitemp3; public static var cantfiremp3:Class = _mu68_cantfiremp3; private static var cityleft:Class = _mu68_cityleft; private static var launcherhit:Class = _mu68_launcherhit; private static var tfps:Class = _mu68_tfps; private static var pause:Class = _mu68_pause; public static var fpsbmp:BitmapData = new fps().bitmapData; public static var jetmp3:Class = _mu68_jetmp3; private static var missilerush:Class = _mu68_missilerush; private static var gameover:Class = _mu68_gameover; } }//package
Section 56
//_mu68_alarmmp3 (_mu68_alarmmp3) package { import mx.core.*; public class _mu68_alarmmp3 extends SoundAsset { } }//package
Section 57
//_mu68_arcade (_mu68_arcade) package { import mx.core.*; public class _mu68_arcade extends BitmapAsset { } }//package
Section 58
//_mu68_armorgames (_mu68_armorgames) package { import mx.core.*; public class _mu68_armorgames extends BitmapAsset { } }//package
Section 59
//_mu68_arrows (_mu68_arrows) package { import mx.core.*; public class _mu68_arrows extends BitmapAsset { } }//package
Section 60
//_mu68_asteroids (_mu68_asteroids) package { import mx.core.*; public class _mu68_asteroids extends BitmapAsset { } }//package
Section 61
//_mu68_back (_mu68_back) package { import mx.core.*; public class _mu68_back extends BitmapAsset { } }//package
Section 62
//_mu68_background (_mu68_background) package { import mx.core.*; public class _mu68_background extends BitmapAsset { } }//package
Section 63
//_mu68_bigexplodemp3 (_mu68_bigexplodemp3) package { import mx.core.*; public class _mu68_bigexplodemp3 extends SoundAsset { } }//package
Section 64
//_mu68_bigparticle1 (_mu68_bigparticle1) package { import mx.core.*; public class _mu68_bigparticle1 extends BitmapAsset { } }//package
Section 65
//_mu68_bigparticle2 (_mu68_bigparticle2) package { import mx.core.*; public class _mu68_bigparticle2 extends BitmapAsset { } }//package
Section 66
//_mu68_bigparticle3 (_mu68_bigparticle3) package { import mx.core.*; public class _mu68_bigparticle3 extends BitmapAsset { } }//package
Section 67
//_mu68_bigparticle4 (_mu68_bigparticle4) package { import mx.core.*; public class _mu68_bigparticle4 extends BitmapAsset { } }//package
Section 68
//_mu68_bigparticle5 (_mu68_bigparticle5) package { import mx.core.*; public class _mu68_bigparticle5 extends BitmapAsset { } }//package
Section 69
//_mu68_boom1mp3 (_mu68_boom1mp3) package { import mx.core.*; public class _mu68_boom1mp3 extends SoundAsset { } }//package
Section 70
//_mu68_boom2mp3 (_mu68_boom2mp3) package { import mx.core.*; public class _mu68_boom2mp3 extends SoundAsset { } }//package
Section 71
//_mu68_boom3mp3 (_mu68_boom3mp3) package { import mx.core.*; public class _mu68_boom3mp3 extends SoundAsset { } }//package
Section 72
//_mu68_cantfiremp3 (_mu68_cantfiremp3) package { import mx.core.*; public class _mu68_cantfiremp3 extends SoundAsset { } }//package
Section 73
//_mu68_choosegame (_mu68_choosegame) package { import mx.core.*; public class _mu68_choosegame extends BitmapAsset { } }//package
Section 74
//_mu68_choosescores (_mu68_choosescores) package { import mx.core.*; public class _mu68_choosescores extends BitmapAsset { } }//package
Section 75
//_mu68_citybonus (_mu68_citybonus) package { import mx.core.*; public class _mu68_citybonus extends BitmapAsset { } }//package
Section 76
//_mu68_cityleft (_mu68_cityleft) package { import mx.core.*; public class _mu68_cityleft extends BitmapAsset { } }//package
Section 77
//_mu68_citylefthit (_mu68_citylefthit) package { import mx.core.*; public class _mu68_citylefthit extends BitmapAsset { } }//package
Section 78
//_mu68_cityright (_mu68_cityright) package { import mx.core.*; public class _mu68_cityright extends BitmapAsset { } }//package
Section 79
//_mu68_cityrighthit (_mu68_cityrighthit) package { import mx.core.*; public class _mu68_cityrighthit extends BitmapAsset { } }//package
Section 80
//_mu68_countmp3 (_mu68_countmp3) package { import mx.core.*; public class _mu68_countmp3 extends SoundAsset { } }//package
Section 81
//_mu68_credits (_mu68_credits) package { import mx.core.*; public class _mu68_credits extends BitmapAsset { } }//package
Section 82
//_mu68_creditscreen (_mu68_creditscreen) package { import mx.core.*; public class _mu68_creditscreen extends BitmapAsset { } }//package
Section 83
//_mu68_cursor (_mu68_cursor) package { import mx.core.*; public class _mu68_cursor extends BitmapAsset { } }//package
Section 84
//_mu68_enemymissile (_mu68_enemymissile) package { import mx.core.*; public class _mu68_enemymissile extends BitmapAsset { } }//package
Section 85
//_mu68_enemymissilesmoke (_mu68_enemymissilesmoke) package { import mx.core.*; public class _mu68_enemymissilesmoke extends BitmapAsset { } }//package
Section 86
//_mu68_explode1 (_mu68_explode1) package { import mx.core.*; public class _mu68_explode1 extends BitmapAsset { } }//package
Section 87
//_mu68_explode2 (_mu68_explode2) package { import mx.core.*; public class _mu68_explode2 extends BitmapAsset { } }//package
Section 88
//_mu68_font (_mu68_font) package { import mx.core.*; public class _mu68_font extends BitmapAsset { } }//package
Section 89
//_mu68_fps (_mu68_fps) package { import mx.core.*; public class _mu68_fps extends BitmapAsset { } }//package
Section 90
//_mu68_gameover (_mu68_gameover) package { import mx.core.*; public class _mu68_gameover extends BitmapAsset { } }//package
Section 91
//_mu68_gameover2 (_mu68_gameover2) package { import mx.core.*; public class _mu68_gameover2 extends BitmapAsset { } }//package
Section 92
//_mu68_high (_mu68_high) package { import mx.core.*; public class _mu68_high extends BitmapAsset { } }//package
Section 93
//_mu68_hovermp3 (_mu68_hovermp3) package { import mx.core.*; public class _mu68_hovermp3 extends SoundAsset { } }//package
Section 94
//_mu68_incoming (_mu68_incoming) package { import mx.core.*; public class _mu68_incoming extends BitmapAsset { } }//package
Section 95
//_mu68_incoming2 (_mu68_incoming2) package { import mx.core.*; public class _mu68_incoming2 extends BitmapAsset { } }//package
Section 96
//_mu68_jet2left (_mu68_jet2left) package { import mx.core.*; public class _mu68_jet2left extends BitmapAsset { } }//package
Section 97
//_mu68_jet2right (_mu68_jet2right) package { import mx.core.*; public class _mu68_jet2right extends BitmapAsset { } }//package
Section 98
//_mu68_jetleft (_mu68_jetleft) package { import mx.core.*; public class _mu68_jetleft extends BitmapAsset { } }//package
Section 99
//_mu68_jetmp3 (_mu68_jetmp3) package { import mx.core.*; public class _mu68_jetmp3 extends SoundAsset { } }//package
Section 100
//_mu68_jetright (_mu68_jetright) package { import mx.core.*; public class _mu68_jetright extends BitmapAsset { } }//package
Section 101
//_mu68_launch1mp3 (_mu68_launch1mp3) package { import mx.core.*; public class _mu68_launch1mp3 extends SoundAsset { } }//package
Section 102
//_mu68_launch2mp3 (_mu68_launch2mp3) package { import mx.core.*; public class _mu68_launch2mp3 extends SoundAsset { } }//package
Section 103
//_mu68_launch3mp3 (_mu68_launch3mp3) package { import mx.core.*; public class _mu68_launch3mp3 extends SoundAsset { } }//package
Section 104
//_mu68_launcher (_mu68_launcher) package { import mx.core.*; public class _mu68_launcher extends BitmapAsset { } }//package
Section 105
//_mu68_launcherhit (_mu68_launcherhit) package { import mx.core.*; public class _mu68_launcherhit extends BitmapAsset { } }//package
Section 106
//_mu68_locked (_mu68_locked) package { import mx.core.*; public class _mu68_locked extends BitmapAsset { } }//package
Section 107
//_mu68_low (_mu68_low) package { import mx.core.*; public class _mu68_low extends BitmapAsset { } }//package
Section 108
//_mu68_med (_mu68_med) package { import mx.core.*; public class _mu68_med extends BitmapAsset { } }//package
Section 109
//_mu68_menubackground (_mu68_menubackground) package { import mx.core.*; public class _mu68_menubackground extends BitmapAsset { } }//package
Section 110
//_mu68_menubackground2 (_mu68_menubackground2) package { import mx.core.*; public class _mu68_menubackground2 extends BitmapAsset { } }//package
Section 111
//_mu68_missile (_mu68_missile) package { import mx.core.*; public class _mu68_missile extends BitmapAsset { } }//package
Section 112
//_mu68_missilebox (_mu68_missilebox) package { import mx.core.*; public class _mu68_missilebox extends BitmapAsset { } }//package
Section 113
//_mu68_missileready (_mu68_missileready) package { import mx.core.*; public class _mu68_missileready extends BitmapAsset { } }//package
Section 114
//_mu68_missilerush (_mu68_missilerush) package { import mx.core.*; public class _mu68_missilerush extends BitmapAsset { } }//package
Section 115
//_mu68_missilesmoke (_mu68_missilesmoke) package { import mx.core.*; public class _mu68_missilesmoke extends BitmapAsset { } }//package
Section 116
//_mu68_moregames (_mu68_moregames) package { import mx.core.*; public class _mu68_moregames extends BitmapAsset { } }//package
Section 117
//_mu68_musicoff (_mu68_musicoff) package { import mx.core.*; public class _mu68_musicoff extends BitmapAsset { } }//package
Section 118
//_mu68_musicon (_mu68_musicon) package { import mx.core.*; public class _mu68_musicon extends BitmapAsset { } }//package
Section 119
//_mu68_pause (_mu68_pause) package { import mx.core.*; public class _mu68_pause extends BitmapAsset { } }//package
Section 120
//_mu68_paused (_mu68_paused) package { import mx.core.*; public class _mu68_paused extends BitmapAsset { } }//package
Section 121
//_mu68_rock1 (_mu68_rock1) package { import mx.core.*; public class _mu68_rock1 extends BitmapAsset { } }//package
Section 122
//_mu68_rock2 (_mu68_rock2) package { import mx.core.*; public class _mu68_rock2 extends BitmapAsset { } }//package
Section 123
//_mu68_rock3 (_mu68_rock3) package { import mx.core.*; public class _mu68_rock3 extends BitmapAsset { } }//package
Section 124
//_mu68_satellite (_mu68_satellite) package { import mx.core.*; public class _mu68_satellite extends BitmapAsset { } }//package
Section 125
//_mu68_satellitemp3 (_mu68_satellitemp3) package { import mx.core.*; public class _mu68_satellitemp3 extends SoundAsset { } }//package
Section 126
//_mu68_scores (_mu68_scores) package { import mx.core.*; public class _mu68_scores extends BitmapAsset { } }//package
Section 127
//_mu68_smallmoregames (_mu68_smallmoregames) package { import mx.core.*; public class _mu68_smallmoregames extends BitmapAsset { } }//package
Section 128
//_mu68_smallparticle (_mu68_smallparticle) package { import mx.core.*; public class _mu68_smallparticle extends BitmapAsset { } }//package
Section 129
//_mu68_smartbomb (_mu68_smartbomb) package { import mx.core.*; public class _mu68_smartbomb extends BitmapAsset { } }//package
Section 130
//_mu68_smartbombmp3 (_mu68_smartbombmp3) package { import mx.core.*; public class _mu68_smartbombmp3 extends SoundAsset { } }//package
Section 131
//_mu68_smartbombs (_mu68_smartbombs) package { import mx.core.*; public class _mu68_smartbombs extends BitmapAsset { } }//package
Section 132
//_mu68_smoke (_mu68_smoke) package { import mx.core.*; public class _mu68_smoke extends BitmapAsset { } }//package
Section 133
//_mu68_smokeparticle1 (_mu68_smokeparticle1) package { import mx.core.*; public class _mu68_smokeparticle1 extends BitmapAsset { } }//package
Section 134
//_mu68_smokeparticle2 (_mu68_smokeparticle2) package { import mx.core.*; public class _mu68_smokeparticle2 extends BitmapAsset { } }//package
Section 135
//_mu68_smokeparticle3 (_mu68_smokeparticle3) package { import mx.core.*; public class _mu68_smokeparticle3 extends BitmapAsset { } }//package
Section 136
//_mu68_smokeparticle4 (_mu68_smokeparticle4) package { import mx.core.*; public class _mu68_smokeparticle4 extends BitmapAsset { } }//package
Section 137
//_mu68_soundoff (_mu68_soundoff) package { import mx.core.*; public class _mu68_soundoff extends BitmapAsset { } }//package
Section 138
//_mu68_soundon (_mu68_soundon) package { import mx.core.*; public class _mu68_soundon extends BitmapAsset { } }//package
Section 139
//_mu68_sponsorlogo (_mu68_sponsorlogo) package { import mx.core.*; public class _mu68_sponsorlogo extends BitmapAsset { } }//package
Section 140
//_mu68_start (_mu68_start) package { import mx.core.*; public class _mu68_start extends BitmapAsset { } }//package
Section 141
//_mu68_taudio (_mu68_taudio) package { import mx.core.*; public class _mu68_taudio extends BitmapAsset { } }//package
Section 142
//_mu68_tcredits (_mu68_tcredits) package { import mx.core.*; public class _mu68_tcredits extends BitmapAsset { } }//package
Section 143
//_mu68_tfps (_mu68_tfps) package { import mx.core.*; public class _mu68_tfps extends BitmapAsset { } }//package
Section 144
//_mu68_thi (_mu68_thi) package { import mx.core.*; public class _mu68_thi extends BitmapAsset { } }//package
Section 145
//_mu68_titlei (_mu68_titlei) package { import mx.core.*; public class _mu68_titlei extends BitmapAsset { } }//package
Section 146
//_mu68_titlemp3 (_mu68_titlemp3) package { import mx.core.*; public class _mu68_titlemp3 extends SoundAsset { } }//package
Section 147
//_mu68_tlow (_mu68_tlow) package { import mx.core.*; public class _mu68_tlow extends BitmapAsset { } }//package
Section 148
//_mu68_tmed (_mu68_tmed) package { import mx.core.*; public class _mu68_tmed extends BitmapAsset { } }//package
Section 149
//_mu68_tmusic (_mu68_tmusic) package { import mx.core.*; public class _mu68_tmusic extends BitmapAsset { } }//package
Section 150
//_mu68_tparticle (_mu68_tparticle) package { import mx.core.*; public class _mu68_tparticle extends BitmapAsset { } }//package
Section 151
//_mu68_track1mp3 (_mu68_track1mp3) package { import mx.core.*; public class _mu68_track1mp3 extends SoundAsset { } }//package
Section 152
//_mu68_tscores (_mu68_tscores) package { import mx.core.*; public class _mu68_tscores extends BitmapAsset { } }//package
Section 153
//_mu68_twitter (_mu68_twitter) package { import mx.core.*; public class _mu68_twitter extends BitmapAsset { } }//package
Section 154
//_mu68_wavecompleted (_mu68_wavecompleted) package { import mx.core.*; public class _mu68_wavecompleted extends BitmapAsset { } }//package
Section 155
//_xr212 (_xr212) package { import flash.events.*; import flash.display.*; import classes.*; import flash.ui.*; import caurina.transitions.*; public class _xr212 { public static var mysp:_vc343; public static var Layer5Sprites:_tu69; public static var Screen:_mm133; public static var Layer1Sprites:_tu69; public static var Layer3Sprites:_tu69; public static var mydsp:_st351; public static var mybmp:BitmapData; public static var StateFunction:Function; public static var Layer4Sprites:_tu69; public static var Layer2Sprites:_tu69; public static var IsOpen:Boolean; private static var MyStageSprite:Sprite; public static function _sh70(_arg1:Number):void{ } public static function _ku305():void{ _fb304.Random.seed = _fb304.Random._wy20(100, 100000); Screen.Parent.alpha = 0; Screen._bt261(); Screen.Parent.visible = true; Screen.Sprites._bs283(); _yd179(); Tweener.addTween(Screen.Parent, {alpha:1, time:2, transition:irrcrpt("mjofbs", 1), onComplete:_sl383}); IsOpen = true; _cp62.ProgramState = _cl16; StateFunction = _cp62._md227; } public static function _md71(_arg1:Event):void{ } private static function _tf312():void{ Screen.Parent.visible = false; } public static function _dn241(_arg1:Event):void{ } public static function Init(_arg1:Sprite):void{ MyStageSprite = _arg1; Screen = new _mm133(); Screen.Init(_arg1, _cp62.Project_Width, _cp62.Project_Height, false, 4278190080, false); Screen.Parent.alpha = 0; Screen.Parent.visible = false; Layer1Sprites = new _tu69(); Layer2Sprites = new _tu69(); Layer3Sprites = new _tu69(); Layer4Sprites = new _tu69(); Layer5Sprites = new _tu69(); } public static function _ul65():void{ Tweener.addTween(Screen.Parent, {alpha:0, time:1, transition:irrcrpt("olqhdu", 3), onComplete:_tf312}); _is159._xq274(); StateFunction = _cp62._md227; IsOpen = false; Mouse.show(); } public static function _sl383():void{ StateFunction = _sh70; } public static function _yd179():void{ mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.startbmp, 0, 0, 1, _md71, _cp62._lx162, _cp62._tq122); } public static function _cl16(_arg1:Number):void{ StateFunction(_arg1); if (_io323.Key_Clicked > 0){ if (_io323.Key_Clicked == 27){ }; }; _cp62._mc162(Screen.Buffer, 10, 10); } public static function _bs283():void{ Layer1Sprites._bs283(); Layer2Sprites._bs283(); Layer3Sprites._bs283(); Layer4Sprites._bs283(); Layer5Sprites._bs283(); } } }//package
Section 156
//_yi181 (_yi181) package { import flash.events.*; import flash.display.*; import classes.*; import flash.ui.*; import caurina.transitions.*; public class _yi181 { public static var mysp:_vc343; public static var Layer5Sprites:_tu69; public static var Screen:_mm133; public static var Layer1Sprites:_tu69; public static var Layer3Sprites:_tu69; public static var mydsp:_st351; public static var mybmp:BitmapData; public static var StateFunction:Function; public static var Layer4Sprites:_tu69; public static var Layer2Sprites:_tu69; public static var IsOpen:Boolean; private static var MyStageSprite:Sprite; public static function _sh70(_arg1:Number):void{ } public static function _ku305():void{ _fb304.Random.seed = _fb304.Random._wy20(100, 100000); Screen.Parent.alpha = 0; Screen._bt261(); Screen.Parent.visible = true; Screen.Sprites._bs283(); _yd179(); Tweener.addTween(Screen.Parent, {alpha:1, time:2, transition:irrcrpt("olqhdu", 3), onComplete:_sl383}); IsOpen = true; _cp62.ProgramState = _cl16; StateFunction = _cp62._md227; } public static function _md71(_arg1:Event):void{ } private static function _tf312():void{ Screen.Parent.visible = false; } public static function _dn241(_arg1:Event):void{ } public static function Init(_arg1:Sprite):void{ MyStageSprite = _arg1; Screen = new _mm133(); Screen.Init(_arg1, _cp62.Project_Width, _cp62.Project_Height, false, 4278190080, false); Screen.Parent.alpha = 0; Screen.Parent.visible = false; Layer1Sprites = new _tu69(); Layer2Sprites = new _tu69(); Layer3Sprites = new _tu69(); Layer4Sprites = new _tu69(); Layer5Sprites = new _tu69(); } public static function _ul65():void{ Tweener.addTween(Screen.Parent, {alpha:0, time:1, transition:irrcrpt("olqhdu", 3), onComplete:_tf312}); _is159._xq274(); StateFunction = _cp62._md227; IsOpen = false; Mouse.show(); } public static function _sl383():void{ StateFunction = _sh70; } public static function _yd179():void{ mydsp = Screen.Sprites._cx352(Screen.Parent, _mu68.startbmp, 0, 0, 1, _md71, _cp62._lx162, _cp62._tq122); } public static function _cl16(_arg1:Number):void{ StateFunction(_arg1); if (_io323.Key_Clicked > 0){ if (_io323.Key_Clicked == 27){ }; }; _cp62._mc162(Screen.Buffer, 10, 10); } public static function _bs283():void{ Layer1Sprites._bs283(); Layer2Sprites._bs283(); Layer3Sprites._bs283(); Layer4Sprites._bs283(); Layer5Sprites._bs283(); } } }//package
Section 157
//armorGamesIntroMC (armorGamesIntroMC) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.net.*; import flash.utils.*; import flash.text.*; import flash.geom.*; import flash.filters.*; import flash.ui.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; public dynamic class armorGamesIntroMC extends MovieClip { public function armorGamesIntroMC(){ addFrameScript(0, frame1, 217, frame218); } function frame218(){ stop(); } function frame1(){ stop(); } } }//package
Section 158
//irrcrpt (irrcrpt) package { public function irrcrpt(_arg1:String, _arg2:int):String{ var _local5:int; var _local3:String = new String(); var _local4:int; while (_local4 < _arg1.length) { _local5 = _arg1.charCodeAt(_local4); if ((((_local5 >= 48)) && ((_local5 <= 57)))){ _local5 = ((_local5 - _arg2) - 48); if (_local5 < 0){ _local5 = (_local5 + ((57 - 48) + 1)); }; _local5 = ((_local5 % ((57 - 48) + 1)) + 48); } else { if ((((_local5 >= 65)) && ((_local5 <= 90)))){ _local5 = ((_local5 - _arg2) - 65); if (_local5 < 0){ _local5 = (_local5 + ((90 - 65) + 1)); }; _local5 = ((_local5 % ((90 - 65) + 1)) + 65); } else { if ((((_local5 >= 97)) && ((_local5 <= 122)))){ _local5 = ((_local5 - _arg2) - 97); if (_local5 < 0){ _local5 = (_local5 + ((122 - 97) + 1)); }; _local5 = ((_local5 % ((122 - 97) + 1)) + 97); }; }; }; _local3 = (_local3 + String.fromCharCode(_local5)); _local4++; }; return (_local3); } }//package

Library Items

Symbol 1 Bitmap {_ga267_armorgames}
Symbol 2 Bitmap {_ga267_preloaderbackground}
Symbol 3 Bitmap {_mu68_bigparticle3}
Symbol 4 Bitmap {_ga267_strip}
Symbol 5 Bitmap {_ga267_initializing}
Symbol 6 Bitmap {_mu68_bigparticle5}
Symbol 7 Bitmap {_mu68_bigparticle1}
Symbol 8 Bitmap {_mu68_bigparticle2}
Symbol 9 Bitmap {_mu68_bigparticle4}
Symbol 10 GraphicUsed by:25
Symbol 11 GraphicUsed by:25
Symbol 12 GraphicUsed by:25
Symbol 13 SoundUsed by:25
Symbol 14 SoundUsed by:25
Symbol 15 GraphicUsed by:25
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:25
Symbol 18 SoundUsed by:25
Symbol 19 SoundUsed by:25
Symbol 20 SoundUsed by:25
Symbol 21 GraphicUsed by:22
Symbol 22 ButtonUses:21Used by:25
Symbol 23 SoundUsed by:25
Symbol 24 SoundUsed by:25
Symbol 25 MovieClip {armorGamesIntroMC} [armorGamesIntroMC]Uses:10 11 12 13 14 15 17 18 19 20 22 23 24
Symbol 26 Sound {_mu68_boom1mp3} [_mu68_boom1mp3]
Symbol 27 Sound {_mu68_hovermp3} [_mu68_hovermp3]
Symbol 28 Sound {_mu68_boom3mp3} [_mu68_boom3mp3]
Symbol 29 Sound {_mu68_launch2mp3} [_mu68_launch2mp3]
Symbol 30 Sound {_mu68_boom2mp3} [_mu68_boom2mp3]
Symbol 31 Sound {_mu68_alarmmp3} [_mu68_alarmmp3]
Symbol 32 Sound {_mu68_cantfiremp3} [_mu68_cantfiremp3]
Symbol 33 Sound {_mu68_titlemp3} [_mu68_titlemp3]
Symbol 34 Sound {_mu68_jetmp3} [_mu68_jetmp3]
Symbol 35 Sound {_mu68_track1mp3} [_mu68_track1mp3]
Symbol 36 Sound {_mu68_smartbombmp3} [_mu68_smartbombmp3]
Symbol 37 Sound {_mu68_launch1mp3} [_mu68_launch1mp3]
Symbol 38 Sound {_mu68_bigexplodemp3} [_mu68_bigexplodemp3]
Symbol 39 Sound {_mu68_launch3mp3} [_mu68_launch3mp3]
Symbol 40 Sound {_mu68_countmp3} [_mu68_countmp3]
Symbol 41 Sound {_mu68_satellitemp3} [_mu68_satellitemp3]
Symbol 42 Bitmap {_mu68_launcher}
Symbol 43 Bitmap {_mu68_paused}
Symbol 44 Bitmap {_mu68_smoke}
Symbol 45 Bitmap {_mu68_jetleft}
Symbol 46 Bitmap {_mu68_explode2}
Symbol 47 Bitmap {_mu68_gameover}
Symbol 48 Bitmap {_mu68_choosegame}
Symbol 49 Bitmap {_mu68_tlow}
Symbol 50 Bitmap {_mu68_soundon}
Symbol 51 Bitmap {_mu68_missile}
Symbol 52 Bitmap {_mu68_smartbomb}
Symbol 53 Bitmap {_mu68_tfps}
Symbol 54 Bitmap {_mu68_arrows}
Symbol 55 Bitmap {_mu68_asteroids}
Symbol 56 Bitmap {_mu68_smokeparticle2}
Symbol 57 Bitmap {_mu68_smartbombs}
Symbol 58 Bitmap {_mu68_satellite}
Symbol 59 Bitmap {_mu68_arcade}
Symbol 60 Bitmap {_mu68_rock1}
Symbol 61 Bitmap {_mu68_back}
Symbol 62 Bitmap {_mu68_missilebox}
Symbol 63 Bitmap {_mu68_gameover2}
Symbol 64 Bitmap {_mu68_citylefthit}
Symbol 65 Bitmap {_mu68_menubackground}
Symbol 66 Bitmap {_mu68_tparticle}
Symbol 67 Bitmap {_mu68_smallparticle}
Symbol 68 Bitmap {_mu68_scores}
Symbol 69 Bitmap {_mu68_explode1}
Symbol 70 Bitmap {_mu68_incoming2}
Symbol 71 Bitmap {_mu68_twitter}
Symbol 72 Bitmap {_mu68_smokeparticle4}
Symbol 73 Bitmap {_mu68_med}
Symbol 74 Bitmap {_mu68_missilesmoke}
Symbol 75 Bitmap {_mu68_background}
Symbol 76 Bitmap {_mu68_menubackground2}
Symbol 77 Bitmap {_mu68_sponsorlogo}
Symbol 78 Bitmap {_mu68_start}
Symbol 79 Bitmap {_mu68_citybonus}
Symbol 80 Bitmap {_mu68_taudio}
Symbol 81 Bitmap {_mu68_armorgames}
Symbol 82 Bitmap {_mu68_jet2right}
Symbol 83 Bitmap {_mu68_musicon}
Symbol 84 Bitmap {_mu68_font}
Symbol 85 Bitmap {_mu68_musicoff}
Symbol 86 Bitmap {_mu68_rock2}
Symbol 87 Bitmap {_mu68_jet2left}
Symbol 88 Bitmap {_mu68_tmed}
Symbol 89 Bitmap {_mu68_tcredits}
Symbol 90 Bitmap {_mu68_creditscreen}
Symbol 91 Bitmap {_mu68_missileready}
Symbol 92 Bitmap {_mu68_wavecompleted}
Symbol 93 Bitmap {_mu68_moregames}
Symbol 94 Bitmap {_mu68_smokeparticle1}
Symbol 95 Bitmap {_mu68_jetright}
Symbol 96 Bitmap {_mu68_smallmoregames}
Symbol 97 Bitmap {classes._ij74_CSheet}
Symbol 98 Bitmap {_mu68_tscores}
Symbol 99 Bitmap {_mu68_missilerush}
Symbol 100 Bitmap {_mu68_cursor}
Symbol 101 Bitmap {_mu68_cityrighthit}
Symbol 102 Bitmap {_mu68_enemymissile}
Symbol 103 Bitmap {_mu68_choosescores}
Symbol 104 Bitmap {_mu68_thi}
Symbol 105 Bitmap {_mu68_pause}
Symbol 106 Bitmap {_mu68_enemymissilesmoke}
Symbol 107 Bitmap {_mu68_cityleft}
Symbol 108 Bitmap {_mu68_tmusic}
Symbol 109 Bitmap {_mu68_fps}
Symbol 110 Bitmap {_mu68_credits}
Symbol 111 Bitmap {_mu68_titlei}
Symbol 112 Bitmap {_mu68_cityright}
Symbol 113 Bitmap {_mu68_incoming}
Symbol 114 Bitmap {_mu68_high}
Symbol 115 Bitmap {_mu68_rock3}
Symbol 116 Bitmap {_mu68_locked}
Symbol 117 Bitmap {_mu68_low}
Symbol 118 Bitmap {_mu68_smokeparticle3}
Symbol 119 Bitmap {_mu68_launcherhit}
Symbol 120 Bitmap {_mu68_soundoff}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1459 bytes "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 1000, ScriptTimeout: 60 seconds
ExportAssets (56)Timeline Frame 2Symbol 25 as "armorGamesIntroMC"
ExportAssets (56)Timeline Frame 2Symbol 26 as "_mu68_boom1mp3"
ExportAssets (56)Timeline Frame 2Symbol 27 as "_mu68_hovermp3"
ExportAssets (56)Timeline Frame 2Symbol 28 as "_mu68_boom3mp3"
ExportAssets (56)Timeline Frame 2Symbol 29 as "_mu68_launch2mp3"
ExportAssets (56)Timeline Frame 2Symbol 30 as "_mu68_boom2mp3"
ExportAssets (56)Timeline Frame 2Symbol 31 as "_mu68_alarmmp3"
ExportAssets (56)Timeline Frame 2Symbol 32 as "_mu68_cantfiremp3"
ExportAssets (56)Timeline Frame 2Symbol 33 as "_mu68_titlemp3"
ExportAssets (56)Timeline Frame 2Symbol 34 as "_mu68_jetmp3"
ExportAssets (56)Timeline Frame 2Symbol 35 as "_mu68_track1mp3"
ExportAssets (56)Timeline Frame 2Symbol 36 as "_mu68_smartbombmp3"
ExportAssets (56)Timeline Frame 2Symbol 37 as "_mu68_launch1mp3"
ExportAssets (56)Timeline Frame 2Symbol 38 as "_mu68_bigexplodemp3"
ExportAssets (56)Timeline Frame 2Symbol 39 as "_mu68_launch3mp3"
ExportAssets (56)Timeline Frame 2Symbol 40 as "_mu68_countmp3"
ExportAssets (56)Timeline Frame 2Symbol 41 as "_mu68_satellitemp3"
SerialNumber (41)Timeline Frame 1

Labels

"_ga267"Frame 1
"start"Frame 2




http://swfchan.com/19/93621/info.shtml
Created: 26/3 -2019 15:23:38 Last modified: 26/3 -2019 15:23:38 Server time: 22/12 -2024 12:03:23