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

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

Ready For My Party.swf

This is the info page for
Flash #256366

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


Text
0

%

loading

Play

Play

More Games

More Games

Play girl games at Yokogames.com

Hey!Can you pick
me up in 20
minutes

Hey!Can you pick me up in 20 minutes

00:00

00:00

00:00

00:00

ActionScript [AS3]

Section 1
//AuxFunctions (caurina.transitions.AuxFunctions) package caurina.transitions { public class AuxFunctions { public static function numberToR(_arg1:Number):Number{ return (((_arg1 & 0xFF0000) >> 16)); } public static function numberToG(_arg1:Number):Number{ return (((_arg1 & 0xFF00) >> 8)); } public static function numberToB(_arg1:Number):Number{ return ((_arg1 & 0xFF)); } public static function getObjectLength(_arg1:Object):uint{ var _local3:String; var _local2:uint; for (_local3 in _arg1) { _local2++; }; return (_local2); } public static function concatObjects(... _args):Object{ var _local3:Object; var _local5:String; var _local2:Object = {}; var _local4:int; while (_local4 < _args.length) { _local3 = _args[_local4]; for (_local5 in _local3) { if (_local3[_local5] == null){ delete _local2[_local5]; } else { _local2[_local5] = _local3[_local5]; }; }; _local4++; }; return (_local2); } } }//package caurina.transitions
Section 2
//Equations (caurina.transitions.Equations) package caurina.transitions { public class Equations { public function Equations(){ trace("Equations is a static class and should not be instantiated."); } public static function 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 easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((_arg3 * _arg1) / _arg4) + _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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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)); } public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; --_arg1; return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); } public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2)); } public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; if (_arg1 < 1){ --_arg1; return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); }; --_arg1; return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2)); } public static function 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 easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2)); } public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2)); } public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2)); }; _arg1 = (_arg1 - 2); _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2)); } public static function 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 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 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 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 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)); } } }//package caurina.transitions
Section 3
//PropertyInfoObj (caurina.transitions.PropertyInfoObj) package caurina.transitions { public class PropertyInfoObj { public var valueStart:Number; public var valueComplete:Number; public var originalValueComplete:Object; public var arrayIndex:Number; public var extra:Object; public var isSpecialProperty:Boolean; public var hasModifier:Boolean; public var modifierFunction:Function; public var modifierParameters:Array; 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 clone():PropertyInfoObj{ var _local1:PropertyInfoObj = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters); return (_local1); } public function toString():String{ var _local1 = "\n[PropertyInfoObj "; _local1 = (_local1 + ("valueStart:" + String(valueStart))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("valueComplete:" + String(valueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("arrayIndex:" + String(arrayIndex))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("extra:" + String(extra))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("hasModifier:" + String(hasModifier))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierFunction:" + String(modifierFunction))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierParameters:" + String(modifierParameters))); _local1 = (_local1 + "]\n"); return (_local1); } } }//package caurina.transitions
Section 4
//SpecialProperty (caurina.transitions.SpecialProperty) package caurina.transitions { public class SpecialProperty { public var getValue:Function; public var setValue:Function; public var parameters:Array; public var preProcess:Function; public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){ getValue = _arg1; setValue = _arg2; parameters = _arg3; preProcess = _arg4; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialProperty "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("setValue:" + String(setValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("preProcess:" + String(preProcess))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 5
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier) package caurina.transitions { public class SpecialPropertyModifier { public var modifyValues:Function; public var getValue:Function; public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){ modifyValues = _arg1; getValue = _arg2; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialPropertyModifier "); _local1 = (_local1 + ("modifyValues:" + String(modifyValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 6
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter) package caurina.transitions { public class SpecialPropertySplitter { public var parameters:Array; public var splitValues:Function; public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){ splitValues = _arg1; parameters = _arg2; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialPropertySplitter "); _local1 = (_local1 + ("splitValues:" + String(splitValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 7
//Tweener (caurina.transitions.Tweener) package caurina.transitions { import flash.display.*; import flash.utils.*; import flash.events.*; public class Tweener { private static var __tweener_controller__:MovieClip; private static var _engineExists:Boolean = false; private static var _inited:Boolean = false; private static var _currentTime:Number; private static var _currentTimeFrame:Number; private static var _tweenList:Array; private static var _timeScale:Number = 1; private static var _transitionList:Object; private static var _specialPropertyList:Object; private static var _specialPropertyModifierList:Object; private static var _specialPropertySplitterList:Object; public static var autoOverwrite:Boolean = true; public function Tweener(){ trace("Tweener is a static class and should not be instantiated."); } public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Number; var _local5:String; var _local6:Array; var _local13:Function; var _local14:Object; var _local15:TweenListObj; var _local16:Number; var _local17:Array; var _local18:Array; var _local19:Array; var _local20:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local6 = _arg1.concat(); } else { _local6 = [_arg1]; }; var _local7:Object = TweenListObj.makePropertiesChain(_arg2); if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; var _local8:Number = (isNaN(_local7.time)) ? 0 : _local7.time; var _local9:Number = (isNaN(_local7.delay)) ? 0 : _local7.delay; var _local10:Array = new Array(); var _local11:Object = {overwrite:true, time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true}; var _local12:Object = new Object(); for (_local5 in _local7) { if (!_local11[_local5]){ if (_specialPropertySplitterList[_local5]){ _local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters); _local3 = 0; while (_local3 < _local17.length) { if (_specialPropertySplitterList[_local17[_local3].name]){ _local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters); _local4 = 0; while (_local4 < _local18.length) { _local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false}; _local4++; }; } else { _local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false}; }; _local3++; }; } else { if (_specialPropertyModifierList[_local5] != undefined){ _local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]); _local3 = 0; while (_local3 < _local19.length) { _local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue}; _local3++; }; } else { _local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]}; }; }; }; }; for (_local5 in _local10) { if (_specialPropertyList[_local5] != undefined){ _local10[_local5].isSpecialProperty = true; } else { if (_local6[0][_local5] == undefined){ printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property.")); }; }; }; for (_local5 in _local12) { if (_local10[_local5] != undefined){ _local10[_local5].modifierParameters = _local12[_local5].modifierParameters; _local10[_local5].modifierFunction = _local12[_local5].modifierFunction; }; }; if (typeof(_local7.transition) == "string"){ _local20 = _local7.transition.toLowerCase(); _local13 = _transitionList[_local20]; } else { _local13 = _local7.transition; }; if (!Boolean(_local13)){ _local13 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local6.length) { _local14 = new Object(); for (_local5 in _local10) { _local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters); }; if (_local7.useFrames == true){ _local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams); } else { _local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams); }; _local15.properties = _local14; _local15.onStart = _local7.onStart; _local15.onUpdate = _local7.onUpdate; _local15.onComplete = _local7.onComplete; _local15.onOverwrite = _local7.onOverwrite; _local15.onError = _local7.onError; _local15.onStartParams = _local7.onStartParams; _local15.onUpdateParams = _local7.onUpdateParams; _local15.onCompleteParams = _local7.onCompleteParams; _local15.onOverwriteParams = _local7.onOverwriteParams; _local15.onStartScope = _local7.onStartScope; _local15.onUpdateScope = _local7.onUpdateScope; _local15.onCompleteScope = _local7.onCompleteScope; _local15.onOverwriteScope = _local7.onOverwriteScope; _local15.onErrorScope = _local7.onErrorScope; _local15.rounded = _local7.rounded; _local15.skipUpdates = _local7.skipUpdates; if (((_local7.overwrite == undefined)) ? autoOverwrite : _local7.overwrite){ 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 addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Array; var _local8:Function; var _local9:TweenListObj; var _local10:Number; var _local11:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local4 = _arg1.concat(); } else { _local4 = [_arg1]; }; var _local5:Object = _arg2; if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; var _local6:Number = (isNaN(_local5.time)) ? 0 : _local5.time; var _local7:Number = (isNaN(_local5.delay)) ? 0 : _local5.delay; if (typeof(_local5.transition) == "string"){ _local11 = _local5.transition.toLowerCase(); _local8 = _transitionList[_local11]; } else { _local8 = _local5.transition; }; if (!Boolean(_local8)){ _local8 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local4.length) { if (_local5.useFrames == true){ _local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams); } else { _local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams); }; _local9.properties = null; _local9.onStart = _local5.onStart; _local9.onUpdate = _local5.onUpdate; _local9.onComplete = _local5.onComplete; _local9.onOverwrite = _local5.onOverwrite; _local9.onStartParams = _local5.onStartParams; _local9.onUpdateParams = _local5.onUpdateParams; _local9.onCompleteParams = _local5.onCompleteParams; _local9.onOverwriteParams = _local5.onOverwriteParams; _local9.onStartScope = _local5.onStartScope; _local9.onUpdateScope = _local5.onUpdateScope; _local9.onCompleteScope = _local5.onCompleteScope; _local9.onOverwriteScope = _local5.onOverwriteScope; _local9.onErrorScope = _local5.onErrorScope; _local9.isCaller = true; _local9.count = _local5.count; _local9.waitFrames = _local5.waitFrames; _tweenList.push(_local9); if ((((_local6 == 0)) && ((_local7 == 0)))){ _local10 = (_tweenList.length - 1); updateTweenByIndex(_local10); removeTweenByIndex(_local10); }; _local3++; }; return (true); } public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{ var removedLocally:Boolean; var i:uint; var pName:String; var eventScope:Object; var p_scope = _arg1; var p_properties = _arg2; var p_timeStart = _arg3; var p_timeComplete = _arg4; var removed:Boolean; var tl:uint = _tweenList.length; i = 0; while (i < tl) { if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){ if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){ removedLocally = false; for (pName in _tweenList[i].properties) { if (Boolean(p_properties[pName])){ if (Boolean(_tweenList[i].onOverwrite)){ eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope; try { _tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams); } catch(e:Error) { handleError(_tweenList[i], e, "onOverwrite"); }; }; _tweenList[i].properties[pName] = undefined; delete _tweenList[i].properties[pName]; removedLocally = true; removed = true; }; }; if (removedLocally){ if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){ removeTweenByIndex(i); }; }; }; }; i = (i + 1); }; return (removed); } public static function removeTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local5:SpecialPropertySplitter; var _local6:Array; var _local7:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ if (_specialPropertySplitterList[_args[_local4]]){ _local5 = _specialPropertySplitterList[_args[_local4]]; _local6 = _local5.splitValues(_arg1, null); _local7 = 0; while (_local7 < _local6.length) { _local3.push(_local6[_local7].name); _local7++; }; } else { _local3.push(_args[_local4]); }; }; _local4++; }; return (affectTweens(removeTweenByIndex, _arg1, _local3)); } public static function removeAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { removeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function pauseTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(pauseTweenByIndex, _arg1, _local3)); } public static function pauseAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { pauseTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function resumeTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(resumeTweenByIndex, _arg1, _local3)); } public static function resumeAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { resumeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{ var _local5:uint; var _local6:Array; var _local7:uint; var _local8:uint; var _local9:uint; var _local4:Boolean; if (!Boolean(_tweenList)){ return (false); }; _local5 = 0; while (_local5 < _tweenList.length) { if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){ if (_arg3.length == 0){ _arg1(_local5); _local4 = true; } else { _local6 = new Array(); _local7 = 0; while (_local7 < _arg3.length) { if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){ _local6.push(_arg3[_local7]); }; _local7++; }; if (_local6.length > 0){ _local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties); if (_local8 == _local6.length){ _arg1(_local5); _local4 = true; } else { _local9 = splitTweens(_local5, _local6); _arg1(_local9); _local4 = true; }; }; }; }; _local5++; }; return (_local4); } public static function splitTweens(_arg1:Number, _arg2:Array):uint{ var _local5:uint; var _local6:String; var _local7:Boolean; var _local3:TweenListObj = _tweenList[_arg1]; var _local4:TweenListObj = _local3.clone(false); _local5 = 0; while (_local5 < _arg2.length) { _local6 = _arg2[_local5]; if (Boolean(_local3.properties[_local6])){ _local3.properties[_local6] = undefined; delete _local3.properties[_local6]; }; _local5++; }; for (_local6 in _local4.properties) { _local7 = false; _local5 = 0; while (_local5 < _arg2.length) { if (_arg2[_local5] == _local6){ _local7 = true; break; }; _local5++; }; if (!_local7){ _local4.properties[_local6] = undefined; delete _local4.properties[_local6]; }; }; _tweenList.push(_local4); return ((_tweenList.length - 1)); } 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 removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{ _tweenList[_arg1] = null; if (_arg2){ _tweenList.splice(_arg1, 1); }; return (true); } public static function pauseTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj = _tweenList[_arg1]; if ((((_local2 == null)) || (_local2.isPaused))){ return (false); }; _local2.timePaused = getCurrentTweeningTime(_local2); _local2.isPaused = true; return (true); } public static function resumeTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj = _tweenList[_arg1]; if ((((_local2 == null)) || (!(_local2.isPaused)))){ return (false); }; var _local3:Number = getCurrentTweeningTime(_local2); _local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused)); _local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused)); _local2.timePaused = undefined; _local2.isPaused = false; return (true); } private static function updateTweenByIndex(_arg1:Number):Boolean{ var tTweening:TweenListObj; var mustUpdate:Boolean; var nv:Number; var t:Number; var b:Number; var c:Number; var d:Number; var pName:String; var eventScope:Object; var tScope:Object; var tProperty:Object; var pv:Number; var i = _arg1; tTweening = _tweenList[i]; if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){ return (false); }; var isOver:Boolean; var cTime:Number = getCurrentTweeningTime(tTweening); if (cTime >= tTweening.timeStart){ tScope = tTweening.scope; if (tTweening.isCaller){ do { t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1)); b = tTweening.timeStart; c = (tTweening.timeComplete - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d); } while (!(cTime >= nv)); } else { mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates))); if (cTime >= tTweening.timeComplete){ isOver = true; mustUpdate = true; }; if (!tTweening.hasStarted){ if (Boolean(tTweening.onStart)){ eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope; try { tTweening.onStart.apply(eventScope, tTweening.onStartParams); } catch(e2:Error) { handleError(tTweening, e2, "onStart"); }; }; for (pName in tTweening.properties) { if (tTweening.properties[pName].isSpecialProperty){ if (Boolean(_specialPropertyList[pName].preProcess)){ tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra); }; pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { pv = tScope[pName]; }; tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv; }; mustUpdate = true; tTweening.hasStarted = true; }; if (mustUpdate){ for (pName in tTweening.properties) { tProperty = tTweening.properties[pName]; if (isOver){ nv = tProperty.valueComplete; } else { if (tProperty.hasModifier){ t = (cTime - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams); nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters); } else { t = (cTime - tTweening.timeStart); b = tProperty.valueStart; c = (tProperty.valueComplete - tProperty.valueStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d, tTweening.transitionParams); }; }; if (tTweening.rounded){ nv = Math.round(nv); }; if (tProperty.isSpecialProperty){ _specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { tScope[pName] = nv; }; }; tTweening.updatesSkipped = 0; if (Boolean(tTweening.onUpdate)){ eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope; try { tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams); } catch(e3:Error) { handleError(tTweening, e3, "onUpdate"); }; }; } else { tTweening.updatesSkipped++; }; }; if (((isOver) && (Boolean(tTweening.onComplete)))){ eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope; try { tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams); } catch(e4:Error) { handleError(tTweening, e4, "onComplete"); }; }; return (!(isOver)); }; return (true); } public static function init(... _args):void{ _inited = true; _transitionList = new Object(); Equations.init(); _specialPropertyList = new Object(); _specialPropertyModifierList = new Object(); _specialPropertySplitterList = new Object(); } public static function registerTransition(_arg1:String, _arg2:Function):void{ if (!_inited){ init(); }; _transitionList[_arg1] = _arg2; } public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{ if (!_inited){ init(); }; var _local6:SpecialProperty = new SpecialProperty(_arg2, _arg3, _arg4, _arg5); _specialPropertyList[_arg1] = _local6; } public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{ if (!_inited){ init(); }; var _local4:SpecialPropertyModifier = new SpecialPropertyModifier(_arg2, _arg3); _specialPropertyModifierList[_arg1] = _local4; } public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{ if (!_inited){ init(); }; var _local4:SpecialPropertySplitter = new SpecialPropertySplitter(_arg2, _arg3); _specialPropertySplitterList[_arg1] = _local4; } 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(); } 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 updateTime():void{ _currentTime = getTimer(); } public static function updateFrame():void{ _currentTimeFrame++; } public static function onEnterFrame(_arg1:Event):void{ updateTime(); updateFrame(); var _local2:Boolean; _local2 = updateTweens(); if (!_local2){ stopEngine(); }; } 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 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 getTweens(_arg1:Object):Array{ var _local2:uint; var _local3:String; if (!Boolean(_tweenList)){ return ([]); }; var _local4:Array = new Array(); _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ for (_local3 in _tweenList[_local2].properties) { _local4.push(_local3); }; }; _local2++; }; return (_local4); } public static function getTweenCount(_arg1:Object):Number{ var _local2:uint; if (!Boolean(_tweenList)){ return (0); }; var _local3:Number = 0; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ _local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties)); }; _local2++; }; return (_local3); } private static function 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())); }; }; } public static function getCurrentTweeningTime(_arg1:Object):Number{ return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime); } public static function getVersion():String{ return ("AS3 1.33.74"); } public static function printError(_arg1:String):void{ trace(("## [Tweener] Error: " + _arg1)); } } }//package caurina.transitions
Section 8
//TweenListObj (caurina.transitions.TweenListObj) package caurina.transitions { public class TweenListObj { public var scope:Object; public var properties:Object; public var timeStart:Number; public var timeComplete:Number; public var useFrames:Boolean; public var transition:Function; public var transitionParams:Object; public var onStart:Function; public var onUpdate:Function; public var onComplete:Function; public var onOverwrite:Function; public var onError:Function; public var onStartParams:Array; public var onUpdateParams:Array; public var onCompleteParams:Array; public var onOverwriteParams:Array; public var onStartScope:Object; public var onUpdateScope:Object; public var onCompleteScope:Object; public var onOverwriteScope:Object; public var onErrorScope:Object; public var rounded:Boolean; public var isPaused:Boolean; public var timePaused:Number; public var isCaller:Boolean; public var count:Number; public var timesCalled:Number; public var waitFrames:Boolean; public var skipUpdates:Number; public var updatesSkipped:Number; public var hasStarted:Boolean; public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){ scope = _arg1; timeStart = _arg2; timeComplete = _arg3; useFrames = _arg4; transition = _arg5; transitionParams = _arg6; properties = new Object(); isPaused = false; timePaused = undefined; isCaller = false; updatesSkipped = 0; timesCalled = 0; skipUpdates = 0; hasStarted = false; } public function clone(_arg1:Boolean):TweenListObj{ var _local3:String; var _local2:TweenListObj = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams); _local2.properties = new Array(); for (_local3 in properties) { _local2.properties[_local3] = properties[_local3].clone(); }; _local2.skipUpdates = skipUpdates; _local2.updatesSkipped = updatesSkipped; if (!_arg1){ _local2.onStart = onStart; _local2.onUpdate = onUpdate; _local2.onComplete = onComplete; _local2.onOverwrite = onOverwrite; _local2.onError = onError; _local2.onStartParams = onStartParams; _local2.onUpdateParams = onUpdateParams; _local2.onCompleteParams = onCompleteParams; _local2.onOverwriteParams = onOverwriteParams; _local2.onStartScope = onStartScope; _local2.onUpdateScope = onUpdateScope; _local2.onCompleteScope = onCompleteScope; _local2.onOverwriteScope = onOverwriteScope; _local2.onErrorScope = onErrorScope; }; _local2.rounded = rounded; _local2.isPaused = isPaused; _local2.timePaused = timePaused; _local2.isCaller = isCaller; _local2.count = count; _local2.timesCalled = timesCalled; _local2.waitFrames = waitFrames; _local2.hasStarted = hasStarted; return (_local2); } public function toString():String{ var _local3:String; var _local1 = "\n[TweenListObj "; _local1 = (_local1 + ("scope:" + String(scope))); _local1 = (_local1 + ", properties:"); var _local2:Boolean; for (_local3 in properties) { if (!_local2){ _local1 = (_local1 + ","); }; _local1 = (_local1 + ("[name:" + properties[_local3].name)); _local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart)); _local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete)); _local1 = (_local1 + "]"); _local2 = false; }; _local1 = (_local1 + (", timeStart:" + String(timeStart))); _local1 = (_local1 + (", timeComplete:" + String(timeComplete))); _local1 = (_local1 + (", useFrames:" + String(useFrames))); _local1 = (_local1 + (", transition:" + String(transition))); _local1 = (_local1 + (", transitionParams:" + String(transitionParams))); if (skipUpdates){ _local1 = (_local1 + (", skipUpdates:" + String(skipUpdates))); }; if (updatesSkipped){ _local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped))); }; if (Boolean(onStart)){ _local1 = (_local1 + (", onStart:" + String(onStart))); }; if (Boolean(onUpdate)){ _local1 = (_local1 + (", onUpdate:" + String(onUpdate))); }; if (Boolean(onComplete)){ _local1 = (_local1 + (", onComplete:" + String(onComplete))); }; if (Boolean(onOverwrite)){ _local1 = (_local1 + (", onOverwrite:" + String(onOverwrite))); }; if (Boolean(onError)){ _local1 = (_local1 + (", onError:" + String(onError))); }; if (onStartParams){ _local1 = (_local1 + (", onStartParams:" + String(onStartParams))); }; if (onUpdateParams){ _local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams))); }; if (onCompleteParams){ _local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams))); }; if (onOverwriteParams){ _local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams))); }; if (onStartScope){ _local1 = (_local1 + (", onStartScope:" + String(onStartScope))); }; if (onUpdateScope){ _local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope))); }; if (onCompleteScope){ _local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope))); }; if (onOverwriteScope){ _local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope))); }; if (onErrorScope){ _local1 = (_local1 + (", onErrorScope:" + String(onErrorScope))); }; if (rounded){ _local1 = (_local1 + (", rounded:" + String(rounded))); }; if (isPaused){ _local1 = (_local1 + (", isPaused:" + String(isPaused))); }; if (timePaused){ _local1 = (_local1 + (", timePaused:" + String(timePaused))); }; if (isCaller){ _local1 = (_local1 + (", isCaller:" + String(isCaller))); }; if (count){ _local1 = (_local1 + (", count:" + String(count))); }; if (timesCalled){ _local1 = (_local1 + (", timesCalled:" + String(timesCalled))); }; if (waitFrames){ _local1 = (_local1 + (", waitFrames:" + String(waitFrames))); }; if (hasStarted){ _local1 = (_local1 + (", hasStarted:" + String(hasStarted))); }; _local1 = (_local1 + "]\n"); return (_local1); } public static function makePropertiesChain(_arg1:Object):Object{ var _local3:Object; var _local4:Object; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Number; var _local2:Object = _arg1.base; if (_local2){ _local3 = {}; if ((_local2 is Array)){ _local4 = []; _local8 = 0; while (_local8 < _local2.length) { _local4.push(_local2[_local8]); _local8++; }; } else { _local4 = [_local2]; }; _local4.push(_arg1); _local6 = _local4.length; _local7 = 0; while (_local7 < _local6) { if (_local4[_local7]["base"]){ _local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]); } else { _local5 = _local4[_local7]; }; _local3 = AuxFunctions.concatObjects(_local3, _local5); _local7++; }; if (_local3["base"]){ delete _local3["base"]; }; return (_local3); //unresolved jump }; return (_arg1); } } }//package caurina.transitions
Section 9
//BitString (com.adobe.images.BitString) package com.adobe.images { public class BitString { public var val:int;// = 0 public var len:int;// = 0 } }//package com.adobe.images
Section 10
//JPGEncoder (com.adobe.images.JPGEncoder) package com.adobe.images { import flash.display.*; import flash.utils.*; import flash.geom.*; public class JPGEncoder { private var fdtbl_UV:Array; private var std_ac_chrominance_values:Array; private var std_dc_chrominance_values:Array; private var ZigZag:Array; private var YDC_HT:Array; private var YAC_HT:Array; private var bytenew:int;// = 0 private var fdtbl_Y:Array; private var std_ac_chrominance_nrcodes:Array; private var DU:Array; private var std_ac_luminance_values:Array; private var std_dc_chrominance_nrcodes:Array; private var UVTable:Array; private var YDU:Array; private var UDU:Array; private var byteout:ByteArray; private var UVAC_HT:Array; private var UVDC_HT:Array; private var bytepos:int;// = 7 private var VDU:Array; private var std_ac_luminance_nrcodes:Array; private var std_dc_luminance_values:Array; private var YTable:Array; private var std_dc_luminance_nrcodes:Array; private var bitcode:Array; private var category:Array; public function JPGEncoder(_arg1:Number=50){ this.ZigZag = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63]; this.YTable = new Array(64); this.UVTable = new Array(64); this.fdtbl_Y = new Array(64); this.fdtbl_UV = new Array(64); this.std_dc_luminance_nrcodes = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0]; this.std_dc_luminance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; this.std_ac_luminance_nrcodes = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125]; this.std_ac_luminance_values = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250]; this.std_dc_chrominance_nrcodes = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0]; this.std_dc_chrominance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; this.std_ac_chrominance_nrcodes = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119]; this.std_ac_chrominance_values = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250]; this.bitcode = new Array(0xFFFF); this.category = new Array(0xFFFF); this.DU = new Array(64); this.YDU = new Array(64); this.UDU = new Array(64); this.VDU = new Array(64); super(); if (_arg1 <= 0){ _arg1 = 1; }; if (_arg1 > 100){ _arg1 = 100; }; var _local2:int; if (_arg1 < 50){ _local2 = int((5000 / _arg1)); } else { _local2 = int((200 - (_arg1 * 2))); }; this.initHuffmanTbl(); this.initCategoryNumber(); this.initQuantTables(_local2); } private function initHuffmanTbl():void{ this.YDC_HT = this.computeHuffmanTbl(this.std_dc_luminance_nrcodes, this.std_dc_luminance_values); this.UVDC_HT = this.computeHuffmanTbl(this.std_dc_chrominance_nrcodes, this.std_dc_chrominance_values); this.YAC_HT = this.computeHuffmanTbl(this.std_ac_luminance_nrcodes, this.std_ac_luminance_values); this.UVAC_HT = this.computeHuffmanTbl(this.std_ac_chrominance_nrcodes, this.std_ac_chrominance_values); } private function RGB2YUV(_arg1:BitmapData, _arg2:int, _arg3:int):void{ var _local6:int; var _local7:uint; var _local8:Number; var _local9:Number; var _local10:Number; var _local4:int; var _local5:int; while (_local5 < 8) { _local6 = 0; while (_local6 < 8) { _local7 = _arg1.getPixel32((_arg2 + _local6), (_arg3 + _local5)); _local8 = Number(((_local7 >> 16) & 0xFF)); _local9 = Number(((_local7 >> 8) & 0xFF)); _local10 = Number((_local7 & 0xFF)); this.YDU[_local4] = ((((0.299 * _local8) + (0.587 * _local9)) + (0.114 * _local10)) - 128); this.UDU[_local4] = (((-0.16874 * _local8) + (-0.33126 * _local9)) + (0.5 * _local10)); this.VDU[_local4] = (((0.5 * _local8) + (-0.41869 * _local9)) + (-0.08131 * _local10)); _local4++; _local6++; }; _local5++; }; } private function writeBits(_arg1:BitString):void{ var _local2:int = _arg1.val; var _local3:int = (_arg1.len - 1); while (_local3 >= 0) { if ((_local2 & uint((1 << _local3)))){ this.bytenew = (this.bytenew | uint((1 << this.bytepos))); }; _local3--; this.bytepos--; if (this.bytepos < 0){ if (this.bytenew == 0xFF){ this.writeByte(0xFF); this.writeByte(0); } else { this.writeByte(this.bytenew); }; this.bytepos = 7; this.bytenew = 0; }; }; } private function writeWord(_arg1:int):void{ this.writeByte(((_arg1 >> 8) & 0xFF)); this.writeByte((_arg1 & 0xFF)); } private function writeByte(_arg1:int):void{ this.byteout.writeByte(_arg1); } private function writeDHT():void{ var _local1:int; this.writeWord(65476); this.writeWord(418); this.writeByte(0); _local1 = 0; while (_local1 < 16) { this.writeByte(this.std_dc_luminance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 11) { this.writeByte(this.std_dc_luminance_values[_local1]); _local1++; }; this.writeByte(16); _local1 = 0; while (_local1 < 16) { this.writeByte(this.std_ac_luminance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 161) { this.writeByte(this.std_ac_luminance_values[_local1]); _local1++; }; this.writeByte(1); _local1 = 0; while (_local1 < 16) { this.writeByte(this.std_dc_chrominance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 11) { this.writeByte(this.std_dc_chrominance_values[_local1]); _local1++; }; this.writeByte(17); _local1 = 0; while (_local1 < 16) { this.writeByte(this.std_ac_chrominance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 161) { this.writeByte(this.std_ac_chrominance_values[_local1]); _local1++; }; } public function encode(_arg1:BitmapData):ByteArray{ var _local6:int; var _local7:BitString; this.byteout = new ByteArray(); this.bytenew = 0; this.bytepos = 7; this.writeWord(65496); this.writeAPP0(); this.writeDQT(); this.writeSOF0(_arg1.width, _arg1.height); this.writeDHT(); this.writeSOS(); var _local2:Number = 0; var _local3:Number = 0; var _local4:Number = 0; this.bytenew = 0; this.bytepos = 7; var _local5:int; while (_local5 < _arg1.height) { _local6 = 0; while (_local6 < _arg1.width) { this.RGB2YUV(_arg1, _local6, _local5); _local2 = this.processDU(this.YDU, this.fdtbl_Y, _local2, this.YDC_HT, this.YAC_HT); _local3 = this.processDU(this.UDU, this.fdtbl_UV, _local3, this.UVDC_HT, this.UVAC_HT); _local4 = this.processDU(this.VDU, this.fdtbl_UV, _local4, this.UVDC_HT, this.UVAC_HT); _local6 = (_local6 + 8); }; _local5 = (_local5 + 8); }; if (this.bytepos >= 0){ _local7 = new BitString(); _local7.len = (this.bytepos + 1); _local7.val = ((1 << (this.bytepos + 1)) - 1); this.writeBits(_local7); }; this.writeWord(65497); return (this.byteout); } private function initCategoryNumber():void{ var _local3:int; var _local1 = 1; var _local2 = 2; var _local4 = 1; while (_local4 <= 15) { _local3 = _local1; while (_local3 < _local2) { this.category[(32767 + _local3)] = _local4; this.bitcode[(32767 + _local3)] = new BitString(); this.bitcode[(32767 + _local3)].len = _local4; this.bitcode[(32767 + _local3)].val = _local3; _local3++; }; _local3 = -((_local2 - 1)); while (_local3 <= -(_local1)) { this.category[(32767 + _local3)] = _local4; this.bitcode[(32767 + _local3)] = new BitString(); this.bitcode[(32767 + _local3)].len = _local4; this.bitcode[(32767 + _local3)].val = ((_local2 - 1) + _local3); _local3++; }; _local1 = (_local1 << 1); _local2 = (_local2 << 1); _local4++; }; } private function writeDQT():void{ var _local1:int; this.writeWord(65499); this.writeWord(132); this.writeByte(0); _local1 = 0; while (_local1 < 64) { this.writeByte(this.YTable[_local1]); _local1++; }; this.writeByte(1); _local1 = 0; while (_local1 < 64) { this.writeByte(this.UVTable[_local1]); _local1++; }; } private function writeAPP0():void{ this.writeWord(65504); this.writeWord(16); this.writeByte(74); this.writeByte(70); this.writeByte(73); this.writeByte(70); this.writeByte(0); this.writeByte(1); this.writeByte(1); this.writeByte(0); this.writeWord(1); this.writeWord(1); this.writeByte(0); this.writeByte(0); } private function writeSOS():void{ this.writeWord(65498); this.writeWord(12); this.writeByte(3); this.writeByte(1); this.writeByte(0); this.writeByte(2); this.writeByte(17); this.writeByte(3); this.writeByte(17); this.writeByte(0); this.writeByte(63); this.writeByte(0); } private function processDU(_arg1:Array, _arg2:Array, _arg3:Number, _arg4:Array, _arg5:Array):Number{ var _local8:int; var _local12:int; var _local13:int; var _local14:int; var _local6:BitString = _arg5[0]; var _local7:BitString = _arg5[240]; var _local9:Array = this.fDCTQuant(_arg1, _arg2); _local8 = 0; while (_local8 < 64) { this.DU[this.ZigZag[_local8]] = _local9[_local8]; _local8++; }; var _local10:int = (this.DU[0] - _arg3); _arg3 = this.DU[0]; if (_local10 == 0){ this.writeBits(_arg4[0]); } else { this.writeBits(_arg4[this.category[(32767 + _local10)]]); this.writeBits(this.bitcode[(32767 + _local10)]); }; var _local11 = 63; while ((((_local11 > 0)) && ((this.DU[_local11] == 0)))) { _local11--; }; if (_local11 == 0){ this.writeBits(_local6); return (_arg3); }; _local8 = 1; while (_local8 <= _local11) { _local12 = _local8; while ((((this.DU[_local8] == 0)) && ((_local8 <= _local11)))) { _local8++; }; _local13 = (_local8 - _local12); if (_local13 >= 16){ _local14 = 1; while (_local14 <= (_local13 / 16)) { this.writeBits(_local7); _local14++; }; _local13 = int((_local13 & 15)); }; this.writeBits(_arg5[((_local13 * 16) + this.category[(32767 + this.DU[_local8])])]); this.writeBits(this.bitcode[(32767 + this.DU[_local8])]); _local8++; }; if (_local11 != 63){ this.writeBits(_local6); }; return (_arg3); } private function initQuantTables(_arg1:int):void{ var _local2:int; var _local3:Number; var _local8:int; var _local4:Array = [16, 11, 10, 16, 24, 40, 51, 61, 12, 12, 14, 19, 26, 58, 60, 55, 14, 13, 16, 24, 40, 57, 69, 56, 14, 17, 22, 29, 51, 87, 80, 62, 18, 22, 37, 56, 68, 109, 103, 77, 24, 35, 55, 64, 81, 104, 113, 92, 49, 64, 78, 87, 103, 121, 120, 101, 72, 92, 95, 98, 112, 100, 103, 99]; _local2 = 0; while (_local2 < 64) { _local3 = Math.floor((((_local4[_local2] * _arg1) + 50) / 100)); if (_local3 < 1){ _local3 = 1; } else { if (_local3 > 0xFF){ _local3 = 0xFF; }; }; this.YTable[this.ZigZag[_local2]] = _local3; _local2++; }; var _local5:Array = [17, 18, 24, 47, 99, 99, 99, 99, 18, 21, 26, 66, 99, 99, 99, 99, 24, 26, 56, 99, 99, 99, 99, 99, 47, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]; _local2 = 0; while (_local2 < 64) { _local3 = Math.floor((((_local5[_local2] * _arg1) + 50) / 100)); if (_local3 < 1){ _local3 = 1; } else { if (_local3 > 0xFF){ _local3 = 0xFF; }; }; this.UVTable[this.ZigZag[_local2]] = _local3; _local2++; }; var _local6:Array = [1, 1.387039845, 1.306562965, 1.175875602, 1, 0.785694958, 0.5411961, 0.275899379]; _local2 = 0; var _local7:int; while (_local7 < 8) { _local8 = 0; while (_local8 < 8) { this.fdtbl_Y[_local2] = (1 / (((this.YTable[this.ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8)); this.fdtbl_UV[_local2] = (1 / (((this.UVTable[this.ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8)); _local2++; _local8++; }; _local7++; }; } private function writeSOF0(_arg1:int, _arg2:int):void{ this.writeWord(65472); this.writeWord(17); this.writeByte(8); this.writeWord(_arg2); this.writeWord(_arg1); this.writeByte(3); this.writeByte(1); this.writeByte(17); this.writeByte(0); this.writeByte(2); this.writeByte(17); this.writeByte(1); this.writeByte(3); this.writeByte(17); this.writeByte(1); } private function computeHuffmanTbl(_arg1:Array, _arg2:Array):Array{ var _local7:int; var _local3:int; var _local4:int; var _local5:Array = new Array(); var _local6 = 1; while (_local6 <= 16) { _local7 = 1; while (_local7 <= _arg1[_local6]) { _local5[_arg2[_local4]] = new BitString(); _local5[_arg2[_local4]].val = _local3; _local5[_arg2[_local4]].len = _local6; _local4++; _local3++; _local7++; }; _local3 = (_local3 * 2); _local6++; }; return (_local5); } private function fDCTQuant(_arg1:Array, _arg2:Array):Array{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:int; var _local23:int; _local22 = 0; while (_local22 < 8) { _local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 7)]); _local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 7)]); _local4 = (_arg1[(_local23 + 1)] + _arg1[(_local23 + 6)]); _local9 = (_arg1[(_local23 + 1)] - _arg1[(_local23 + 6)]); _local5 = (_arg1[(_local23 + 2)] + _arg1[(_local23 + 5)]); _local8 = (_arg1[(_local23 + 2)] - _arg1[(_local23 + 5)]); _local6 = (_arg1[(_local23 + 3)] + _arg1[(_local23 + 4)]); _local7 = (_arg1[(_local23 + 3)] - _arg1[(_local23 + 4)]); _local11 = (_local3 + _local6); _local14 = (_local3 - _local6); _local12 = (_local4 + _local5); _local13 = (_local4 - _local5); _arg1[(_local23 + 0)] = (_local11 + _local12); _arg1[(_local23 + 4)] = (_local11 - _local12); _local15 = ((_local13 + _local14) * 0.707106781); _arg1[(_local23 + 2)] = (_local14 + _local15); _arg1[(_local23 + 6)] = (_local14 - _local15); _local11 = (_local7 + _local8); _local12 = (_local8 + _local9); _local13 = (_local9 + _local10); _local19 = ((_local11 - _local13) * 0.382683433); _local16 = ((0.5411961 * _local11) + _local19); _local18 = ((1.306562965 * _local13) + _local19); _local17 = (_local12 * 0.707106781); _local20 = (_local10 + _local17); _local21 = (_local10 - _local17); _arg1[(_local23 + 5)] = (_local21 + _local16); _arg1[(_local23 + 3)] = (_local21 - _local16); _arg1[(_local23 + 1)] = (_local20 + _local18); _arg1[(_local23 + 7)] = (_local20 - _local18); _local23 = (_local23 + 8); _local22++; }; _local23 = 0; _local22 = 0; while (_local22 < 8) { _local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 56)]); _local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 56)]); _local4 = (_arg1[(_local23 + 8)] + _arg1[(_local23 + 48)]); _local9 = (_arg1[(_local23 + 8)] - _arg1[(_local23 + 48)]); _local5 = (_arg1[(_local23 + 16)] + _arg1[(_local23 + 40)]); _local8 = (_arg1[(_local23 + 16)] - _arg1[(_local23 + 40)]); _local6 = (_arg1[(_local23 + 24)] + _arg1[(_local23 + 32)]); _local7 = (_arg1[(_local23 + 24)] - _arg1[(_local23 + 32)]); _local11 = (_local3 + _local6); _local14 = (_local3 - _local6); _local12 = (_local4 + _local5); _local13 = (_local4 - _local5); _arg1[(_local23 + 0)] = (_local11 + _local12); _arg1[(_local23 + 32)] = (_local11 - _local12); _local15 = ((_local13 + _local14) * 0.707106781); _arg1[(_local23 + 16)] = (_local14 + _local15); _arg1[(_local23 + 48)] = (_local14 - _local15); _local11 = (_local7 + _local8); _local12 = (_local8 + _local9); _local13 = (_local9 + _local10); _local19 = ((_local11 - _local13) * 0.382683433); _local16 = ((0.5411961 * _local11) + _local19); _local18 = ((1.306562965 * _local13) + _local19); _local17 = (_local12 * 0.707106781); _local20 = (_local10 + _local17); _local21 = (_local10 - _local17); _arg1[(_local23 + 40)] = (_local21 + _local16); _arg1[(_local23 + 24)] = (_local21 - _local16); _arg1[(_local23 + 8)] = (_local20 + _local18); _arg1[(_local23 + 56)] = (_local20 - _local18); _local23++; _local22++; }; _local22 = 0; while (_local22 < 64) { _arg1[_local22] = Math.round((_arg1[_local22] * _arg2[_local22])); _local22++; }; return (_arg1); } } }//package com.adobe.images
Section 11
//MochiAd (mochi.as3.MochiAd) package mochi.as3 { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.net.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return (MochiServices.getVersion()); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var mc = _arg1; var f:Function = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function showPreGameAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var complete:Boolean; var unloaded:Boolean; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:5500, 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{ }, progress_override:function (_arg1:Object):Number{ return (NaN); }, bar_offset:0}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); return; }; clip = options.clip; var ad_msec:Number = 11000; var ad_timeout:Number = options.ad_timeout; if (options.skip){ ad_timeout = 0; }; delete options.ad_timeout; var fadeout_time:Number = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); var fn:Function = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); var bar:MovieClip = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = (10 + options.bar_offset); bar.y = (h - 20); }; var bar_w:Number = ((w - bar.x) - 10); var bar_color:Number = options.color; delete options.color; var bar_background:Number = options.background; delete options.background; var bar_outline:Number = options.outline; delete options.outline; var backing_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 1); var backing:Object = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo(bar_w, 0); backing.lineTo(bar_w, 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); var inside_mc:MovieClip = createEmptyMovieClip(bar, "_inside", 2); var inside:Object = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo(bar_w, 0); inside.lineTo(bar_w, 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; var outline_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 3); var outline:Object = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo(bar_w, 0); outline.lineTo(bar_w, 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; var progress:Number = Math.min(1, options.progress_override(clip)); var f:Function = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; if (!isNaN(progress)){ complete = (progress == 1); } else { if (clip.loaderInfo.bytesLoaded == clip.loaderInfo.bytesTotal){ complete = true; } else { if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; } else { clip.loaderInfo.addEventListener(Event.COMPLETE, f); }; } else { clip.loaderInfo.addEventListener(Event.COMPLETE, f); }; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ trace(("[MOCHIAD rpcTestFn] " + _arg1)); return (_arg1); }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local12:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; var _local1:Object = this.parent.parent.root; var _local2:Object = this.parent._mochiad_ctr; var _local3:Number = (getTimer() - this.started); var _local4:Boolean; var _local5:Number = _local1.loaderInfo.bytesTotal; var _local6:Number = _local1.loaderInfo.bytesLoaded; var _local7:Number = Math.min(1, options.progress_override(_local1)); if (_local7 == 1){ complete = true; }; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; var _local8:Number = ((100 * _local6) / _local5); if (!isNaN(_local7)){ _local8 = (100 * _local7); }; var _local9:Number = ((100 * _local3) / chk.ad_msec); var _local10:Object = this._mochiad_bar._inside; var _local11:Number = Math.min(100, Math.min(((_local8) || (0)), _local9)); _local11 = Math.max(this.last_pcnt, _local11); this.last_pcnt = _local11; _local10.scaleX = (_local11 * 0.01); options.ad_progress(_local11); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local8}); if (_local8 >= 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local12 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local12 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local8 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (unloaded){ MochiAd.unload(_local1); } else { if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; }; doOnEnterFrame(chk); } public static function showClickAwayAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:5500, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; var _local1:Object = this.parent._mochiad_ctr; var _local2:Number = (getTimer() - this.started); var _local3:Boolean; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function showInterLevelAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:5500, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; var ad_msec:Number = 11000; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; var fadeout_time:Number = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; var _local1:Object = this.parent._mochiad_ctr; var _local2:Number = (getTimer() - this.started); var _local3:Boolean; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function 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 _allowDomains(_arg1:String):String{ var _local2:String = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType == "application"){ return (_local2); }; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function load(_arg1:Object):MovieClip{ var clip:Object; var mc:MovieClip; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; var DEFAULTS:Object = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!(clip is DisplayObject)){ trace("Warning: Object passed as container clip not a descendant of the DisplayObject type"); return (null); }; if (MovieClip(clip).stage == null){ trace("Warning: Container clip for ad is not attached to the stage"); return (null); }; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; var depth:Number = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); var wh:Array = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; } else { trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal"); }; var lv:URLVariables = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime())); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function (_arg1:IOErrorEvent):void{ trace("[MochiAds] Blocked URL"); }); if (!options.skip){ loader.load(req); }; mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } 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 _cleanup(_arg1:Object):void{ var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; var idx:Number = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local6:Array; var _local3:Object = _arg2.getBounds(_arg2.root); var _local4:Number = 0; var _local5:Number = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.right - _local3.left); _local5 = (_local3.top - _local3.bottom); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; var _local3:Object = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); }; return (_local3); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = MochiAd.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; default: trace(("[mochiads rpc] unknown rpc id: " + _arg3.id)); }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array = _arg2.split("."); var _local5:Number = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array = _arg2.split("."); var _local4:Number = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array = _arg2.split("."); var _local5:Number = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } } }//package mochi.as3
Section 12
//MochiCoins (mochi.as3.MochiCoins) package mochi.as3 { public class MochiCoins { public static const STORE_SHOW:String = "StoreShow"; public static const STORE_HIDE:String = "StoreHide"; public static const ITEM_OWNED:String = "ItemOwned"; public static const ITEM_NEW:String = "ItemNew"; public static const STORE_ITEMS:String = "StoreItems"; public static const ERROR:String = "Error"; public static const IO_ERROR:String = "IOError"; public static const NO_USER:String = "NoUser"; public static var _inventory:MochiInventory; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public static function get inventory():MochiInventory{ return (_inventory); } public static function getVersion():String{ return (MochiServices.getVersion()); } public static function showStore(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("coins_showStore", {options:_arg1}, null, null); } public static function showItem(_arg1:Object=null):void{ if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){ trace("ERROR: showItem call must pass an Object with an item key"); return; }; MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("coins_showItem", {options:_arg1}, null, null); } public static function showVideo(_arg1:Object=null):void{ if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){ trace("ERROR: showVideo call must pass an Object with an item key"); return; }; MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("coins_showVideo", {options:_arg1}, null, null); } public static function getStoreItems():void{ MochiServices.send("coins_getStoreItems"); } public static function requestFunding(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_requestFunding", _arg1); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{ _inventory = new MochiInventory(); }); addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{ _inventory = null; }); } }//package mochi.as3
Section 13
//MochiDigits (mochi.as3.MochiDigits) package mochi.as3 { public final class MochiDigits { private var Fragment:Number; private var Sibling:MochiDigits; private var Encoder:Number; public function MochiDigits(_arg1:Number=0, _arg2:uint=0):void{ Encoder = 0; setValue(_arg1, _arg2); } public function get value():Number{ return (Number(this.toString())); } public function set value(_arg1:Number):void{ setValue(_arg1); } public function addValue(_arg1:Number):void{ value = (value + _arg1); } public function setValue(_arg1:Number=0, _arg2:uint=0):void{ var _local3:String = _arg1.toString(); var _temp1 = _arg2; _arg2 = (_arg2 + 1); Fragment = (_local3.charCodeAt(_temp1) ^ Encoder); if (_arg2 < _local3.length){ Sibling = new MochiDigits(_arg1, _arg2); } else { Sibling = null; }; reencode(); } public function reencode():void{ var _local1:uint = int((2147483647 * Math.random())); Fragment = (Fragment ^ (_local1 ^ Encoder)); Encoder = _local1; } public function toString():String{ var _local1:String = String.fromCharCode((Fragment ^ Encoder)); if (Sibling != null){ _local1 = (_local1 + Sibling.toString()); }; return (_local1); } } }//package mochi.as3
Section 14
//MochiEventDispatcher (mochi.as3.MochiEventDispatcher) package mochi.as3 { public class MochiEventDispatcher { private var eventTable:Object; public function MochiEventDispatcher():void{ eventTable = {}; } public function addEventListener(_arg1:String, _arg2:Function):void{ removeEventListener(_arg1, _arg2); eventTable[_arg1].push(_arg2); } public function removeEventListener(_arg1:String, _arg2:Function):void{ var _local3:Object; if (eventTable[_arg1] == undefined){ eventTable[_arg1] = []; return; }; for (_local3 in eventTable[_arg1]) { if (eventTable[_arg1][_local3] != _arg2){ } else { eventTable[_arg1].splice(Number(_local3), 1); }; }; } public function triggerEvent(_arg1:String, _arg2:Object):void{ var _local3:Object; if (eventTable[_arg1] == undefined){ return; }; for (_local3 in eventTable[_arg1]) { var _local6 = eventTable[_arg1]; _local6[_local3](_arg2); }; } } }//package mochi.as3
Section 15
//MochiEvents (mochi.as3.MochiEvents) package mochi.as3 { import flash.display.*; public class MochiEvents { public static const ACHIEVEMENT_RECEIVED:String = "AchievementReceived"; public static const ALIGN_TOP_LEFT:String = "ALIGN_TL"; public static const ALIGN_TOP:String = "ALIGN_T"; public static const ALIGN_TOP_RIGHT:String = "ALIGN_TR"; public static const ALIGN_LEFT:String = "ALIGN_L"; public static const ALIGN_CENTER:String = "ALIGN_C"; public static const ALIGN_RIGHT:String = "ALIGN_R"; public static const ALIGN_BOTTOM_LEFT:String = "ALIGN_BL"; public static const ALIGN_BOTTOM:String = "ALIGN_B"; public static const ALIGN_BOTTOM_RIGHT:String = "ALIGN_BR"; public static const FORMAT_SHORT:String = "ShortForm"; public static const FORMAT_LONG:String = "LongForm"; private static var gameStart:Number; private static var levelStart:Number; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public static function getVersion():String{ return (MochiServices.getVersion()); } public static function startSession(_arg1:String):void{ MochiServices.send("events_beginSession", {achievementID:_arg1}, null, null); } public static function setNotifications(_arg1:MovieClip, _arg2:Object):void{ var _local4:Object; var _local3:Object = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; _local3.clip = _arg1; MochiServices.send("events_setNotifications", _local3, null, null); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } public static function startPlay(_arg1:String="gameplay"):void{ MochiServices.send("events_setRoundID", {tag:String(_arg1)}, null, null); } public static function endPlay():void{ MochiServices.send("events_clearRoundID", null, null, null); } public static function trackEvent(_arg1:String, _arg2=null):void{ MochiServices.send("events_trackEvent", {tag:_arg1, value:_arg2}, null, null); } } }//package mochi.as3
Section 16
//MochiInventory (mochi.as3.MochiInventory) package mochi.as3 { import flash.utils.*; import flash.events.*; public dynamic class MochiInventory extends Proxy { private var _timer:Timer; private var _consumableProperties:Object; private var _syncPending:Boolean; private var _outstandingID:Number; private var _syncID:Number; private var _names:Array; private var _storeSync:Object; private static const CONSUMER_KEY:String = "MochiConsumables"; private static const KEY_SALT:String = " syncMaint"; public static const READY:String = "InvReady"; public static const WRITTEN:String = "InvWritten"; public static const ERROR:String = "Error"; public static const IO_ERROR:String = "IoError"; public static const VALUE_ERROR:String = "InvValueError"; public static const NOT_READY:String = "InvNotReady"; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public function MochiInventory():void{ MochiCoins.addEventListener(MochiCoins.ITEM_OWNED, itemOwned); MochiCoins.addEventListener(MochiCoins.ITEM_NEW, newItems); MochiSocial.addEventListener(MochiSocial.LOGGED_IN, loggedIn); MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, loggedOut); _storeSync = new Object(); _syncPending = false; _outstandingID = 0; _syncID = 0; _timer = new Timer(1000); _timer.addEventListener(TimerEvent.TIMER, sync); _timer.start(); if (MochiSocial.loggedIn){ loggedIn(); } else { loggedOut(); }; } public function release():void{ MochiCoins.removeEventListener(MochiCoins.ITEM_NEW, newItems); MochiSocial.removeEventListener(MochiSocial.LOGGED_IN, loggedIn); MochiSocial.removeEventListener(MochiSocial.LOGGED_OUT, loggedOut); } private function loggedOut(_arg1:Object=null):void{ _consumableProperties = null; } private function loggedIn(_arg1:Object=null):void{ MochiUserData.get(CONSUMER_KEY, getConsumableBag); } private function newItems(_arg1:Object):void{ if (!this[(_arg1.id + KEY_SALT)]){ this[(_arg1.id + KEY_SALT)] = 0; }; if (!this[_arg1.id]){ this[_arg1.id] = 0; }; this[(_arg1.id + KEY_SALT)] = (this[(_arg1.id + KEY_SALT)] + _arg1.count); this[_arg1.id] = (this[_arg1.id] + _arg1.count); if (((_arg1.privateProperties) && (_arg1.privateProperties.consumable))){ if (!this[_arg1.privateProperties.tag]){ this[_arg1.privateProperties.tag] = 0; }; this[_arg1.privateProperties.tag] = (this[_arg1.privateProperties.tag] + (_arg1.privateProperties.inc * _arg1.count)); }; } private function itemOwned(_arg1:Object):void{ _storeSync[_arg1.id] = {properties:_arg1.properties, count:_arg1.count}; } private function getConsumableBag(_arg1:MochiUserData):void{ var _local2:String; var _local3:Number; if (_arg1.error){ triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error}); return; }; _consumableProperties = {}; _names = new Array(); if (_arg1.data){ for (_local2 in _arg1.data) { _names.push(_local2); _consumableProperties[_local2] = new MochiDigits(_arg1.data[_local2]); }; }; for (_local2 in _storeSync) { _local3 = _storeSync[_local2].count; if (_consumableProperties[(_local2 + KEY_SALT)]){ _local3 = (_local3 - _consumableProperties[(_local2 + KEY_SALT)].value); }; if (_local3 == 0){ } else { newItems({id:_local2, count:_local3, properties:_storeSync[_local2].properties}); }; }; triggerEvent(READY, {}); } private function putConsumableBag(_arg1:MochiUserData):void{ _syncPending = false; if (_arg1.error){ triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error}); _outstandingID = -1; }; triggerEvent(WRITTEN, {}); } private function sync(_arg1:Event=null):void{ var _local3:String; if (((_syncPending) || ((_syncID == _outstandingID)))){ return; }; _outstandingID = _syncID; var _local2:Object = {}; for (_local3 in _consumableProperties) { _local2[_local3] = MochiDigits(_consumableProperties[_local3]).value; }; MochiUserData.put(CONSUMER_KEY, _local2, putConsumableBag); _syncPending = true; } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){ if (_consumableProperties == null){ triggerEvent(ERROR, {type:NOT_READY}); return (-1); }; if (_consumableProperties[_arg1]){ return (MochiDigits(_consumableProperties[_arg1]).value); }; return (undefined); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function deleteProperty(_arg1):Boolean{ if (!_consumableProperties[_arg1]){ return (false); }; _names.splice(_names.indexOf(_arg1), 1); delete _consumableProperties[_arg1]; return (true); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function hasProperty(_arg1):Boolean{ if (_consumableProperties == null){ triggerEvent(ERROR, {type:NOT_READY}); return (false); }; if (_consumableProperties[_arg1] == undefined){ return (false); }; return (true); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{ var _local3:MochiDigits; if (_consumableProperties == null){ triggerEvent(ERROR, {type:NOT_READY}); return; }; if (!(_arg2 is Number)){ triggerEvent(ERROR, {type:VALUE_ERROR, error:"Invalid type", arg:_arg2}); return; }; if (_consumableProperties[_arg1]){ _local3 = MochiDigits(_consumableProperties[_arg1]); if (_local3.value == _arg2){ return; }; _local3.value = _arg2; } else { _names.push(_arg1); _consumableProperties[_arg1] = new MochiDigits(_arg2); }; _syncID++; } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextNameIndex(_arg1:int):int{ return (((_arg1)>=_names.length) ? 0 : (_arg1 + 1)); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextName(_arg1:int):String{ return (_names[(_arg1 - 1)]); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } } }//package mochi.as3
Section 17
//MochiServices (mochi.as3.MochiServices) package mochi.as3 { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.system.*; public class MochiServices { public static const CONNECTED:String = "onConnected"; private static var _id:String; private static var _container:Object; private static var _clip:MovieClip; private static var _loader:Loader; private static var _timer:Timer; private static var _preserved:Object; private static var _servURL:String = "http://www.mochiads.com/static/lib/services/"; private static var _services:String = "services.swf"; private static var _mochiLC:String = "MochiLC.swf"; private static var _swfVersion:String; private static var _listenChannelName:String = "__ms_"; private static var _sendChannel:LocalConnection; private static var _sendChannelName:String; private static var _connecting:Boolean = false; private static var _connected:Boolean = false; public static var netup:Boolean = true; public static var netupAttempted:Boolean = false; public static var onError:Object; public static var widget:Boolean = false; private static var _mochiLocalConnection:MovieClip; private static var _queue:Array; private static var _nextCallbackID:Number; private static var _callbacks:Object; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public static function get id():String{ return (_id); } public static function get clip():Object{ return (_container); } public static function get childClip():Object{ return (_clip); } public static function getVersion():String{ return ("3.9.2 as3"); } public static function allowDomains(_arg1:String):String{ var _local2:String; if (Security.sandboxType != "application"){ Security.allowDomain("*"); Security.allowInsecureDomain("*"); }; if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType != "application"){ Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; }; return (_local2); } public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); initComChannels(); }; }; } public static function get connected():Boolean{ return (_connected); } public static function warnID(_arg1:String, _arg2:Boolean):void{ _arg1 = _arg1.toLowerCase(); if (_arg1.length != 16){ trace((("WARNING: " + (_arg2) ? "board" : "game") + " ID is not the appropriate length")); return; } else { if (_arg1 == "1e113c7239048b3f"){ if (_arg2){ trace("WARNING: Using testing board ID"); } else { trace("WARNING: Using testing board ID as game ID"); }; return; } else { if (_arg1 == "84993a1de4031cd8"){ if (_arg2){ trace("WARNING: Using testing game ID as board ID"); } else { trace("WARNING: Using testing game ID"); }; return; }; }; }; var _local3:Number = 0; while (_local3 < _arg1.length) { switch (_arg1.charAt(_local3)){ case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": case "a": case "b": case "c": case "d": case "e": case "f": break; default: trace(("WARNING: Board ID contains illegal characters: " + _arg1)); return; }; _local3++; }; } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; warnID(id, false); if ((clip is DisplayObject)){ if (clip.stage == null){ trace("MochiServices connect requires the containing clip be attached to the stage"); }; 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 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 { _mochiLocalConnection.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); _timer.removeEventListener(TimerEvent.TIMER, connectWait); _timer = null; } catch(error:Error) { }; }; } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); } public static function bringToTop(_arg1:Event=null):void{ var e = _arg1; if (((!((MochiServices.clip == null))) && (!((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); }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_clip.parent){ _clip.parent.removeChild(_clip); }; if (_arg1 != null){ if ((_arg1 is DisplayObjectContainer)){ _container = _arg1; }; }; if (_arg2){ if ((_container is DisplayObjectContainer)){ DisplayObjectContainer(_container).addChild(_clip); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; if (urlOptions(_arg2).servURL){ _servURL = urlOptions(_arg2).servURL; }; var _local3:String = (_servURL + _services); if (urlOptions(_arg2).servicesURL){ _local3 = urlOptions(_arg2).servicesURL; }; _listenChannelName = (_listenChannelName + ((Math.floor(new Date().time) + "_") + Math.floor((Math.random() * 99999)))); MochiServices.allowDomains(_local3); _clip = new MovieClip(); loadLCBridge(_clip); _loader = new Loader(); _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, detach); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError); var _local4:URLRequest = new URLRequest(_local3); var _local5:URLVariables = new URLVariables(); _local5.listenLC = _listenChannelName; _local5.mochiad_options = _arg2.loaderInfo.parameters.mochiad_options; _local5.api_version = getVersion(); if (widget){ _local5.widget = true; }; _local4.data = _local5; _loader.load(_local4); _clip.addChild(_loader); _sendChannel = new LocalConnection(); _queue = []; _nextCallbackID = 0; _callbacks = {}; _timer = new Timer(10000, 1); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); return (_clip); } private static function detach(_arg1:Event):void{ var _local2:LoaderInfo = LoaderInfo(_arg1.target); _local2.removeEventListener(Event.COMPLETE, detach); _local2.removeEventListener(IOErrorEvent.IO_ERROR, detach); _local2.removeEventListener(Event.COMPLETE, loadLCBridgeComplete); _local2.removeEventListener(IOErrorEvent.IO_ERROR, loadError); } private static function loadLCBridge(_arg1:Object):void{ var _local2:Loader = new Loader(); var _local3:String = (_servURL + _mochiLC); var _local4:URLRequest = new URLRequest(_local3); _local2.contentLoaderInfo.addEventListener(Event.COMPLETE, detach); _local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach); _local2.contentLoaderInfo.addEventListener(Event.COMPLETE, loadLCBridgeComplete); _local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError); _local2.load(_local4); _arg1.addChild(_local2); } private static function loadLCBridgeComplete(_arg1:Event):void{ var _local2:Loader = LoaderInfo(_arg1.target).loader; _mochiLocalConnection = MovieClip(_local2.content); listen(); } private static function loadError(_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); } public static function connectWait(_arg1:TimerEvent):void{ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load. (timeout)"); MochiServices.disconnect(); MochiServices.onError("IOError"); } else { _timer.stop(); _timer.removeEventListener(TimerEvent.TIMER, connectWait); _timer = null; }; } private static function listen():void{ _mochiLocalConnection.connect(_listenChannelName); _clip.handshake = function (_arg1:Object):void{ MochiServices.comChannelName = _arg1.newChannel; }; trace("Waiting for MochiAds services to connect..."); } private static function initComChannels():void{ if (!_connected){ trace("[SERVICES_API] connected!"); _connecting = false; _connected = true; _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"registerGame", preserved:_preserved, id:_id, version:getVersion(), parentURL:_container.loaderInfo.loaderURL}); _clip.onReceive = onReceive; _clip.onEvent = onEvent; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; while (_queue.length > 0) { _mochiLocalConnection.send(_sendChannelName, "onReceive", _queue.shift()); }; }; } private static function onReceive(_arg1:Object):void{ var methodName:String; var pkg = _arg1; var cb:String = pkg.callbackID; var cblst:Object = _callbacks[cb]; if (!cblst){ return; }; var method:* = cblst.callbackMethod; methodName = ""; var obj:Object = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; } else { trace((("Error: Method " + method) + " does not exist.")); }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString())); }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { trace(("Error invoking method on object: " + error.toString())); }; }; }; delete _callbacks[cb]; } private static function onEvent(_arg1:Object):void{ var _local2:String = _arg1.target; var _local3:String = _arg1.event; switch (_local2){ case "services": MochiServices.triggerEvent(_arg1.event, _arg1.args); break; case "events": MochiEvents.triggerEvent(_arg1.event, _arg1.args); break; case "coins": MochiCoins.triggerEvent(_arg1.event, _arg1.args); break; case "social": MochiSocial.triggerEvent(_arg1.event, _arg1.args); break; }; } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (((_clip) && (_queue))){ while (_queue.length > 0) { _local2 = _queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _callbacks[_local2.callbackID]; }; delete _callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ if (_arg1 != null){ if (_arg1.onError != null){ _arg1.onError.apply(null, ["NotConnected"]); }; if (((!((_arg1.options == null))) && (!((_arg1.options.onError == null))))){ _arg1.options.onError.apply(null, ["NotConnected"]); }; }; if (_arg3 != null){ _arg1 = {}; _arg1.error = true; _arg1.errorCode = "NotConnected"; if (((!((_arg2 == null))) && ((_arg3 is String)))){ try { var _local4 = _arg2; _local4[_arg3](_arg1); } catch(error:Error) { }; } else { if (_arg3 != null){ try { _arg3.apply(_arg1); } catch(error:Error) { }; }; }; }; } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_nextCallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ trace(("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + _arg1)); handleError(_arg2, _arg3, _arg4); flush(true); return; }; _queue.push({methodName:_arg1, args:_arg2, callbackID:_nextCallbackID}); }; if (_clip != null){ if (_callbacks != null){ _callbacks[_nextCallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _nextCallbackID++; }; }; } private static function urlOptions(_arg1:Object):Object{ var _local3:String; var _local4:Array; var _local5:Number; var _local6:Array; var _local2:Object = {}; if (_arg1.stage){ _local3 = _arg1.stage.loaderInfo.parameters.mochiad_options; } else { _local3 = _arg1.loaderInfo.parameters.mochiad_options; }; if (_local3){ _local4 = _local3.split("&"); _local5 = 0; while (_local5 < _local4.length) { _local6 = _local4[_local5].split("="); _local2[unescape(_local6[0])] = unescape(_local6[1]); _local5++; }; }; return (_local2); } public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{ var avm1Click:DisplayObject; var x:String; var req:URLRequest; var loader:Loader; var setURL:Function; var err:Function; var complete:Function; var url = _arg1; var burl = _arg2; var btn = _arg3; var onClick = _arg4; var vars:Object = new Object(); vars["mav"] = getVersion(); vars["swfv"] = "9"; vars["swfurl"] = btn.loaderInfo.loaderURL; vars["fv"] = Capabilities.version; vars["os"] = Capabilities.os; vars["lang"] = Capabilities.language; vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY); var s = "?"; var i:Number = 0; for (x in vars) { if (i != 0){ s = (s + "&"); }; i = (i + 1); s = (((s + x) + "=") + escape(vars[x])); }; req = new URLRequest("http://link.mochiads.com/linkping.swf"); loader = new Loader(); setURL = function (_arg1:String):void{ if (avm1Click){ btn.removeChild(avm1Click); }; avm1Click = clickMovie(_arg1, onClick); var _local2:Rectangle = btn.getBounds(btn); btn.addChild(avm1Click); avm1Click.x = _local2.x; avm1Click.y = _local2.y; avm1Click.scaleX = (0.01 * _local2.width); avm1Click.scaleY = (0.01 * _local2.height); }; err = function (_arg1:Object):void{ netup = false; _arg1.target.removeEventListener(_arg1.type, arguments.callee); setURL(burl); }; complete = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; if (netup){ setURL((url + s)); } else { setURL(burl); }; if (!((netupAttempted) || (_connected))){ netupAttempted = true; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete); loader.load(req); }; } private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{ var _local4:int; var _local14:Loader; var _local3:Array = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23]; var _local5:Array = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3]; var _local6:Array = [0, 64, 0, 0, 0]; var _local7:MovieClip = new MovieClip(); var _local8:LocalConnection = new LocalConnection(); var _local9:String = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().time)); _local8 = new LocalConnection(); _local7.lc = _local8; _local7.click = _arg2; _local8.client = _local7; _local8.connect(_local9); var _local10:ByteArray = new ByteArray(); var _local11:ByteArray = new ByteArray(); _local11.endian = Endian.LITTLE_ENDIAN; _local11.writeShort(1); _local11.writeUTFBytes(((_arg1 + " ") + _local9)); _local11.writeByte(0); var _local12:uint = ((_local3.length + _local11.length) + 4); var _local13:uint = (_local12 + 35); _local10.endian = Endian.LITTLE_ENDIAN; _local10.writeUTFBytes("FWS"); _local10.writeByte(8); _local10.writeUnsignedInt(_local13); for each (_local4 in _local5) { _local10.writeByte(_local4); }; _local10.writeUnsignedInt(_local12); _local10.writeByte(136); _local10.writeShort(_local11.length); _local10.writeBytes(_local11); for each (_local4 in _local3) { _local10.writeByte(_local4); }; for each (_local4 in _local6) { _local10.writeByte(_local4); }; _local14 = new Loader(); _local14.loadBytes(_local10); _local7.addChild(_local14); return (_local7); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } } }//package mochi.as3
Section 18
//MochiSocial (mochi.as3.MochiSocial) package mochi.as3 { public class MochiSocial { public static const LOGGED_IN:String = "LoggedIn"; public static const LOGGED_OUT:String = "LoggedOut"; public static const LOGIN_SHOW:String = "LoginShow"; public static const LOGIN_HIDE:String = "LoginHide"; public static const LOGIN_SHOWN:String = "LoginShown"; public static const PROFILE_SHOW:String = "ProfileShow"; public static const PROFILE_HIDE:String = "ProfileHide"; public static const PROPERTIES_SAVED:String = "PropertySaved"; public static const WIDGET_LOADED:String = "WidgetLoaded"; public static const FRIEND_LIST:String = "FriendsList"; public static const PROFILE_DATA:String = "ProfileData"; public static const GAMEPLAY_DATA:String = "GameplayData"; public static const ACTION_CANCELED:String = "onCancel"; public static const ACTION_COMPLETE:String = "onComplete"; public static const USER_INFO:String = "UserInfo"; public static const ERROR:String = "Error"; public static const IO_ERROR:String = "IOError"; public static const NO_USER:String = "NoUser"; public static const PROPERTIES_SIZE:String = "PropertiesSize"; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public static var _user_info:Object = null; public static function getVersion():String{ return (MochiServices.getVersion()); } public static function getAPIURL():String{ if (!_user_info){ return (null); }; return (_user_info.api_url); } public static function getAPIToken():String{ if (!_user_info){ return (null); }; return (_user_info.api_token); } public static function showLoginWidget(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_showLoginWidget", {options:_arg1}); } public static function hideLoginWidget():void{ MochiServices.send("social_hideLoginWidget"); } public static function requestLogin(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_requestLogin", _arg1); } public static function saveUserProperties(_arg1:Object):void{ MochiServices.send("social_saveUserProperties", _arg1); } public static function getFriendsList(_arg1:Object=null):void{ MochiServices.send("social_getFriendsList", _arg1); } public static function postToStream(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_postToStream", _arg1); } public static function inviteFriends(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_inviteFriends", _arg1); } public static function requestFan(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("social_requestFan", _arg1); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function get loggedIn():Boolean{ return (!((_user_info == null))); } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } MochiSocial.addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{ _user_info = _arg1; }); MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{ _user_info = null; }); } }//package mochi.as3
Section 19
//MochiUserData (mochi.as3.MochiUserData) package mochi.as3 { import flash.utils.*; import flash.events.*; import flash.net.*; public class MochiUserData extends EventDispatcher { public var _loader:URLLoader; public var key:String;// = null public var data;// = null public var error:Event;// = null public var operation:String;// = null public var callback:Function;// = null public function MochiUserData(_arg1:String="", _arg2:Function=null){ this.key = _arg1; this.callback = _arg2; } public function serialize(_arg1):ByteArray{ var _local2:ByteArray = new ByteArray(); _local2.objectEncoding = ObjectEncoding.AMF3; _local2.writeObject(_arg1); _local2.compress(); return (_local2); } public function deserialize(_arg1:ByteArray){ _arg1.objectEncoding = ObjectEncoding.AMF3; _arg1.uncompress(); return (_arg1.readObject()); } public function request(_arg1:String, _arg2:ByteArray):void{ var _operation = _arg1; var _data = _arg2; operation = _operation; var api_url:String = MochiSocial.getAPIURL(); var api_token:String = MochiSocial.getAPIToken(); if ((((api_url == null)) || ((api_token == null)))){ errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, "not logged in")); return; }; _loader = new URLLoader(); var args:URLVariables = new URLVariables(); args.op = _operation; args.key = key; var req:URLRequest = new URLRequest((((MochiSocial.getAPIURL() + "/") + "MochiUserData?") + args.toString())); req.method = URLRequestMethod.POST; req.contentType = "application/x-mochi-userdata"; req.requestHeaders = [new URLRequestHeader("x-mochi-services-version", MochiServices.getVersion()), new URLRequestHeader("x-mochi-api-token", api_token)]; req.data = _data; _loader.dataFormat = URLLoaderDataFormat.BINARY; _loader.addEventListener(Event.COMPLETE, completeHandler); _loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); _loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler); try { _loader.load(req); } catch(e:SecurityError) { errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + e.toString()))); }; } public function completeHandler(_arg1:Event):void{ var event = _arg1; try { if (_loader.data.length){ data = deserialize(_loader.data); } else { data = null; }; } catch(e:Error) { errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("deserialize error: " + e.toString()))); return; }; if (callback != null){ performCallback(); } else { dispatchEvent(event); }; close(); } public function errorHandler(_arg1:IOErrorEvent):void{ data = null; error = _arg1; if (callback != null){ performCallback(); } else { dispatchEvent(_arg1); }; close(); } public function securityErrorHandler(_arg1:SecurityErrorEvent):void{ errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + _arg1.toString()))); } public function performCallback():void{ try { callback(this); } catch(e:Error) { trace(("[MochiUserData] exception during callback: " + e)); }; } public function close():void{ if (_loader){ _loader.removeEventListener(Event.COMPLETE, completeHandler); _loader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler); _loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler); _loader.close(); _loader = null; }; error = null; callback = null; } public function getEvent():void{ request("get", serialize(null)); } public function putEvent(_arg1):void{ request("put", serialize(_arg1)); } override public function toString():String{ return ((((((((("[MochiUserData operation=" + operation) + " key=\"") + key) + "\" data=") + data) + " error=\"") + error) + "\"]")); } public static function get(_arg1:String, _arg2:Function):void{ var _local3:MochiUserData = new MochiUserData(_arg1, _arg2); _local3.getEvent(); } public static function put(_arg1:String, _arg2, _arg3:Function):void{ var _local4:MochiUserData = new MochiUserData(_arg1, _arg3); _local4.putEvent(_arg2); } } }//package mochi.as3
Section 20
//EL_2740_4900_50 (Ready_fla.EL_2740_4900_50) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class EL_2740_4900_50 extends MovieClip { public var btn_more:SimpleButton; public function EL_2740_4900_50(){ addFrameScript(0, frame1); } function frame1(){ btn_more.addEventListener(MouseEvent.CLICK, MovieClip(root).More); } } }//package Ready_fla
Section 21
//EL_3026_9004_67 (Ready_fla.EL_3026_9004_67) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class EL_3026_9004_67 extends MovieClip { public var logo_btn:SimpleButton; public function EL_3026_9004_67(){ addFrameScript(0, frame1); } function frame1(){ logo_btn.addEventListener(MouseEvent.CLICK, MovieClip(root).faceT); } } }//package Ready_fla
Section 22
//EL_665_3110_43 (Ready_fla.EL_665_3110_43) package Ready_fla { import flash.display.*; public dynamic class EL_665_3110_43 extends MovieClip { public function EL_665_3110_43(){ addFrameScript(2, frame3); } function frame3(){ gotoAndStop(1); } } }//package Ready_fla
Section 23
//intro_9 (Ready_fla.intro_9) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class intro_9 extends MovieClip { public var logo:MovieClip; public var btn_logo:SimpleButton; public var btn_link:SimpleButton; public var btn_play:SimpleButton; public var s1:MovieClip; public var btn_more:SimpleButton; public var s2:MovieClip; public function intro_9(){ addFrameScript(0, frame1, 7, frame8, 221, frame222); } function frame1(){ } function frame8(){ s1.mask = s2; s1.cacheAsBitmap = true; s2.cacheAsBitmap = true; } function frame222(){ stop(); this.btn_more.addEventListener(MouseEvent.CLICK, MovieClip(root).More); this.btn_play.addEventListener(MouseEvent.CLICK, MovieClip(root).iniciarJuego); } } }//package Ready_fla
Section 24
//MainTimeline (Ready_fla.MainTimeline) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import caurina.transitions.*; import mochi.as3.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var timeTxt:TextField; public var teacher_mc:MovieClip; public var start_btn:SimpleButton; public var help_btn:SimpleButton; public var more_btn1:SimpleButton; public var scoreTxt:TextField; public var intro_mc:MovieClip; public var btn_link:SimpleButton; public var wp_mc:MovieClip; public var detectMcLL:MovieClip; public var detectMcL:MovieClip; public var replay_btn:SimpleButton; public var sb_mc:MovieClip; public var more_btn:SimpleButton; public var play_btn:SimpleButton; public var Bar:MovieClip; public var Loader_txt:TextField; public var music_mc:MovieClip; public var bt_mc:MovieClip; public var my_menu:ContextMenu; public var my_notice; public var peso:Number; public var carga:Number; public var porcentaje:Number; public var framerate:Number; public var delayCount:int; public var loadCount:int; public var delayper:Number; public var o:Object; public var apiLoader:URLLoader; public var color:Number; public var Alpha:Number; public var blurX:Number; public var blurY:Number; public var strength:Number; public var quality:Number; public var inner:Boolean; public var knockout:Boolean; public var filter:GlowFilter; public var filterArray:Array; public var filterclear:Array; public var scaleX1; public var scaleY1; public var snd:btnSound; public var teacherS:teacherSound; public var timeControlId:int; public var sf:Boolean; public var mymp3:bg_sound; public var myChannel:SoundChannel; public var asasas; public var volumeSize:Number; public var str; public var sbFlag:int; public var keyInputFlag:int; public var hbFlag1_1:Boolean; public var hbFlag1_2:Boolean; public var hbFlag1_3:Boolean; public var hbFlag2_1:Boolean; public var hbFlag2_2:Boolean; public var hbFlag2_3:Boolean; public var hbFlag3_1:Boolean; public var hbFlag3_2:Boolean; public var hbFlag3_3:Boolean; public var hbFlag4_1:Boolean; public var hbFlag4_2:Boolean; public var hbFlag4_3:Boolean; public var hbFlag5_1:Boolean; public var hbFlag5_2:Boolean; public var hbFlag5_3:Boolean; public var failTFlag:Boolean; public var second:int; public var minute:int; public var strSecond:String; public var strMinute:String; public var ticker:Timer; public var intervalID1:int; public var timeNum1:int; public var timeEach1:int; public var hFlag1:Boolean; public var hFlag2:Boolean; public var hFlag3:Boolean; public var hbFlag:int; public var score:int; public var frameFlag:int; public var moveFlag:int; public var fw:Sprite; public var linesize:uint; public var isDown1:Boolean; public var oldX:Number; public var oldY:Number; public var hbFlag1:Boolean; public var hbFlag2:Boolean; public var hbFlag3:Boolean; public var hbbFlag:int; public var countFlag:int; public var currentColorNum; public var oldSwapDepth:int; public var tempSwapDepth:int; public var newSwapDepth:int; public var clickFlag:Boolean; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8); } public function onConnectError(_arg1:String):void{ } public function openLink(_arg1:ContextMenuEvent):void{ navigateToURL(new URLRequest("http://www.yokogames.com")); } public function progreso(_arg1:Event):void{ peso = root.loaderInfo.bytesTotal; carga = root.loaderInfo.bytesLoaded; porcentaje = Math.floor(((carga * 100) / peso)); delayper = Math.floor(((loadCount * 100) / delayCount)); if (delayper < porcentaje){ porcentaje = delayper; }; Loader_txt.text = String(porcentaje); MovieClip(this).Bar.gotoAndStop(porcentaje); if (porcentaje >= 100){ MovieClip(root).frameRate = framerate; MovieClip(root).removeEventListener(Event.ENTER_FRAME, progreso); play(); }; loadCount++; } public function faceT(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.facebook.com/yokogames"), "blank"); } public function More(_arg1:MouseEvent):void{ var _local2:LocalConnection = new LocalConnection(); var _local3:String = _local2.domain; var _local4:* = "Yokogames - Ready for my party"; var _local5:* = ((("http://www.yokogames.com/?utm_source=" + _local3) + "&utm_medium=game&utm_campaign=") + _local4); navigateToURL(new URLRequest(_local5), "blank"); } public function More1(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("http://www.yokogames.com"), "blank"); } public function initL():void{ my_menu.hideBuiltInItems(); my_notice.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, openLink); my_menu.customItems.push(my_notice); contextMenu = my_menu; MovieClip(root).addEventListener(Event.ENTER_FRAME, progreso); btn_link.addEventListener(MouseEvent.MOUSE_DOWN, More); MovieClip(root).frameRate = 24; } public function doLaterL(_arg1:Event):void{ if (detectMcL){ this.removeEventListener(Event.ENTER_FRAME, doLaterL); initL(); }; } public function iniciarJuego(_arg1:MouseEvent):void{ trace("iniciar juego"); MovieClip(root).play(); } public function initLL():void{ intro_mc.btn_logo.addEventListener(MouseEvent.CLICK, MovieClip(root).More); intro_mc.btn_more.addEventListener(MouseEvent.CLICK, MovieClip(root).More); intro_mc.btn_play.addEventListener(MouseEvent.CLICK, MovieClip(root).iniciarJuego); intro_mc.btn_link.addEventListener(MouseEvent.CLICK, MovieClip(root).More); } public function doLaterLL(_arg1:Event):void{ if (detectMcLL){ this.removeEventListener(Event.ENTER_FRAME, doLaterLL); initLL(); }; } public function playGame(_arg1:MouseEvent):void{ try { MovieClip(root).gotoAndStop("game"); } catch(err:Error) { }; } public function helpGame(_arg1:MouseEvent):void{ try { MovieClip(root).gotoAndStop("help"); } catch(err:Error) { }; } public function randRange(_arg1:Number, _arg2:Number):Number{ var _local3:Number = (Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1); return (_local3); } public function mouseOverFun(_arg1:MouseEvent):void{ try { if (_arg1.currentTarget.m > 0){ _arg1.currentTarget.filters = MovieClip(root).filterArray; }; } catch(err:Error) { }; } public function mouseOutFun(_arg1:MouseEvent):void{ try { _arg1.currentTarget.filters = MovieClip(root).filterclear; } catch(err:Error) { }; } public function downSound(_arg1:MouseEvent):void{ snd.play(); } public function mouseClick(_arg1:MouseEvent):void{ if (sf){ volumeSize = 0; sf = false; } else { volumeSize = 1; sf = true; }; var _local2:SoundTransform = new SoundTransform(volumeSize, 0); myChannel.soundTransform = _local2; music_mc.nextFrame(); } public function startGame(_arg1:MouseEvent):void{ try { MovieClip(root).gotoAndStop("game"); } catch(err:Error) { }; } public function timeControl1(){ MovieClip(root).timeNum1 = MovieClip(root).randRange(20, 25); MovieClip(root).timeEach1 = (MovieClip(root).timeNum1 * 1000); MovieClip(root).intervalID1 = setInterval(MovieClip(root).updateTimer1, MovieClip(root).timeEach1); } public function updateTimer1():void{ clearInterval(MovieClip(root).intervalID1); MovieClip(root).teacher_mc.gotoAndPlay(2); } public function onMove1(_arg1:MouseEvent):void{ try { if (((!((MovieClip(root).sbFlag == 0))) && ((MovieClip(root).wp_mc.currentFrame == 8)))){ if (MovieClip(root).wp_mc.p.hit_mc1.hit1.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag1_1 = true; }; if (MovieClip(root).wp_mc.p.hit_mc1.hit2.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag1_2 = true; }; if (MovieClip(root).wp_mc.p.hit_mc1.hit3.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag1_3 = true; }; if (MovieClip(root).wp_mc.p.hit_mc2.hit1.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag2_1 = true; }; if (MovieClip(root).wp_mc.p.hit_mc2.hit2.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag2_2 = true; }; if (MovieClip(root).wp_mc.p.hit_mc2.hit3.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag2_3 = true; }; if (MovieClip(root).wp_mc.p.hit_mc3.hit1.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag3_1 = true; }; if (MovieClip(root).wp_mc.p.hit_mc3.hit2.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag3_2 = true; }; if (MovieClip(root).wp_mc.p.hit_mc3.hit3.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag3_3 = true; }; if (MovieClip(root).wp_mc.p.hit_mc4.hit1.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag4_1 = true; }; if (MovieClip(root).wp_mc.p.hit_mc4.hit2.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag4_2 = true; }; if (MovieClip(root).wp_mc.p.hit_mc4.hit3.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag4_3 = true; }; if (MovieClip(root).wp_mc.p.hit_mc5.hit1.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag5_1 = true; }; if (MovieClip(root).wp_mc.p.hit_mc5.hit2.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag5_2 = true; }; if (MovieClip(root).wp_mc.p.hit_mc5.hit3.hitTestObject(MovieClip(root).sb_mc)){ MovieClip(root).hbFlag5_3 = true; }; if (((((MovieClip(root).hbFlag1_1) && (MovieClip(root).hbFlag1_2))) && (MovieClip(root).hbFlag1_3))){ if (MovieClip(root).wp_mc.p.hit_mc1.alpha >= 0.2){ MovieClip(root).wp_mc.p.hit_mc1.alpha = (MovieClip(root).wp_mc.p.hit_mc1.alpha - 0.2); } else { MovieClip(root).wp_mc.p.hit_mc1.alpha = 0; }; MovieClip(root).hbFlag1_1 = false; MovieClip(root).hbFlag1_2 = false; MovieClip(root).hbFlag1_3 = false; }; if (((((MovieClip(root).hbFlag2_1) && (MovieClip(root).hbFlag2_2))) && (MovieClip(root).hbFlag2_3))){ if (MovieClip(root).wp_mc.p.hit_mc2.alpha >= 0.2){ MovieClip(root).wp_mc.p.hit_mc2.alpha = (MovieClip(root).wp_mc.p.hit_mc2.alpha - 0.2); } else { MovieClip(root).wp_mc.p.hit_mc2.alpha = 0; }; MovieClip(root).hbFlag2_1 = false; MovieClip(root).hbFlag2_2 = false; MovieClip(root).hbFlag2_3 = false; }; if (((((MovieClip(root).hbFlag3_1) && (MovieClip(root).hbFlag3_2))) && (MovieClip(root).hbFlag3_3))){ if (MovieClip(root).wp_mc.p.hit_mc3.alpha >= 0.2){ MovieClip(root).wp_mc.p.hit_mc3.alpha = (MovieClip(root).wp_mc.p.hit_mc3.alpha - 0.2); } else { MovieClip(root).wp_mc.p.hit_mc3.alpha = 0; }; MovieClip(root).hbFlag3_1 = false; MovieClip(root).hbFlag3_2 = false; MovieClip(root).hbFlag3_3 = false; }; if (((((MovieClip(root).hbFlag4_1) && (MovieClip(root).hbFlag4_2))) && (MovieClip(root).hbFlag4_3))){ if (MovieClip(root).wp_mc.p.hit_mc4.alpha >= 0.2){ MovieClip(root).wp_mc.p.hit_mc4.alpha = (MovieClip(root).wp_mc.p.hit_mc4.alpha - 0.2); } else { MovieClip(root).wp_mc.p.hit_mc4.alpha = 0; }; MovieClip(root).hbFlag4_1 = false; MovieClip(root).hbFlag4_2 = false; MovieClip(root).hbFlag4_3 = false; }; if (((((MovieClip(root).hbFlag5_1) && (MovieClip(root).hbFlag5_2))) && (MovieClip(root).hbFlag5_3))){ if (MovieClip(root).wp_mc.p.hit_mc5.alpha >= 0.2){ MovieClip(root).wp_mc.p.hit_mc5.alpha = (MovieClip(root).wp_mc.p.hit_mc5.alpha - 0.2); } else { MovieClip(root).wp_mc.p.hit_mc5.alpha = 0; }; MovieClip(root).hbFlag5_1 = false; MovieClip(root).hbFlag5_2 = false; MovieClip(root).hbFlag5_3 = false; }; if ((((((((((MovieClip(root).wp_mc.p.hit_mc1.alpha == 0)) && ((MovieClip(root).wp_mc.p.hit_mc2.alpha == 0)))) && ((MovieClip(root).wp_mc.p.hit_mc3.alpha == 0)))) && ((MovieClip(root).wp_mc.p.hit_mc4.alpha == 0)))) && ((MovieClip(root).wp_mc.p.hit_mc5.alpha == 0)))){ MovieClip(root).wp_mc.p.gotoAndStop(2); }; }; } catch(err:Error) { }; } public function successFun():void{ if ((((((((((((((((MovieClip(root).wp_mc.wp.ctrl_mc1.currentFrame == 2)) && ((MovieClip(root).wp_mc.wp.ctrl_mc2.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc3.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc4.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc5.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc6.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc7.currentFrame == 2)))) && ((MovieClip(root).wp_mc.wp.ctrl_mc8.currentFrame == 2)))){ MovieClip(root).gotoAndStop("success"); }; } public function wpContrl():void{ var _local1:int; try { _local1 = 1; while (_local1 <= 8) { MovieClip(root).wp_mc.wp[("ctrl_mc" + _local1)].n = _local1; MovieClip(root).wp_mc.wp[("ctrl_mc" + _local1)].gotoAndStop(1); MovieClip(root).wp_mc.wp[("ctrl_mc" + _local1)].mouseChildren = false; MovieClip(root).wp_mc.wp[("ctrl_mc" + _local1)].mouseEnabled = true; MovieClip(root).wp_mc.wp[("ctrl_mc" + _local1)].buttonMode = true; MovieClip(root).wp_mc.wp[("ctrl_mc" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, controlWp); _local1++; }; } catch(err:Error) { }; } public function controlWp(_arg1:MouseEvent):void{ try { if ((((_arg1.currentTarget.currentFrame == 1)) && (!((MovieClip(root).wp_mc.currentFrame == _arg1.currentTarget.n))))){ MovieClip(root).wp_mc.gotoAndStop(_arg1.currentTarget.n); }; } catch(err:Error) { }; } public function onTick(_arg1:TimerEvent):void{ try { if (MovieClip(root).second > 0){ MovieClip(root).second--; } else { if (MovieClip(root).second == 0){ MovieClip(root).second = 59; if (MovieClip(root).minute > 0){ MovieClip(root).minute--; }; }; }; if (MovieClip(root).second < 10){ MovieClip(root).strSecond = ("0" + MovieClip(root).second); } else { MovieClip(root).strSecond = MovieClip(root).second; }; if (MovieClip(root).minute < 10){ MovieClip(root).strMinute = ("0" + MovieClip(root).minute); } else { MovieClip(root).strMinute = MovieClip(root).minute; }; MovieClip(root).timeTxt.text = ((MovieClip(root).strMinute + ":") + MovieClip(root).strSecond); if ((((MovieClip(root).minute <= 0)) && ((MovieClip(root).second <= 0)))){ clearInterval(MovieClip(root).timeControlId); MovieClip(root).ticker.stop(); MovieClip(root).ticker.removeEventListener(TimerEvent.TIMER, MovieClip(root).onTick); clearInterval(MovieClip(root).intervalID1); MovieClip(root).failTFlag = true; MovieClip(root).gotoAndStop("fail"); }; } catch(err:Error) { }; } public function menuGame(_arg1:MouseEvent):void{ try { MovieClip(root).sb_mc.gotoAndStop(2); clearInterval(MovieClip(root).timeControlId); MovieClip(root).ticker.stop(); MovieClip(root).ticker.removeEventListener(TimerEvent.TIMER, MovieClip(root).onTick); clearInterval(MovieClip(root).intervalID1); MovieClip(root).gotoAndStop("start"); } catch(err:Error) { }; } public function reportKeyDown(_arg1:KeyboardEvent):void{ if ((((((MovieClip(root).str.substr(MovieClip(root).keyInputFlag, 1) == String.fromCharCode(_arg1.charCode))) && (!((MovieClip(root).keyInputFlag == 16))))) && (!((MovieClip(root).keyInputFlag == 28))))){ MovieClip(root).wp_mc.p.inputTxt.text = (MovieClip(root).wp_mc.p.inputTxt.text + String.fromCharCode(_arg1.charCode)); MovieClip(root).keyInputFlag++; trace(String.fromCharCode(_arg1.charCode)); trace(MovieClip(root).keyInputFlag); } else { if (MovieClip(root).keyInputFlag == 16){ if (String.fromCharCode(_arg1.charCode) == " "){ MovieClip(root).keyInputFlag++; MovieClip(root).wp_mc.p.inputTxt.text = (MovieClip(root).wp_mc.p.inputTxt.text + " "); }; } else { if (MovieClip(root).keyInputFlag == 28){ if (String.fromCharCode(_arg1.charCode) == " "){ MovieClip(root).keyInputFlag++; MovieClip(root).wp_mc.p.inputTxt.text = (MovieClip(root).wp_mc.p.inputTxt.text + "\n"); }; }; }; }; if (MovieClip(root).keyInputFlag == 36){ MovieClip(root).wp_mc.p.gotoAndStop(2); MovieClip(root).removeEventListener(KeyboardEvent.KEY_DOWN, reportKeyDown); }; } public function replayGame(_arg1:MouseEvent):void{ try { MovieClip(root).gotoAndStop("start"); } catch(err:Error) { }; } public function replayGame1(_arg1:MouseEvent):void{ try { MovieClip(root).gotoAndStop("start"); } catch(err:Error) { }; } function frame1(){ MochiAd.showPreGameAd({id:"4490375836fcf4c8", res:"800x600", clip:MovieClip(root), no_bg:"true", no_progress_bar:true}); stop(); MochiServices.connect("4490375836fcf4c8", MovieClip(root), onConnectError); } function frame2(){ my_menu = new ContextMenu(); my_notice = new ContextMenuItem("Girl games"); framerate = MovieClip(root).frameRate; delayCount = 48; loadCount = 0; delayper = 0; try { if (Security){ o = Security; if (o.sandboxType != "localWithFile"){ apiLoader = new URLLoader(); apiLoader.load(new URLRequest("http://api.britetrade.com/api/gameplay.php?key=1d01f34fb20e51157092e513612aedeb&id=1224")); }; }; } catch(error:Error) { }; stop(); this.addEventListener(Event.ENTER_FRAME, doLaterL); } function frame3(){ stop(); this.addEventListener(Event.ENTER_FRAME, doLaterLL); } function frame4(){ stop(); MovieClip(root).more_btn.addEventListener(MouseEvent.CLICK, MovieClip(root).More); MovieClip(root).play_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).playGame); MovieClip(root).help_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).helpGame); MovieClip(root).bt_mc.y = -200; Tweener.addTween(MovieClip(root).bt_mc, {time:1, y:145.1}); color = 0xFFFF00; Alpha = 100; blurX = 15; blurY = 15; strength = 2; quality = 3; inner = false; knockout = false; filter = new GlowFilter(color, Alpha, blurX, blurY, strength, quality, inner, knockout); filterArray = new Array(); filterArray.push(filter); filterclear = new Array(); snd = new btnSound(); teacherS = new teacherSound(); stage.addEventListener(MouseEvent.MOUSE_DOWN, downSound); Mouse.show(); stop(); if (asasas){ } else { sf = true; mymp3 = new bg_sound(); myChannel = mymp3.play(0, 9999); asasas = 1; }; volumeSize = 1; music_mc.addEventListener(MouseEvent.CLICK, mouseClick); music_mc.gotoAndStop((2 - Number(sf))); music_mc.mouseChildren = false; music_mc.buttonMode = true; } function frame5(){ MovieClip(root).start_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).startGame); } function frame6(){ stop(); MovieClip(root).more_btn1.addEventListener(MouseEvent.CLICK, MovieClip(root).More1); MovieClip(root).more_btn.addEventListener(MouseEvent.CLICK, MovieClip(root).More); sbFlag = 0; keyInputFlag = 0; hbFlag1_1 = false; hbFlag1_2 = false; hbFlag1_3 = false; hbFlag2_1 = false; hbFlag2_2 = false; hbFlag2_3 = false; hbFlag3_1 = false; hbFlag3_2 = false; hbFlag3_3 = false; hbFlag4_1 = false; hbFlag4_2 = false; hbFlag4_3 = false; hbFlag5_1 = false; hbFlag5_2 = false; hbFlag5_3 = false; failTFlag = false; second = 0; minute = 5; strSecond = ""; strMinute = ""; MovieClip(root).timeControl1(); hFlag1 = false; hFlag2 = false; hFlag3 = false; hbFlag = 0; score = 0; frameFlag = 0; moveFlag = 0; fw = new Sprite(); linesize = 2; isDown1 = false; hbFlag1 = false; hbFlag2 = false; hbFlag3 = false; hbbFlag = 0; countFlag = 1; currentColorNum = 0; oldSwapDepth = 0; tempSwapDepth = 0; newSwapDepth = 0; clickFlag = true; MovieClip(root).scoreTxt.text = MovieClip(root).score; MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).wpContrl(); MovieClip(root).wp_mc.gotoAndStop(MovieClip(root).wp_mc.totalFrames); MovieClip(root).ticker = new Timer(1000); MovieClip(root).ticker.addEventListener(TimerEvent.TIMER, onTick); MovieClip(root).ticker.start(); MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); } function frame7(){ stop(); MovieClip(root).more_btn.addEventListener(MouseEvent.CLICK, MovieClip(root).More); Mouse.show(); stage.removeEventListener(KeyboardEvent.KEY_DOWN, MovieClip(root).reportKeyDown); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); MovieClip(root).scoreTxt.text = MovieClip(root).score; MovieClip(root).replay_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).replayGame); clearInterval(MovieClip(root).timeControlId); MovieClip(root).ticker.stop(); MovieClip(root).ticker.removeEventListener(TimerEvent.TIMER, MovieClip(root).onTick); clearInterval(MovieClip(root).intervalID1); } function frame8(){ stop(); MovieClip(root).more_btn.addEventListener(MouseEvent.CLICK, MovieClip(root).More); Mouse.show(); stage.removeEventListener(KeyboardEvent.KEY_DOWN, MovieClip(root).reportKeyDown); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); MovieClip(root).scoreTxt.text = MovieClip(root).score; MovieClip(root).replay_btn.addEventListener(MouseEvent.MOUSE_DOWN, MovieClip(root).replayGame1); clearInterval(MovieClip(root).timeControlId); MovieClip(root).ticker.stop(); MovieClip(root).ticker.removeEventListener(TimerEvent.TIMER, MovieClip(root).onTick); clearInterval(MovieClip(root).intervalID1); } } }//package Ready_fla
Section 25
//Preloader_mclip_010_4 (Ready_fla.Preloader_mclip_010_4) package Ready_fla { import flash.display.*; public dynamic class Preloader_mclip_010_4 extends MovieClip { public function Preloader_mclip_010_4(){ addFrameScript(24, frame25); } function frame25(){ stop(); } } }//package Ready_fla
Section 26
//Preloader_mclip_025_13 (Ready_fla.Preloader_mclip_025_13) package Ready_fla { import flash.display.*; public dynamic class Preloader_mclip_025_13 extends MovieClip { public function Preloader_mclip_025_13(){ addFrameScript(18, frame19); } function frame19(){ stop(); } } }//package Ready_fla
Section 27
//Preloader_mclip_03_22 (Ready_fla.Preloader_mclip_03_22) package Ready_fla { import flash.display.*; public dynamic class Preloader_mclip_03_22 extends MovieClip { public function Preloader_mclip_03_22(){ addFrameScript(29, frame30); } function frame30(){ stop(); } } }//package Ready_fla
Section 28
//Preloader_mclip_04_2 (Ready_fla.Preloader_mclip_04_2) package Ready_fla { import flash.display.*; public dynamic class Preloader_mclip_04_2 extends MovieClip { public function Preloader_mclip_04_2(){ addFrameScript(163, frame164); } function frame164(){ stop(); } } }//package Ready_fla
Section 29
//Preloader_mclip_05_19 (Ready_fla.Preloader_mclip_05_19) package Ready_fla { import flash.display.*; public dynamic class Preloader_mclip_05_19 extends MovieClip { public function Preloader_mclip_05_19(){ addFrameScript(115, frame116); } function frame116(){ stop(); stop(); } } }//package Ready_fla
Section 30
//Preloader_mclip_06_20 (Ready_fla.Preloader_mclip_06_20) package Ready_fla { import flash.display.*; public dynamic class Preloader_mclip_06_20 extends MovieClip { public function Preloader_mclip_06_20(){ addFrameScript(60, frame61); } function frame61(){ } } }//package Ready_fla
Section 31
//Preloader_mclip_07_3 (Ready_fla.Preloader_mclip_07_3) package Ready_fla { import flash.display.*; public dynamic class Preloader_mclip_07_3 extends MovieClip { public function Preloader_mclip_07_3(){ addFrameScript(104, frame105); } function frame105(){ gotoAndPlay(40); } } }//package Ready_fla
Section 32
//Preloader_mclip_09_5 (Ready_fla.Preloader_mclip_09_5) package Ready_fla { import flash.display.*; public dynamic class Preloader_mclip_09_5 extends MovieClip { public function Preloader_mclip_09_5(){ addFrameScript(19, frame20); } function frame20(){ stop(); } } }//package Ready_fla
Section 33
//Timeline_105 (Ready_fla.Timeline_105) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_105 extends MovieClip { public var next_btn:SimpleButton; public function Timeline_105(){ addFrameScript(0, frame1); } public function nextHandler(_arg1:MouseEvent):void{ MovieClip(root).wp_mc.gotoAndStop(9); } function frame1(){ this.next_btn.addEventListener(MouseEvent.MOUSE_DOWN, nextHandler); } } }//package Ready_fla
Section 34
//Timeline_107 (Ready_fla.Timeline_107) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_107 extends MovieClip { public var p1:MovieClip; public var p2:MovieClip; public var p3:MovieClip; public var p4:MovieClip; public var p5:MovieClip; public var p6:MovieClip; public var p10:MovieClip; public var p7:MovieClip; public var p8:MovieClip; public var p9:MovieClip; public var jmNum:int; public var i:int; public function Timeline_107(){ addFrameScript(0, frame1, 1, frame2); } public function pHandler(_arg1:MouseEvent):void{ if (_arg1.currentTarget.currentFrame == 1){ _arg1.currentTarget.gotoAndStop(2); jmNum++; if (jmNum >= 10){ MovieClip(root).wp_mc.p.gotoAndStop(2); }; }; } function frame1(){ stop(); MovieClip(root).sbFlag = 2; jmNum = 0; MovieClip(root).sb_mc.gotoAndStop(1); i = 1; while (i <= 10) { this[("p" + i)].gotoAndStop(1); this[("p" + i)].n = i; this[("p" + i)].addEventListener(MouseEvent.MOUSE_DOWN, pHandler); i++; }; } function frame2(){ stop(); MovieClip(root).wp_mc.wp.ctrl_mc3.gotoAndStop(2); MovieClip(root).sb_mc.gotoAndStop(2); } } }//package Ready_fla
Section 35
//Timeline_118 (Ready_fla.Timeline_118) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_118 extends MovieClip { public var p1:MovieClip; public var p2:MovieClip; public var p3:MovieClip; public var p4:MovieClip; public var p5:MovieClip; public var p6:MovieClip; public var p10:MovieClip; public var p7:MovieClip; public var p8:MovieClip; public var p9:MovieClip; public var khNum:int; public var i:int; public function Timeline_118(){ addFrameScript(0, frame1, 1, frame2); } public function pHandler(_arg1:MouseEvent):void{ if (_arg1.currentTarget.currentFrame == 1){ _arg1.currentTarget.gotoAndStop(2); khNum++; if (khNum >= 10){ MovieClip(root).wp_mc.p.gotoAndStop(2); }; }; } function frame1(){ stop(); MovieClip(root).sbFlag = 3; khNum = 0; MovieClip(root).sb_mc.gotoAndStop(1); i = 1; while (i <= 10) { this[("p" + i)].gotoAndStop(1); this[("p" + i)].n = i; this[("p" + i)].addEventListener(MouseEvent.MOUSE_DOWN, pHandler); i++; }; } function frame2(){ stop(); MovieClip(root).wp_mc.wp.ctrl_mc4.gotoAndStop(2); MovieClip(root).sb_mc.gotoAndStop(2); } } }//package Ready_fla
Section 36
//Timeline_129 (Ready_fla.Timeline_129) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_129 extends MovieClip { public var p1:MovieClip; public var p2:MovieClip; public var p3:MovieClip; public var p4:MovieClip; public var mmCartoon_mc:MovieClip; public var p5:MovieClip; public var p:MovieClip; public var i; public var j; public function Timeline_129(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } public function jmHandler(_arg1:MouseEvent):void{ if ((((MovieClip(root).clickFlag == true)) && ((_arg1.currentTarget.currentFrame == 1)))){ MovieClip(root).tempSwapDepth = _arg1.currentTarget.parent.getChildIndex(_arg1.currentTarget); MovieClip(root).newSwapDepth = _arg1.currentTarget.parent.getChildIndex(_arg1.currentTarget.parent.p); if ((MovieClip(root).newSwapDepth > MovieClip(root).oldSwapDepth)){ MovieClip(root).newSwapDepth = MovieClip(root).newSwapDepth; } else { MovieClip(root).newSwapDepth = MovieClip(root).oldSwapDepth; }; _arg1.currentTarget.parent.setChildIndex(_arg1.currentTarget, MovieClip(root).newSwapDepth); MovieClip(root).oldSwapDepth = _arg1.currentTarget.parent.getChildIndex(_arg1.currentTarget); _arg1.currentTarget.gotoAndStop(2); }; } function frame1(){ stop(); MovieClip(root).sbFlag = 4; MovieClip(root).sb_mc.gotoAndStop(1); i = 1; while (i <= 5) { this[("p" + i)].n = i; this[("p" + i)].visible = true; this[("p" + i)].gotoAndStop(1); this[("p" + i)].buttonMode = true; this[("p" + i)].addEventListener(MouseEvent.MOUSE_DOWN, jmHandler); i++; }; } function frame2(){ Mouse.show(); this.mmCartoon_mc.gotoAndPlay(1); MovieClip(root).sb_mc.gotoAndStop(2); j = 1; while (j <= 5) { this[("p" + j)].n = j; this[("p" + j)].visible = false; this[("p" + j)].gotoAndStop(1); this[("p" + j)].removeEventListener(MouseEvent.MOUSE_DOWN, jmHandler); j++; }; } function frame3(){ stop(); MovieClip(root).wp_mc.wp.ctrl_mc5.gotoAndStop(2); MovieClip(root).sb_mc.gotoAndStop(2); } } }//package Ready_fla
Section 37
//Timeline_132 (Ready_fla.Timeline_132) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_132 extends MovieClip { public function Timeline_132(){ addFrameScript(0, frame1, 27, frame28); } function frame1(){ MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).clickFlag = false; } function frame28(){ MovieClip(root).sb_mc.gotoAndStop(1); stop(); MovieClip(root).clickFlag = true; if ((((((((((MovieClip(root).wp_mc.p.p1.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p2.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p3.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p4.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p5.currentFrame == 2)))){ MovieClip(root).wp_mc.p.gotoAndStop(2); }; } } }//package Ready_fla
Section 38
//Timeline_136 (Ready_fla.Timeline_136) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_136 extends MovieClip { public function Timeline_136(){ addFrameScript(0, frame1, 27, frame28); } function frame1(){ MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).clickFlag = false; } function frame28(){ MovieClip(root).sb_mc.gotoAndStop(1); stop(); MovieClip(root).clickFlag = true; if ((((((((((MovieClip(root).wp_mc.p.p1.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p2.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p3.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p4.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p5.currentFrame == 2)))){ MovieClip(root).wp_mc.p.gotoAndStop(2); }; } } }//package Ready_fla
Section 39
//Timeline_139 (Ready_fla.Timeline_139) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_139 extends MovieClip { public function Timeline_139(){ addFrameScript(0, frame1, 20, frame21); } function frame1(){ MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).clickFlag = false; } function frame21(){ MovieClip(root).sb_mc.gotoAndStop(1); stop(); MovieClip(root).clickFlag = true; if ((((((((((MovieClip(root).wp_mc.p.p1.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p2.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p3.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p4.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p5.currentFrame == 2)))){ MovieClip(root).wp_mc.p.gotoAndStop(2); }; } } }//package Ready_fla
Section 40
//Timeline_142 (Ready_fla.Timeline_142) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_142 extends MovieClip { public function Timeline_142(){ addFrameScript(0, frame1, 27, frame28); } function frame1(){ MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).clickFlag = false; } function frame28(){ MovieClip(root).sb_mc.gotoAndStop(1); stop(); MovieClip(root).clickFlag = true; if ((((((((((MovieClip(root).wp_mc.p.p1.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p2.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p3.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p4.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p5.currentFrame == 2)))){ MovieClip(root).wp_mc.p.gotoAndStop(2); }; } } }//package Ready_fla
Section 41
//Timeline_145 (Ready_fla.Timeline_145) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_145 extends MovieClip { public function Timeline_145(){ addFrameScript(0, frame1, 27, frame28); } function frame1(){ MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).clickFlag = false; } function frame28(){ MovieClip(root).sb_mc.gotoAndStop(1); stop(); MovieClip(root).clickFlag = true; if ((((((((((MovieClip(root).wp_mc.p.p1.currentFrame == 2)) && ((MovieClip(root).wp_mc.p.p2.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p3.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p4.currentFrame == 2)))) && ((MovieClip(root).wp_mc.p.p5.currentFrame == 2)))){ MovieClip(root).wp_mc.p.gotoAndStop(2); }; } } }//package Ready_fla
Section 42
//Timeline_147 (Ready_fla.Timeline_147) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_147 extends MovieClip { public function Timeline_147(){ addFrameScript(119, frame120); } function frame120(){ stop(); try { MovieClip(root).wp_mc.p.gotoAndStop(3); } catch(err:Error) { }; } } }//package Ready_fla
Section 43
//Timeline_150 (Ready_fla.Timeline_150) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_150 extends MovieClip { public var p1:MovieClip; public var p2:MovieClip; public var p3:MovieClip; public var p4:MovieClip; public var p5:MovieClip; public var p6:MovieClip; public var p10:MovieClip; public var p7:MovieClip; public var p8:MovieClip; public var p9:MovieClip; public var zjNum:int; public var i:int; public function Timeline_150(){ addFrameScript(0, frame1, 1, frame2); } public function pHandler(_arg1:MouseEvent):void{ if (_arg1.currentTarget.currentFrame == 1){ _arg1.currentTarget.gotoAndStop(2); zjNum++; if (zjNum >= 10){ MovieClip(root).wp_mc.p.gotoAndStop(2); }; }; } function frame1(){ stop(); MovieClip(root).sbFlag = 5; zjNum = 0; MovieClip(root).sb_mc.gotoAndStop(1); i = 1; while (i <= 10) { this[("p" + i)].gotoAndStop(1); this[("p" + i)].n = i; this[("p" + i)].addEventListener(MouseEvent.MOUSE_DOWN, pHandler); i++; }; } function frame2(){ stop(); MovieClip(root).wp_mc.wp.ctrl_mc6.gotoAndStop(2); MovieClip(root).sb_mc.gotoAndStop(2); } } }//package Ready_fla
Section 44
//Timeline_161 (Ready_fla.Timeline_161) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_161 extends MovieClip { public var p16:MovieClip; public var p1:MovieClip; public var p2:MovieClip; public var p3:MovieClip; public var p4:MovieClip; public var p5:MovieClip; public var p6:MovieClip; public var p10:MovieClip; public var p7:MovieClip; public var p11:MovieClip; public var p8:MovieClip; public var p9:MovieClip; public var p12:MovieClip; public var p13:MovieClip; public var p14:MovieClip; public var p15:MovieClip; public var tfNum:int; public var i:int; public function Timeline_161(){ addFrameScript(0, frame1, 1, frame2); } public function pHandler(_arg1:MouseEvent):void{ if (_arg1.currentTarget.currentFrame == 1){ _arg1.currentTarget.gotoAndStop(2); tfNum++; if (tfNum >= 16){ MovieClip(root).wp_mc.p.gotoAndStop(2); }; }; } function frame1(){ stop(); MovieClip(root).sbFlag = 6; tfNum = 0; MovieClip(root).sb_mc.gotoAndStop(1); i = 1; while (i <= 16) { this[("p" + i)].gotoAndStop(1); this[("p" + i)].n = i; this[("p" + i)].addEventListener(MouseEvent.MOUSE_DOWN, pHandler); i++; }; } function frame2(){ stop(); MovieClip(root).wp_mc.wp.ctrl_mc7.gotoAndStop(2); MovieClip(root).sb_mc.gotoAndStop(2); } } }//package Ready_fla
Section 45
//Timeline_170 (Ready_fla.Timeline_170) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_170 extends MovieClip { public var hit_mc3:MovieClip; public var hit_mc4:MovieClip; public var hit_mc5:MovieClip; public var hit_mc1:MovieClip; public var hit_mc2:MovieClip; public function Timeline_170(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); MovieClip(root).sbFlag = 7; MovieClip(root).sb_mc.gotoAndStop(1); MovieClip(root).addEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); } function frame2(){ stop(); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); MovieClip(root).wp_mc.wp.ctrl_mc8.gotoAndStop(2); MovieClip(root).sb_mc.gotoAndStop(2); } } }//package Ready_fla
Section 46
//Timeline_177 (Ready_fla.Timeline_177) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_177 extends MovieClip { public function Timeline_177(){ addFrameScript(0, frame1, 8, frame9, 111, frame112, 112, frame113); } function frame1(){ stop(); } function frame9(){ MovieClip(root).teacherS.play(); } function frame112(){ if (((!((MovieClip(root).wp_mc.currentFrame == 9))) && (!((MovieClip(root).wp_mc.wp[("ctrl_mc" + MovieClip(root).wp_mc.currentFrame)].currentFrame == 2))))){ MovieClip(root).teacher_mc.gotoAndStop(113); } else { MovieClip(root).teacher_mc.gotoAndPlay(114); MovieClip(root).timeControl1(); }; } function frame113(){ stop(); trace("fail"); MovieClip(root).gotoAndStop("fail"); } } }//package Ready_fla
Section 47
//Timeline_185 (Ready_fla.Timeline_185) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_185 extends MovieClip { public var hb_mc:MovieClip; public var a_mc:MovieClip; public function Timeline_185(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.startDrag(true); this.mouseEnabled = false; this.mouseChildren = false; if (((!((MovieClip(root).sbFlag == 0))) && (!((MovieClip(root).wp_mc.currentFrame == 9))))){ this.hb_mc.gotoAndStop(MovieClip(root).sbFlag); Mouse.hide(); } else { this.hb_mc.gotoAndStop(this.hb_mc.totalFrames); Mouse.show(); }; } function frame2(){ this.startDrag(true); Mouse.show(); } } }//package Ready_fla
Section 48
//Timeline_75 (Ready_fla.Timeline_75) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_75 extends MovieClip { public var wp:MovieClip; public var p:MovieClip; public function Timeline_75(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9); } function frame1(){ stop(); MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); } function frame2(){ stop(); MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); } function frame3(){ stop(); MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); } function frame4(){ stop(); MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); } function frame5(){ stop(); MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); } function frame6(){ stop(); MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); } function frame7(){ stop(); MovieClip(root).sb_mc.gotoAndStop(2); } function frame8(){ stop(); MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); } function frame9(){ MovieClip(root).sbFlag = 0; MovieClip(root).isDown = false; MovieClip(root).sb_mc.gotoAndStop(2); MovieClip(root).removeEventListener(MouseEvent.MOUSE_MOVE, MovieClip(root).onMove1); MovieClip(root).sbFlag = 0; MovieClip(root).isDown = false; MovieClip(root).sb_mc.gotoAndStop(2); } } }//package Ready_fla
Section 49
//Timeline_78 (Ready_fla.Timeline_78) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_78 extends MovieClip { public function Timeline_78(){ addFrameScript(34, frame35); } function frame35(){ stop(); MovieClip(root).successFun(); } } }//package Ready_fla
Section 50
//Timeline_86 (Ready_fla.Timeline_86) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_86 extends MovieClip { public var inputTxt:TextField; public function Timeline_86(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); MovieClip(root).str = "Hey!Can you pick me up in 20 minutes"; this.inputTxt.text = ""; MovieClip(root).keyInputFlag = 0; stage.addEventListener(KeyboardEvent.KEY_DOWN, MovieClip(root).reportKeyDown); } function frame2(){ stop(); MovieClip(root).removeEventListener(KeyboardEvent.KEY_DOWN, MovieClip(root).reportKeyDown); MovieClip(root).wp_mc.wp.ctrl_mc1.gotoAndStop(2); MovieClip(root).sb_mc.gotoAndStop(2); } } }//package Ready_fla
Section 51
//Timeline_92 (Ready_fla.Timeline_92) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_92 extends MovieClip { public var next_btn:SimpleButton; public function Timeline_92(){ addFrameScript(0, frame1); } public function nextHandler(_arg1:MouseEvent):void{ MovieClip(root).wp_mc.gotoAndStop(9); } function frame1(){ this.next_btn.addEventListener(MouseEvent.MOUSE_DOWN, nextHandler); } } }//package Ready_fla
Section 52
//Timeline_94 (Ready_fla.Timeline_94) package Ready_fla { import flash.display.*; import flash.utils.*; import flash.events.*; import flash.geom.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; public dynamic class Timeline_94 extends MovieClip { public var p1:MovieClip; public var p2:MovieClip; public var p3:MovieClip; public var p4:MovieClip; public var p5:MovieClip; public var p6:MovieClip; public var p10:MovieClip; public var p7:MovieClip; public var p8:MovieClip; public var p9:MovieClip; public var tfNum:int; public var i:int; public function Timeline_94(){ addFrameScript(0, frame1, 1, frame2); } public function pHandler(_arg1:MouseEvent):void{ if (_arg1.currentTarget.currentFrame == 1){ _arg1.currentTarget.gotoAndStop(2); tfNum++; if (tfNum >= 10){ MovieClip(root).wp_mc.p.gotoAndStop(2); }; }; } function frame1(){ stop(); MovieClip(root).sbFlag = 1; tfNum = 0; MovieClip(root).sb_mc.gotoAndStop(1); i = 1; while (i <= 10) { this[("p" + i)].gotoAndStop(1); this[("p" + i)].n = i; this[("p" + i)].addEventListener(MouseEvent.MOUSE_DOWN, pHandler); i++; }; } function frame2(){ stop(); MovieClip(root).wp_mc.wp.ctrl_mc2.gotoAndStop(2); MovieClip(root).sb_mc.gotoAndStop(2); } } }//package Ready_fla
Section 53
//bg_sound (bg_sound) package { import flash.media.*; public dynamic class bg_sound extends Sound { } }//package
Section 54
//btnSound (btnSound) package { import flash.media.*; public dynamic class btnSound extends Sound { } }//package
Section 55
//SaveImage (SaveImage) package { import com.adobe.images.*; import flash.display.*; import flash.geom.*; import flash.net.*; public class SaveImage extends MovieClip { public static function drawImage(_arg1:DisplayObject, _arg2:Rectangle, _arg3:String="未命名.jpg"):void{ var _local4:Matrix = new Matrix(); _local4.tx = -(_arg2.x); _local4.ty = -(_arg2.y); _arg2.x = 0; _arg2.y = 0; var _local5:BitmapData = new BitmapData(_arg2.width, _arg2.height, true); _local5.draw(_arg1, _local4); var _local6:FileReference = new FileReference(); var _local7:JPGEncoder = new JPGEncoder(100); _local6.save(_local7.encode(_local5), _arg3); } } }//package
Section 56
//teacherSound (teacherSound) package { import flash.media.*; public dynamic class teacherSound extends Sound { } }//package

Library Items

Symbol 1 Sound {btnSound}
Symbol 2 Sound {teacherSound}
Symbol 3 Sound {bg_sound}
Symbol 4 MovieClip {SaveImage}Used by:Timeline
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 GraphicUsed by:Timeline
Symbol 8 GraphicUsed by:38
Symbol 9 GraphicUsed by:38
Symbol 10 GraphicUsed by:30
Symbol 11 GraphicUsed by:30 83 183 186
Symbol 12 GraphicUsed by:30
Symbol 13 GraphicUsed by:30
Symbol 14 GraphicUsed by:30
Symbol 15 GraphicUsed by:30
Symbol 16 GraphicUsed by:30
Symbol 17 GraphicUsed by:30
Symbol 18 GraphicUsed by:30
Symbol 19 GraphicUsed by:30
Symbol 20 GraphicUsed by:30
Symbol 21 GraphicUsed by:30
Symbol 22 GraphicUsed by:30
Symbol 23 GraphicUsed by:30
Symbol 24 GraphicUsed by:30
Symbol 25 GraphicUsed by:30
Symbol 26 GraphicUsed by:30
Symbol 27 GraphicUsed by:30
Symbol 28 GraphicUsed by:30
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClip {Ready_fla.Preloader_mclip_07_3}Uses:10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29Used by:38
Symbol 31 GraphicUsed by:38
Symbol 32 GraphicUsed by:38
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:35
Symbol 35 MovieClip {Ready_fla.Preloader_mclip_09_5}Uses:34Used by:36
Symbol 36 MovieClip {Ready_fla.Preloader_mclip_010_4}Uses:35Used by:38
Symbol 37 GraphicUsed by:38 92
Symbol 38 MovieClip {Ready_fla.Preloader_mclip_04_2}Uses:8 9 30 31 32 36 37Used by:Timeline
Symbol 39 GraphicUsed by:42
Symbol 40 ShapeTweeningUsed by:42
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:39 40 41Used by:Timeline
Symbol 43 GraphicUsed by:Timeline
Symbol 44 FontUsed by:45 46
Symbol 45 EditableTextUses:44Used by:Timeline
Symbol 46 TextUses:44Used by:Timeline
Symbol 47 FontUsed by:48
Symbol 48 TextUses:47Used by:Timeline
Symbol 49 GraphicUsed by:50
Symbol 50 ButtonUses:49Used by:124  Timeline
Symbol 51 GraphicUsed by:52
Symbol 52 ButtonUses:51Used by:124
Symbol 53 GraphicUsed by:65 66
Symbol 54 ShapeTweeningUsed by:59 66 72
Symbol 55 GraphicUsed by:59
Symbol 56 ShapeTweeningUsed by:59
Symbol 57 GraphicUsed by:59
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClip {Ready_fla.Preloader_mclip_025_13}Uses:54 55 56 57 58Used by:60
Symbol 60 MovieClipUses:59Used by:65 66 68
Symbol 61 FontUsed by:62 63 69 70
Symbol 62 TextUses:61Used by:64
Symbol 63 TextUses:61Used by:64
Symbol 64 MovieClipUses:62 63Used by:66
Symbol 65 MovieClipUses:53 60Used by:66
Symbol 66 ButtonUses:53 60 64 65 54Used by:124
Symbol 67 GraphicUsed by:68 72
Symbol 68 MovieClipUses:67 60Used by:72
Symbol 69 TextUses:61Used by:71 72
Symbol 70 TextUses:61Used by:71 72
Symbol 71 MovieClipUses:69 70Used by:72
Symbol 72 ButtonUses:68 71 67 54 69 70Used by:124
Symbol 73 GraphicUsed by:92
Symbol 74 GraphicUsed by:83
Symbol 75 GraphicUsed by:83
Symbol 76 GraphicUsed by:83
Symbol 77 GraphicUsed by:83
Symbol 78 GraphicUsed by:83
Symbol 79 GraphicUsed by:83
Symbol 80 GraphicUsed by:83
Symbol 81 GraphicUsed by:83
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClip {Ready_fla.Preloader_mclip_06_20}Uses:74 11 75 76 77 78 79 80 81 82Used by:92
Symbol 84 GraphicUsed by:92
Symbol 85 SoundUsed by:92
Symbol 86 SoundUsed by:92
Symbol 87 GraphicUsed by:92
Symbol 88 GraphicUsed by:92
Symbol 89 GraphicUsed by:92
Symbol 90 GraphicUsed by:92
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClip {Ready_fla.Preloader_mclip_05_19}Uses:73 83 84 37 85 86 87 88 89 90 91Used by:124
Symbol 93 FontUsed by:94
Symbol 94 TextUses:93Used by:97
Symbol 95 GraphicUsed by:97
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:94 95 96Used by:124
Symbol 98 ShapeTweeningUsed by:101
Symbol 99 ShapeTweeningUsed by:101
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClip {Ready_fla.Preloader_mclip_03_22}Uses:98 99 100Used by:124
Symbol 102 GraphicUsed by:103 158 186
Symbol 103 MovieClipUses:102Used by:104
Symbol 104 MovieClipUses:103Used by:124
Symbol 105 GraphicUsed by:106 160 186
Symbol 106 MovieClipUses:105Used by:107
Symbol 107 MovieClipUses:106Used by:124
Symbol 108 GraphicUsed by:109 113 114
Symbol 109 MovieClipUses:108Used by:115
Symbol 110 ShapeTweeningUsed by:113
Symbol 111 GraphicUsed by:113 165
Symbol 112 GraphicUsed by:113 165
Symbol 113 MovieClipUses:108 110 111 112Used by:115
Symbol 114 MovieClipUses:108Used by:115
Symbol 115 MovieClipUses:109 113 114Used by:116
Symbol 116 MovieClipUses:115Used by:124
Symbol 117 GraphicUsed by:118 169 186
Symbol 118 MovieClipUses:117Used by:119
Symbol 119 MovieClipUses:118Used by:124
Symbol 120 GraphicUsed by:123 172 186
Symbol 121 GraphicUsed by:122 171 186
Symbol 122 MovieClipUses:121Used by:123
Symbol 123 MovieClipUses:120 122Used by:124
Symbol 124 MovieClip {Ready_fla.intro_9}Uses:50 52 66 72 92 97 101 104 107 116 119 123Used by:Timeline
Symbol 125 GraphicUsed by:128 194 202 498 507
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:128
Symbol 128 MovieClipUses:125 127Used by:Timeline
Symbol 129 GraphicUsed by:Timeline
Symbol 130 GraphicUsed by:507  Timeline
Symbol 131 GraphicUsed by:133
Symbol 132 GraphicUsed by:133
Symbol 133 ButtonUses:131 132Used by:Timeline
Symbol 134 GraphicUsed by:136
Symbol 135 GraphicUsed by:136
Symbol 136 ButtonUses:134 135Used by:Timeline
Symbol 137 GraphicUsed by:139
Symbol 138 GraphicUsed by:139
Symbol 139 ButtonUses:137 138Used by:Timeline
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:140Used by:142
Symbol 142 MovieClipUses:141Used by:Timeline
Symbol 143 GraphicUsed by:Timeline
Symbol 144 GraphicUsed by:153
Symbol 145 GraphicUsed by:146 153
Symbol 146 MovieClipUses:145Used by:151
Symbol 147 GraphicUsed by:148
Symbol 148 MovieClipUses:147Used by:151
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:149Used by:151
Symbol 151 MovieClipUses:146 148 150Used by:153
Symbol 152 GraphicUsed by:153
Symbol 153 ButtonUses:144 151 152 145Used by:157
Symbol 154 GraphicUsed by:156
Symbol 155 GraphicUsed by:156
Symbol 156 ButtonUses:154 155Used by:157
Symbol 157 MovieClip {Ready_fla.EL_665_3110_43}Uses:153 156Used by:Timeline
Symbol 158 MovieClipUses:102Used by:159
Symbol 159 MovieClipUses:158Used by:186
Symbol 160 MovieClipUses:105Used by:161
Symbol 161 MovieClipUses:160Used by:186
Symbol 162 GraphicUsed by:163 165 166 186
Symbol 163 MovieClipUses:162Used by:167
Symbol 164 ShapeTweeningUsed by:165 186
Symbol 165 MovieClipUses:162 164 111 112Used by:167
Symbol 166 MovieClipUses:162Used by:167
Symbol 167 MovieClipUses:163 165 166Used by:168
Symbol 168 MovieClipUses:167Used by:186
Symbol 169 MovieClipUses:117Used by:170
Symbol 170 MovieClipUses:169Used by:186
Symbol 171 MovieClipUses:121Used by:172
Symbol 172 MovieClipUses:120 171Used by:186
Symbol 173 GraphicUsed by:185 186
Symbol 174 GraphicUsed by:183 186
Symbol 175 GraphicUsed by:183
Symbol 176 GraphicUsed by:183
Symbol 177 GraphicUsed by:183
Symbol 178 GraphicUsed by:183
Symbol 179 GraphicUsed by:183
Symbol 180 GraphicUsed by:183
Symbol 181 GraphicUsed by:183
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:174 11 175 176 177 178 179 180 181 182Used by:185
Symbol 184 GraphicUsed by:185 186
Symbol 185 MovieClipUses:173 183 184Used by:186
Symbol 186 ButtonUses:159 161 168 170 172 185 102 105 162 164 117 120 121 173 174 11 184Used by:187
Symbol 187 MovieClip {Ready_fla.EL_2740_4900_50}Uses:186Used by:Timeline
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:190 191
Symbol 190 MovieClipUses:189Used by:191
Symbol 191 ButtonUses:190 189Used by:192
Symbol 192 MovieClip {Ready_fla.EL_3026_9004_67}Uses:191Used by:Timeline
Symbol 193 GraphicUsed by:194
Symbol 194 MovieClipUses:125 193Used by:Timeline
Symbol 195 GraphicUsed by:197
Symbol 196 GraphicUsed by:197
Symbol 197 ButtonUses:195 196Used by:Timeline
Symbol 198 GraphicUsed by:202
Symbol 199 GraphicUsed by:201
Symbol 200 GraphicUsed by:201
Symbol 201 ButtonUses:199 200Used by:202  Timeline
Symbol 202 MovieClipUses:125 198 201Used by:Timeline
Symbol 203 GraphicUsed by:205
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClipUses:203 204Used by:Timeline
Symbol 206 GraphicUsed by:460
Symbol 207 GraphicUsed by:210
Symbol 208 GraphicUsed by:209
Symbol 209 MovieClip {Ready_fla.Timeline_78}Uses:208Used by:210 212 214 216 218 220 222 224
Symbol 210 MovieClipUses:207 209Used by:225
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:211 209Used by:225
Symbol 213 GraphicUsed by:214
Symbol 214 MovieClipUses:213 209Used by:225
Symbol 215 GraphicUsed by:216
Symbol 216 MovieClipUses:215 209Used by:225
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClipUses:217 209Used by:225
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClipUses:219 209Used by:225
Symbol 221 GraphicUsed by:222
Symbol 222 MovieClipUses:221 209Used by:225
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClipUses:223 209Used by:225
Symbol 225 MovieClipUses:210 212 214 216 218 220 222 224Used by:460
Symbol 226 GraphicUsed by:460
Symbol 227 GraphicUsed by:238
Symbol 228 FontUsed by:229 230
Symbol 229 TextUses:228Used by:238
Symbol 230 EditableTextUses:228Used by:238
Symbol 231 GraphicUsed by:237
Symbol 232 GraphicUsed by:233 235
Symbol 233 MovieClipUses:232Used by:234
Symbol 234 MovieClipUses:233Used by:237
Symbol 235 MovieClipUses:232Used by:236
Symbol 236 MovieClipUses:235Used by:237
Symbol 237 MovieClipUses:231 234 236Used by:238 275 310 345 395 427 444 459
Symbol 238 MovieClip {Ready_fla.Timeline_86}Uses:227 229 230 237Used by:460
Symbol 239 GraphicUsed by:240
Symbol 240 ButtonUses:239Used by:241
Symbol 241 MovieClip {Ready_fla.Timeline_92}Uses:240Used by:460
Symbol 242 GraphicUsed by:275
Symbol 243 GraphicUsed by:245
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:243 244Used by:275
Symbol 246 GraphicUsed by:248
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:246 247Used by:275
Symbol 249 GraphicUsed by:251
Symbol 250 GraphicUsed by:251
Symbol 251 MovieClipUses:249 250Used by:275
Symbol 252 GraphicUsed by:254
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClipUses:252 253Used by:275
Symbol 255 GraphicUsed by:257
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClipUses:255 256Used by:275
Symbol 258 GraphicUsed by:260
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClipUses:258 259Used by:275
Symbol 261 GraphicUsed by:275
Symbol 262 GraphicUsed by:264
Symbol 263 GraphicUsed by:264
Symbol 264 MovieClipUses:262 263Used by:275
Symbol 265 GraphicUsed by:267
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClipUses:265 266Used by:275
Symbol 268 GraphicUsed by:270
Symbol 269 GraphicUsed by:270
Symbol 270 MovieClipUses:268 269Used by:275
Symbol 271 GraphicUsed by:273
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:271 272Used by:275
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClip {Ready_fla.Timeline_94}Uses:242 245 248 251 254 257 260 261 264 267 270 273 274 237Used by:460
Symbol 276 GraphicUsed by:277
Symbol 277 ButtonUses:276Used by:278
Symbol 278 MovieClip {Ready_fla.Timeline_105}Uses:277Used by:460
Symbol 279 GraphicUsed by:310
Symbol 280 GraphicUsed by:282
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClipUses:280 281Used by:310
Symbol 283 GraphicUsed by:285
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:283 284Used by:310
Symbol 286 GraphicUsed by:288
Symbol 287 GraphicUsed by:288
Symbol 288 MovieClipUses:286 287Used by:310
Symbol 289 GraphicUsed by:291
Symbol 290 GraphicUsed by:291
Symbol 291 MovieClipUses:289 290Used by:310
Symbol 292 GraphicUsed by:294
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:292 293Used by:310
Symbol 295 GraphicUsed by:297
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClipUses:295 296Used by:310
Symbol 298 GraphicUsed by:300
Symbol 299 GraphicUsed by:300
Symbol 300 MovieClipUses:298 299Used by:310
Symbol 301 GraphicUsed by:303
Symbol 302 GraphicUsed by:303
Symbol 303 MovieClipUses:301 302Used by:310
Symbol 304 GraphicUsed by:306
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClipUses:304 305Used by:310
Symbol 307 GraphicUsed by:309
Symbol 308 GraphicUsed by:309
Symbol 309 MovieClipUses:307 308Used by:310
Symbol 310 MovieClip {Ready_fla.Timeline_107}Uses:279 282 285 288 291 294 297 300 303 306 309 237Used by:460
Symbol 311 GraphicUsed by:345
Symbol 312 GraphicUsed by:315
Symbol 313 GraphicUsed by:315 322 324
Symbol 314 GraphicUsed by:315 324
Symbol 315 MovieClipUses:312 313 314Used by:345
Symbol 316 GraphicUsed by:319
Symbol 317 GraphicUsed by:319
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:316 317 318Used by:345
Symbol 320 GraphicUsed by:322
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClipUses:320 313 321Used by:345
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClipUses:323 313 314Used by:345
Symbol 325 GraphicUsed by:328
Symbol 326 GraphicUsed by:328
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClipUses:325 326 327Used by:345
Symbol 329 GraphicUsed by:332
Symbol 330 GraphicUsed by:332 334 340
Symbol 331 GraphicUsed by:332 334 340 343
Symbol 332 MovieClipUses:329 330 331Used by:345
Symbol 333 GraphicUsed by:334
Symbol 334 MovieClipUses:333 330 331Used by:345
Symbol 335 GraphicUsed by:338
Symbol 336 GraphicUsed by:338
Symbol 337 GraphicUsed by:338
Symbol 338 MovieClipUses:335 336 337Used by:345
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClipUses:339 330 331Used by:345
Symbol 341 GraphicUsed by:343
Symbol 342 GraphicUsed by:343
Symbol 343 MovieClipUses:341 342 331Used by:345
Symbol 344 GraphicUsed by:345
Symbol 345 MovieClip {Ready_fla.Timeline_118}Uses:311 315 319 322 324 328 332 334 338 340 343 344 237Used by:460
Symbol 346 GraphicUsed by:395
Symbol 347 GraphicUsed by:348
Symbol 348 MovieClipUses:347Used by:353 354
Symbol 349 ShapeTweeningUsed by:353
Symbol 350 GraphicUsed by:351
Symbol 351 MovieClipUses:350Used by:353 359 365 371 377
Symbol 352 GraphicUsed by:353
Symbol 353 MovieClip {Ready_fla.Timeline_132}Uses:349 348 351 352Used by:354
Symbol 354 MovieClipUses:348 353Used by:395
Symbol 355 GraphicUsed by:356
Symbol 356 MovieClipUses:355Used by:359 360
Symbol 357 ShapeTweeningUsed by:359
Symbol 358 GraphicUsed by:359
Symbol 359 MovieClip {Ready_fla.Timeline_136}Uses:357 356 351 358Used by:360
Symbol 360 MovieClipUses:356 359Used by:395
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClipUses:361Used by:365 366
Symbol 363 ShapeTweeningUsed by:365
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClip {Ready_fla.Timeline_139}Uses:363 362 351 364Used by:366
Symbol 366 MovieClipUses:362 365Used by:395
Symbol 367 GraphicUsed by:368
Symbol 368 MovieClipUses:367Used by:371 372
Symbol 369 ShapeTweeningUsed by:371
Symbol 370 GraphicUsed by:371
Symbol 371 MovieClip {Ready_fla.Timeline_142}Uses:369 368 351 370Used by:372
Symbol 372 MovieClipUses:368 371Used by:395
Symbol 373 GraphicUsed by:374
Symbol 374 MovieClipUses:373Used by:377 378
Symbol 375 ShapeTweeningUsed by:377
Symbol 376 GraphicUsed by:377
Symbol 377 MovieClip {Ready_fla.Timeline_145}Uses:375 374 351 376Used by:378
Symbol 378 MovieClipUses:374 377Used by:395
Symbol 379 GraphicUsed by:380
Symbol 380 MovieClipUses:379Used by:395
Symbol 381 GraphicUsed by:393
Symbol 382 GraphicUsed by:383
Symbol 383 MovieClipUses:382Used by:393
Symbol 384 GraphicUsed by:393
Symbol 385 GraphicUsed by:393
Symbol 386 GraphicUsed by:393
Symbol 387 GraphicUsed by:393
Symbol 388 GraphicUsed by:393
Symbol 389 GraphicUsed by:393
Symbol 390 GraphicUsed by:393
Symbol 391 GraphicUsed by:392
Symbol 392 MovieClipUses:391Used by:393
Symbol 393 MovieClip {Ready_fla.Timeline_147}Uses:381 383 384 385 386 387 388 389 390 392Used by:395
Symbol 394 GraphicUsed by:395
Symbol 395 MovieClip {Ready_fla.Timeline_129}Uses:346 354 360 366 372 378 380 393 394 237Used by:460
Symbol 396 GraphicUsed by:427
Symbol 397 GraphicUsed by:399
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClipUses:397 398Used by:427
Symbol 400 GraphicUsed by:402
Symbol 401 GraphicUsed by:402
Symbol 402 MovieClipUses:400 401Used by:427
Symbol 403 GraphicUsed by:405
Symbol 404 GraphicUsed by:405
Symbol 405 MovieClipUses:403 404Used by:427
Symbol 406 GraphicUsed by:408
Symbol 407 GraphicUsed by:408
Symbol 408 MovieClipUses:406 407Used by:427
Symbol 409 GraphicUsed by:411
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClipUses:409 410Used by:427
Symbol 412 GraphicUsed by:414
Symbol 413 GraphicUsed by:414
Symbol 414 MovieClipUses:412 413Used by:427
Symbol 415 GraphicUsed by:417
Symbol 416 GraphicUsed by:417
Symbol 417 MovieClipUses:415 416Used by:427
Symbol 418 GraphicUsed by:420
Symbol 419 GraphicUsed by:420
Symbol 420 MovieClipUses:418 419Used by:427
Symbol 421 GraphicUsed by:423
Symbol 422 GraphicUsed by:423
Symbol 423 MovieClipUses:421 422Used by:427
Symbol 424 GraphicUsed by:426
Symbol 425 GraphicUsed by:426
Symbol 426 MovieClipUses:424 425Used by:427
Symbol 427 MovieClip {Ready_fla.Timeline_150}Uses:396 399 402 405 408 411 414 417 420 423 426 237Used by:460
Symbol 428 GraphicUsed by:444
Symbol 429 GraphicUsed by:430 431
Symbol 430 MovieClipUses:429Used by:444
Symbol 431 MovieClipUses:429Used by:444
Symbol 432 GraphicUsed by:433
Symbol 433 MovieClipUses:432Used by:444
Symbol 434 GraphicUsed by:435
Symbol 435 MovieClipUses:434Used by:444
Symbol 436 GraphicUsed by:437
Symbol 437 MovieClipUses:436Used by:444
Symbol 438 GraphicUsed by:439
Symbol 439 MovieClipUses:438Used by:444
Symbol 440 GraphicUsed by:441
Symbol 441 MovieClipUses:440Used by:444
Symbol 442 GraphicUsed by:443
Symbol 443 MovieClipUses:442Used by:444
Symbol 444 MovieClip {Ready_fla.Timeline_161}Uses:428 430 431 433 435 437 439 441 443 237Used by:460
Symbol 445 GraphicUsed by:459
Symbol 446 GraphicUsed by:449
Symbol 447 GraphicUsed by:448
Symbol 448 MovieClipUses:447Used by:449 451 453 455 457
Symbol 449 MovieClipUses:446 448Used by:459
Symbol 450 GraphicUsed by:451
Symbol 451 MovieClipUses:450 448Used by:459
Symbol 452 GraphicUsed by:453
Symbol 453 MovieClipUses:452 448Used by:459
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClipUses:454 448Used by:459
Symbol 456 GraphicUsed by:457
Symbol 457 MovieClipUses:456 448Used by:459
Symbol 458 GraphicUsed by:459
Symbol 459 MovieClip {Ready_fla.Timeline_170}Uses:445 449 451 453 455 457 458 237Used by:460
Symbol 460 MovieClip {Ready_fla.Timeline_75}Uses:206 225 226 238 241 275 278 310 345 395 427 444 459Used by:Timeline
Symbol 461 GraphicUsed by:479
Symbol 462 GraphicUsed by:463 479
Symbol 463 MovieClipUses:462Used by:479
Symbol 464 GraphicUsed by:479
Symbol 465 GraphicUsed by:479
Symbol 466 GraphicUsed by:479
Symbol 467 GraphicUsed by:474
Symbol 468 GraphicUsed by:469 471
Symbol 469 MovieClipUses:468Used by:470
Symbol 470 MovieClipUses:469Used by:474
Symbol 471 MovieClipUses:468Used by:472
Symbol 472 MovieClipUses:471Used by:474
Symbol 473 GraphicUsed by:474
Symbol 474 MovieClipUses:467 470 472 473Used by:479
Symbol 475 GraphicUsed by:479
Symbol 476 GraphicUsed by:479
Symbol 477 GraphicUsed by:478
Symbol 478 MovieClipUses:477Used by:479
Symbol 479 MovieClip {Ready_fla.Timeline_177}Uses:461 463 462 464 465 466 474 475 476 478Used by:Timeline
Symbol 480 GraphicUsed by:Timeline
Symbol 481 FontUsed by:482 483 505 508
Symbol 482 EditableTextUses:481Used by:Timeline
Symbol 483 EditableTextUses:481Used by:Timeline
Symbol 484 GraphicUsed by:485
Symbol 485 MovieClipUses:484Used by:494
Symbol 486 GraphicUsed by:493
Symbol 487 GraphicUsed by:493
Symbol 488 GraphicUsed by:493
Symbol 489 GraphicUsed by:493
Symbol 490 GraphicUsed by:493
Symbol 491 GraphicUsed by:493
Symbol 492 GraphicUsed by:493
Symbol 493 MovieClipUses:486 487 488 489 490 491 492Used by:494
Symbol 494 MovieClip {Ready_fla.Timeline_185}Uses:485 493Used by:Timeline
Symbol 495 GraphicUsed by:496
Symbol 496 ButtonUses:495Used by:Timeline
Symbol 497 GraphicUsed by:498
Symbol 498 MovieClipUses:125 497Used by:Timeline
Symbol 499 GraphicUsed by:501
Symbol 500 GraphicUsed by:501
Symbol 501 ButtonUses:499 500Used by:Timeline
Symbol 502 GraphicUsed by:504
Symbol 503 GraphicUsed by:504
Symbol 504 ButtonUses:502 503Used by:Timeline
Symbol 505 EditableTextUses:481Used by:Timeline
Symbol 506 GraphicUsed by:507
Symbol 507 MovieClipUses:125 506 130Used by:Timeline
Symbol 508 EditableTextUses:481Used by:Timeline

Instance Names

"detectMcL"Frame 2Symbol 6 MovieClip
"Bar"Frame 2Symbol 42 MovieClip
"Loader_txt"Frame 2Symbol 45 EditableText
"btn_link"Frame 2Symbol 50 Button
"detectMcLL"Frame 3Symbol 6 MovieClip
"intro_mc"Frame 3Symbol 124 MovieClip {Ready_fla.intro_9}
"play_btn"Frame 4Symbol 133 Button
"help_btn"Frame 4Symbol 136 Button
"more_btn"Frame 4Symbol 139 Button
"bt_mc"Frame 4Symbol 142 MovieClip
"music_mc"Frame 4Symbol 157 MovieClip {Ready_fla.EL_665_3110_43}
"start_btn"Frame 5Symbol 197 Button
"wp_mc"Frame 6Symbol 460 MovieClip {Ready_fla.Timeline_75}
"teacher_mc"Frame 6Symbol 479 MovieClip {Ready_fla.Timeline_177}
"more_btn"Frame 6Symbol 201 Button
"timeTxt"Frame 6Symbol 482 EditableText
"scoreTxt"Frame 6Symbol 483 EditableText
"sb_mc"Frame 6Symbol 494 MovieClip {Ready_fla.Timeline_185}
"more_btn1"Frame 6Symbol 496 Button
"more_btn"Frame 7Symbol 501 Button
"replay_btn"Frame 7Symbol 504 Button
"scoreTxt"Frame 7Symbol 505 EditableText
"scoreTxt"Frame 8Symbol 508 EditableText
"btn_link"Symbol 124 MovieClip {Ready_fla.intro_9} Frame 1Symbol 50 Button
"btn_logo"Symbol 124 MovieClip {Ready_fla.intro_9} Frame 1Symbol 52 Button
"btn_play"Symbol 124 MovieClip {Ready_fla.intro_9} Frame 1Symbol 66 Button
"btn_more"Symbol 124 MovieClip {Ready_fla.intro_9} Frame 1Symbol 72 Button
"logo"Symbol 124 MovieClip {Ready_fla.intro_9} Frame 2Symbol 92 MovieClip {Ready_fla.Preloader_mclip_05_19}
"s1"Symbol 124 MovieClip {Ready_fla.intro_9} Frame 8Symbol 97 MovieClip
"s2"Symbol 124 MovieClip {Ready_fla.intro_9} Frame 8Symbol 101 MovieClip {Ready_fla.Preloader_mclip_03_22}
"btn_play"Symbol 124 MovieClip {Ready_fla.intro_9} Frame 222Symbol 66 Button
"btn_more"Symbol 124 MovieClip {Ready_fla.intro_9} Frame 222Symbol 72 Button
"btn_more"Symbol 187 MovieClip {Ready_fla.EL_2740_4900_50} Frame 1Symbol 186 Button
"logo_btn"Symbol 192 MovieClip {Ready_fla.EL_3026_9004_67} Frame 1Symbol 191 Button
"more_btn"Symbol 202 MovieClip Frame 1Symbol 201 Button
"ctrl_mc2"Symbol 210 MovieClip Frame 2Symbol 209 MovieClip {Ready_fla.Timeline_78}
"ctrl_mc2"Symbol 212 MovieClip Frame 2Symbol 209 MovieClip {Ready_fla.Timeline_78}
"ctrl_mc2"Symbol 214 MovieClip Frame 2Symbol 209 MovieClip {Ready_fla.Timeline_78}
"ctrl_mc2"Symbol 216 MovieClip Frame 2Symbol 209 MovieClip {Ready_fla.Timeline_78}
"ctrl_mc2"Symbol 218 MovieClip Frame 2Symbol 209 MovieClip {Ready_fla.Timeline_78}
"ctrl_mc2"Symbol 220 MovieClip Frame 2Symbol 209 MovieClip {Ready_fla.Timeline_78}
"ctrl_mc2"Symbol 222 MovieClip Frame 2Symbol 209 MovieClip {Ready_fla.Timeline_78}
"ctrl_mc2"Symbol 224 MovieClip Frame 2Symbol 209 MovieClip {Ready_fla.Timeline_78}
"ctrl_mc1"Symbol 225 MovieClip Frame 1Symbol 210 MovieClip
"ctrl_mc2"Symbol 225 MovieClip Frame 1Symbol 212 MovieClip
"ctrl_mc3"Symbol 225 MovieClip Frame 1Symbol 214 MovieClip
"ctrl_mc4"Symbol 225 MovieClip Frame 1Symbol 216 MovieClip
"ctrl_mc5"Symbol 225 MovieClip Frame 1Symbol 218 MovieClip
"ctrl_mc6"Symbol 225 MovieClip Frame 1Symbol 220 MovieClip
"ctrl_mc7"Symbol 225 MovieClip Frame 1Symbol 222 MovieClip
"ctrl_mc8"Symbol 225 MovieClip Frame 1Symbol 224 MovieClip
"inputTxt"Symbol 238 MovieClip {Ready_fla.Timeline_86} Frame 1Symbol 230 EditableText
"next_btn"Symbol 241 MovieClip {Ready_fla.Timeline_92} Frame 1Symbol 240 Button
"p1"Symbol 275 MovieClip {Ready_fla.Timeline_94} Frame 1Symbol 245 MovieClip
"p2"Symbol 275 MovieClip {Ready_fla.Timeline_94} Frame 1Symbol 248 MovieClip
"p3"Symbol 275 MovieClip {Ready_fla.Timeline_94} Frame 1Symbol 251 MovieClip
"p4"Symbol 275 MovieClip {Ready_fla.Timeline_94} Frame 1Symbol 254 MovieClip
"p5"Symbol 275 MovieClip {Ready_fla.Timeline_94} Frame 1Symbol 257 MovieClip
"p6"Symbol 275 MovieClip {Ready_fla.Timeline_94} Frame 1Symbol 260 MovieClip
"p7"Symbol 275 MovieClip {Ready_fla.Timeline_94} Frame 1Symbol 264 MovieClip
"p8"Symbol 275 MovieClip {Ready_fla.Timeline_94} Frame 1Symbol 267 MovieClip
"p9"Symbol 275 MovieClip {Ready_fla.Timeline_94} Frame 1Symbol 270 MovieClip
"p10"Symbol 275 MovieClip {Ready_fla.Timeline_94} Frame 1Symbol 273 MovieClip
"next_btn"Symbol 278 MovieClip {Ready_fla.Timeline_105} Frame 1Symbol 277 Button
"p1"Symbol 310 MovieClip {Ready_fla.Timeline_107} Frame 1Symbol 282 MovieClip
"p2"Symbol 310 MovieClip {Ready_fla.Timeline_107} Frame 1Symbol 285 MovieClip
"p3"Symbol 310 MovieClip {Ready_fla.Timeline_107} Frame 1Symbol 288 MovieClip
"p4"Symbol 310 MovieClip {Ready_fla.Timeline_107} Frame 1Symbol 291 MovieClip
"p5"Symbol 310 MovieClip {Ready_fla.Timeline_107} Frame 1Symbol 294 MovieClip
"p6"Symbol 310 MovieClip {Ready_fla.Timeline_107} Frame 1Symbol 297 MovieClip
"p7"Symbol 310 MovieClip {Ready_fla.Timeline_107} Frame 1Symbol 300 MovieClip
"p8"Symbol 310 MovieClip {Ready_fla.Timeline_107} Frame 1Symbol 303 MovieClip
"p9"Symbol 310 MovieClip {Ready_fla.Timeline_107} Frame 1Symbol 306 MovieClip
"p10"Symbol 310 MovieClip {Ready_fla.Timeline_107} Frame 1Symbol 309 MovieClip
"p1"Symbol 345 MovieClip {Ready_fla.Timeline_118} Frame 1Symbol 315 MovieClip
"p2"Symbol 345 MovieClip {Ready_fla.Timeline_118} Frame 1Symbol 319 MovieClip
"p3"Symbol 345 MovieClip {Ready_fla.Timeline_118} Frame 1Symbol 322 MovieClip
"p4"Symbol 345 MovieClip {Ready_fla.Timeline_118} Frame 1Symbol 324 MovieClip
"p5"Symbol 345 MovieClip {Ready_fla.Timeline_118} Frame 1Symbol 328 MovieClip
"p6"Symbol 345 MovieClip {Ready_fla.Timeline_118} Frame 1Symbol 332 MovieClip
"p7"Symbol 345 MovieClip {Ready_fla.Timeline_118} Frame 1Symbol 334 MovieClip
"p8"Symbol 345 MovieClip {Ready_fla.Timeline_118} Frame 1Symbol 338 MovieClip
"p9"Symbol 345 MovieClip {Ready_fla.Timeline_118} Frame 1Symbol 340 MovieClip
"p10"Symbol 345 MovieClip {Ready_fla.Timeline_118} Frame 1Symbol 343 MovieClip
"p1"Symbol 395 MovieClip {Ready_fla.Timeline_129} Frame 1Symbol 354 MovieClip
"p2"Symbol 395 MovieClip {Ready_fla.Timeline_129} Frame 1Symbol 360 MovieClip
"p3"Symbol 395 MovieClip {Ready_fla.Timeline_129} Frame 1Symbol 366 MovieClip
"p4"Symbol 395 MovieClip {Ready_fla.Timeline_129} Frame 1Symbol 372 MovieClip
"p5"Symbol 395 MovieClip {Ready_fla.Timeline_129} Frame 1Symbol 378 MovieClip
"p"Symbol 395 MovieClip {Ready_fla.Timeline_129} Frame 1Symbol 380 MovieClip
"mmCartoon_mc"Symbol 395 MovieClip {Ready_fla.Timeline_129} Frame 2Symbol 393 MovieClip {Ready_fla.Timeline_147}
"p1"Symbol 427 MovieClip {Ready_fla.Timeline_150} Frame 1Symbol 399 MovieClip
"p2"Symbol 427 MovieClip {Ready_fla.Timeline_150} Frame 1Symbol 402 MovieClip
"p3"Symbol 427 MovieClip {Ready_fla.Timeline_150} Frame 1Symbol 405 MovieClip
"p4"Symbol 427 MovieClip {Ready_fla.Timeline_150} Frame 1Symbol 408 MovieClip
"p5"Symbol 427 MovieClip {Ready_fla.Timeline_150} Frame 1Symbol 411 MovieClip
"p6"Symbol 427 MovieClip {Ready_fla.Timeline_150} Frame 1Symbol 414 MovieClip
"p7"Symbol 427 MovieClip {Ready_fla.Timeline_150} Frame 1Symbol 417 MovieClip
"p8"Symbol 427 MovieClip {Ready_fla.Timeline_150} Frame 1Symbol 420 MovieClip
"p9"Symbol 427 MovieClip {Ready_fla.Timeline_150} Frame 1Symbol 423 MovieClip
"p10"Symbol 427 MovieClip {Ready_fla.Timeline_150} Frame 1Symbol 426 MovieClip
"p1"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 430 MovieClip
"p2"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 431 MovieClip
"p3"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 433 MovieClip
"p4"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 435 MovieClip
"p5"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 437 MovieClip
"p6"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 439 MovieClip
"p7"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 441 MovieClip
"p8"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 443 MovieClip
"p10"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 433 MovieClip
"p16"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 430 MovieClip
"p15"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 439 MovieClip
"p11"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 443 MovieClip
"p12"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 443 MovieClip
"p9"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 439 MovieClip
"p13"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 441 MovieClip
"p14"Symbol 444 MovieClip {Ready_fla.Timeline_161} Frame 1Symbol 441 MovieClip
"hit1"Symbol 449 MovieClip Frame 1Symbol 448 MovieClip
"hit2"Symbol 449 MovieClip Frame 1Symbol 448 MovieClip
"hit3"Symbol 449 MovieClip Frame 1Symbol 448 MovieClip
"hit1"Symbol 451 MovieClip Frame 1Symbol 448 MovieClip
"hit2"Symbol 451 MovieClip Frame 1Symbol 448 MovieClip
"hit3"Symbol 451 MovieClip Frame 1Symbol 448 MovieClip
"hit1"Symbol 453 MovieClip Frame 1Symbol 448 MovieClip
"hit2"Symbol 453 MovieClip Frame 1Symbol 448 MovieClip
"hit3"Symbol 453 MovieClip Frame 1Symbol 448 MovieClip
"hit1"Symbol 455 MovieClip Frame 1Symbol 448 MovieClip
"hit2"Symbol 455 MovieClip Frame 1Symbol 448 MovieClip
"hit3"Symbol 455 MovieClip Frame 1Symbol 448 MovieClip
"hit1"Symbol 457 MovieClip Frame 1Symbol 448 MovieClip
"hit2"Symbol 457 MovieClip Frame 1Symbol 448 MovieClip
"hit3"Symbol 457 MovieClip Frame 1Symbol 448 MovieClip
"hit_mc5"Symbol 459 MovieClip {Ready_fla.Timeline_170} Frame 1Symbol 449 MovieClip
"hit_mc3"Symbol 459 MovieClip {Ready_fla.Timeline_170} Frame 1Symbol 451 MovieClip
"hit_mc4"Symbol 459 MovieClip {Ready_fla.Timeline_170} Frame 1Symbol 453 MovieClip
"hit_mc2"Symbol 459 MovieClip {Ready_fla.Timeline_170} Frame 1Symbol 455 MovieClip
"hit_mc1"Symbol 459 MovieClip {Ready_fla.Timeline_170} Frame 1Symbol 457 MovieClip
"wp"Symbol 460 MovieClip {Ready_fla.Timeline_75} Frame 1Symbol 225 MovieClip
"p"Symbol 460 MovieClip {Ready_fla.Timeline_75} Frame 1Symbol 238 MovieClip {Ready_fla.Timeline_86}
"p"Symbol 460 MovieClip {Ready_fla.Timeline_75} Frame 2Symbol 275 MovieClip {Ready_fla.Timeline_94}
"p"Symbol 460 MovieClip {Ready_fla.Timeline_75} Frame 3Symbol 310 MovieClip {Ready_fla.Timeline_107}
"p"Symbol 460 MovieClip {Ready_fla.Timeline_75} Frame 4Symbol 345 MovieClip {Ready_fla.Timeline_118}
"p"Symbol 460 MovieClip {Ready_fla.Timeline_75} Frame 5Symbol 395 MovieClip {Ready_fla.Timeline_129}
"p"Symbol 460 MovieClip {Ready_fla.Timeline_75} Frame 6Symbol 427 MovieClip {Ready_fla.Timeline_150}
"p"Symbol 460 MovieClip {Ready_fla.Timeline_75} Frame 7Symbol 444 MovieClip {Ready_fla.Timeline_161}
"p"Symbol 460 MovieClip {Ready_fla.Timeline_75} Frame 8Symbol 459 MovieClip {Ready_fla.Timeline_170}
"a_mc"Symbol 494 MovieClip {Ready_fla.Timeline_185} Frame 1Symbol 485 MovieClip
"hb_mc"Symbol 494 MovieClip {Ready_fla.Timeline_185} Frame 1Symbol 493 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 11296 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmln ..."

Labels

"precarga"Frame 2
"intro"Frame 3
"start"Frame 4
"help"Frame 5
"game"Frame 6
"fail"Frame 7
"success"Frame 8




http://swfchan.com/52/256366/info.shtml
Created: 17/6 -2024 04:31:34 Last modified: 17/6 -2024 04:31:34 Server time: 22/12 -2024 16:52:59