STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #125037 |
while waiting for the game to load, why don't you try our other cool games: |
Toggle Music (M) |
Tutorial |
Use the "A" button to deliver a punch to Wolverine. Use the "S" button to defend yourself and block Wolverine's attacks. If the Block Meter bar is full, you will not be able to perform a defense move. When the Uppercut bar reaches full strength, press "SPACE" to deliver a massive special attack to Wolverine. Each time you hit Wolverine, the level of this bar will increase. Each time you are hit by Wolverine, the level will decrease. |
This game can't be played on an offline computer. But it doesn't site- locked, so feel free to add it on your website or other websites. |
lazybanana.com |
A LazyBanana.com production |
Producer Herry Yohanes Software Engineering Ficky Irwanto Illustrator Sherly Gunawan Heidi Emmanuela |
CLOSE |
PRESS SPACE |
PRESS SPACE |
PRESS SPACE |
uppercut |
DEFEND |
FIGHT!! |
ActionScript [AS3]
Section 1//AuxFunctions (caurina.transitions.AuxFunctions) package caurina.transitions { public class AuxFunctions { public static function concatObjects(... _args):Object{ var _local2:Object; var _local3:Object; var _local4:int; var _local5:String; _local2 = {}; _local4 = 0; 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); } public static function numberToG(_arg1:Number):Number{ return (((_arg1 & 0xFF00) >> 8)); } public static function numberToR(_arg1:Number):Number{ return (((_arg1 & 0xFF0000) >> 16)); } public static function isInArray(_arg1:String, _arg2:Array):Boolean{ var _local3:uint; var _local4:uint; _local3 = _arg2.length; _local4 = 0; while (_local4 < _local3) { if (_arg2[_local4] == _arg1){ return (true); }; _local4++; }; return (false); } public static function getObjectLength(_arg1:Object):uint{ var _local2:uint; var _local3:String; _local2 = 0; for (_local3 in _arg1) { _local2++; }; return (_local2); } public static function numberToB(_arg1:Number):Number{ return ((_arg1 & 0xFF)); } } }//package caurina.transitionsSection 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 _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period; _local8 = (((!(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; _local6 = (((!(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; _local6 = (((!(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; _local6 = (((!(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 _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; _local8 = (((!(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 _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; _local8 = (((!(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.transitionsSection 3//PropertyInfoObj (caurina.transitions.PropertyInfoObj) package caurina.transitions { public class PropertyInfoObj { public var originalValueComplete:Object; public var modifierParameters:Array; public var isSpecialProperty:Boolean; public var hasModifier:Boolean; public var valueComplete:Number; public var extra:Object; public var valueStart:Number; public var modifierFunction:Function; public var arrayIndex:Number; 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:String; _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; _local1 = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters); return (_local1); } } }//package caurina.transitionsSection 4//SpecialProperty (caurina.transitions.SpecialProperty) package caurina.transitions { public class SpecialProperty { public var parameters:Array; public var preProcess:Function; public var setValue:Function; public var getValue: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:String; _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.transitionsSection 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:String; _local1 = ""; _local1 = (_local1 + "[SpecialPropertyModifier "); _local1 = (_local1 + ("modifyValues:" + String(modifyValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitionsSection 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:String; _local1 = ""; _local1 = (_local1 + "[SpecialPropertySplitter "); _local1 = (_local1 + ("splitValues:" + String(splitValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitionsSection 7//Tweener (caurina.transitions.Tweener) package caurina.transitions { import flash.display.*; import flash.events.*; 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{ var _local4:SpecialPropertyModifier; if (!_inited){ init(); }; _local4 = new SpecialPropertyModifier(_arg2, _arg3); _specialPropertyModifierList[_arg1] = _local4; } public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{ var _local6:SpecialProperty; if (!_inited){ init(); }; _local6 = 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 _local5:Object; var _local6:Number; var _local7:Number; 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]; }; _local5 = _arg2; if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; _local6 = (isNaN(_local5.time)) ? 0 : _local5.time; _local7 = (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 _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { pauseTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function removeTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(removeTweenByIndex, _arg1, _local3)); } public static function splitTweens(_arg1:Number, _arg2:Array):uint{ var _local3:TweenListObj; var _local4:TweenListObj; var _local5:uint; var _local6:String; var _local7:Boolean; _local3 = _tweenList[_arg1]; _local4 = _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; var _local3:Number; _local2 = _tweenList[_arg1]; if ((((_local2 == null)) || (!(_local2.isPaused)))){ return (false); }; _local3 = 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.71"); } public static function onEnterFrame(_arg1:Event):void{ var _local2:Boolean; updateTime(); updateFrame(); _local2 = false; _local2 = updateTweens(); if (!_local2){ stopEngine(); }; } public static function updateTime():void{ _currentTime = getTimer(); } private static function updateTweenByIndex(_arg1:Number):Boolean{ var tTweening:TweenListObj; var isOver:Boolean; 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 cTime:Number; var tProperty:Object; var pv:Number; var i = _arg1; tTweening = _tweenList[i]; if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){ return (false); }; isOver = false; cTime = 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(e:Error) { handleError(tTweening, e, "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(e:Error) { handleError(tTweening, e, "onUpdate"); }; }; } else { tTweening.updatesSkipped++; }; }; if (((isOver) && (Boolean(tTweening.onComplete)))){ eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope; try { tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams); } catch(e:Error) { handleError(tTweening, e, "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 _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _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 _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _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 _local7:Object; var _local8:Number; var _local9:Number; var _local10:Array; var _local11:Object; var _local12:Object; 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]; }; _local7 = TweenListObj.makePropertiesChain(_arg2); if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; _local8 = (isNaN(_local7.time)) ? 0 : _local7.time; _local9 = (isNaN(_local7.delay)) ? 0 : _local7.delay; _local10 = new Array(); _local11 = {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}; _local12 = 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 _local4:Boolean; var _local5:uint; var _local6:Array; var _local7:uint; var _local8:uint; var _local9:uint; _local4 = false; 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; var _local4:Array; if (!Boolean(_tweenList)){ return ([]); }; _local4 = 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; _local2 = _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; var _local3:Number; if (!Boolean(_tweenList)){ return (0); }; _local3 = 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 removed:Boolean; var removedLocally:Boolean; var i:uint; var tl:uint; var pName:String; var eventScope:Object; var p_scope = _arg1; var p_properties = _arg2; var p_timeStart = _arg3; var p_timeComplete = _arg4; removed = false; tl = _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{ var _local4:SpecialPropertySplitter; if (!_inited){ init(); }; _local4 = 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 _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(resumeTweenByIndex, _arg1, _local3)); } public static function pauseTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(pauseTweenByIndex, _arg1, _local3)); } } }//package caurina.transitionsSection 8//TweenListObj (caurina.transitions.TweenListObj) package caurina.transitions { public class TweenListObj { public var onUpdate:Function; public var useFrames:Boolean; public var hasStarted:Boolean; public var onOverwriteParams:Array; public var timeStart:Number; public var count: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 transition:Function; public var timePaused:Number; public var onCompleteParams:Array; public var timesCalled:Number; public var isCaller:Boolean; public var onError:Function; 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 _local2:TweenListObj; var _local3:String; _local2 = 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 _local1:String; var _local2:Boolean; var _local3:String; _local1 = "\n[TweenListObj "; _local1 = (_local1 + ("scope:" + String(scope))); _local1 = (_local1 + ", properties:"); _local2 = true; 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 _local2:Object; var _local3:Object; var _local4:Object; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Number; _local2 = _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.transitionsSection 9//KeyObject (com.senocular.utils.KeyObject) package com.senocular.utils { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.ui.*; public dynamic class KeyObject extends Proxy { private static var keysDown:Object; private static var stage:Stage; public function KeyObject(_arg1:Stage){ construct(_arg1); } private function keyPressed(_arg1:KeyboardEvent):void{ keysDown[_arg1.keyCode] = true; } public function construct(_arg1:Stage):void{ KeyObject.stage = _arg1; keysDown = new Object(); _arg1.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed); _arg1.addEventListener(KeyboardEvent.KEY_UP, keyReleased); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){ return (((_arg1 in Keyboard)) ? Keyboard[_arg1] : -1); } public function isDown(_arg1:uint):Boolean{ return (Boolean((_arg1 in keysDown))); } private function keyReleased(_arg1:KeyboardEvent):void{ delete keysDown[_arg1.keyCode]; } public function deconstruct():void{ stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyPressed); stage.removeEventListener(KeyboardEvent.KEY_UP, keyReleased); keysDown = new Object(); KeyObject.stage = null; } } }//package com.senocular.utilsSection 10//PM_PRNG (de.polygonal.math.PM_PRNG) package de.polygonal.math { public class PM_PRNG { public static var seed:uint = now.getTime(); public static var now:Date = new Date(); public function PM_PRNG(){ var _local1:Date; super(); _local1 = new Date(); } public static function nextDoubleRange(_arg1:Number, _arg2:Number):Number{ return ((_arg1 + ((_arg2 - _arg1) * nextDouble()))); } public static function nextDouble():Number{ return ((gen() / 2147483647)); } private static function gen():uint{ return ((seed = ((seed * 16807) % 2147483647))); } public static function nextIntRange(_arg1:Number, _arg2:Number):uint{ _arg1 = (_arg1 - 0.4999); _arg2 = (_arg2 + 0.4999); return (Math.round((_arg1 + ((_arg2 - _arg1) * nextDouble())))); } public static function nextInt():uint{ return (gen()); } } }//package de.polygonal.mathSection 11//isiBarCombo_47 (Skeleton_fla.isiBarCombo_47) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class isiBarCombo_47 extends MovieClip { public function isiBarCombo_47(){ addFrameScript(109, frame110); } function frame110(){ gotoAndPlay(101); } } }//package Skeleton_flaSection 12//kepalaWolv_41 (Skeleton_fla.kepalaWolv_41) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class kepalaWolv_41 extends MovieClip { public function kepalaWolv_41(){ addFrameScript(0, frame1, 2, frame3, 3, frame4, 4, frame5); } function frame3(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } } }//package Skeleton_flaSection 13//lazybananaproduction_36 (Skeleton_fla.lazybananaproduction_36) package Skeleton_fla { import flash.display.*; import flash.text.*; public dynamic class lazybananaproduction_36 extends MovieClip { public var mTitle:TextField; } }//package Skeleton_flaSection 14//logoanim2_2 (Skeleton_fla.logoanim2_2) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class logoanim2_2 extends MovieClip { public function logoanim2_2(){ addFrameScript(34, frame35); } function frame35(){ stop(); } } }//package Skeleton_flaSection 15//MusicBtn_14 (Skeleton_fla.MusicBtn_14) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class MusicBtn_14 extends MovieClip { public function MusicBtn_14(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package Skeleton_flaSection 16//OptionBarPopUp_17 (Skeleton_fla.OptionBarPopUp_17) package Skeleton_fla { import flash.display.*; import flash.text.*; public dynamic class OptionBarPopUp_17 extends MovieClip { public var mText:TextField; } }//package Skeleton_flaSection 17//Preloadercopy_1 (Skeleton_fla.Preloadercopy_1) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class Preloadercopy_1 extends MovieClip { public var mLink:SimpleButton; public var mb1:SimpleButton; public var mb3:SimpleButton; public var mb4:SimpleButton; public var mb2:SimpleButton; public var mb5:SimpleButton; public function Preloadercopy_1(){ addFrameScript(0, frame1, 74, frame75); } function frame75(){ stop(); } function frame1(){ stop(); mLink.addEventListener(MouseEvent.MOUSE_UP, GotoLinkHome, false, 0, true); mb1.addEventListener(MouseEvent.MOUSE_UP, GotoLink1, false, 0, true); mb2.addEventListener(MouseEvent.MOUSE_UP, GotoLink2, false, 0, true); mb3.addEventListener(MouseEvent.MOUSE_UP, GotoLink3, false, 0, true); mb4.addEventListener(MouseEvent.MOUSE_UP, GotoLink4, false, 0, true); mb5.addEventListener(MouseEvent.MOUSE_UP, GotoLink5, false, 0, true); } public function GotoLink2(_arg1:MouseEvent):void{ Global.openWindow("http://www.dailyfreegames.com/games/skill-games/love-rush.html"); } public function GotoLink1(_arg1:MouseEvent):void{ Global.openWindow("http://www.dailyfreegames.com/games/arcade-games/robinson-hotel.html"); } public function GotoLink3(_arg1:MouseEvent):void{ Global.openWindow("http://www.dailyfreegames.com/games/dress-up-games/super-model-dress-up.html"); } public function GotoLinkHome(_arg1:MouseEvent):void{ Global.openWindow("http://www.dailyfreegames.com"); } public function GotoLink4(_arg1:MouseEvent):void{ Global.openWindow("http://www.dailyfreegames.com/games/shooting-games/x-gunner.html"); } public function GotoLink5(_arg1:MouseEvent):void{ Global.openWindow("http://www.dailyfreegames.com/games/arcade-games/big-mama%27s-salon.html"); } } }//package Skeleton_flaSection 18//QualityBtn_15 (Skeleton_fla.QualityBtn_15) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class QualityBtn_15 extends MovieClip { public function QualityBtn_15(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package Skeleton_flaSection 19//SFXBtn_16 (Skeleton_fla.SFXBtn_16) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class SFXBtn_16 extends MovieClip { public function SFXBtn_16(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame3(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame2(){ stop(); } } }//package Skeleton_flaSection 20//barCombo (barCombo) package { import flash.display.*; public dynamic class barCombo extends MovieClip { public var isiBar:MovieClip; } }//packageSection 21//barDefend (barDefend) package { import flash.display.*; public dynamic class barDefend extends MovieClip { public var isiBar:MovieClip; } }//packageSection 22//barHP (barHP) package { import flash.display.*; public dynamic class barHP extends MovieClip { public var isiBar:MovieClip; } }//packageSection 23//bgEnding (bgEnding) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class bgEnding extends MovieClip { public var buttonMainMenu:btnMainMenu2; public var buttonPlayMore:btnPlayMore2; public function bgEnding(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//packageSection 24//bgGameOver (bgGameOver) package { import flash.display.*; public dynamic class bgGameOver extends MovieClip { public var buttonMainMenu:btnMainMenu; public var buttonPlayMore:btnPlayMore; } }//packageSection 25//bgMusic (bgMusic) package { import flash.media.*; public dynamic class bgMusic extends Sound { } }//packageSection 26//bgNextLevel (bgNextLevel) package { import flash.display.*; public dynamic class bgNextLevel extends MovieClip { public var buttonNext:btnNextRound; } }//packageSection 27//bgTutor (bgTutor) package { import flash.display.*; public dynamic class bgTutor extends MovieClip { public var buttonMainMenu:btnMainMenu2; } }//packageSection 28//btnMainMenu (btnMainMenu) package { import flash.display.*; public dynamic class btnMainMenu extends SimpleButton { } }//packageSection 29//btnMainMenu2 (btnMainMenu2) package { import flash.display.*; public dynamic class btnMainMenu2 extends SimpleButton { } }//packageSection 30//btnNextRound (btnNextRound) package { import flash.display.*; public dynamic class btnNextRound extends SimpleButton { } }//packageSection 31//btnPlayMore (btnPlayMore) package { import flash.display.*; public dynamic class btnPlayMore extends SimpleButton { } }//packageSection 32//btnPlayMore2 (btnPlayMore2) package { import flash.display.*; public dynamic class btnPlayMore2 extends SimpleButton { } }//packageSection 33//buttonPlay (buttonPlay) package { import flash.display.*; public dynamic class buttonPlay extends SimpleButton { } }//packageSection 34//CBannedWin (CBannedWin) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class CBannedWin extends MovieClip { public var mBtn:SimpleButton; public function CBannedWin(){ addFrameScript(0, frame1); } function frame1(){ mBtn.addEventListener(MouseEvent.MOUSE_DOWN, GotoSapi); } public function GotoSapi(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://www.lazybanana.com"); navigateToURL(_local2); } } }//packageSection 35//CBaseMovieClip (CBaseMovieClip) package { import flash.display.*; import flash.events.*; public class CBaseMovieClip extends MovieClip { public var mEventType:String; public function CBaseMovieClip(_arg1:String){ mEventType = _arg1; } public function AddDispatcher():void{ Main.GetInstance().addEventListener(mEventType, Update, false, 0, true); } public function RemoveDispatcher(){ Main.GetInstance().removeEventListener(mEventType, Update); } public function Update(_arg1:Event){ } } }//packageSection 36//CCredit (CCredit) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class CCredit extends MovieClip { public var mTitle:MovieClip; public var mFilter:Array; public var mClose:MovieClip; public var mLogo:MovieClip; public function CCredit(){ addFrameScript(0, frame1); } public function onMouseOver(_arg1:MouseEvent){ var _local2:GlowFilter; _local2 = new GlowFilter(0x9900, 1, 5, 5, 3); if (_arg1.currentTarget.name == "mClose"){ mFilter = _arg1.currentTarget.filters.slice(0, 1); _arg1.currentTarget.filters = mFilter.concat([_local2]); return; }; _arg1.currentTarget.filters = [_local2]; } public function onMouseUp(_arg1:MouseEvent){ if ((((_arg1.currentTarget.name == "mTitle")) || ((_arg1.currentTarget.name == "mLogo")))){ Global.openWindow(); }; if (_arg1.currentTarget.name == "mClose"){ parent.removeChild(this); }; } function frame1(){ if (!mTitle.hasEventListener(MouseEvent.MOUSE_UP)){ mTitle.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); mTitle.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver, false, 0, true); mTitle.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut, false, 0, true); mTitle.mouseChildren = false; mTitle.buttonMode = true; mTitle.useHandCursor = true; mLogo.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); mLogo.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver, false, 0, true); mLogo.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut, false, 0, true); mLogo.mouseChildren = false; mLogo.buttonMode = true; mLogo.useHandCursor = true; mClose.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); mClose.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver, false, 0, true); mClose.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut, false, 0, true); mClose.mouseChildren = false; mClose.buttonMode = true; mClose.useHandCursor = true; }; } public function onMouseOut(_arg1:MouseEvent){ if (_arg1.currentTarget.name == "mClose"){ _arg1.currentTarget.filters = mFilter; return; }; _arg1.currentTarget.filters = []; } } }//packageSection 37//CGame (CGame) package { import flash.display.*; import flash.events.*; import caurina.transitions.*; import de.polygonal.math.*; import com.senocular.utils.*; import flash.ui.*; public class CGame extends CBaseMovieClip { public var backgroundEnding:MovieClip; public var bar:MovieClip; public var bgSkill:MovieClip; public var hitSmack:MovieClip; public var cons:Data; public var ctrPukul2:int; public var playerKena:int; public var barKombo:MovieClip; public var backgroundGameOver:MovieClip; public var key:KeyObject; public var randKena:int; public var textRound:MovieClip; public var endingMode:Boolean; public var ctrPukul:int; public var level:int; public var hitung:MovieClip; public var hit:MovieClip; public var ctrMinCombo:int; public var gameOverMode:Boolean; public var nextLevelMode:Boolean; public var backgroundNextLevel:MovieClip; public var ctrTangkis:int; public var fightMode:Boolean; public var player:MovieClip; public var goresan:MovieClip; public var modePemencetan:int; public var wolverine:MovieClip; public var barDef:MovieClip; private static var CGameGlobal:CGame; public function CGame(){ addFrameScript(84, frame85); super("update"); CGameGlobal = this; trace("init cgame"); level = 1; initGame(); } private function cekDef():void{ if (((!((modePemencetan == cons.pencetTangkis))) && ((player.def > 0)))){ if (player.defDown == true){ player.def = (player.def - 2); } else { player.def = (player.def - 1); }; if ((((player.def == 0)) && ((player.defDown == true)))){ player.defDown = false; }; }; } private function cekBar():void{ bar.bar1.isiBar.gotoAndStop(player.HP); bar.bar2.isiBar.gotoAndStop(wolverine.HP); if ((((player.combo == 100)) && ((bar.barKombo.isiBar.currentFrame < 101)))){ bar.barKombo.isiBar.gotoAndPlay(101); } else { if (player.combo < 100){ bar.barKombo.isiBar.gotoAndStop(player.combo); }; }; if (player.defDown == false){ bar.barDef.isiBar.gotoAndStop(player.def); } else { bar.barDef.isiBar.gotoAndStop((player.def + 100)); }; } private function ending():void{ wolverine.gambar.gotoAndPlay(cons.animasiWolverineJatuh); } private function munculHit():void{ var _local1:*; _local1 = PM_PRNG.nextIntRange(1, 2); if (_local1 == 1){ hit.gotoAndPlay(2); } else { hit.gotoAndPlay(17); }; hit.visible = true; _local1 = PM_PRNG.nextIntRange(120, 700); hit.x = _local1; _local1 = PM_PRNG.nextIntRange(100, 200); hit.y = _local1; } private function initGame():void{ gotoAndStop(1); gameOverMode = false; cons = new Data(); wolverine = new CWolverine(100, cons.statusWolverine[(level - 1)].att); wolverine.gambar.badanLuka.gotoAndStop(level); wolverine.gambar.kepala.gotoAndStop(level); wolverine.x = 400; wolverine.y = 400; addChild(wolverine); player = new CPlayer(100, cons.statusPlayer[(level - 1)].att); player.x = 400; player.y = 700; addChild(player); hit = new textHit(); hit.gotoAndStop(1); addChild(hit); key = new KeyObject(Main.GetInstance().stage); modePemencetan = 0; bar = new UI(); bar.alpha = 0.7; bar.x = 400; bar.y = 300; bar.textRound.gotoAndStop(level); cekBar(); addChild(bar); goresan = new gores(); goresan.gotoAndStop(1); addChild(goresan); hitSmack = new smack(); hitSmack.alpha = 0; hitSmack.x = 400; hitSmack.y = 300; addChild(hitSmack); ctrPukul = 0; ctrTangkis = 0; ctrPukul2 = 0; ctrMinCombo = 0; playerKena = 0; randKena = PM_PRNG.nextIntRange(1, 2); hitung = new countDown(); hitung.x = 400; hitung.y = 300; hitung.textRound.gotoAndStop(level); addChild(hitung); backgroundGameOver = new bgGameOver(); backgroundGameOver.buttonMainMenu.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); backgroundGameOver.buttonPlayMore.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); backgroundGameOver.x = 400; backgroundGameOver.y = 100; backgroundEnding = new bgEnding(); backgroundEnding.buttonMainMenu.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); backgroundEnding.buttonPlayMore.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); backgroundEnding.stop(); backgroundEnding.x = 400; backgroundEnding.y = 300; backgroundNextLevel = new bgNextLevel(); backgroundNextLevel.buttonNext.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); backgroundNextLevel.stop(); backgroundNextLevel.x = 400; backgroundNextLevel.y = 300; fightMode = false; endingMode = false; nextLevelMode = false; } private function onMouseUp(_arg1:MouseEvent):void{ if (_arg1.currentTarget.name == "buttonMainMenu"){ Main.GetInstance().KillWindow("Game"); Main.GetInstance().InitMainMenu(); }; if (_arg1.currentTarget.name == "buttonNext"){ nextLevelMode = true; removeChild(backgroundNextLevel); removeAll(); initGame(); }; if (_arg1.currentTarget.name == "buttonPlayMore"){ Global.openWindow("http://www.dailyfreegames.com/"); }; } function frame85(){ stop(); } private function pukulWolverine():void{ munculHit(); if (modePemencetan == cons.pencetUpperCut){ wolverine.HP = (wolverine.HP - (player.att * 15)); } else { wolverine.HP = (wolverine.HP - player.att); player.combo = (player.combo + 10); if (player.combo > 100){ player.combo = 100; }; }; if (wolverine.HP <= 0){ level++; if (level == 6){ endingMode = true; ending(); } else { nextLevelMode = true; addChild(backgroundNextLevel); wolverine.gambar.gotoAndPlay(cons.animasiWolverineKalah); }; }; cekBar(); } private function removeAll():void{ removeChild(wolverine); removeChild(player); removeChild(hit); removeChild(bar); removeChild(goresan); removeChild(hitSmack); removeChild(hitung); } private function cekCombo():void{ if ((((player.combo > 0)) && ((player.combo < 100)))){ ctrMinCombo++; if (ctrMinCombo == cons.timeMinCombo){ player.combo = (player.combo - 1); ctrMinCombo = 0; }; }; cekBar(); } private function cekGerakWolverine():void{ var _local1:*; _local1 = PM_PRNG.nextIntRange(1, 100); if (ctrPukul2 == 0){ if (_local1 == 1){ ctrPukul2++; wolverine.gambar.gotoAndPlay(cons.animasiWolverineMemukulKanan); }; if (_local1 == 2){ ctrPukul2++; wolverine.gambar.gotoAndPlay(cons.animasiWolverineMemukulKiri); }; _local1 = 0; }; if (ctrPukul2 > 0){ if ((((wolverine.gambar.currentFrame == cons.frameWolverineCekPukul1)) || ((wolverine.gambar.currentFrame == cons.frameWolverineCekPukul2)))){ Main.GetInstance().mOptionBar.PlaySFX("wolverineSound", 0.8); if (player.gambar.currentFrame != cons.framePlayerCekTangkis){ if (wolverine.gambar.currentFrame == cons.frameWolverineCekPukul1){ goresan.y = 350; goresan.x = 350; goresan.gotoAndPlay(1); } else { goresan.y = 350; goresan.x = 450; goresan.gotoAndPlay(11); }; player.HP = (player.HP - wolverine.att); if (player.combo < 100){ player.combo = (player.combo - 10); if (player.combo < 0){ player.combo = 0; }; }; playerKena = 1; hitSmack.alpha = 0.7; Tweener.addTween(hitSmack, {alpha:0, time:2}); cekBar(); }; }; ctrPukul2++; if (ctrPukul2 == cons.timePukul2){ ctrPukul2 = 0; }; }; } private function gameOver():void{ removeAll(); addChild(player); gotoAndPlay(2); player.gambar.gotoAndPlay(cons.animasiPlayerJatuh); } override public function Update(_arg1:Event){ if ((((((gameOverMode == false)) && ((endingMode == false)))) && ((nextLevelMode == false)))){ if (fightMode == false){ if (hitung.currentFrame == cons.frameAnimasiCountDownAkhir){ fightMode = true; hitung.visible = false; }; } else { if (player.comboMode == true){ if (player.gambar.currentFrame == cons.frameHapusBgSkill){ removeChild(bgSkill); removeChild(hit); removeChild(bar); removeChild(goresan); removeChild(hitSmack); addChild(hit); addChild(bar); addChild(goresan); addChild(hitSmack); }; if (player.gambar.currentFrame == cons.frameDamageSkill){ wolverine.gambar.gotoAndPlay(cons.animasiWolverineDipukulTengah); }; if (player.gambar.currentFrame == cons.frameSelesaiSkill){ pukulWolverine(); player.combo = 0; cekBar(); ctrPukul = 0; modePemencetan = 0; player.comboMode = false; }; } else { cekGerakWolverine(); cekCombo(); cekDef(); if (((key.isDown(65)) && ((ctrPukul == 0)))){ modePemencetan = cons.pencetPukulKiri; }; if (((key.isDown(68)) && ((ctrPukul == 0)))){ modePemencetan = cons.pencetPukulKanan; }; if (((key.isDown(83)) && ((player.defDown == false)))){ modePemencetan = cons.pencetTangkis; }; if (((((key.isDown(Keyboard.SPACE)) && ((player.combo == 100)))) && ((ctrPukul == 0)))){ modePemencetan = cons.pencetUpperCut; }; if (modePemencetan == cons.pencetUpperCut){ ctrPukul++; if (ctrPukul == 1){ bgSkill = new skill(); bgSkill.x = 400; bgSkill.y = 300; removeChild(player); addChild(bgSkill); addChild(player); wolverine.gambar.gotoAndStop(wolverine.gambar.currentFrame); player.gambar.gotoAndPlay(cons.animasiPlayerUpperCut); Main.GetInstance().mOptionBar.PlaySFX("skillSound", 0.8); Main.GetInstance().mOptionBar.PlaySFX("skillSound", 0.5); player.comboMode = true; }; } else { if (modePemencetan == cons.pencetPukulKiri){ ctrPukul++; if (ctrPukul == 1){ Main.GetInstance().mOptionBar.PlaySFX("spokSound", 0.5); player.gambar.gotoAndPlay(cons.animasiPlayerPukulKiri); wolverine.gambar.gotoAndPlay(cons.animasiWolverineDipukulKiri); pukulWolverine(); }; if (ctrPukul == cons.timePukul){ ctrPukul = 0; modePemencetan = 0; }; } else { if (modePemencetan == cons.pencetPukulKanan){ ctrPukul++; if (ctrPukul == 1){ Main.GetInstance().mOptionBar.PlaySFX("spokSound", 0.5); player.gambar.gotoAndPlay(cons.animasiPlayerPukulKanan); wolverine.gambar.gotoAndPlay(cons.animasiWolverineDipukulKanan); pukulWolverine(); }; if (ctrPukul == cons.timePukul){ ctrPukul = 0; modePemencetan = 0; }; } else { if (ctrPukul > 0){ ctrPukul++; if (ctrPukul == cons.timePukul){ ctrPukul = 0; }; }; }; }; }; if (modePemencetan == cons.pencetTangkis){ if (player.def < 100){ player.def = (player.def + 1); if (player.def == 100){ player.defDown = true; modePemencetan = 0; ctrTangkis = 0; player.gambar.gotoAndPlay(Data.animasiPlayerGerak); } else { ctrTangkis++; if (ctrTangkis == 1){ player.gambar.gotoAndPlay(cons.animasiPlayerTangkis); }; }; }; }; if (playerKena > 0){ if (randKena == 1){ x = (x + PM_PRNG.nextIntRange(8, 13)); } else { x = (x - PM_PRNG.nextIntRange(8, 13)); }; if (randKena == 1){ y = (y - PM_PRNG.nextIntRange(8, 13)); } else { y = (y + PM_PRNG.nextIntRange(8, 13)); }; if (randKena == 1){ randKena = 2; } else { randKena = 1; }; playerKena++; if (playerKena == 9){ x = 0; y = 0; playerKena = 0; if (player.HP <= 0){ gameOverMode = true; gameOver(); }; }; }; }; }; } else { if (gameOverMode == true){ if (player.gambar.currentFrame == cons.framePlayerCekJatuhAkhir){ addChild(backgroundGameOver); }; }; if (endingMode == true){ if (wolverine.gambar.currentFrame == cons.frameWolverineCekJatuhAkhir){ x = 0; y = 0; wolverine.gambar.gotoAndStop(1); removeChild(wolverine); backgroundEnding.gotoAndPlay(1); addChild(backgroundEnding); }; }; }; } public static function GetInstance():CGame{ return (CGameGlobal); } } }//packageSection 38//CMainMenu (CMainMenu) package { import flash.display.*; import flash.events.*; public class CMainMenu extends MovieClip { public var btnAddTo:SimpleButton; public var btnMoreGames:SimpleButton; public var btnTutor:SimpleButton; public var backgroundTutor:MovieClip; public var btnPlay:SimpleButton; public function CMainMenu(){ mouseEnabled = false; btnPlay.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); btnAddTo.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); btnTutor.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); btnMoreGames.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); backgroundTutor.buttonMainMenu.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); backgroundTutor.visible = false; } private function onMouseUp(_arg1:MouseEvent):void{ if (_arg1.currentTarget.name == "btnPlay"){ Main.GetInstance().InitGame(); }; if (_arg1.currentTarget.name == "btnAddTo"){ Global.openWindow("http://www.dailyfreegames.com/free-games.html"); }; if (_arg1.currentTarget.name == "btnMoreGames"){ Global.openWindow("http://www.dailyfreegames.com/"); }; if (_arg1.currentTarget.name == "btnTutor"){ backgroundTutor.visible = true; }; if (_arg1.currentTarget.name == "buttonMainMenu"){ backgroundTutor.visible = false; }; } } }//packageSection 39//COptionBar (COptionBar) package { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; public class COptionBar extends MovieClip { public var mSFX:MovieClip; private var mSfxChannel:Array; private var mBgm:Sound; private var mBgmFlag:Boolean; public var mPopUp:MovieClip; private var mSfxFlag:Boolean;// = true private var mBgmChannel:SoundChannel; public var mMusic:MovieClip; public var mQuality:MovieClip; private var mBgmVol:Number;// = 1 public static var Global:COptionBar; public function COptionBar(_arg1:int=0, _arg2:int=0, _arg3:String=null, _arg4:Number=0.5){ var _local5:Class; mSfxFlag = true; mBgmVol = 1; super(); Global = this; mBgmVol = _arg4; this.x = _arg1; this.y = _arg2; if (_arg3){ _local5 = (getDefinitionByName(_arg3) as Class); if (_local5){ mBgm = new (_local5); }; }; mPopUp.mouseEnabled = false; mMusic.buttonMode = true; mMusic.useHandCursor = true; mSFX.buttonMode = true; mSFX.useHandCursor = true; mQuality.buttonMode = true; mQuality.useHandCursor = true; mMusic.addEventListener(MouseEvent.MOUSE_OVER, MusicOver, false, 0, true); mMusic.addEventListener(MouseEvent.MOUSE_OUT, MusicOut, false, 0, true); mMusic.addEventListener(MouseEvent.MOUSE_UP, ToggleMusic, false, 0, true); mSFX.addEventListener(MouseEvent.MOUSE_OVER, SFXOver, false, 0, true); mSFX.addEventListener(MouseEvent.MOUSE_OUT, SFXOut, false, 0, true); mSFX.addEventListener(MouseEvent.MOUSE_UP, ToggleSFX, false, 0, true); mQuality.addEventListener(MouseEvent.MOUSE_OVER, QualityOver, false, 0, true); mQuality.addEventListener(MouseEvent.MOUSE_OUT, QualityOut, false, 0, true); mQuality.addEventListener(MouseEvent.MOUSE_UP, ToggleQuality, false, 0, true); if (((mBgm) && (!((Main.GetInstance().mState == Main.STATE_PRELOADER))))){ StartBGM(); }; mSfxChannel = new Array(); MusicOut(null); SFXOut(null); trace("init option bar"); } private function MusicOut(_arg1:MouseEvent):void{ if (!mBgmFlag){ mMusic.gotoAndStop(2); } else { mMusic.gotoAndStop(1); }; HidePopUp(); } public function ToggleQuality(_arg1:MouseEvent=null):void{ switch (Main.GetInstance().stage.quality){ case "LOW": Main.GetInstance().stage.quality = StageQuality.MEDIUM; break; case "MEDIUM": Main.GetInstance().stage.quality = StageQuality.HIGH; break; case "HIGH": Main.GetInstance().stage.quality = StageQuality.BEST; break; case "BEST": Main.GetInstance().stage.quality = StageQuality.LOW; break; }; ShowPopUp((("Quality: " + Main.GetInstance().stage.quality) + " (B)")); } public function StopSFX(_arg1:int){ mSfxChannel[_arg1].stop(); } public function ChangeBGM(_arg1:String=null){ var _local2:Class; if (!_arg1){ return; }; if (_arg1){ _local2 = (getDefinitionByName(_arg1) as Class); mBgm = new (_local2); }; if (((mBgmFlag) && (mBgmChannel))){ mBgmChannel.stop(); }; trace(("bgm flag : " + mBgmFlag)); if (mBgmFlag){ StartBGM(); }; } public function ToggleMusic(_arg1:MouseEvent=null):void{ if (Main.GetInstance().mState == Main.STATE_PRELOADER){ return; }; trace("toggle Music"); if (((mBgmFlag) && (mBgmChannel))){ mBgmFlag = false; mBgmChannel.stop(); } else { StartBGM(); }; if (_arg1 != null){ MusicOver(null); } else { MusicOut(null); }; } private function StartBGM(){ var _local1:SoundTransform; trace(("start bgm : " + mBgm)); if (!mBgm){ return; }; mBgmFlag = true; _local1 = new SoundTransform(mBgmVol, 0); mBgmChannel = mBgm.play(0, 999, _local1); MusicOut(null); } public function ToggleSFX(_arg1:MouseEvent=null):void{ var _local2:int; if (Main.GetInstance().mState == Main.STATE_PRELOADER){ return; }; if (mSfxFlag){ mSfxFlag = false; if (mSfxChannel){ _local2 = 0; while (_local2 < mSfxChannel.length) { mSfxChannel[_local2].stop(); _local2++; }; }; } else { mSfxFlag = true; }; if (_arg1 != null){ SFXOver(null); } else { SFXOut(null); }; } private function QualityOver(_arg1:MouseEvent):void{ mQuality.gotoAndStop(2); ShowPopUp((("Quality: " + Main.GetInstance().stage.quality) + " (B)")); } private function HidePopUp(){ mPopUp.alpha = 0; } public function PlaySFX(_arg1:String, _arg2:Number=1):int{ var _local3:Class; var _local4:Sound; var _local5:SoundTransform; var _local6:SoundChannel; if (!mSfxFlag){ return; }; _local3 = (getDefinitionByName(_arg1) as Class); _local4 = new (_local3); _local5 = new SoundTransform(_arg2, 0); _local6 = _local4.play(0, 1, _local5); mSfxChannel.push(_local6); return ((mSfxChannel.length - 1)); } private function MusicOver(_arg1:MouseEvent):void{ if (!mBgmFlag){ mMusic.gotoAndStop(4); } else { mMusic.gotoAndStop(3); }; ShowPopUp("Toggle Music (M)"); } private function SFXOut(_arg1:MouseEvent):void{ if (!mSfxFlag){ mSFX.gotoAndStop(2); } else { mSFX.gotoAndStop(1); }; HidePopUp(); } private function ShowPopUp(_arg1:String){ if ((this.y - 50) <= 0){ mPopUp.y = 40; } else { mPopUp.y = -30; }; mPopUp.alpha = 1; mPopUp.mText.text = _arg1; } private function SFXOver(_arg1:MouseEvent):void{ if (!mSfxFlag){ mSFX.gotoAndStop(4); } else { mSFX.gotoAndStop(3); }; ShowPopUp("Toggle SFX (N)"); } public function ChangeBGMVol(_arg1:Number){ mBgmVol = _arg1; mBgmChannel.soundTransform = new SoundTransform(mBgmVol, 0); } private function QualityOut(_arg1:MouseEvent):void{ mQuality.gotoAndStop(1); HidePopUp(); } } }//packageSection 40//countDown (countDown) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class countDown extends MovieClip { public var textRound:textRoundBesar; public function countDown(){ addFrameScript(139, frame140); } function frame140(){ stop(); } } }//packageSection 41//CPlayer (CPlayer) package { import flash.display.*; public class CPlayer extends CBaseMovieClip { public var def:int; public var HP:int; public var defDown:Boolean; public var comboMode:Boolean; public var combo:int; public var gambar:MovieClip; public var att:int; public function CPlayer(_arg1:int, _arg2:int){ super("update"); gambar = new gambarPlayer(); HP = _arg1; att = _arg2; combo = 0; def = 0; defDown = false; comboMode = false; addChild(gambar); } public function bisaPukul(_arg1:int, _arg2:int):Boolean{ if ((((gambar.currentFrame >= _arg1)) && ((gambar.currentFrame <= _arg2)))){ return (true); }; return (false); } public function frame():int{ return (gambar.currentFrame); } } }//packageSection 42//CWolverine (CWolverine) package { import flash.display.*; public class CWolverine extends CBaseMovieClip { public var HP:int; public var gambar:MovieClip; public var att:int; public function CWolverine(_arg1:int, _arg2:int){ super("update"); gambar = new gambarWolverine(); HP = _arg1; att = _arg2; addChild(gambar); } } }//packageSection 43//Data (Data) package { public class Data { public const pencetUpperCut = 4; public const animasiWolverineGerak = 39; public const framePlayerCekTangkis = 36; public const animasiWolverineMemukulKanan = 195; public const frameSelesaiSkill = 146; public const animasiWolverineDipukulKanan = 161; public const statusWolverine; public const animasiWolverineDipukulKiri = 172; public const animasiPlayerPukulKanan = 27; public const frameWolverineCekJatuhAkhir = 318; public const animasiPlayerUpperCut = 37; public const framePlayerCekJatuhAkhir = 345; public const frameWolverineCekPukul1 = 204; public const frameWolverineCekPukul2 = 218; public const animasiWolverineNunduk = 1; public const pencetPukulKiri = 1; public const timeMinCombo = 10; public const animasiPlayerPukulKiri = 22; public const frameAnimasiCountDownAkhir = 140; public const pencetTangkis = 3; public const timePukul = 30; public const animasiPlayerBatasGerak = 21; public const pencetPukulKanan = 2; public const timePukul2 = 20; public const animasiWolverineDipukulTengah = 183; public const animasiPlayerJatuh = 148; public const frameHapusBgSkill = 130; public const animasiWolverineJatuh = 227; public const animasiPlayerTangkis = 33; public const frameDamageSkill = 141; public const animasiPlayerGerak = 1; public const animasiWolverineKalah = 320; public const statusPlayer; public const animasiWolverineMemukulKiri = 211; public const frameWolverineCekGores1 = 201; public const frameWolverineCekGores2 = 217; public function Data(){ statusWolverine = [{att:"3", timeRegen:1}, {att:"7", timeRegen:1}, {att:"10", timeRegen:1}, {att:"15", timeRegen:1}, {att:"20", timeRegen:1}]; statusPlayer = [{att:"2"}, {att:"2"}, {att:"2"}, {att:"2"}, {att:"2"}]; super(); } } }//packageSection 44//FPS (FPS) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class FPS extends MovieClip { public var prevSecondTime:Number; public var secondTime:Number; public var tf:TextField; public var frames:Number; public var time:Number; public var frameTime:Number; public var fps:String; public var prevFrameTime:Number; public var iBar:MovieClip; public function FPS(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ prevFrameTime = getTimer(); prevSecondTime = getTimer(); frames = 0; fps = "..."; } function frame2(){ stop(); this.addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function onEnterFrame(_arg1:Event):void{ time = getTimer(); frameTime = (time - prevFrameTime); secondTime = (time - prevSecondTime); if (secondTime >= 1000){ fps = frames.toString(); frames = 0; prevSecondTime = time; } else { frames++; }; prevFrameTime = time; tf.text = (((((fps + " FPS / ") + frameTime) + " MS") + " - Memory : ") + System.totalMemory); iBar.scaleX = (iBar.scaleX - ((iBar.scaleX - (frameTime / 10)) / 5)); } } }//packageSection 45//gambarPlayer (gambarPlayer) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class gambarPlayer extends MovieClip { public function gambarPlayer(){ addFrameScript(20, frame21, 25, frame26, 31, frame32, 35, frame36, 140, frame141, 146, frame147, 344, frame345); } function frame26(){ gotoAndPlay(1); } function frame345(){ stop(); } function frame21(){ gotoAndPlay(1); } function frame36(){ stop(); } function frame32(){ gotoAndPlay(1); } function frame141(){ Main.GetInstance().mOptionBar.PlaySFX("smackSound", 1); } function frame147(){ gotoAndPlay(1); } } }//packageSection 46//gambarWolverine (gambarWolverine) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class gambarWolverine extends MovieClip { public var kepala:MovieClip; public var badanLuka:MovieClip; public function gambarWolverine(){ addFrameScript(37, frame38, 159, frame160, 170, frame171, 181, frame182, 193, frame194, 194, frame195, 209, frame210, 210, frame211, 225, frame226, 318, frame319, 319, frame320, 329, frame330); } function frame319(){ stop(); } function frame160(){ gotoAndPlay(38); } function frame320(){ kepala.gotoAndStop(CGame.GetInstance().level); } function frame171(){ gotoAndPlay(38); } function frame330(){ gotoAndPlay(320); } function frame210(){ gotoAndPlay(38); } function frame211(){ kepala.gotoAndStop(CGame.GetInstance().level); } function frame182(){ gotoAndPlay(38); } function frame226(){ gotoAndPlay(38); } function frame194(){ gotoAndStop(38); } function frame195(){ kepala.gotoAndStop(CGame.GetInstance().level); } function frame38(){ kepala.gotoAndStop(CGame.GetInstance().level); } } }//packageSection 47//Global (Global) package { import flash.geom.*; import flash.display.*; import flash.utils.*; import flash.net.*; import flash.external.*; public class Global { protected static const WINDOW_OPEN_FUNCTION:String = "window.open"; public static var STAGE_WIDTH = 600; public static var STAGE_HEIGHT = 450; public static function getIsoPoint(_arg1:Point):Point{ return (new Point((_arg1.x - _arg1.y), ((_arg1.x + _arg1.y) / 2))); } public static function AngleOfTwoLines(_arg1:Object, _arg2:Object):Number{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; _local3 = _arg1.x1; _local4 = _arg1.y1; _local5 = _arg1.x2; _local6 = _arg1.y2; _local7 = _arg2.x1; _local8 = _arg2.y1; _local9 = _arg2.x2; _local10 = _arg2.y2; _local11 = Global.Slope(_local3, _local4, _local5, _local6); _local12 = Global.Slope(_local7, _local8, _local9, _local10); return (Math.atan(((_local12 - _local11) / (1 + (_local11 * _local12))))); } public static function Slope(_arg1, _arg2, _arg3, _arg4):Number{ var _local5:Number; var _local6:Number; _local5 = (_arg1 - _arg3); _local6 = (_arg2 - _arg4); return ((_local6 / _local5)); } public static function clone(_arg1:Object){ var _local2:ByteArray; _local2 = new ByteArray(); _local2.writeObject(_arg1); _local2.position = 0; return (_local2.readObject()); } public static function duplicateMovieClip(_arg1:MovieClip):MovieClip{ var _local2:Class; var _local3:MovieClip; var _local4:Rectangle; _local2 = Object(_arg1).constructor; _local3 = new (_local2); _local3.transform = _arg1.transform; _local3.filters = _arg1.filters; _local3.cacheAsBitmap = _arg1.cacheAsBitmap; _local3.opaqueBackground = _arg1.opaqueBackground; if (_arg1.scale9Grid){ _local4 = _arg1.scale9Grid; _local3.scale9Grid = _local4; }; return (_local3); } public static function AngleOfTwoDots(_arg1, _arg2, _arg3, _arg4):Number{ var _local5:Number; var _local6:Number; _local5 = (_arg1 - _arg3); _local6 = (_arg2 - _arg4); return (Math.atan2(_local6, _local5)); } public static function DegToRad(_arg1:Number):Number{ return (((_arg1 / 180) * Math.PI)); } public static function Distance(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (Math.sqrt((Math.pow((_arg3 - _arg1), 2) + Math.pow((_arg4 - _arg2), 2)))); } public static function RadToDeg(_arg1:Number):Number{ return (((_arg1 * 180) / Math.PI)); } public static function pythagoras(_arg1:Number, _arg2:Number):Number{ return (Math.sqrt((Math.pow(_arg1, 2) + Math.pow(_arg2, 2)))); } public static function openWindow(_arg1:String="http://www.lazybanana.com", _arg2:String="_blank", _arg3:String=""):String{ var _loc_4:URLRequest; var _loc_5:String; var ok:Boolean; var opened:Boolean; var msg:String; var url = _arg1; var target = _arg2; var param3 = _arg3; ok = true; opened = false; _loc_4 = new URLRequest(url); msg = "Start the openWindow func ...\n"; if (!ExternalInterface.available){ try { opened = false; navigateToURL(_loc_4, target); msg = (msg + "flag a - 1"); } catch(err:SecurityError) { navigateToURL(_loc_4, "_blank"); opened = true; msg = (msg + "flag a - 2"); } finally { opened = true; }; msg = (msg + "external interface not available\n"); } else { try { _loc_5 = String(ExternalInterface.call("function() {return navigator.userAgent;}")).toLowerCase(); msg = (msg + "Trying extenal interface sandbox security\n"); msg = (msg + "flag b - 1"); opened = false; } catch(err:SecurityError) { msg = (msg + (err.message + "\n")); ok = false; try { opened = false; navigateToURL(_loc_4, target); msg = (msg + "flag b - 2"); } catch(err:SecurityError) { opened = true; msg = (msg + "flag b - 3"); navigateToURL(_loc_4, "_blank"); } finally { opened = true; }; } catch(err:Error) { } finally { opened = false; }; if (((ok) && (!(opened)))){ msg = (msg + "External interface available, continuing ...\n"); if (((!((_loc_5.indexOf("firefox") == -1))) || (((!((_loc_5.indexOf("msie") == -1))) && ((uint(_loc_5.substr((_loc_5.indexOf("msie") + 5), 3)) >= 7)))))){ try { ExternalInterface.call("window.open", _loc_4.url, target); opened = false; msg = (msg + "flag c - 1"); msg = (msg + "Trying window.open JS ...\n"); } catch(err:SecurityError) { msg = (msg + (err.message + "\n")); trace(("e : " + err.message)); if (!opened){ try { opened = false; navigateToURL(_loc_4, target); msg = (msg + "flag d - 1"); } catch(err:SecurityError) { opened = true; navigateToURL(_loc_4, "_blank"); msg = (msg + "flag d - 2"); } finally { opened = true; }; }; } catch(err:Error) { msg = (msg + (err.message + "\n")); if (!opened){ try { opened = false; navigateToURL(_loc_4, target); msg = (msg + "flag e - 1"); } catch(err:SecurityError) { opened = true; navigateToURL(_loc_4, "_blank"); msg = (msg + "flag e - 2"); } finally { opened = true; }; }; } finally { opened = true; }; } else { if (!opened){ msg = (msg + "Open with navigateToURL\n"); try { opened = false; navigateToURL(_loc_4, target); msg = (msg + "flag f - 1"); } catch(err:SecurityError) { navigateToURL(_loc_4, "_blank"); msg = (msg + "flag f - 2"); } finally { opened = true; }; }; }; }; }; return (msg); } public static function getMoneyString(_arg1:int):String{ var _local2:String; var _local3:String; var _local4:int; var _local5:int; _local2 = ""; _local3 = _arg1; _local4 = 0; _local5 = (_local3.length - 1); while (_local5 >= 0) { _local4++; _local2 = (_local3.charAt(_local5) + _local2); if ((_local4 % 3) == 0){ _local2 = ("," + _local2); }; _local5--; }; if (_local2.charAt(0) == ","){ return (_local2.substr(1, (_local2.length - 1))); }; return (_local2); } public static function getFormatedString(_arg1:String, _arg2:Array, _arg3:String="%"):String{ var _local4:String; for (_local4 in _arg2) { _arg1 = _arg1.replace((_arg3 + _local4), _arg2[_local4]); trace(_local4, _arg2[_local4]); }; return (_arg1); } } }//packageSection 48//gores (gores) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class gores extends MovieClip { public function gores(){ addFrameScript(6, frame7, 13, frame14); } function frame14(){ gotoAndStop(1); } function frame7(){ gotoAndStop(1); } } }//packageSection 49//Main (Main) package { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.ui.*; import flash.net.*; import flash.system.*; public dynamic class Main extends MovieClip { public var mBannedWin:CBannedWin; private var mContextMenu:ContextMenu; public var mBgmStartFlag:Boolean;// = false private var mBgm:SoundChannel; private var mSfx:SoundChannel; public var mState:int; public var mBgmFlag:Boolean;// = true public var mFPSBar:MovieClip; private var mMainMenu:CMainMenu; public var mSfxFlag:Boolean;// = true public var mOptionBar:COptionBar; public var mPreloader:MovieClip; private var mGame:CGame; protected static const WINDOW_OPEN_FUNCTION:String = "window.open"; public static var STATE_GAME = 1; public static var MainGlobal:Main; public static var STATE_PRELOADER = 0; public static var STATE_MAIN_MENU = 2; public static var STATE_PAUSED = 3; public function Main(){ mState = STATE_PRELOADER; mBgmFlag = true; mSfxFlag = true; mBgmStartFlag = false; super(); addFrameScript(0, frame1, 1, frame2, 15, frame16); trace("init main 1"); MainGlobal = this; mState = STATE_MAIN_MENU; Global.STAGE_HEIGHT = stage.stageHeight; Global.STAGE_WIDTH = stage.stageWidth; stage.addEventListener(FocusEvent.FOCUS_IN, OnKeyFocusChange, false, 0, true); stage.addEventListener(Event.ADDED, OnAddedToStage, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUp, false, 0, true); stage.showDefaultContextMenu = false; stage.quality = StageQuality.LOW; } public function InitMainMenu(){ ShowWindow("MainMenu"); mState = STATE_MAIN_MENU; } public function ToggleQuality():void{ switch (stage.quality){ case "LOW": stage.quality = StageQuality.MEDIUM; break; case "MEDIUM": stage.quality = StageQuality.HIGH; break; case "HIGH": stage.quality = StageQuality.BEST; break; case "BEST": stage.quality = StageQuality.LOW; break; default: break; }; } public function KillWindow(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=true){ var _local4:String; var _local5:String; var _local6:XML; var _local7:String; _local4 = ("C" + _arg1); _local5 = ("m" + _arg1); if (this[_local5]){ if (((this[_local5].parent) && (_arg3))){ this[_local5].parent.removeChild(this[_local5]); }; if (_arg2){ _local6 = describeType(this[_local5]); _local7 = _local6.method.@name.toXMLString(); if (_local7.indexOf("RemoveDispatcher") > -1){ this[_local5].RemoveDispatcher(); }; }; this[_local5] = null; }; if (this[_local5] != null){ trace((("WARNING ### " + _arg1) + "Not null after Kill process")); }; } private function RunStateGame(){ this.dispatchEvent(new Event("update")); } function frame16(){ InitOnce(); } public function ShowWindow(_arg1:String){ var _local2:String; var _local3:String; var _local4:Class; _local2 = ("C" + _arg1); _local3 = ("m" + _arg1); _local4 = (getDefinitionByName(_local2) as Class); if (_local4){ KillWindow(_local3); this[_local3] = new (_local4); this.stage.addChild(this[_local3]); }; } public function InitGame(){ ShowWindow("Game"); mGame.AddDispatcher(); mState = STATE_GAME; } function frame1(){ stop(); MochiServices.connect("c975846b34d356c7", this); MochiAd.showPreGameAd({id:"cfc9a31cafe273ad", res:"800x600", clip:this}); stop(); mPreloader.addEventListener(MouseEvent.MOUSE_DOWN, GotoSapi); } private function isDomainNOTAllowed(_arg1:Array):Boolean{ var _local2:LocalConnection; var _local3:String; var _local4:Number; _local2 = new LocalConnection(); _local3 = _local2.domain; trace(("Domain : " + _local3)); _local4 = 0; while (_local4 < _arg1.length) { if (_local3 == _arg1[_local4]){ return (true); }; _local4++; }; _local4 = 0; while (_local4 < _arg1.length) { if (_local3.substr(-((_arg1[_local4].length + 1))) == ("." + _arg1[_local4])){ return (true); }; _local4++; }; return (false); } private function isPlayerAllowed(_arg1:Array):Boolean{ var _local2:String; var _local3:Number; _local2 = Capabilities.playerType; trace(("PlayerType : " + _local2)); _local3 = 0; while (_local3 < _arg1.length) { if (_local2 == _arg1[_local3]){ return (true); }; _local3++; }; return (false); } function frame2(){ gotoAndStop("mainMenu"); } private function isDomainAllowed(_arg1:Array):Boolean{ var _local2:LocalConnection; var _local3:String; var _local4:Number; _local2 = new LocalConnection(); _local3 = _local2.domain; trace(("Domain : " + _local3)); _local4 = 0; while (_local4 < _arg1.length) { if (_local3 == _arg1[_local4]){ return (true); }; _local4++; }; _local4 = 0; while (_local4 < _arg1.length) { if (_local3.substr(-((_arg1[_local4].length + 1))) == ("." + _arg1[_local4])){ return (true); }; _local4++; }; return (false); } private function menuSelectHandler(_arg1:ContextMenuEvent){ } private function OnKeyFocusChange(_arg1:FocusEvent):void{ stage.focus = this.stage; } public function onKeyUp(_arg1:KeyboardEvent){ if (mState == STATE_GAME){ if ((((((((((_arg1.keyCode == 83)) && ((CGame.GetInstance().fightMode == true)))) && ((CGame.GetInstance().player.comboMode == false)))) && ((CGame.GetInstance().gameOverMode == false)))) && ((CGame.GetInstance().nextLevelMode == false)))){ CGame.GetInstance().modePemencetan = 0; CGame.GetInstance().ctrTangkis = 0; CGame.GetInstance().player.gambar.gotoAndPlay(Data.animasiPlayerGerak); }; }; if (mState != STATE_PRELOADER){ switch (_arg1.keyCode){ case 77: if (mOptionBar){ mOptionBar.ToggleMusic(); }; break; case 66: if (mOptionBar){ mOptionBar.ToggleQuality(); }; break; case 78: if (mOptionBar){ mOptionBar.ToggleSFX(); }; break; }; }; } private function OnAddedToStage(_arg1:Event):void{ if (mOptionBar){ mOptionBar.parent.setChildIndex(mOptionBar, (mOptionBar.parent.numChildren - 1)); }; if (mFPSBar){ mFPSBar.parent.setChildIndex(mFPSBar, (mFPSBar.parent.numChildren - 1)); }; } public function CheckDomain(){ var _local1:Array; var _local2:Array; var _local3:*; _local1 = new Array("localhost"); _local2 = new Array("ActiveX", "PlugIn", "StandAlone", "External"); if (!isDomainAllowed(_local1)){ trace("BANNED DOMAIN !!!"); if (_local3){ if (_local3.parent){ _local3.parent.removeChild(_local3); }; _local3 = null; }; _local3 = new CBannedWin(); this.stage.addChild(_local3); } else { trace("Allowed DOMAIN !!!"); }; } private function InitOnce(){ InitMainMenu(); mOptionBar = new COptionBar(0, 0, "bgMusic"); mOptionBar.visible = false; stage.addChild(mOptionBar); mFPSBar = new FPS(); mFPSBar.visible = false; stage.addChild(mFPSBar); if (this.hasEventListener(Event.ENTER_FRAME)){ this.removeEventListener(Event.ENTER_FRAME, OnEnterFrame); }; this.addEventListener(Event.ENTER_FRAME, OnEnterFrame, false, 0, true); } public function OnEnterFrame(_arg1:Event){ switch (mState){ case STATE_GAME: RunStateGame(); break; case STATE_PAUSED: this.dispatchEvent(new Event("pause")); break; default: break; }; } public function GotoSapi(_arg1:MouseEvent){ } public static function GetInstance():Main{ return (MainGlobal); } } }//packageSection 50//MochiAd (MochiAd) package { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("2.6"); } public static function showClickAwayAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_timeout:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var sendHostProgress:Boolean; var options = _arg1; DEFAULTS = {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; ad_timeout = 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(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = 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); }; sendHostProgress = false; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; 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; _local2 = _arg1.split("/")[2].split(":")[0]; 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 DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = _arg1; DEFAULTS = {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; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = 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(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = 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{ var _local1:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = (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; _local2 = 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 _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; 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 _local3:Object; var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = {}; 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 idx:Number; 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); }; idx = 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 DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; 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; DEFAULTS = {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.")); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = 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; }; lv = 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")); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; 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; var _local5:Number; _local4 = _arg2.split("."); _local5 = 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; _local4 = 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 _local3:Object; var _local4:Number; var _local5:Number; var _local6:Array; _local3 = _arg2.getBounds(_arg2.root); _local4 = 0; _local5 = 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; var _local4:Number; _local3 = _arg2.split("."); _local4 = 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; var _local5:Number; _local4 = _arg2.split("."); _local5 = 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 DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = _arg1; DEFAULTS = {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; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = 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{ var fn:Function; MochiAd._cleanup(mc); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = 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); bar = 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); }; bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = 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(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = 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; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = 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; _local1 = (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; f = 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; _local2 = 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 _local1:Object; var _local2:Object; var _local3:Number; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Object; var _local10:Number; var _local11:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; _local1 = this.parent.parent.root; _local2 = this.parent._mochiad_ctr; _local3 = (getTimer() - this.started); _local4 = false; _local5 = _local1.loaderInfo.bytesTotal; _local6 = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; _local7 = ((100 * _local6) / _local5); _local8 = ((100 * _local3) / chk.ad_msec); _local9 = this._mochiad_bar._inside; _local10 = 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 f:Function; var mc = _arg1; f = 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); } } }//packageSection 51//MochiServices (MochiServices) package { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiServices { private static var _container:Object; private static var _connected:Boolean = false; private static var _swfVersion:String; private static var _sendChannel:LocalConnection; private static var _rcvChannelName:String; private static var _gatewayURL:String = "http://www.mochiads.com/static/lib/services/services.swf"; private static var _clip:MovieClip; private static var _loader:Loader; private static var _id:String; private static var _listenChannel:LocalConnection; private static var _timer:Timer; private static var _sendChannelName:String; private static var _startTime:Number; private static var _connecting:Boolean = false; public static var onError:Object; private static var _listenChannelName:String = "__mochiservices"; private static var _rcvChannel:LocalConnection; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } 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++; }; }; } 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); }; }; }; }; }; } 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); } public static function get id():String{ return (_id); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function getVersion():String{ return ("1.31"); } 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(); _rcvChannel.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; Security.allowDomain("*"); Security.allowInsecureDomain("*"); if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; return (_local2); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); if (_clip.parent != null){ Sprite(_clip.parent).removeChild(_clip); }; } 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 onStatus(_arg1:StatusEvent):void{ switch (_arg1.level){ case "error": _connected = false; _listenChannel.connect(_listenChannelName); break; }; } 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()}); _rcvChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _clip.onReceive = function (_arg1:Object):void{ var cb:String; var cblst:Object; var method:*; var methodName:String; var obj:Object; var pkg = _arg1; cb = pkg.callbackID; cblst = this.client._callbacks[cb]; if (!cblst){ return; }; method = cblst.callbackMethod; methodName = ""; obj = 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"); }; _rcvChannel.connect(_rcvChannelName); trace("connected!"); _connecting = false; _connected = true; _listenChannel.close(); 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..."); } 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 (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) { }; }; }; }; } public static function get clip():Object{ return (_container); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); _rcvChannelName = _arg1; initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ var clipname:String; var f:Function; var req:URLRequest; var id = _arg1; var clip = _arg2; clipname = ("_mochiservices_com_" + id); if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; MochiServices.allowDomains(_gatewayURL); _clip = createEmptyMovieClip(clip, clipname, 10336, false); _loader = new Loader(); _timer = new Timer(1000, 0); _startTime = getTimer(); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); f = function (_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); req = new URLRequest(_gatewayURL); _loader.load(req); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain("*", "localhost"); _rcvChannel.allowInsecureDomain("*", "localhost"); _rcvChannel.client = _clip; _clip._nextcallbackID = 0; _clip._callbacks = {}; listen(); return (_clip); } 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 mc:MovieClip; var parent = _arg1; var name = _arg2; var depth = _arg3; var doAdd = _arg4; mc = 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 ((getTimer() - _startTime) > 10000){ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _timer.stop(); }; } } }//packageSection 52//skill (skill) package { import flash.display.*; public dynamic class skill extends MovieClip { } }//packageSection 53//skillSound (skillSound) package { import flash.media.*; public dynamic class skillSound extends Sound { } }//packageSection 54//smack (smack) package { import flash.display.*; public dynamic class smack extends MovieClip { } }//packageSection 55//smackSound (smackSound) package { import flash.media.*; public dynamic class smackSound extends Sound { } }//packageSection 56//spokSound (spokSound) package { import flash.media.*; public dynamic class spokSound extends Sound { } }//packageSection 57//textHit (textHit) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class textHit extends MovieClip { public function textHit(){ addFrameScript(15, frame16, 30, frame31); } function frame16(){ gotoAndStop(1); } function frame31(){ gotoAndStop(1); } } }//packageSection 58//textRoundBesar (textRoundBesar) package { import flash.display.*; public dynamic class textRoundBesar extends MovieClip { } }//packageSection 59//textRoundKecil (textRoundKecil) package { import flash.display.*; public dynamic class textRoundKecil extends MovieClip { } }//packageSection 60//UI (UI) package { import flash.display.*; public dynamic class UI extends MovieClip { public var barKombo:barCombo; public var textRound:textRoundKecil; public var bar2:barHP; public var bar1:barHP; public var barDef:barDefend; } }//packageSection 61//wolverineSound (wolverineSound) package { import flash.media.*; public dynamic class wolverineSound extends Sound { } }//package
Library Items
Symbol 1 Graphic | Used by:30 | |
Symbol 2 Graphic | Used by:10 | |
Symbol 3 Graphic | Used by:10 | |
Symbol 4 Graphic | Used by:10 | |
Symbol 5 Graphic | Used by:10 | |
Symbol 6 Graphic | Used by:10 | |
Symbol 7 Graphic | Used by:10 | |
Symbol 8 Graphic | Used by:9 | |
Symbol 9 MovieClip | Uses:8 | Used by:10 |
Symbol 10 MovieClip {Skeleton_fla.logoanim2_2} | Uses:2 3 4 5 6 7 9 | Used by:30 |
Symbol 11 Bitmap | Used by:12 | |
Symbol 12 Graphic | Uses:11 | Used by:13 |
Symbol 13 Button | Uses:12 | Used by:30 |
Symbol 14 Bitmap | Used by:15 | |
Symbol 15 Graphic | Uses:14 | Used by:16 |
Symbol 16 Button | Uses:15 | Used by:30 |
Symbol 17 Bitmap | Used by:18 | |
Symbol 18 Graphic | Uses:17 | Used by:19 |
Symbol 19 Button | Uses:18 | Used by:30 |
Symbol 20 Bitmap | Used by:21 | |
Symbol 21 Graphic | Uses:20 | Used by:22 |
Symbol 22 Button | Uses:21 | Used by:30 |
Symbol 23 Bitmap | Used by:24 | |
Symbol 24 Graphic | Uses:23 | Used by:25 |
Symbol 25 Button | Uses:24 | Used by:30 |
Symbol 26 Font | Used by:27 51 | |
Symbol 27 Text | Uses:26 | Used by:30 |
Symbol 28 Graphic | Used by:29 92 200 | |
Symbol 29 Button | Uses:28 | Used by:30 |
Symbol 30 MovieClip {Skeleton_fla.Preloadercopy_1} | Uses:1 10 13 16 19 22 25 27 29 | Used by:Timeline |
Symbol 31 Bitmap | Used by:32 | |
Symbol 32 Graphic | Uses:31 | Used by:38 |
Symbol 33 Bitmap | Used by:34 | |
Symbol 34 Graphic | Uses:33 | Used by:35 |
Symbol 35 MovieClip | Uses:34 | Used by:38 |
Symbol 36 Bitmap | Used by:37 | |
Symbol 37 Graphic | Uses:36 | Used by:38 |
Symbol 38 MovieClip {CGame} | Uses:32 35 37 | Used by:318 |
Symbol 39 Bitmap | Used by:40 | |
Symbol 40 Graphic | Uses:39 | Used by:43 |
Symbol 41 Graphic | Used by:43 49 | |
Symbol 42 Graphic | Used by:43 46 49 | |
Symbol 43 MovieClip {Skeleton_fla.MusicBtn_14} | Uses:40 41 42 | Used by:53 |
Symbol 44 Bitmap | Used by:45 | |
Symbol 45 Graphic | Uses:44 | Used by:46 |
Symbol 46 MovieClip {Skeleton_fla.QualityBtn_15} | Uses:45 42 | Used by:53 |
Symbol 47 Bitmap | Used by:48 | |
Symbol 48 Graphic | Uses:47 | Used by:49 |
Symbol 49 MovieClip {Skeleton_fla.SFXBtn_16} | Uses:48 41 42 | Used by:53 |
Symbol 50 Graphic | Used by:52 | |
Symbol 51 EditableText | Uses:26 | Used by:52 |
Symbol 52 MovieClip {Skeleton_fla.OptionBarPopUp_17} | Uses:50 51 | Used by:53 |
Symbol 53 MovieClip {COptionBar} | Uses:43 46 49 52 | Used by:318 |
Symbol 54 Bitmap | Used by:55 | |
Symbol 55 Graphic | Uses:54 | Used by:83 |
Symbol 56 Bitmap | Used by:57 | |
Symbol 57 Graphic | Uses:56 | Used by:58 59 |
Symbol 58 MovieClip | Uses:57 | Used by:59 |
Symbol 59 Button {buttonPlay} | Uses:57 58 | Used by:83 |
Symbol 60 Bitmap | Used by:61 | |
Symbol 61 Graphic | Uses:60 | Used by:62 63 |
Symbol 62 MovieClip | Uses:61 | Used by:63 |
Symbol 63 Button | Uses:61 62 | Used by:83 |
Symbol 64 Bitmap | Used by:65 | |
Symbol 65 Graphic | Uses:64 | Used by:66 67 |
Symbol 66 MovieClip | Uses:65 | Used by:67 |
Symbol 67 Button | Uses:65 66 | Used by:83 |
Symbol 68 Bitmap | Used by:69 | |
Symbol 69 Graphic | Uses:68 | Used by:70 71 |
Symbol 70 MovieClip | Uses:69 | Used by:71 |
Symbol 71 Button | Uses:69 70 | Used by:83 |
Symbol 72 Bitmap | Used by:73 | |
Symbol 73 Graphic | Uses:72 | Used by:74 |
Symbol 74 MovieClip | Uses:73 | Used by:82 238 284 |
Symbol 75 Font | Used by:76 77 197 198 199 202 207 281 | |
Symbol 76 Text | Uses:75 | Used by:82 |
Symbol 77 Text | Uses:75 | Used by:82 |
Symbol 78 Bitmap | Used by:79 | |
Symbol 79 Graphic | Uses:78 | Used by:80 81 |
Symbol 80 MovieClip | Uses:79 | Used by:81 |
Symbol 81 Button {btnMainMenu2} | Uses:79 80 | Used by:82 304 |
Symbol 82 MovieClip {bgTutor} | Uses:74 76 77 81 | Used by:83 |
Symbol 83 MovieClip {CMainMenu} | Uses:55 59 63 67 71 82 | Used by:318 |
Symbol 84 Graphic | Used by:91 | |
Symbol 85 Font | Used by:86 89 | |
Symbol 86 Text | Uses:85 | Used by:91 |
Symbol 87 Bitmap | Used by:88 | |
Symbol 88 Graphic | Uses:87 | Used by:90 102 |
Symbol 89 EditableText | Uses:85 | Used by:90 102 |
Symbol 90 Button | Uses:88 89 | Used by:91 |
Symbol 91 MovieClip {CBannedWin} | Uses:84 86 90 | Used by:318 |
Symbol 92 MovieClip | Uses:28 | Used by:96 |
Symbol 93 Graphic | Used by:96 | |
Symbol 94 Font | Used by:95 | |
Symbol 95 EditableText | Uses:94 | Used by:96 |
Symbol 96 MovieClip {FPS} | Uses:92 93 95 | Used by:318 |
Symbol 97 Graphic | Used by:107 | |
Symbol 98 Graphic | Used by:101 | |
Symbol 99 Font | Used by:100 104 105 | |
Symbol 100 EditableText | Uses:99 | Used by:101 |
Symbol 101 MovieClip {Skeleton_fla.lazybananaproduction_36} | Uses:98 100 | Used by:107 |
Symbol 102 MovieClip | Uses:88 89 | Used by:107 |
Symbol 103 Font | Used by:104 | |
Symbol 104 Text | Uses:99 103 | Used by:107 |
Symbol 105 Text | Uses:99 | Used by:106 |
Symbol 106 MovieClip | Uses:105 | Used by:107 |
Symbol 107 MovieClip {CCredit} | Uses:97 101 102 104 106 | Used by:318 |
Symbol 108 Bitmap | Used by:109 154 159 167 169 | |
Symbol 109 Graphic | Uses:108 | Used by:182 |
Symbol 110 Bitmap | Used by:111 154 159 167 169 173 | |
Symbol 111 Graphic | Uses:110 | Used by:128 182 |
Symbol 112 Bitmap | Used by:113 115 159 | |
Symbol 113 Graphic | Uses:112 | Used by:116 |
Symbol 114 Bitmap | Used by:115 159 | |
Symbol 115 Graphic | Uses:114 112 | Used by:116 |
Symbol 116 MovieClip | Uses:113 115 | Used by:182 318 |
Symbol 117 Bitmap | Used by:118 | |
Symbol 118 Graphic | Uses:117 | Used by:125 |
Symbol 119 Bitmap | Used by:120 | |
Symbol 120 Graphic | Uses:119 | Used by:125 |
Symbol 121 Bitmap | Used by:122 | |
Symbol 122 Graphic | Uses:121 | Used by:125 |
Symbol 123 Bitmap | Used by:124 | |
Symbol 124 Graphic | Uses:123 | Used by:125 |
Symbol 125 MovieClip {Skeleton_fla.kepalaWolv_41} | Uses:118 120 122 124 | Used by:182 318 |
Symbol 126 Bitmap | Used by:127 155 162 164 166 168 170 171 172 | |
Symbol 127 Graphic | Uses:126 | Used by:182 |
Symbol 128 MovieClip | Uses:111 | Used by:182 |
Symbol 129 Bitmap | Used by:130 132 134 136 138 139 140 141 142 | |
Symbol 130 Graphic | Uses:129 | Used by:182 |
Symbol 131 Bitmap | Used by:132 139 | |
Symbol 132 Graphic | Uses:131 129 | Used by:182 |
Symbol 133 Bitmap | Used by:134 140 | |
Symbol 134 Graphic | Uses:133 129 | Used by:182 |
Symbol 135 Bitmap | Used by:136 141 | |
Symbol 136 Graphic | Uses:135 129 | Used by:182 |
Symbol 137 Bitmap | Used by:138 142 | |
Symbol 138 Graphic | Uses:137 129 | Used by:182 |
Symbol 139 Graphic | Uses:131 129 | Used by:182 |
Symbol 140 Graphic | Uses:133 129 | Used by:182 |
Symbol 141 Graphic | Uses:135 129 | Used by:182 |
Symbol 142 Graphic | Uses:137 129 | Used by:182 |
Symbol 143 Bitmap | Used by:145 | |
Symbol 144 Bitmap | Used by:145 147 149 151 | |
Symbol 145 Graphic | Uses:143 144 | Used by:182 |
Symbol 146 Bitmap | Used by:147 | |
Symbol 147 Graphic | Uses:146 144 | Used by:182 |
Symbol 148 Bitmap | Used by:149 | |
Symbol 149 Graphic | Uses:148 144 | Used by:182 |
Symbol 150 Bitmap | Used by:151 | |
Symbol 151 Graphic | Uses:150 144 | Used by:182 |
Symbol 152 Bitmap | Used by:154 167 | |
Symbol 153 Bitmap | Used by:154 167 | |
Symbol 154 Graphic | Uses:152 110 153 108 | Used by:182 |
Symbol 155 Graphic | Uses:126 | Used by:182 |
Symbol 156 Bitmap | Used by:159 311 | |
Symbol 157 Bitmap | Used by:159 310 311 | |
Symbol 158 Bitmap | Used by:159 169 | |
Symbol 159 Graphic | Uses:110 112 114 156 157 158 108 | Used by:182 |
Symbol 160 Bitmap | Used by:162 170 | |
Symbol 161 Bitmap | Used by:162 164 166 170 171 172 | |
Symbol 162 Graphic | Uses:160 161 126 | Used by:182 |
Symbol 163 Bitmap | Used by:164 171 | |
Symbol 164 Graphic | Uses:163 161 126 | Used by:182 |
Symbol 165 Bitmap | Used by:166 172 | |
Symbol 166 Graphic | Uses:165 161 126 | Used by:182 |
Symbol 167 Graphic | Uses:152 110 153 108 | Used by:182 |
Symbol 168 Graphic | Uses:126 | Used by:182 |
Symbol 169 Graphic | Uses:110 158 108 | Used by:182 |
Symbol 170 Graphic | Uses:160 161 126 | Used by:182 |
Symbol 171 Graphic | Uses:163 161 126 | Used by:182 |
Symbol 172 Graphic | Uses:165 161 126 | Used by:182 |
Symbol 173 Graphic | Uses:110 | Used by:182 |
Symbol 174 Bitmap | Used by:175 | |
Symbol 175 Graphic | Uses:174 | Used by:182 |
Symbol 176 Bitmap | Used by:177 | |
Symbol 177 Graphic | Uses:176 | Used by:182 |
Symbol 178 Bitmap | Used by:179 | |
Symbol 179 Graphic | Uses:178 | Used by:182 |
Symbol 180 Bitmap | Used by:181 | |
Symbol 181 Graphic | Uses:180 | Used by:182 |
Symbol 182 MovieClip {gambarWolverine} | Uses:109 111 116 125 127 128 130 132 134 136 138 139 140 141 142 145 147 149 151 154 155 159 162 164 166 167 168 169 170 171 172 173 175 177 179 181 | Used by:318 |
Symbol 183 Bitmap | Used by:186 | |
Symbol 184 Bitmap | Used by:186 | |
Symbol 185 Bitmap | Used by:186 | |
Symbol 186 Graphic | Uses:183 184 185 | Used by:219 |
Symbol 187 Bitmap | Used by:188 194 | |
Symbol 188 Graphic | Uses:187 | Used by:193 |
Symbol 189 Graphic | Used by:192 | |
Symbol 190 Bitmap | Used by:191 | |
Symbol 191 Graphic | Uses:190 | Used by:192 |
Symbol 192 MovieClip | Uses:189 191 | Used by:193 |
Symbol 193 MovieClip {barHP} | Uses:188 192 | Used by:219 318 |
Symbol 194 Graphic | Uses:187 | Used by:201 206 |
Symbol 195 Graphic | Used by:200 205 | |
Symbol 196 Graphic | Used by:200 | |
Symbol 197 Text | Uses:75 | Used by:200 |
Symbol 198 Text | Uses:75 | Used by:200 |
Symbol 199 Text | Uses:75 | Used by:200 |
Symbol 200 MovieClip {Skeleton_fla.isiBarCombo_47} | Uses:195 28 196 197 198 199 | Used by:201 |
Symbol 201 MovieClip {barCombo} | Uses:194 200 | Used by:219 318 |
Symbol 202 Text | Uses:75 | Used by:219 |
Symbol 203 Graphic | Used by:205 | |
Symbol 204 Graphic | Used by:205 | |
Symbol 205 MovieClip | Uses:195 203 204 | Used by:206 |
Symbol 206 MovieClip {barDefend} | Uses:194 205 | Used by:219 318 |
Symbol 207 Text | Uses:75 | Used by:219 |
Symbol 208 Bitmap | Used by:209 | |
Symbol 209 Graphic | Uses:208 | Used by:218 |
Symbol 210 Bitmap | Used by:211 | |
Symbol 211 Graphic | Uses:210 | Used by:218 |
Symbol 212 Bitmap | Used by:213 | |
Symbol 213 Graphic | Uses:212 | Used by:218 |
Symbol 214 Bitmap | Used by:215 | |
Symbol 215 Graphic | Uses:214 | Used by:218 |
Symbol 216 Bitmap | Used by:217 | |
Symbol 217 Graphic | Uses:216 | Used by:218 |
Symbol 218 MovieClip {textRoundKecil} | Uses:209 211 213 215 217 | Used by:219 |
Symbol 219 MovieClip {UI} | Uses:186 193 201 202 206 207 218 | Used by:318 |
Symbol 220 Bitmap | Used by:221 223 224 225 226 227 228 | |
Symbol 221 Graphic | Uses:220 | Used by:238 |
Symbol 222 Bitmap | Used by:223 224 225 226 227 228 | |
Symbol 223 Graphic | Uses:222 220 | Used by:238 |
Symbol 224 Graphic | Uses:222 220 | Used by:238 |
Symbol 225 Graphic | Uses:222 220 | Used by:238 |
Symbol 226 Graphic | Uses:222 220 | Used by:238 |
Symbol 227 Graphic | Uses:222 220 | Used by:238 |
Symbol 228 Graphic | Uses:222 220 | Used by:238 |
Symbol 229 Bitmap | Used by:230 231 232 234 | |
Symbol 230 Graphic | Uses:229 | Used by:238 |
Symbol 231 Graphic | Uses:229 | Used by:238 |
Symbol 232 Graphic | Uses:229 | Used by:233 |
Symbol 233 MovieClip | Uses:232 | Used by:238 |
Symbol 234 Graphic | Uses:229 | Used by:238 |
Symbol 235 Bitmap | Used by:236 | |
Symbol 236 Graphic | Uses:235 | Used by:237 |
Symbol 237 MovieClip | Uses:236 | Used by:238 |
Symbol 238 MovieClip {gambarPlayer} | Uses:221 223 224 225 226 227 228 230 231 233 234 237 74 | Used by:318 |
Symbol 239 Bitmap | Used by:240 242 | |
Symbol 240 Graphic | Uses:239 | Used by:241 |
Symbol 241 MovieClip | Uses:240 | Used by:250 |
Symbol 242 Graphic | Uses:239 | Used by:243 |
Symbol 243 MovieClip | Uses:242 | Used by:250 |
Symbol 244 Bitmap | Used by:245 247 249 | |
Symbol 245 Graphic | Uses:244 | Used by:246 |
Symbol 246 MovieClip | Uses:245 | Used by:250 |
Symbol 247 Graphic | Uses:244 | Used by:248 |
Symbol 248 MovieClip | Uses:247 | Used by:250 |
Symbol 249 Graphic | Uses:244 | Used by:250 |
Symbol 250 MovieClip {textHit} | Uses:241 243 246 248 249 | Used by:318 |
Symbol 251 Bitmap | Used by:252 | |
Symbol 252 Graphic | Uses:251 | Used by:253 |
Symbol 253 MovieClip {smack} | Uses:252 | Used by:318 |
Symbol 254 Graphic | Used by:255 259 | |
Symbol 255 MovieClip | Uses:254 | Used by:260 |
Symbol 256 Bitmap | Used by:257 | |
Symbol 257 Graphic | Uses:256 | Used by:258 |
Symbol 258 MovieClip | Uses:257 | Used by:260 |
Symbol 259 MovieClip | Uses:254 | Used by:260 |
Symbol 260 MovieClip {gores} | Uses:255 258 259 | Used by:318 |
Symbol 261 Bitmap | Used by:262 | |
Symbol 262 Graphic | Uses:261 | Used by:263 |
Symbol 263 MovieClip | Uses:262 | Used by:283 |
Symbol 264 Bitmap | Used by:265 | |
Symbol 265 Graphic | Uses:264 | Used by:274 |
Symbol 266 Bitmap | Used by:267 | |
Symbol 267 Graphic | Uses:266 | Used by:274 |
Symbol 268 Bitmap | Used by:269 | |
Symbol 269 Graphic | Uses:268 | Used by:274 |
Symbol 270 Bitmap | Used by:271 | |
Symbol 271 Graphic | Uses:270 | Used by:274 |
Symbol 272 Bitmap | Used by:273 | |
Symbol 273 Graphic | Uses:272 | Used by:274 |
Symbol 274 MovieClip {textRoundBesar} | Uses:265 267 269 271 273 | Used by:283 318 |
Symbol 275 Bitmap | Used by:276 | |
Symbol 276 Graphic | Uses:275 | Used by:277 |
Symbol 277 MovieClip | Uses:276 | Used by:283 |
Symbol 278 Bitmap | Used by:279 | |
Symbol 279 Graphic | Uses:278 | Used by:280 |
Symbol 280 MovieClip | Uses:279 | Used by:283 |
Symbol 281 Text | Uses:75 | Used by:282 |
Symbol 282 MovieClip | Uses:281 | Used by:283 |
Symbol 283 MovieClip {countDown} | Uses:263 274 277 280 282 | Used by:318 |
Symbol 284 MovieClip {skill} | Uses:74 | Used by:318 |
Symbol 285 Bitmap | Used by:286 | |
Symbol 286 Graphic | Uses:285 | Used by:295 |
Symbol 287 Bitmap | Used by:288 | |
Symbol 288 Graphic | Uses:287 | Used by:289 290 |
Symbol 289 MovieClip | Uses:288 | Used by:290 |
Symbol 290 Button {btnMainMenu} | Uses:288 289 | Used by:295 |
Symbol 291 Bitmap | Used by:292 | |
Symbol 292 Graphic | Uses:291 | Used by:293 294 |
Symbol 293 MovieClip | Uses:292 | Used by:294 |
Symbol 294 Button {btnPlayMore} | Uses:292 293 | Used by:295 |
Symbol 295 MovieClip {bgGameOver} | Uses:286 290 294 | Used by:318 |
Symbol 296 Bitmap | Used by:297 | |
Symbol 297 Graphic | Uses:296 | Used by:304 |
Symbol 298 Bitmap | Used by:299 | |
Symbol 299 Graphic | Uses:298 | Used by:300 301 |
Symbol 300 MovieClip | Uses:299 | Used by:301 |
Symbol 301 Button {btnPlayMore2} | Uses:299 300 | Used by:304 |
Symbol 302 Bitmap | Used by:303 | |
Symbol 303 Graphic | Uses:302 | Used by:304 309 |
Symbol 304 MovieClip {bgEnding} | Uses:297 81 301 303 | Used by:318 |
Symbol 305 Bitmap | Used by:306 | |
Symbol 306 Graphic | Uses:305 | Used by:307 308 |
Symbol 307 MovieClip | Uses:306 | Used by:308 |
Symbol 308 Button {btnNextRound} | Uses:306 307 | Used by:309 |
Symbol 309 MovieClip {bgNextLevel} | Uses:303 308 | Used by:318 |
Symbol 310 Graphic | Uses:157 | Used by:312 |
Symbol 311 Graphic | Uses:157 156 | Used by:312 |
Symbol 312 MovieClip | Uses:310 311 | Used by:318 |
Symbol 313 Sound {bgMusic} | Used by:318 | |
Symbol 314 Sound {wolverineSound} | Used by:318 | |
Symbol 315 Sound {skillSound} | Used by:318 | |
Symbol 316 Sound {smackSound} | Used by:318 | |
Symbol 317 Sound {spokSound} | Used by:318 | |
Symbol 318 MovieClip | Uses:38 53 83 91 96 107 182 219 238 250 253 193 260 201 206 283 274 284 295 304 309 116 312 125 313 314 315 316 317 | Used by:Timeline |
Instance Names
"mPreloader" | Frame 1 | Symbol 30 MovieClip {Skeleton_fla.Preloadercopy_1} |
"mb1" | Symbol 30 MovieClip {Skeleton_fla.Preloadercopy_1} Frame 1 | Symbol 13 Button |
"mb2" | Symbol 30 MovieClip {Skeleton_fla.Preloadercopy_1} Frame 1 | Symbol 16 Button |
"mb3" | Symbol 30 MovieClip {Skeleton_fla.Preloadercopy_1} Frame 1 | Symbol 19 Button |
"mb4" | Symbol 30 MovieClip {Skeleton_fla.Preloadercopy_1} Frame 1 | Symbol 22 Button |
"mb5" | Symbol 30 MovieClip {Skeleton_fla.Preloadercopy_1} Frame 1 | Symbol 25 Button |
"mLink" | Symbol 30 MovieClip {Skeleton_fla.Preloadercopy_1} Frame 1 | Symbol 29 Button |
"mText" | Symbol 52 MovieClip {Skeleton_fla.OptionBarPopUp_17} Frame 1 | Symbol 51 EditableText |
"mMusic" | Symbol 53 MovieClip {COptionBar} Frame 1 | Symbol 43 MovieClip {Skeleton_fla.MusicBtn_14} |
"mQuality" | Symbol 53 MovieClip {COptionBar} Frame 1 | Symbol 46 MovieClip {Skeleton_fla.QualityBtn_15} |
"mSFX" | Symbol 53 MovieClip {COptionBar} Frame 1 | Symbol 49 MovieClip {Skeleton_fla.SFXBtn_16} |
"mPopUp" | Symbol 53 MovieClip {COptionBar} Frame 1 | Symbol 52 MovieClip {Skeleton_fla.OptionBarPopUp_17} |
"buttonMainMenu" | Symbol 82 MovieClip {bgTutor} Frame 1 | Symbol 81 Button {btnMainMenu2} |
"btnPlay" | Symbol 83 MovieClip {CMainMenu} Frame 1 | Symbol 59 Button {buttonPlay} |
"btnTutor" | Symbol 83 MovieClip {CMainMenu} Frame 1 | Symbol 63 Button |
"btnMoreGames" | Symbol 83 MovieClip {CMainMenu} Frame 1 | Symbol 67 Button |
"btnAddTo" | Symbol 83 MovieClip {CMainMenu} Frame 1 | Symbol 71 Button |
"backgroundTutor" | Symbol 83 MovieClip {CMainMenu} Frame 1 | Symbol 82 MovieClip {bgTutor} |
"mBtn" | Symbol 91 MovieClip {CBannedWin} Frame 1 | Symbol 90 Button |
"iBar" | Symbol 96 MovieClip {FPS} Frame 1 | Symbol 92 MovieClip |
"tf" | Symbol 96 MovieClip {FPS} Frame 2 | Symbol 95 EditableText |
"mTitle" | Symbol 101 MovieClip {Skeleton_fla.lazybananaproduction_36} Frame 1 | Symbol 100 EditableText |
"mTitle" | Symbol 107 MovieClip {CCredit} Frame 1 | Symbol 101 MovieClip {Skeleton_fla.lazybananaproduction_36} |
"mLogo" | Symbol 107 MovieClip {CCredit} Frame 1 | Symbol 102 MovieClip |
"mClose" | Symbol 107 MovieClip {CCredit} Frame 1 | Symbol 106 MovieClip |
"badanLuka" | Symbol 182 MovieClip {gambarWolverine} Frame 1 | Symbol 116 MovieClip |
"kepala" | Symbol 182 MovieClip {gambarWolverine} Frame 1 | Symbol 125 MovieClip {Skeleton_fla.kepalaWolv_41} |
"kepala" | Symbol 182 MovieClip {gambarWolverine} Frame 195 | Symbol 125 MovieClip {Skeleton_fla.kepalaWolv_41} |
"kepala" | Symbol 182 MovieClip {gambarWolverine} Frame 320 | Symbol 125 MovieClip {Skeleton_fla.kepalaWolv_41} |
"isiBar" | Symbol 193 MovieClip {barHP} Frame 1 | Symbol 192 MovieClip |
"isiBar" | Symbol 201 MovieClip {barCombo} Frame 1 | Symbol 200 MovieClip {Skeleton_fla.isiBarCombo_47} |
"isiBar" | Symbol 206 MovieClip {barDefend} Frame 1 | Symbol 205 MovieClip |
"bar2" | Symbol 219 MovieClip {UI} Frame 1 | Symbol 193 MovieClip {barHP} |
"bar1" | Symbol 219 MovieClip {UI} Frame 1 | Symbol 193 MovieClip {barHP} |
"barKombo" | Symbol 219 MovieClip {UI} Frame 1 | Symbol 201 MovieClip {barCombo} |
"barDef" | Symbol 219 MovieClip {UI} Frame 1 | Symbol 206 MovieClip {barDefend} |
"textRound" | Symbol 219 MovieClip {UI} Frame 1 | Symbol 218 MovieClip {textRoundKecil} |
"textRound" | Symbol 283 MovieClip {countDown} Frame 1 | Symbol 274 MovieClip {textRoundBesar} |
"buttonMainMenu" | Symbol 295 MovieClip {bgGameOver} Frame 1 | Symbol 290 Button {btnMainMenu} |
"buttonPlayMore" | Symbol 295 MovieClip {bgGameOver} Frame 1 | Symbol 294 Button {btnPlayMore} |
"buttonMainMenu" | Symbol 304 MovieClip {bgEnding} Frame 1 | Symbol 81 Button {btnMainMenu2} |
"buttonPlayMore" | Symbol 304 MovieClip {bgEnding} Frame 1 | Symbol 301 Button {btnPlayMore2} |
"buttonNext" | Symbol 309 MovieClip {bgNextLevel} Frame 1 | Symbol 308 Button {btnNextRound} |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access network only, Metadata not present, AS3. |
Labels
"Preload" | Frame 1 |
"Asset" | Frame 9 |
"mainMenu" | Frame 16 |
|