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 #48754 |
play game |
Circle Snake |
Circle Snake |
Circle Snake |
Circle Snake |
Circle Snake |
Circle Snake |
Highscores |
Instructions |
<p align="right"></p> |
Main Menu |
avoid the shapes! |
avoid the shapes! |
Laser Heat: |
Score: |
*kill yourself to end game |
Instructions: 1. you control the circle snake with your mouse. avoid hitting shapes with your snake! 2. Hold down the left mouse button to fire the snake laser. if it overheats you must wait for it to cool down! 3. destroy the oncoming shapes with your laser! you get 1 point for each one you destroy. the more shapes you hit without letting go of your mouse and letting your laser cool down, the more combo points you get! 4. when you are almost dead, the game mode changes to avoider mode and you must then avoid the shapes. in this mode, you get 3 points every 0.5 seconds. 5. if the game is lagging, right click any time during the game and change the 'fast computer' and 'quality' settings. |
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.events.*; import flash.display.*; import flash.utils.*; public class Tweener { private static var _timeScale:Number = 1; private static var _currentTimeFrame:Number; private static var _specialPropertySplitterList:Object; private static var _engineExists:Boolean = false; private static var _specialPropertyModifierList:Object; private static var _currentTime:Number; private static var _tweenList:Array; private static var _specialPropertyList:Object; private static var _transitionList:Object; private static var _inited:Boolean = false; private static var __tweener_controller__:MovieClip; public function Tweener(){ trace("Tweener is a static class and should not be instantiated."); } public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{ 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//avoider_mc_24 (circlesnake_fla.avoider_mc_24) package circlesnake_fla { import flash.display.*; public dynamic class avoider_mc_24 extends MovieClip { public function avoider_mc_24(){ addFrameScript(0, frame1, 95, frame96); } function frame1(){ stop(); } function frame96(){ stop(); this.parent.removeChild(this); } } }//package circlesnake_flaSection 10//circle_1 (circlesnake_fla.circle_1) package circlesnake_fla { import flash.display.*; public dynamic class circle_1 extends MovieClip { public var inCircle_mc:MovieClip; } }//package circlesnake_flaSection 11//corner_mc_18 (circlesnake_fla.corner_mc_18) package circlesnake_fla { import flash.display.*; import flash.text.*; public dynamic class corner_mc_18 extends MovieClip { public var ref_txt:TextField; } }//package circlesnake_flaSection 12//endgameKill_mc_27 (circlesnake_fla.endgameKill_mc_27) package circlesnake_fla { import flash.display.*; public dynamic class endgameKill_mc_27 extends MovieClip { public function endgameKill_mc_27(){ addFrameScript(270, frame271); } function frame271(){ stop(); if (this.parent != null){ this.parent.removeChild(this); }; } } }//package circlesnake_flaSection 13//instructions_btn_16 (circlesnake_fla.instructions_btn_16) package circlesnake_fla { import flash.display.*; public dynamic class instructions_btn_16 extends MovieClip { public function instructions_btn_16(){ addFrameScript(0, frame1, 22, frame23); } function frame1(){ stop(); } function frame23(){ gotoAndStop(1); } } }//package circlesnake_flaSection 14//main_btn_19 (circlesnake_fla.main_btn_19) package circlesnake_fla { import flash.display.*; public dynamic class main_btn_19 extends MovieClip { public function main_btn_19(){ addFrameScript(0, frame1, 22, frame23); } function frame1(){ stop(); } function frame23(){ gotoAndStop(1); } } }//package circlesnake_flaSection 15//MainTimeline (circlesnake_fla.MainTimeline) package circlesnake_fla { import flash.events.*; import caurina.transitions.*; import flash.display.*; import flash.geom.*; import fl.motion.*; import mochi.*; import flash.media.*; import flash.filters.*; import flash.utils.*; import flash.net.*; import flash.text.*; import flash.ui.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var avoider_mc:MovieClip; public var lazerHeat:Number; public var music:cheerieO; public var shapeScale:Number; public var easyShapeTime:Number; public var lazerShoot:Boolean; public var sun:MovieClip; public var highscores_btn:MovieClip; public var startgame_mc:MovieClip; public var blur:BlurFilter; public var once:Boolean; public var rColors:Array; public var jet:MovieClip; public var cloud2:MovieClip; public var cloud4:MovieClip; public var score:Number; public var cloud1:MovieClip; public var cloud3:MovieClip; public var shapeGExpCCC2:BlurFilter; public var blur2:BlurFilter; public var dif:Number; public var line2:MovieClip; public var instructions_btn:MovieClip; public var overheat:MovieClip; public var main_btn:MovieClip; public var avoiderScore:Timer; public var play_btn:MovieClip; public var dis_mc:square; public var circle10:MovieClip; public var circle1A:MovieClip; public var mySO:SharedObject; public var shapeGExpCCC:BlurFilter; public var circle2A:MovieClip; public var lazer:MovieClip; public var lazerHit:DisplayObject; public var score_txt:TextField; public var timer:Timer; public var _mochiads_game_id:String; public var menuItem1:ContextMenuItem; public var circle2:MovieClip; public var circle3:MovieClip; public var circle4:MovieClip; public var circle5:MovieClip; public var circle6:MovieClip; public var circle9:MovieClip; public var hardShapeTime:Number; public var curLastCircle:Number; public var circle7:MovieClip; public var circle8:MovieClip; public var circle1:MovieClip; public var musicControl:SoundChannel; public var lazerF:GlowFilter; public var customContextMenu:ContextMenu; public var menuItem2:ContextMenuItem; public var num:Number; public var fastComputer:Boolean; public var downHeat:Boolean; public var avoiderMode:Boolean; public var corner_mc:MovieClip; public var multiplier:Number; public var gameEnded:Boolean; public var line:MovieClip; public var defaultItems:ContextMenuBuiltInItems; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); } public function butAction(_arg1:MouseEvent):void{ _arg1.currentTarget.play(); } public function jetFuncRe(_arg1:TimerEvent):void{ Tweener.addTween(jet, {x:(stage.stageWidth + cloud1.width), time:1, transition:"linear", onComplete:jetFunc}); } public function endFunc():void{ main_btn.visible = true; main_btn.hitArea = main_btn; if ((((currentLabel == "highscores_btn")) && ((currentFrame == 5)))){ stage.addEventListener(MouseEvent.CLICK, traceFunc2); gotoAndStop("main_btn"); }; } public function stoplazer(_arg1:MouseEvent):void{ lazerShoot = false; multiplier = 1; } function frame2(){ if (once){ music = new cheerieO(); musicControl = new SoundChannel(); musicControl = music.play(); musicControl.addEventListener(Event.SOUND_COMPLETE, playMusic); once = false; }; checkSO(); if (fastComputer){ sun.visible = true; sun.enabled = true; sun.scaleX = 1; sun.scaleY = 1; } else { sun.visible = false; sun.enabled = false; sun.scaleX = 0; sun.scaleY = 0; }; this.focus = this; customContextMenu = new ContextMenu(); customContextMenu.hideBuiltInItems(); defaultItems = customContextMenu.builtInItems; defaultItems.quality = true; this.contextMenu = customContextMenu; this.contextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, traceFunc); stage.addEventListener(MouseEvent.CLICK, traceFunc2); addEventListener(Event.MOUSE_LEAVE, mouseLeave); addEventListener(Event.ACTIVATE, mouseEnter); shapeGExpCCC = new BlurFilter(5, 5); lazerF = new GlowFilter(0xFF0000); menuItem1 = new ContextMenuItem("Circle Snake v1.0", false, false, true); menuItem2 = new ContextMenuItem("Fast Computer: UNKNOWN", true, true, true); customContextMenu.customItems.push(menuItem1); customContextMenu.customItems.push(menuItem2); if (!fastComputer){ customContextMenu.customItems[1].caption = "Fast Computer: NO"; } else { if (fastComputer){ customContextMenu.customItems[1].caption = "Fast Computer: YES"; }; }; menuItem2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, changePCM); stop(); Mouse.hide(); play_btn.addEventListener(MouseEvent.CLICK, goMenu); play_btn.addEventListener(MouseEvent.ROLL_OVER, butAction); highscores_btn.addEventListener(MouseEvent.CLICK, goMenu); highscores_btn.addEventListener(MouseEvent.ROLL_OVER, butAction); instructions_btn.addEventListener(MouseEvent.CLICK, goMenu); instructions_btn.addEventListener(MouseEvent.ROLL_OVER, butAction); main_btn.addEventListener(MouseEvent.CLICK, goMenu); main_btn.addEventListener(MouseEvent.ROLL_OVER, butAction); main_btn.visible = false; main_btn.hitArea = dis_mc; circle2A.visible = false; corner_mc.ref_txt.htmlText = "<a href='https://www.mochiads.com/r/7c41134ef9613586'><img src='http://www.mochiads.com/static/web/images/badge_468x60.gif' border='0'></a>"; corner_mc.buttonMode = true; corner_mc.addEventListener(MouseEvent.ROLL_OVER, showM); corner_mc.addEventListener(MouseEvent.ROLL_OUT, reM); corner_mc.addEventListener(MouseEvent.CLICK, refLink); circle1A.visible = true; line2.visible = true; Tweener.addTween(cloud1, {x:(stage.stageWidth + cloud1.width), time:(Math.ceil((Math.random() * 20)) + 10), transition:"linear", onComplete:cloudFunc1}); Tweener.addTween(cloud2, {x:(stage.stageWidth + cloud1.width), time:(Math.ceil((Math.random() * 20)) + 10), transition:"linear", onComplete:cloudFunc2}); Tweener.addTween(cloud3, {x:(stage.stageWidth + cloud1.width), time:(Math.ceil((Math.random() * 20)) + 10), transition:"linear", onComplete:cloudFunc3}); Tweener.addTween(cloud4, {x:(stage.stageWidth + cloud1.width), time:(Math.ceil((Math.random() * 20)) + 10), transition:"linear", onComplete:cloudFunc4}); Tweener.addTween(jet, {x:(stage.stageWidth + cloud1.width), time:1, transition:"linear", onComplete:jetFunc}); jet.y = Math.ceil((Math.random() * 799)); } function frame3(){ stop(); startgame_mc.play(); line = new MovieClip(); addChild(line); blur = new BlurFilter(12, 12); line.filters = [blur]; circle1A.visible = false; circle2A.visible = false; line2.visible = false; circle1.inCircle_mc.filters = [shapeGExpCCC]; Mouse.hide(); lazerShoot = false; lazer = new MovieClip(); addChild(lazer); multiplier = 1; curLastCircle = 10; stage.addEventListener(Event.ENTER_FRAME, game); num = 0; score = 0; lazerHeat = 1; downHeat = false; lazerHit = (lazer as DisplayObject); avoiderMode = false; stage.addEventListener(MouseEvent.MOUSE_DOWN, lazerFunc); stage.addEventListener(MouseEvent.MOUSE_UP, stoplazer); shapeScale = 2; rColors = [0, 0xFF0000, 16737843, 26367, 0x9900, 0xFF00FF, 0xFF]; dif = 1; easyShapeTime = 10; hardShapeTime = 7; timer = new Timer(1000); timer.addEventListener(TimerEvent.TIMER, makeShapes); timer.start(); gameEnded = false; avoiderScore = new Timer(500); avoiderScore.addEventListener(TimerEvent.TIMER, incScore); circle1.hitArea = dis_mc; circle2.hitArea = dis_mc; circle3.hitArea = dis_mc; circle4.hitArea = dis_mc; circle5.hitArea = dis_mc; circle6.hitArea = dis_mc; circle7.hitArea = dis_mc; circle8.hitArea = dis_mc; circle9.hitArea = dis_mc; circle10.hitArea = dis_mc; line.hitArea = dis_mc; } public function goMenu(_arg1:MouseEvent):void{ if (_arg1.currentTarget.name == "play_btn"){ stage.removeEventListener(Event.ENTER_FRAME, game2); }; gotoAndStop(_arg1.currentTarget.name); } function frame5(){ stop(); main_btn.visible = false; main_btn.hitArea = dis_mc; circle2A.visible = false; circle1A.visible = false; line2.visible = false; stage.removeEventListener(MouseEvent.CLICK, traceFunc2); Mouse.show(); MochiScores.showLeaderboard({boardID:"4f7b30e915d121b2", res:"800x700", width:700, numScores:25, onClose:endFunc}); } function frame1(){ stop(); _mochiads_game_id = "ab9612e4840d263d"; MochiAd.showPreGameAd({clip:root, id:"ab9612e4840d263d", res:"800x700", background:0xFF, color:52479, outline:0xFFFFFF, no_bg:true}); MochiServices.connect("ab9612e4840d263d", root); once = true; line2 = new MovieClip(); line2.graphics.lineStyle(5, 0); line2.graphics.moveTo(circle2A.x, circle2A.y); line2.graphics.lineTo(circle2A.x, circle2A.y); line2.graphics.lineTo(circle1A.x, circle1A.y); addChild(line2); blur2 = new BlurFilter(12, 12); line2.filters = [blur2]; shapeGExpCCC2 = new BlurFilter(5, 5); circle1A.inCircle_mc.filters = [shapeGExpCCC2]; circle2A.inCircle_mc.filters = [shapeGExpCCC2]; stage.addEventListener(Event.ENTER_FRAME, game2); line2.hitArea = dis_mc; circle1A.hitArea = dis_mc; circle2A.hitArea = dis_mc; circle1A.visible = false; circle2A.visible = false; line2.visible = false; } function frame4(){ main_btn.visible = true; main_btn.hitArea = main_btn; } public function game2(_arg1:Event):void{ Tweener.addTween(circle1A, {x:stage.mouseX, y:stage.mouseY, time:0, transition:"linear"}); Tweener.addTween(circle2A, {x:circle1A.x, y:circle1A.y, time:0.02, transition:"linear"}); line2.graphics.clear(); line2.graphics.lineStyle(5, 0); line2.graphics.moveTo(circle2A.x, circle2A.y); line2.graphics.lineTo(circle2A.x, circle2A.y); line2.graphics.lineTo(circle1A.x, circle1A.y); } public function makeShapes(_arg1:TimerEvent):void{ var _local2:square; var _local3:Number; var _local4:GlowFilter; var _local5:Color; var _local6:rectangle; var _local7:Number; var _local8:GlowFilter; var _local9:Color; var _local10:circle_shape; var _local11:Number; var _local12:GlowFilter; var _local13:Color; var _local14:oval; var _local15:Number; var _local16:GlowFilter; var _local17:Color; var _local18:triangle; var _local19:Number; var _local20:GlowFilter; var _local21:Color; var _local22:trapezoid; var _local23:Number; var _local24:GlowFilter; var _local25:Color; var _local26:polygon; var _local27:Number; var _local28:GlowFilter; var _local29:Color; var _local30:star; var _local31:Number; var _local32:GlowFilter; var _local33:Color; var _local34:cross; var _local35:Number; var _local36:GlowFilter; var _local37:Color; var _local38:sword; var _local39:Number; var _local40:GlowFilter; var _local41:Color; var _local42:blob; var _local43:Number; var _local44:GlowFilter; var _local45:Color; if (dif == 1){ timer.delay = 1000; } else { if (dif == 3){ timer.delay = 2000; } else { if (dif == 6){ timer.delay = 2500; } else { if (dif == 9){ timer.delay = 3000; }; }; }; }; if (dif >= 1){ _local2 = new square(); addChild(_local2); _local2.scaleX = shapeScale; _local2.scaleY = shapeScale; _local2.y = Math.ceil((Math.random() * 800)); _local2.x = 850; _local2.name = "first"; _local2.rotation = Math.ceil((Math.random() * 360)); Tweener.addTween(_local2, {x:-50, y:Math.ceil((Math.random() * stage.stageHeight)), time:easyShapeTime, transition:"linear"}); _local2.addEventListener(Event.ENTER_FRAME, enemieAI); _local3 = Math.ceil((Math.random() * rColors.length)); _local4 = new GlowFilter(rColors[_local3]); if (fastComputer){ _local2.filters = [_local4]; }; _local5 = new Color(); _local5.setTint(rColors[_local3], 1); _local2.transform.colorTransform = _local5; }; if (dif >= 2){ _local6 = new rectangle(); addChild(_local6); _local6.scaleX = shapeScale; _local6.scaleY = shapeScale; _local6.y = Math.ceil((Math.random() * 800)); _local6.x = 850; _local6.name = "first"; _local2.rotation = Math.ceil((Math.random() * 360)); Tweener.addTween(_local6, {x:-50, y:Math.ceil((Math.random() * stage.stageHeight)), time:(easyShapeTime + 0.3), transition:"linear"}); _local6.addEventListener(Event.ENTER_FRAME, enemieAI); _local7 = Math.ceil((Math.random() * rColors.length)); _local8 = new GlowFilter(rColors[_local3]); if (fastComputer){ _local6.filters = [_local8]; }; _local9 = new Color(); _local9.setTint(rColors[_local3], 1); _local6.transform.colorTransform = _local9; }; if (dif >= 3){ _local10 = new circle_shape(); addChild(_local10); _local10.scaleX = shapeScale; _local10.scaleY = shapeScale; _local10.y = Math.ceil((Math.random() * 800)); _local10.x = 850; _local10.name = "first"; _local10.rotation = Math.ceil((Math.random() * 360)); Tweener.addTween(_local10, {x:-50, y:Math.ceil((Math.random() * stage.stageHeight)), time:(easyShapeTime + 0.4), transition:"linear"}); _local10.addEventListener(Event.ENTER_FRAME, enemieAI); _local11 = Math.ceil((Math.random() * rColors.length)); _local12 = new GlowFilter(rColors[_local3]); if (fastComputer){ _local10.filters = [_local12]; }; _local13 = new Color(); _local13.setTint(rColors[_local3], 1); _local10.transform.colorTransform = _local13; }; if (dif >= 4){ _local14 = new oval(); addChild(_local14); _local14.scaleX = shapeScale; _local14.scaleY = shapeScale; _local14.y = Math.ceil((Math.random() * 800)); _local14.x = 850; _local14.name = "first"; _local14.rotation = Math.ceil((Math.random() * 360)); Tweener.addTween(_local14, {x:-50, y:Math.ceil((Math.random() * stage.stageHeight)), time:(easyShapeTime + 0.5), transition:"linear"}); _local14.addEventListener(Event.ENTER_FRAME, enemieAI); _local15 = Math.ceil((Math.random() * rColors.length)); _local16 = new GlowFilter(rColors[_local3]); if (fastComputer){ _local14.filters = [_local16]; }; _local17 = new Color(); _local17.setTint(rColors[_local3], 1); _local14.transform.colorTransform = _local17; }; if (dif >= 5){ _local18 = new triangle(); addChild(_local18); _local18.scaleX = shapeScale; _local18.scaleY = shapeScale; _local18.y = Math.ceil((Math.random() * 800)); _local18.x = 850; _local18.name = "second"; _local18.rotation = Math.ceil((Math.random() * 360)); Tweener.addTween(_local18, {x:-50, y:Math.ceil((Math.random() * stage.stageHeight)), time:(easyShapeTime + 0.6), transition:"linear"}); _local18.addEventListener(Event.ENTER_FRAME, enemieAI); _local19 = Math.ceil((Math.random() * rColors.length)); _local20 = new GlowFilter(rColors[_local3]); if (fastComputer){ _local18.filters = [_local20]; }; _local21 = new Color(); _local21.setTint(rColors[_local3], 1); _local18.transform.colorTransform = _local21; }; if (dif >= 6){ _local22 = new trapezoid(); addChild(_local22); _local22.scaleX = shapeScale; _local22.scaleY = shapeScale; _local22.y = Math.ceil((Math.random() * 800)); _local22.x = 850; _local22.name = "second"; _local22.rotation = Math.ceil((Math.random() * 360)); Tweener.addTween(_local22, {x:-50, y:Math.ceil((Math.random() * stage.stageHeight)), time:(easyShapeTime + 0.7), transition:"linear"}); _local22.addEventListener(Event.ENTER_FRAME, enemieAI); _local23 = Math.ceil((Math.random() * rColors.length)); _local24 = new GlowFilter(rColors[_local3]); if (fastComputer){ _local22.filters = [_local24]; }; _local25 = new Color(); _local25.setTint(rColors[_local3], 1); _local22.transform.colorTransform = _local25; }; if (dif >= 7){ _local26 = new polygon(); addChild(_local26); _local26.scaleX = shapeScale; _local26.scaleY = shapeScale; _local26.y = Math.ceil((Math.random() * 800)); _local26.x = 850; _local26.name = "second"; _local26.rotation = Math.ceil((Math.random() * 360)); Tweener.addTween(_local26, {x:-50, y:Math.ceil((Math.random() * stage.stageHeight)), time:(easyShapeTime + 0.8), transition:"linear"}); _local26.addEventListener(Event.ENTER_FRAME, enemieAI); _local27 = Math.ceil((Math.random() * rColors.length)); _local28 = new GlowFilter(rColors[_local3]); if (fastComputer){ _local26.filters = [_local28]; }; _local29 = new Color(); _local29.setTint(rColors[_local3], 1); _local26.transform.colorTransform = _local29; }; if (dif >= 8){ _local30 = new star(); addChild(_local30); _local30.scaleX = shapeScale; _local30.scaleY = shapeScale; _local30.y = Math.ceil((Math.random() * 800)); _local30.x = 850; _local30.name = "second"; _local30.rotation = Math.ceil((Math.random() * 360)); Tweener.addTween(_local30, {x:-50, y:Math.ceil((Math.random() * stage.stageHeight)), time:(hardShapeTime + 0.9), transition:"linear"}); _local30.addEventListener(Event.ENTER_FRAME, enemieAI); _local31 = Math.ceil((Math.random() * rColors.length)); _local32 = new GlowFilter(rColors[_local3]); if (fastComputer){ _local30.filters = [_local32]; }; _local33 = new Color(); _local33.setTint(rColors[_local3], 1); _local30.transform.colorTransform = _local33; }; if (dif >= 9){ _local34 = new cross(); addChild(_local34); _local34.scaleX = shapeScale; _local34.scaleY = shapeScale; _local34.y = Math.ceil((Math.random() * 800)); _local34.x = 850; _local34.name = "cross"; _local34.rotation = Math.ceil((Math.random() * 360)); if (avoiderMode){ Tweener.addTween(_local34, {x:-50, y:circle1, time:(hardShapeTime + 1), transition:"linear"}); } else { Tweener.addTween(_local34, {x:-50, y:Math.ceil((Math.random() * stage.stageHeight)), time:(hardShapeTime + 1), transition:"linear"}); }; _local34.addEventListener(Event.ENTER_FRAME, enemieAI); _local35 = Math.ceil((Math.random() * rColors.length)); _local36 = new GlowFilter(rColors[_local3]); if (fastComputer){ _local34.filters = [_local36]; }; _local37 = new Color(); _local37.setTint(rColors[_local3], 1); _local34.transform.colorTransform = _local37; }; if (dif >= 10){ _local38 = new sword(); addChild(_local38); _local38.name = "sword"; _local38.scaleX = shapeScale; _local38.scaleY = shapeScale; _local38.y = Math.ceil((Math.random() * 800)); _local38.x = 920; _local38.rotation = Math.ceil((Math.random() * 360)); if (avoiderMode){ Tweener.addTween(_local38, {x:-230, y:circle1.y, time:(hardShapeTime + 1.1), transition:"linear"}); } else { Tweener.addTween(_local38, {x:-230, y:Math.ceil((Math.random() * stage.stageHeight)), time:(hardShapeTime + 1.1), transition:"linear"}); }; _local38.addEventListener(Event.ENTER_FRAME, enemieAI); _local39 = Math.ceil((Math.random() * rColors.length)); _local40 = new GlowFilter(rColors[_local3]); if (fastComputer){ _local38.filters = [_local40]; }; _local41 = new Color(); _local41.setTint(rColors[_local3], 1); _local38.transform.colorTransform = _local41; }; if (dif >= 11){ _local42 = new blob(); addChild(_local42); _local42.scaleX = shapeScale; _local42.scaleY = shapeScale; _local42.y = Math.ceil((Math.random() * 800)); _local42.x = 850; _local42.name = "blob"; _local42.rotation = Math.ceil((Math.random() * 360)); Tweener.addTween(_local42, {x:-50, y:Math.ceil((Math.random() * stage.stageHeight)), time:(hardShapeTime + 1.2), transition:"linear"}); _local42.addEventListener(Event.ENTER_FRAME, enemieAI); _local43 = Math.ceil((Math.random() * rColors.length)); _local44 = new GlowFilter(rColors[_local3]); if (fastComputer){ _local42.filters = [_local12]; }; _local45 = new Color(); _local45.setTint(rColors[_local3], 1); _local42.transform.colorTransform = _local45; }; } public function disFunc():void{ if ((((currentLabel == "play_btn")) && ((currentFrame == 3)))){ stage.removeEventListener(MouseEvent.CLICK, traceFunc2); Mouse.show(); }; } public function reM(_arg1:MouseEvent):void{ stage.addEventListener(MouseEvent.CLICK, traceFunc2); circle1A.visible = true; line2.visible = true; Mouse.hide(); } public function cloudFunc1():void{ cloud1.x = ((0 - cloud1.width) - Math.ceil((Math.random() * 50))); Tweener.addTween(cloud1, {x:(stage.stageWidth + cloud1.width), time:(Math.ceil((Math.random() * 20)) + 10), transition:"linear", onComplete:cloudFunc1}); } public function cloudFunc2():void{ cloud2.x = ((0 - cloud2.width) - Math.ceil((Math.random() * 50))); Tweener.addTween(cloud2, {x:(stage.stageWidth + cloud1.width), time:(Math.ceil((Math.random() * 20)) + 10), transition:"linear", onComplete:cloudFunc2}); } public function cloudFunc3():void{ cloud3.x = ((0 - cloud3.width) - Math.ceil((Math.random() * 50))); Tweener.addTween(cloud3, {x:(stage.stageWidth + cloud1.width), time:(Math.ceil((Math.random() * 20)) + 10), transition:"linear", onComplete:cloudFunc3}); } public function cloudFunc4():void{ cloud4.x = ((0 - cloud4.width) - Math.ceil((Math.random() * 50))); Tweener.addTween(cloud4, {x:(stage.stageWidth + cloud1.width), time:(Math.ceil((Math.random() * 20)) + 10), transition:"linear", onComplete:cloudFunc4}); } public function lazerFunc(_arg1:MouseEvent):void{ lazer.alpha = 0; if (!downHeat){ lazerShoot = true; }; } public function jetFunc():void{ var _local1:Timer; jet.x = ((0 - jet.width) - Math.ceil((Math.random() * 50))); jet.y = Math.ceil((Math.random() * 799)); _local1 = new Timer(20000); _local1.addEventListener(TimerEvent.TIMER, jetFuncRe); _local1.start(); } public function showM(_arg1:MouseEvent):void{ stage.removeEventListener(MouseEvent.CLICK, traceFunc2); line2.graphics.clear(); circle1A.visible = false; line2.visible = false; Mouse.show(); } public function enemieAI(_arg1:Event):void{ var _local2:DisplayObject; var _local3:explosion; var _local4:explosion2; var _local5:explosion3; var _local6:explosion4; var _local7:explosion5; var _local8:circleExp; var _local9:explosion; var _local10:explosion2; var _local11:explosion3; var _local12:explosion4; var _local13:explosion5; var _local14:Timer; if (gameEnded){ if (((!((_arg1.currentTarget.parent == null))) && (!((_arg1.currentTarget == null))))){ _arg1.currentTarget.removeEventListener(Event.ENTER_FRAME, enemieAI); _arg1.currentTarget.parent.removeChild(_arg1.currentTarget); }; }; if ((((_arg1.currentTarget.name == "sword")) && ((_arg1.currentTarget.x <= -230)))){ if (((!((_arg1.currentTarget.parent == null))) && (!((_arg1.currentTarget == null))))){ _arg1.currentTarget.removeEventListener(Event.ENTER_FRAME, enemieAI); _arg1.currentTarget.parent.removeChild(_arg1.currentTarget); }; } else { if (((!((_arg1.currentTarget.name == "sword"))) && ((_arg1.currentTarget.x <= -30)))){ if (((!((_arg1.currentTarget.parent == null))) && (!((_arg1.currentTarget == null))))){ _arg1.currentTarget.removeEventListener(Event.ENTER_FRAME, enemieAI); _arg1.currentTarget.parent.removeChild(_arg1.currentTarget); }; }; }; _arg1.currentTarget.rotation = (_arg1.currentTarget.rotation + 1); _local2 = (_arg1.currentTarget as DisplayObject); if (HitTest.complexHitTestObject(_local2, lazerHit, 10)){ if (lazer.alpha > 0){ score = (score + (1 * multiplier)); multiplier = (multiplier + 5); _arg1.currentTarget.removeEventListener(Event.ENTER_FRAME, enemieAI); if (_arg1.currentTarget.name == "first"){ _local3 = new explosion(); addChild(_local3); _local3.x = _arg1.currentTarget.x; _local3.y = _arg1.currentTarget.y; _local3.rotation = Math.ceil((Math.random() * 360)); _local3.scaleX = 3; _local3.scaleY = 3; _local3.transform.colorTransform = _arg1.currentTarget.transform.colorTransform; if (((!((_arg1.currentTarget.filters == null))) || (!((_arg1.currentTarget.filters == undefined))))){ _local3.filters = _arg1.currentTarget.filters; }; }; if (_arg1.currentTarget.name == "second"){ _local4 = new explosion2(); addChild(_local4); _local4.x = _arg1.currentTarget.x; _local4.y = _arg1.currentTarget.y; _local4.rotation = Math.ceil((Math.random() * 360)); _local4.scaleX = 3; _local4.scaleY = 3; _local4.transform.colorTransform = _arg1.currentTarget.transform.colorTransform; if (((!((_arg1.currentTarget.filters == null))) || (!((_arg1.currentTarget.filters == undefined))))){ _local4.filters = _arg1.currentTarget.filters; }; }; if (_arg1.currentTarget.name == "cross"){ _local5 = new explosion3(); addChild(_local5); _local5.x = _arg1.currentTarget.x; _local5.y = _arg1.currentTarget.y; _local5.rotation = Math.ceil((Math.random() * 360)); _local5.scaleX = 3; _local5.scaleY = 3; _local5.transform.colorTransform = _arg1.currentTarget.transform.colorTransform; if (((!((_arg1.currentTarget.filters == null))) || (!((_arg1.currentTarget.filters == undefined))))){ _local5.filters = _arg1.currentTarget.filters; }; }; if (_arg1.currentTarget.name == "sword"){ _local6 = new explosion4(); addChild(_local6); _local6.x = _arg1.currentTarget.x; _local6.y = _arg1.currentTarget.y; _local6.rotation = _arg1.currentTarget.rotation; _local6.scaleX = _arg1.currentTarget.scaleX; _local6.scaleY = _arg1.currentTarget.scaleY; _local6.transform.colorTransform = _arg1.currentTarget.transform.colorTransform; if (((!((_arg1.currentTarget.filters == null))) || (!((_arg1.currentTarget.filters == undefined))))){ _local6.filters = _arg1.currentTarget.filters; }; }; if (_arg1.currentTarget.name == "blob"){ _local7 = new explosion5(); addChild(_local7); _local7.x = _arg1.currentTarget.x; _local7.y = _arg1.currentTarget.y; _local7.rotation = Math.ceil((Math.random() * 360)); _local7.scaleX = 3; _local7.scaleY = 3; _local7.transform.colorTransform = _arg1.currentTarget.transform.colorTransform; if (((!((_arg1.currentTarget.filters == null))) || (!((_arg1.currentTarget.filters == undefined))))){ _local7.filters = _arg1.currentTarget.filters; }; }; _arg1.currentTarget.parent.removeChild(_arg1.currentTarget); }; }; if (((((((((((((((((((HitTest.complexHitTestObject(_local2, circle1)) || (HitTest.complexHitTestObject(_local2, circle2)))) || (HitTest.complexHitTestObject(_local2, circle3)))) || (HitTest.complexHitTestObject(_local2, circle4)))) || (HitTest.complexHitTestObject(_local2, circle5)))) || (HitTest.complexHitTestObject(_local2, circle6)))) || (HitTest.complexHitTestObject(_local2, circle7)))) || (HitTest.complexHitTestObject(_local2, circle8)))) || (HitTest.complexHitTestObject(_local2, circle9)))) || (HitTest.complexHitTestObject(_local2, circle10)))){ if (_arg1.currentTarget.name == "first"){ _local9 = new explosion(); addChild(_local9); _local9.x = _arg1.currentTarget.x; _local9.y = _arg1.currentTarget.y; _local9.rotation = Math.ceil((Math.random() * 360)); _local9.scaleX = 3; _local9.scaleY = 3; _local9.transform.colorTransform = _arg1.currentTarget.transform.colorTransform; if (((!((_arg1.currentTarget.filters == null))) || (!((_arg1.currentTarget.filters == undefined))))){ _local9.filters = _arg1.currentTarget.filters; }; }; if (_arg1.currentTarget.name == "second"){ _local10 = new explosion2(); addChild(_local10); _local10.x = _arg1.currentTarget.x; _local10.y = _arg1.currentTarget.y; _local10.rotation = Math.ceil((Math.random() * 360)); _local10.scaleX = 3; _local10.scaleY = 3; _local10.transform.colorTransform = _arg1.currentTarget.transform.colorTransform; if (((!((_arg1.currentTarget.filters == null))) || (!((_arg1.currentTarget.filters == undefined))))){ _local10.filters = _arg1.currentTarget.filters; }; }; if (_arg1.currentTarget.name == "cross"){ _local11 = new explosion3(); addChild(_local11); _local11.x = _arg1.currentTarget.x; _local11.y = _arg1.currentTarget.y; _local11.rotation = Math.ceil((Math.random() * 360)); _local11.scaleX = 3; _local11.scaleY = 3; _local11.transform.colorTransform = _arg1.currentTarget.transform.colorTransform; if (((!((_arg1.currentTarget.filters == null))) || (!((_arg1.currentTarget.filters == undefined))))){ _local11.filters = _arg1.currentTarget.filters; }; }; if (_arg1.currentTarget.name == "sword"){ _local12 = new explosion4(); addChild(_local12); _local12.x = _arg1.currentTarget.x; _local12.y = _arg1.currentTarget.y; _local12.rotation = _arg1.currentTarget.rotation; _local12.scaleX = _arg1.currentTarget.scaleX; _local12.scaleY = _arg1.currentTarget.scaleY; _local12.transform.colorTransform = _arg1.currentTarget.transform.colorTransform; if (((!((_arg1.currentTarget.filters == null))) || (!((_arg1.currentTarget.filters == undefined))))){ _local12.filters = _arg1.currentTarget.filters; }; }; if (_arg1.currentTarget.name == "blob"){ _local13 = new explosion5(); addChild(_local13); _local13.x = _arg1.currentTarget.x; _local13.y = _arg1.currentTarget.y; _local13.rotation = Math.ceil((Math.random() * 360)); _local13.scaleX = 3; _local13.scaleY = 3; _local13.transform.colorTransform = _arg1.currentTarget.transform.colorTransform; if (((!((_arg1.currentTarget.filters == null))) || (!((_arg1.currentTarget.filters == undefined))))){ _local13.filters = _arg1.currentTarget.filters; }; }; _arg1.currentTarget.parent.removeChild(_arg1.currentTarget); _local8 = new circleExp(); addChild(_local8); _local8.x = getChildByName(("circle" + curLastCircle.toString())).x; _local8.y = getChildByName(("circle" + curLastCircle.toString())).y; removeChild(getChildByName(("circle" + curLastCircle.toString()))); if (curLastCircle >= 1){ curLastCircle--; if (curLastCircle == 2){ avoiderMode = true; shapeScale = (shapeScale + 2); hardShapeTime--; overheat.visible = false; lazer.visible = false; circle2.visible = false; avoider_mc.play(); _local14 = new Timer(5000); _local14.addEventListener(TimerEvent.TIMER, increatDif); _local14.start(); avoiderScore.start(); }; if (curLastCircle == 1){ stage.removeEventListener(Event.ENTER_FRAME, game); timer.stop(); removeChild(line); removeChild(circle1); Mouse.show(); gameEnded = true; MochiScores.showLeaderboard({boardID:"4f7b30e915d121b2", res:"800x700", width:700, score:score, numScores:25, onDisplay:disFunc, onClose:endFunc2}); }; }; }; } public function mouseLeave(_arg1:Event):void{ if (currentFrame == 2){ circle1A.visible = false; circle2A.visible = false; line2.visible = false; }; } public function changePCM(_arg1:ContextMenuEvent=null):void{ fastComputer = !(fastComputer); mySO.data.pcsetting = fastComputer; if (!fastComputer){ sun.visible = false; sun.enabled = false; sun.scaleX = 0; sun.scaleY = 0; customContextMenu.customItems[1].caption = "Fast Computer: NO"; if (currentFrame == 3){ lazer.filters = []; }; } else { if (fastComputer){ sun.visible = true; sun.enabled = true; sun.scaleX = 1; sun.scaleY = 1; customContextMenu.customItems[1].caption = "Fast Computer: YES"; if (currentFrame == 3){ lazer.filters = [lazerF]; }; }; }; this.focus = this; Mouse.hide(); if (currentFrame == 2){ circle1A.visible = true; circle2A.visible = true; line2.visible = true; }; } public function refLink(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("https://www.mochiads.com/r/7c41134ef9613586")); } public function mouseEnter(_arg1:Event):void{ if (currentFrame == 2){ circle1A.visible = true; line2.visible = true; }; } public function incScore(_arg1:TimerEvent):void{ score = (score + 5); } public function playMusic(_arg1:Event):void{ musicControl = music.play(0); musicControl.addEventListener(Event.SOUND_COMPLETE, playMusic); } public function checkSO():void{ try { mySO = SharedObject.getLocal("settings"); fastComputer = mySO.data.pcsetting; } catch(error:SecurityError) { trace((("SharedObject Error: " + error.toString()) + "\nPlease edit your options so SharedObject can work, then restart this application.")); Security.showSettings(SecurityPanel.LOCAL_STORAGE); return; }; } public function increatDif(_arg1:TimerEvent):void{ if (dif < 11){ dif++; }; if (easyShapeTime > 1){ easyShapeTime--; }; } public function traceFunc(_arg1:Event):void{ this.focus = null; Mouse.show(); if (currentFrame == 2){ circle1A.visible = false; circle2A.visible = false; line2.visible = false; }; } public function traceFunc2(_arg1:MouseEvent):void{ this.focus = this; Mouse.hide(); if (currentFrame == 2){ circle1A.visible = true; line2.visible = true; }; } public function endFunc2():void{ if ((((currentLabel == "play_btn")) && ((currentFrame == 3)))){ stage.addEventListener(MouseEvent.CLICK, traceFunc2); stage.addEventListener(Event.ENTER_FRAME, game2); gotoAndStop("main_btn"); }; } public function game(_arg1:Event):void{ overheat.gotoAndStop(lazerHeat); score_txt.text = score.toString(); if (circle1.parent != null){ Tweener.addTween(circle1, {x:stage.mouseX, y:stage.mouseY, time:0, transition:"linear"}); }; if (circle2.parent != null){ Tweener.addTween(circle2, {x:(circle1.x - num), y:(circle1.y - num), time:0.01, transition:"linear"}); }; if (circle3.parent != null){ Tweener.addTween(circle3, {x:(circle2.x - num), y:(circle2.y - num), time:0.02, transition:"linear"}); }; if (circle4.parent != null){ Tweener.addTween(circle4, {x:(circle3.x - num), y:(circle3.y - num), time:0.03, transition:"linear"}); }; if (circle5.parent != null){ Tweener.addTween(circle5, {x:(circle4.x - num), y:(circle4.y - num), time:0.04, transition:"linear"}); }; if (circle6.parent != null){ Tweener.addTween(circle6, {x:(circle5.x - num), y:(circle5.y - num), time:0.05, transition:"linear"}); }; if (circle7.parent != null){ Tweener.addTween(circle7, {x:(circle6.x - num), y:(circle6.y - num), time:0.06, transition:"linear"}); }; if (circle8.parent != null){ Tweener.addTween(circle8, {x:(circle7.x - num), y:(circle7.y - num), time:0.07, transition:"linear"}); }; if (circle9.parent != null){ Tweener.addTween(circle9, {x:(circle8.x - num), y:(circle8.y - num), time:0.08, transition:"linear"}); }; if (circle10.parent != null){ Tweener.addTween(circle10, {x:(circle9.x - num), y:(circle9.y - num), time:0.09, transition:"linear"}); }; line.graphics.clear(); line.graphics.moveTo(getChildByName(("circle" + curLastCircle.toString())).x, getChildByName(("circle" + curLastCircle.toString())).y); line.graphics.lineStyle(5, 0); if (circle9.parent != null){ line.graphics.lineTo(circle9.x, circle9.y); }; if (circle8.parent != null){ line.graphics.lineTo(circle8.x, circle8.y); }; if (circle7.parent != null){ line.graphics.lineTo(circle7.x, circle7.y); }; if (circle6.parent != null){ line.graphics.lineTo(circle6.x, circle6.y); }; if (circle5.parent != null){ line.graphics.lineTo(circle5.x, circle5.y); }; if (circle4.parent != null){ line.graphics.lineTo(circle4.x, circle4.y); }; if (circle3.parent != null){ line.graphics.lineTo(circle3.x, circle3.y); }; if (circle2.parent != null){ line.graphics.lineTo(circle2.x, circle2.y); }; if (circle1.parent != null){ line.graphics.lineTo(circle1.x, circle1.y); }; if (((lazerShoot) && (!(downHeat)))){ if (lazerHeat < overheat.totalFrames){ lazerHeat++; }; if (lazerHeat == overheat.totalFrames){ lazerShoot = false; downHeat = true; multiplier = 1; }; if (lazer.alpha < 1){ lazer.alpha = (lazer.alpha + 0.1); }; lazer.graphics.clear(); lazer.graphics.lineStyle(4, 0xFF0000); lazer.graphics.moveTo(getChildByName(("circle" + curLastCircle.toString())).x, getChildByName(("circle" + curLastCircle.toString())).y); lazer.graphics.lineTo(circle1.x, circle1.y); } else { if (!lazerShoot){ if (lazerHeat > 1){ lazerHeat = (lazerHeat - 2); }; if (lazerHeat <= 1){ lazerHeat = 1; downHeat = false; }; if (lazer.alpha > 0){ lazer.alpha = (lazer.alpha - 0.1); }; }; }; if (!avoiderMode){ if (score >= 400){ dif = 2; }; if (score >= 800){ dif = 3; }; if (score >= 1200){ dif = 3; }; if (score >= 1500){ dif = 4; }; if (score >= 1700){ dif = 4; }; if (score >= 1800){ dif = 5; }; if (score >= 1900){ dif = 6; }; if (score >= 2000){ dif = 7; }; if (score >= 2100){ dif = 8; }; if (score >= 2200){ dif = 9; }; if (score >= 2250){ dif = 10; }; if (score >= 2300){ dif = 11; }; }; } } }//package circlesnake_flaSection 16//menu_logo_13 (circlesnake_fla.menu_logo_13) package circlesnake_fla { import flash.display.*; public dynamic class menu_logo_13 extends MovieClip { public function menu_logo_13(){ addFrameScript(48, frame49); } function frame49(){ stop(); } } }//package circlesnake_flaSection 17//play_btn_11 (circlesnake_fla.play_btn_11) package circlesnake_fla { import flash.display.*; public dynamic class play_btn_11 extends MovieClip { public function play_btn_11(){ addFrameScript(0, frame1, 22, frame23); } function frame1(){ stop(); } function frame23(){ gotoAndStop(1); } } }//package circlesnake_flaSection 18//scores_btn_14 (circlesnake_fla.scores_btn_14) package circlesnake_fla { import flash.display.*; public dynamic class scores_btn_14 extends MovieClip { public function scores_btn_14(){ addFrameScript(0, frame1, 22, frame23); } function frame1(){ stop(); } function frame23(){ gotoAndStop(1); } } }//package circlesnake_flaSection 19//startgame_mc_22 (circlesnake_fla.startgame_mc_22) package circlesnake_fla { import flash.display.*; public dynamic class startgame_mc_22 extends MovieClip { public function startgame_mc_22(){ addFrameScript(97, frame98); } function frame98(){ stop(); this.parent.removeChild(this); } } }//package circlesnake_flaSection 20//Color (fl.motion.Color) package fl.motion { import flash.display.*; import flash.geom.*; public class Color extends ColorTransform { private var _tintMultiplier:Number;// = 0 private var _tintColor:Number;// = 0 public function Color(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0){ _tintColor = 0; _tintMultiplier = 0; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); } public function setTint(_arg1:uint, _arg2:Number):void{ var _local3:uint; var _local4:uint; var _local5:uint; this._tintColor = _arg1; this._tintMultiplier = _arg2; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - _arg2))); _local3 = ((_arg1 >> 16) & 0xFF); _local4 = ((_arg1 >> 8) & 0xFF); _local5 = (_arg1 & 0xFF); this.redOffset = Math.round((_local3 * _arg2)); this.greenOffset = Math.round((_local4 * _arg2)); this.blueOffset = Math.round((_local5 * _arg2)); } public function set tintColor(_arg1:uint):void{ this.setTint(_arg1, this.tintMultiplier); } public function get brightness():Number{ return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1)); } private function deriveTintColor():uint{ var _local1:Number; var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; _local1 = (1 / this.tintMultiplier); _local2 = Math.round((this.redOffset * _local1)); _local3 = Math.round((this.greenOffset * _local1)); _local4 = Math.round((this.blueOffset * _local1)); _local5 = (((_local2 << 16) | (_local3 << 8)) | _local4); return (_local5); } public function get tintMultiplier():Number{ return (this._tintMultiplier); } public function get tintColor():uint{ return (this._tintColor); } public function set brightness(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (_arg1 > 1){ _arg1 = 1; } else { if (_arg1 < -1){ _arg1 = -1; }; }; _local2 = (1 - Math.abs(_arg1)); _local3 = 0; if (_arg1 > 0){ _local3 = (_arg1 * 0xFF); }; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = _local2)); this.redOffset = (this.greenOffset = (this.blueOffset = _local3)); } public function set tintMultiplier(_arg1:Number):void{ this.setTint(this.tintColor, _arg1); } private function parseXML(_arg1:XML=null):Color{ var _local2:XML; var _local3:XML; var _local4:String; var _local5:uint; if (!_arg1){ return (this); }; _local2 = _arg1.elements()[0]; if (!_local2){ return (this); }; for each (_local3 in _local2.attributes()) { _local4 = _local3.localName(); if (_local4 == "tintColor"){ _local5 = (Number(_local3.toString()) as uint); this.tintColor = _local5; } else { this[_local4] = Number(_local3.toString()); }; }; return (this); } public static function interpolateColor(_arg1:uint, _arg2:uint, _arg3:Number):uint{ var _local4:Number; var _local5:uint; var _local6:uint; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:uint; var _local11:uint; var _local12:uint; var _local13:uint; var _local14:uint; var _local15:uint; var _local16:uint; var _local17:uint; _local4 = (1 - _arg3); _local5 = ((_arg1 >> 24) & 0xFF); _local6 = ((_arg1 >> 16) & 0xFF); _local7 = ((_arg1 >> 8) & 0xFF); _local8 = (_arg1 & 0xFF); _local9 = ((_arg2 >> 24) & 0xFF); _local10 = ((_arg2 >> 16) & 0xFF); _local11 = ((_arg2 >> 8) & 0xFF); _local12 = (_arg2 & 0xFF); _local13 = ((_local5 * _local4) + (_local9 * _arg3)); _local14 = ((_local6 * _local4) + (_local10 * _arg3)); _local15 = ((_local7 * _local4) + (_local11 * _arg3)); _local16 = ((_local8 * _local4) + (_local12 * _arg3)); _local17 = ((((_local13 << 24) | (_local14 << 16)) | (_local15 << 8)) | _local16); return (_local17); } public static function interpolateTransform(_arg1:ColorTransform, _arg2:ColorTransform, _arg3:Number):ColorTransform{ var _local4:Number; var _local5:ColorTransform; _local4 = (1 - _arg3); _local5 = new ColorTransform(((_arg1.redMultiplier * _local4) + (_arg2.redMultiplier * _arg3)), ((_arg1.greenMultiplier * _local4) + (_arg2.greenMultiplier * _arg3)), ((_arg1.blueMultiplier * _local4) + (_arg2.blueMultiplier * _arg3)), ((_arg1.alphaMultiplier * _local4) + (_arg2.alphaMultiplier * _arg3)), ((_arg1.redOffset * _local4) + (_arg2.redOffset * _arg3)), ((_arg1.greenOffset * _local4) + (_arg2.greenOffset * _arg3)), ((_arg1.blueOffset * _local4) + (_arg2.blueOffset * _arg3)), ((_arg1.alphaOffset * _local4) + (_arg2.alphaOffset * _arg3))); return (_local5); } public static function fromXML(_arg1:XML):Color{ return (Color(new (Color).parseXML(_arg1))); } } }//package fl.motionSection 21//MochiScores (mochi.MochiScores) package mochi { import flash.display.*; import flash.text.*; public class MochiScores { private static var boardID:String; public static var onErrorHandler:Object; public static var onCloseHandler:Object; public static function showLeaderboard(_arg1:Object=null):void{ var options = _arg1; if (options != null){ if (options.clip != null){ if ((options.clip is Sprite)){ MochiServices.setContainer(options.clip); }; delete options.clip; } else { MochiServices.setContainer(); }; MochiServices.stayOnTop(); if (options.name != null){ if ((options.name is TextField)){ if (options.name.text.length > 0){ options.name = options.name.text; }; }; }; if (options.score != null){ if ((options.score is TextField)){ if (options.score.text.length > 0){ options.score = options.score.text; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; }; } else { options = {}; if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; if (options.onClose != null){ onCloseHandler = options.onClose; } else { onCloseHandler = function ():void{ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.play(); } else { trace("Warning: Container is not a MovieClip, cannot call default onClose."); }; }; }; if (options.onError != null){ onErrorHandler = options.onError; } else { onErrorHandler = null; }; if (options.boardID == null){ if (MochiScores.boardID != null){ options.boardID = MochiScores.boardID; }; }; MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2); } public static function requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local2:Object; var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; _local2 = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{ MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4); } public static function onClose(_arg1:Object=null):void{ if (_arg1 != null){ if (_arg1.error != null){ if (_arg1.error == true){ if (onErrorHandler != null){ if (_arg1.errorCode == null){ _arg1.errorCode = "IOError"; }; onErrorHandler(_arg1.errorCode); MochiServices.doClose(); return; }; }; }; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(_arg1:String):void{ MochiScores.boardID = _arg1; MochiServices.send("scores_setBoardID", {boardID:_arg1}); } } }//package mochiSection 22//MochiServices (mochi.MochiServices) package mochi { import flash.events.*; import flash.display.*; 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.34"); } 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(), parentURL:_container.loaderInfo.loaderURL}); _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 (((!((args.options == null))) && (!((args.options.onError == null))))){ args.options.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ try { var _local5 = callbackObject; _local5[callbackMethod](args); } catch(error:Error) { }; } else { if (callbackMethod != null){ try { callbackMethod.apply(args); } catch(error:Error) { }; }; }; }; } 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(); }; } } }//package mochiSection 23//blob (blob) package { import flash.display.*; public dynamic class blob extends MovieClip { } }//packageSection 24//cheerieO (cheerieO) package { import flash.media.*; public dynamic class cheerieO extends Sound { } }//packageSection 25//circle_shape (circle_shape) package { import flash.display.*; public dynamic class circle_shape extends MovieClip { } }//packageSection 26//circleExp (circleExp) package { import flash.display.*; public dynamic class circleExp extends MovieClip { public function circleExp(){ addFrameScript(11, frame12); } function frame12(){ stop(); this.parent.removeChild(this); } } }//packageSection 27//cross (cross) package { import flash.display.*; public dynamic class cross extends MovieClip { } }//packageSection 28//explosion (explosion) package { import flash.display.*; public dynamic class explosion extends MovieClip { public function explosion(){ addFrameScript(75, frame76); } function frame76(){ stop(); this.parent.removeChild(this); } } }//packageSection 29//explosion2 (explosion2) package { import flash.display.*; public dynamic class explosion2 extends MovieClip { public function explosion2(){ addFrameScript(75, frame76); } function frame76(){ stop(); this.parent.removeChild(this); } } }//packageSection 30//explosion3 (explosion3) package { import flash.display.*; public dynamic class explosion3 extends MovieClip { public function explosion3(){ addFrameScript(75, frame76); } function frame76(){ stop(); this.parent.removeChild(this); } } }//packageSection 31//explosion4 (explosion4) package { import flash.display.*; public dynamic class explosion4 extends MovieClip { public function explosion4(){ addFrameScript(75, frame76); } function frame76(){ stop(); this.parent.removeChild(this); } } }//packageSection 32//explosion5 (explosion5) package { import flash.display.*; public dynamic class explosion5 extends MovieClip { public function explosion5(){ addFrameScript(75, frame76); } function frame76(){ stop(); this.parent.removeChild(this); } } }//packageSection 33//HitTest (HitTest) package { import flash.display.*; import flash.geom.*; public class HitTest { protected static function getDrawMatrix(_arg1:DisplayObject, _arg2:Rectangle, _arg3:Number):Matrix{ var _local4:Point; var _local5:Matrix; var _local6:Matrix; _local6 = _arg1.root.transform.concatenatedMatrix; _local4 = _arg1.localToGlobal(new Point()); _local5 = _arg1.transform.concatenatedMatrix; _local5.tx = (_local4.x - _arg2.x); _local5.ty = (_local4.y - _arg2.y); _local5.a = (_local5.a / _local6.a); _local5.d = (_local5.d / _local6.d); if (_arg3 != 1){ _local5.scale(_arg3, _arg3); }; return (_local5); } public static function complexHitTestObject(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Boolean{ return (!((complexIntersectionRectangle(_arg1, _arg2, _arg3).width == 0))); } public static function complexIntersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Rectangle{ var _local4:Rectangle; var _local5:BitmapData; var _local6:Rectangle; if (_arg3 <= 0){ throw (new Error("ArgumentError: Error #5001: Invalid value for accurracy", 5001)); }; if (!_arg1.hitTestObject(_arg2)){ return (new Rectangle()); }; _local4 = intersectionRectangle(_arg1, _arg2); if (((((_local4.width * _arg3) < 1)) || (((_local4.height * _arg3) < 1)))){ return (new Rectangle()); }; _local5 = new BitmapData((_local4.width * _arg3), (_local4.height * _arg3), false, 0); _local5.draw(_arg1, HitTest.getDrawMatrix(_arg1, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, -255, -255, 0xFF)); _local5.draw(_arg2, HitTest.getDrawMatrix(_arg2, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 0xFF, 0xFF), BlendMode.DIFFERENCE); _local6 = _local5.getColorBoundsRect(4294967295, 4278255615); _local5.dispose(); if (_arg3 != 1){ _local6.x = (_local6.x / _arg3); _local6.y = (_local6.y / _arg3); _local6.width = (_local6.width / _arg3); _local6.height = (_local6.height / _arg3); }; _local6.x = (_local6.x + _local4.x); _local6.y = (_local6.y + _local4.y); return (_local6); } public static function intersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject):Rectangle{ var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; if (((((!(_arg1.root)) || (!(_arg2.root)))) || (!(_arg1.hitTestObject(_arg2))))){ return (new Rectangle()); }; _local3 = _arg1.getBounds(_arg1.root); _local4 = _arg2.getBounds(_arg2.root); _local5 = new Rectangle(); _local5.x = Math.max(_local3.x, _local4.x); _local5.y = Math.max(_local3.y, _local4.y); _local5.width = Math.min(((_local3.x + _local3.width) - _local5.x), ((_local4.x + _local4.width) - _local5.x)); _local5.height = Math.min(((_local3.y + _local3.height) - _local5.y), ((_local4.y + _local4.height) - _local5.y)); return (_local5); } } }//packageSection 34//MochiAd (MochiAd) package { import flash.events.*; import flash.display.*; 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 35//oval (oval) package { import flash.display.*; public dynamic class oval extends MovieClip { } }//packageSection 36//polygon (polygon) package { import flash.display.*; public dynamic class polygon extends MovieClip { } }//packageSection 37//rectangle (rectangle) package { import flash.display.*; public dynamic class rectangle extends MovieClip { } }//packageSection 38//square (square) package { import flash.display.*; public dynamic class square extends MovieClip { } }//packageSection 39//star (star) package { import flash.display.*; public dynamic class star extends MovieClip { } }//packageSection 40//sword (sword) package { import flash.display.*; public dynamic class sword extends MovieClip { } }//packageSection 41//trapezoid (trapezoid) package { import flash.display.*; public dynamic class trapezoid extends MovieClip { } }//packageSection 42//triangle (triangle) package { import flash.display.*; public dynamic class triangle extends MovieClip { } }//package
Library Items
Symbol 1 Sound {cheerieO} | ||
Symbol 2 Graphic | Used by:3 81 | |
Symbol 3 MovieClip {rectangle} | Uses:2 | |
Symbol 4 Graphic | Used by:5 6 89 | |
Symbol 5 MovieClip {circle_shape} | Uses:4 | |
Symbol 6 MovieClip {oval} | Uses:4 | |
Symbol 7 Graphic | Used by:8 | |
Symbol 8 MovieClip {trapezoid} | Uses:7 | |
Symbol 9 Graphic | Used by:10 | |
Symbol 10 MovieClip {sword} | Uses:9 | |
Symbol 11 ShapeTweening | Used by:20 | |
Symbol 12 ShapeTweening | Used by:20 | |
Symbol 13 ShapeTweening | Used by:20 | |
Symbol 14 ShapeTweening | Used by:20 | |
Symbol 15 ShapeTweening | Used by:20 | |
Symbol 16 ShapeTweening | Used by:20 | |
Symbol 17 ShapeTweening | Used by:20 | |
Symbol 18 Graphic | Used by:20 80 | |
Symbol 19 Graphic | Used by:20 | |
Symbol 20 MovieClip {explosion5} | Uses:11 12 13 14 15 16 17 18 19 | |
Symbol 21 ShapeTweening | Used by:31 | |
Symbol 22 ShapeTweening | Used by:31 | |
Symbol 23 ShapeTweening | Used by:31 | |
Symbol 24 ShapeTweening | Used by:31 | |
Symbol 25 ShapeTweening | Used by:31 | |
Symbol 26 ShapeTweening | Used by:31 | |
Symbol 27 ShapeTweening | Used by:31 | |
Symbol 28 ShapeTweening | Used by:31 | |
Symbol 29 Graphic | Used by:31 | |
Symbol 30 Graphic | Used by:31 | |
Symbol 31 MovieClip {explosion4} | Uses:21 22 23 24 25 26 27 28 29 30 | |
Symbol 32 ShapeTweening | Used by:36 | |
Symbol 33 ShapeTweening | Used by:36 | |
Symbol 34 ShapeTweening | Used by:36 | |
Symbol 35 Graphic | Used by:36 | |
Symbol 36 MovieClip {blob} | Uses:32 33 34 35 | Used by:41 |
Symbol 37 Graphic | Used by:38 | |
Symbol 38 MovieClip {cross} | Uses:37 | Used by:41 |
Symbol 39 ShapeTweening | Used by:41 | |
Symbol 40 Graphic | Used by:41 | |
Symbol 41 MovieClip {explosion3} | Uses:38 39 36 40 | |
Symbol 42 Graphic | Used by:43 | |
Symbol 43 MovieClip {polygon} | Uses:42 | Used by:55 |
Symbol 44 ShapeTweening | Used by:55 | |
Symbol 45 ShapeTweening | Used by:55 | |
Symbol 46 ShapeTweening | Used by:55 | |
Symbol 47 ShapeTweening | Used by:55 | |
Symbol 48 ShapeTweening | Used by:55 | |
Symbol 49 ShapeTweening | Used by:55 | |
Symbol 50 ShapeTweening | Used by:55 | |
Symbol 51 ShapeTweening | Used by:55 | |
Symbol 52 ShapeTweening | Used by:55 | |
Symbol 53 Graphic | Used by:55 | |
Symbol 54 Graphic | Used by:55 | |
Symbol 55 MovieClip {explosion2} | Uses:44 45 46 47 48 49 50 51 52 43 53 54 | |
Symbol 56 ShapeTweening | Used by:65 | |
Symbol 57 ShapeTweening | Used by:65 | |
Symbol 58 ShapeTweening | Used by:65 | |
Symbol 59 ShapeTweening | Used by:65 | |
Symbol 60 ShapeTweening | Used by:65 | |
Symbol 61 ShapeTweening | Used by:65 | |
Symbol 62 ShapeTweening | Used by:65 | |
Symbol 63 Graphic | Used by:65 | |
Symbol 64 Graphic | Used by:65 | |
Symbol 65 MovieClip {circleExp} | Uses:56 57 58 59 60 61 62 63 64 | |
Symbol 66 Graphic | Used by:67 | |
Symbol 67 MovieClip {triangle} | Uses:66 | Used by:Timeline |
Symbol 68 Graphic | Used by:69 | |
Symbol 69 MovieClip {star} | Uses:68 | Used by:80 301 Timeline |
Symbol 70 ShapeTweening | Used by:80 | |
Symbol 71 ShapeTweening | Used by:80 | |
Symbol 72 ShapeTweening | Used by:80 | |
Symbol 73 ShapeTweening | Used by:80 | |
Symbol 74 ShapeTweening | Used by:80 | |
Symbol 75 ShapeTweening | Used by:80 | |
Symbol 76 ShapeTweening | Used by:80 | |
Symbol 77 ShapeTweening | Used by:80 | |
Symbol 78 ShapeTweening | Used by:80 | |
Symbol 79 Graphic | Used by:80 | |
Symbol 80 MovieClip {explosion} | Uses:70 71 72 73 74 75 76 77 78 69 18 79 | Used by:Timeline |
Symbol 81 MovieClip {square} | Uses:2 | Used by:Timeline |
Symbol 82 ShapeTweening | Used by:89 | |
Symbol 83 Graphic | Used by:89 | |
Symbol 84 ShapeTweening | Used by:89 | |
Symbol 85 Graphic | Used by:89 | |
Symbol 86 ShapeTweening | Used by:89 | |
Symbol 87 ShapeTweening | Used by:89 | |
Symbol 88 Graphic | Used by:89 | |
Symbol 89 MovieClip | Uses:82 83 84 85 86 4 87 88 | Used by:90 |
Symbol 90 MovieClip {circlesnake_fla.circle_1} | Uses:89 | Used by:Timeline |
Symbol 91 Graphic | Used by:92 | |
Symbol 92 MovieClip | Uses:91 | Used by:93 |
Symbol 93 MovieClip | Uses:92 | Used by:Timeline |
Symbol 94 ShapeTweening | Used by:98 | |
Symbol 95 Graphic | Used by:98 | |
Symbol 96 ShapeTweening | Used by:98 | |
Symbol 97 Graphic | Used by:98 | |
Symbol 98 MovieClip | Uses:94 95 96 97 | Used by:100 |
Symbol 99 Graphic | Used by:100 | |
Symbol 100 MovieClip | Uses:98 99 | Used by:Timeline |
Symbol 101 Graphic | Used by:102 | |
Symbol 102 MovieClip | Uses:101 | Used by:Timeline |
Symbol 103 Graphic | Used by:104 | |
Symbol 104 MovieClip | Uses:103 | Used by:Timeline |
Symbol 105 Graphic | Used by:106 | |
Symbol 106 MovieClip | Uses:105 | Used by:Timeline |
Symbol 107 Graphic | Used by:108 | |
Symbol 108 MovieClip | Uses:107 | Used by:Timeline |
Symbol 109 Graphic | Used by:Timeline | |
Symbol 110 Graphic | Used by:129 188 205 224 | |
Symbol 111 Font | Used by:112 172 189 208 285 289 290 | |
Symbol 112 Text | Uses:111 | Used by:113 |
Symbol 113 MovieClip | Uses:112 | Used by:129 |
Symbol 114 ShapeTweening | Used by:129 | |
Symbol 115 ShapeTweening | Used by:129 | |
Symbol 116 ShapeTweening | Used by:129 | |
Symbol 117 ShapeTweening | Used by:129 | |
Symbol 118 ShapeTweening | Used by:129 | |
Symbol 119 ShapeTweening | Used by:129 | |
Symbol 120 ShapeTweening | Used by:129 | |
Symbol 121 ShapeTweening | Used by:129 | |
Symbol 122 ShapeTweening | Used by:129 | |
Symbol 123 ShapeTweening | Used by:129 | |
Symbol 124 ShapeTweening | Used by:129 | |
Symbol 125 ShapeTweening | Used by:129 | |
Symbol 126 ShapeTweening | Used by:129 | |
Symbol 127 ShapeTweening | Used by:129 | |
Symbol 128 Graphic | Used by:129 188 205 224 | |
Symbol 129 MovieClip {circlesnake_fla.play_btn_11} | Uses:110 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | Used by:Timeline |
Symbol 130 ShapeTweening | Used by:171 | |
Symbol 131 ShapeTweening | Used by:171 | |
Symbol 132 ShapeTweening | Used by:171 | |
Symbol 133 ShapeTweening | Used by:171 | |
Symbol 134 ShapeTweening | Used by:171 | |
Symbol 135 ShapeTweening | Used by:171 | |
Symbol 136 ShapeTweening | Used by:171 | |
Symbol 137 ShapeTweening | Used by:171 | |
Symbol 138 ShapeTweening | Used by:171 | |
Symbol 139 ShapeTweening | Used by:171 | |
Symbol 140 ShapeTweening | Used by:171 | |
Symbol 141 Font | Used by:142 164 166 167 168 169 206 302 | |
Symbol 142 Text | Uses:141 | Used by:171 |
Symbol 143 ShapeTweening | Used by:171 | |
Symbol 144 ShapeTweening | Used by:171 | |
Symbol 145 ShapeTweening | Used by:171 | |
Symbol 146 ShapeTweening | Used by:171 | |
Symbol 147 ShapeTweening | Used by:171 | |
Symbol 148 ShapeTweening | Used by:171 | |
Symbol 149 ShapeTweening | Used by:171 | |
Symbol 150 ShapeTweening | Used by:171 | |
Symbol 151 ShapeTweening | Used by:171 | |
Symbol 152 ShapeTweening | Used by:171 | |
Symbol 153 ShapeTweening | Used by:171 | |
Symbol 154 ShapeTweening | Used by:171 | |
Symbol 155 ShapeTweening | Used by:171 | |
Symbol 156 ShapeTweening | Used by:171 | |
Symbol 157 ShapeTweening | Used by:171 | |
Symbol 158 ShapeTweening | Used by:171 | |
Symbol 159 ShapeTweening | Used by:171 | |
Symbol 160 ShapeTweening | Used by:171 | |
Symbol 161 ShapeTweening | Used by:171 | |
Symbol 162 ShapeTweening | Used by:171 | |
Symbol 163 ShapeTweening | Used by:171 | |
Symbol 164 Text | Uses:141 | Used by:171 |
Symbol 165 Graphic | Used by:171 | |
Symbol 166 Text | Uses:141 | Used by:171 |
Symbol 167 Text | Uses:141 | Used by:171 |
Symbol 168 Text | Uses:141 | Used by:171 |
Symbol 169 Text | Uses:141 | Used by:171 |
Symbol 170 Graphic | Used by:171 | |
Symbol 171 MovieClip {circlesnake_fla.menu_logo_13} | Uses:130 131 132 133 134 135 136 137 138 139 140 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | Used by:Timeline |
Symbol 172 Text | Uses:111 | Used by:173 |
Symbol 173 MovieClip | Uses:172 | Used by:188 |
Symbol 174 ShapeTweening | Used by:188 | |
Symbol 175 ShapeTweening | Used by:188 | |
Symbol 176 ShapeTweening | Used by:188 | |
Symbol 177 ShapeTweening | Used by:188 | |
Symbol 178 ShapeTweening | Used by:188 | |
Symbol 179 ShapeTweening | Used by:188 | |
Symbol 180 ShapeTweening | Used by:188 | |
Symbol 181 ShapeTweening | Used by:188 | |
Symbol 182 ShapeTweening | Used by:188 | |
Symbol 183 ShapeTweening | Used by:188 | |
Symbol 184 ShapeTweening | Used by:188 | |
Symbol 185 ShapeTweening | Used by:188 | |
Symbol 186 ShapeTweening | Used by:188 | |
Symbol 187 ShapeTweening | Used by:188 | |
Symbol 188 MovieClip {circlesnake_fla.scores_btn_14} | Uses:110 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 128 | Used by:Timeline |
Symbol 189 Text | Uses:111 | Used by:190 |
Symbol 190 MovieClip | Uses:189 | Used by:205 |
Symbol 191 ShapeTweening | Used by:205 | |
Symbol 192 ShapeTweening | Used by:205 | |
Symbol 193 ShapeTweening | Used by:205 | |
Symbol 194 ShapeTweening | Used by:205 | |
Symbol 195 ShapeTweening | Used by:205 | |
Symbol 196 ShapeTweening | Used by:205 | |
Symbol 197 ShapeTweening | Used by:205 | |
Symbol 198 ShapeTweening | Used by:205 | |
Symbol 199 ShapeTweening | Used by:205 | |
Symbol 200 ShapeTweening | Used by:205 | |
Symbol 201 ShapeTweening | Used by:205 | |
Symbol 202 ShapeTweening | Used by:205 | |
Symbol 203 ShapeTweening | Used by:205 | |
Symbol 204 ShapeTweening | Used by:205 | |
Symbol 205 MovieClip {circlesnake_fla.instructions_btn_16} | Uses:110 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 128 | Used by:Timeline |
Symbol 206 EditableText | Uses:141 | Used by:207 |
Symbol 207 MovieClip {circlesnake_fla.corner_mc_18} | Uses:206 | Used by:Timeline |
Symbol 208 Text | Uses:111 | Used by:209 |
Symbol 209 MovieClip | Uses:208 | Used by:224 |
Symbol 210 ShapeTweening | Used by:224 | |
Symbol 211 ShapeTweening | Used by:224 | |
Symbol 212 ShapeTweening | Used by:224 | |
Symbol 213 ShapeTweening | Used by:224 | |
Symbol 214 ShapeTweening | Used by:224 | |
Symbol 215 ShapeTweening | Used by:224 | |
Symbol 216 ShapeTweening | Used by:224 | |
Symbol 217 ShapeTweening | Used by:224 | |
Symbol 218 ShapeTweening | Used by:224 | |
Symbol 219 ShapeTweening | Used by:224 | |
Symbol 220 ShapeTweening | Used by:224 | |
Symbol 221 ShapeTweening | Used by:224 | |
Symbol 222 ShapeTweening | Used by:224 | |
Symbol 223 ShapeTweening | Used by:224 | |
Symbol 224 MovieClip {circlesnake_fla.main_btn_19} | Uses:110 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 128 | Used by:Timeline |
Symbol 225 ShapeTweening | Used by:258 | |
Symbol 226 ShapeTweening | Used by:258 | |
Symbol 227 ShapeTweening | Used by:258 | |
Symbol 228 ShapeTweening | Used by:258 | |
Symbol 229 ShapeTweening | Used by:258 | |
Symbol 230 ShapeTweening | Used by:258 | |
Symbol 231 ShapeTweening | Used by:258 | |
Symbol 232 ShapeTweening | Used by:258 | |
Symbol 233 ShapeTweening | Used by:258 | |
Symbol 234 ShapeTweening | Used by:258 | |
Symbol 235 ShapeTweening | Used by:258 | |
Symbol 236 ShapeTweening | Used by:258 | |
Symbol 237 ShapeTweening | Used by:258 | |
Symbol 238 ShapeTweening | Used by:258 | |
Symbol 239 ShapeTweening | Used by:258 | |
Symbol 240 ShapeTweening | Used by:258 | |
Symbol 241 Graphic | Used by:256 258 | |
Symbol 242 ShapeTweening | Used by:258 | |
Symbol 243 ShapeTweening | Used by:258 | |
Symbol 244 ShapeTweening | Used by:258 | |
Symbol 245 ShapeTweening | Used by:258 | |
Symbol 246 ShapeTweening | Used by:258 | |
Symbol 247 ShapeTweening | Used by:258 | |
Symbol 248 ShapeTweening | Used by:258 | |
Symbol 249 ShapeTweening | Used by:258 | |
Symbol 250 ShapeTweening | Used by:258 | |
Symbol 251 ShapeTweening | Used by:258 | |
Symbol 252 ShapeTweening | Used by:258 | |
Symbol 253 ShapeTweening | Used by:258 | |
Symbol 254 ShapeTweening | Used by:258 | |
Symbol 255 ShapeTweening | Used by:258 | |
Symbol 256 MovieClip | Uses:241 | Used by:258 |
Symbol 257 Graphic | Used by:258 | |
Symbol 258 MovieClip {circlesnake_fla.startgame_mc_22} | Uses:225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 | Used by:Timeline |
Symbol 259 ShapeTweening | Used by:283 | |
Symbol 260 ShapeTweening | Used by:283 | |
Symbol 261 ShapeTweening | Used by:283 | |
Symbol 262 ShapeTweening | Used by:283 | |
Symbol 263 ShapeTweening | Used by:283 | |
Symbol 264 ShapeTweening | Used by:283 | |
Symbol 265 ShapeTweening | Used by:283 | |
Symbol 266 ShapeTweening | Used by:283 | |
Symbol 267 ShapeTweening | Used by:283 | |
Symbol 268 ShapeTweening | Used by:283 | |
Symbol 269 Graphic | Used by:283 | |
Symbol 270 Font | Used by:271 272 | |
Symbol 271 Text | Uses:270 | Used by:281 283 |
Symbol 272 Text | Uses:270 | Used by:281 283 |
Symbol 273 ShapeTweening | Used by:283 | |
Symbol 274 ShapeTweening | Used by:283 | |
Symbol 275 ShapeTweening | Used by:283 | |
Symbol 276 ShapeTweening | Used by:283 | |
Symbol 277 ShapeTweening | Used by:283 | |
Symbol 278 ShapeTweening | Used by:283 | |
Symbol 279 ShapeTweening | Used by:283 | |
Symbol 280 ShapeTweening | Used by:283 | |
Symbol 281 MovieClip | Uses:271 272 | Used by:283 |
Symbol 282 Graphic | Used by:283 | |
Symbol 283 MovieClip {circlesnake_fla.avoider_mc_24} | Uses:259 260 261 262 263 264 265 266 267 268 269 271 272 273 274 275 276 277 278 279 280 281 282 | Used by:Timeline |
Symbol 284 Graphic | Used by:Timeline | |
Symbol 285 Text | Uses:111 | Used by:Timeline |
Symbol 286 ShapeTweening | Used by:288 | |
Symbol 287 Graphic | Used by:288 | |
Symbol 288 MovieClip | Uses:286 287 | Used by:Timeline |
Symbol 289 Text | Uses:111 | Used by:Timeline |
Symbol 290 EditableText | Uses:111 | Used by:Timeline |
Symbol 291 Font | Used by:292 | |
Symbol 292 Text | Uses:291 | Used by:293 294 |
Symbol 293 MovieClip | Uses:292 | Used by:294 |
Symbol 294 MovieClip {circlesnake_fla.endgameKill_mc_27} | Uses:292 293 | Used by:Timeline |
Symbol 295 Graphic | Used by:296 | |
Symbol 296 MovieClip | Uses:295 | Used by:Timeline |
Symbol 297 Graphic | Used by:298 | |
Symbol 298 MovieClip | Uses:297 | Used by:Timeline |
Symbol 299 Graphic | Used by:301 | |
Symbol 300 Graphic | Used by:301 | |
Symbol 301 MovieClip | Uses:299 69 300 | Used by:Timeline |
Symbol 302 Text | Uses:141 | Used by:303 |
Symbol 303 MovieClip | Uses:302 | Used by:Timeline |
Instance Names
"circle2A" | Frame 1 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"circle1A" | Frame 1 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"sun" | Frame 2 | Symbol 93 MovieClip |
"jet" | Frame 2 | Symbol 100 MovieClip |
"cloud1" | Frame 2 | Symbol 102 MovieClip |
"cloud2" | Frame 2 | Symbol 104 MovieClip |
"cloud4" | Frame 2 | Symbol 106 MovieClip |
"cloud3" | Frame 2 | Symbol 108 MovieClip |
"play_btn" | Frame 2 | Symbol 129 MovieClip {circlesnake_fla.play_btn_11} |
"highscores_btn" | Frame 2 | Symbol 188 MovieClip {circlesnake_fla.scores_btn_14} |
"instructions_btn" | Frame 2 | Symbol 205 MovieClip {circlesnake_fla.instructions_btn_16} |
"corner_mc" | Frame 2 | Symbol 207 MovieClip {circlesnake_fla.corner_mc_18} |
"main_btn" | Frame 2 | Symbol 224 MovieClip {circlesnake_fla.main_btn_19} |
"dis_mc" | Frame 2 | Symbol 81 MovieClip {square} |
"startgame_mc" | Frame 3 | Symbol 258 MovieClip {circlesnake_fla.startgame_mc_22} |
"avoider_mc" | Frame 3 | Symbol 283 MovieClip {circlesnake_fla.avoider_mc_24} |
"overheat" | Frame 3 | Symbol 288 MovieClip |
"score_txt" | Frame 3 | Symbol 290 EditableText |
"circle10" | Frame 3 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"circle9" | Frame 3 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"circle8" | Frame 3 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"circle7" | Frame 3 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"circle6" | Frame 3 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"circle5" | Frame 3 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"circle4" | Frame 3 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"circle3" | Frame 3 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"circle2" | Frame 3 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"circle1" | Frame 3 | Symbol 90 MovieClip {circlesnake_fla.circle_1} |
"inCircle_mc" | Symbol 90 MovieClip {circlesnake_fla.circle_1} Frame 1 | Symbol 89 MovieClip |
"ref_txt" | Symbol 207 MovieClip {circlesnake_fla.corner_mc_18} Frame 1 | Symbol 206 EditableText |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
Labels
"main_btn" | Frame 2 |
"play_btn" | Frame 3 |
"instructions_btn" | Frame 4 |
"highscores_btn" | Frame 5 |
|