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

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

Cute-Baby-Nurser.swf

This is the info page for
Flash #116717

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


ActionScript [AS3]
Section 1
//AuxFunctions (caurina.transitions.AuxFunctions) package caurina.transitions { public class AuxFunctions { public static function concatObjects(... _args):Object{ var _local2:Object; var _local3:Object; var _local4:int; var _local5:String; _local2 = {}; _local4 = 0; while (_local4 < _args.length) { _local3 = _args[_local4]; for (_local5 in _local3) { if (_local3[_local5] == null){ delete _local2[_local5]; } else { _local2[_local5] = _local3[_local5]; }; }; _local4++; }; return (_local2); } public static function numberToG(_arg1:Number):Number{ return (((_arg1 & 0xFF00) >> 8)); } public static function numberToR(_arg1:Number):Number{ return (((_arg1 & 0xFF0000) >> 16)); } public static function isInArray(_arg1:String, _arg2:Array):Boolean{ var _local3:uint; var _local4:uint; _local3 = _arg2.length; _local4 = 0; while (_local4 < _local3) { if (_arg2[_local4] == _arg1){ return (true); }; _local4++; }; return (false); } public static function getObjectLength(_arg1:Object):uint{ var _local2:uint; var _local3:String; _local2 = 0; for (_local3 in _arg1) { _local2++; }; return (_local2); } public static function numberToB(_arg1:Number):Number{ return ((_arg1 & 0xFF)); } } }//package caurina.transitions
Section 2
//Equations (caurina.transitions.Equations) package caurina.transitions { public class Equations { public function Equations(){ trace("Equations is a static class and should not be instantiated."); } public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); if (_arg1 < (1 / 2.75)){ return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2)); }; if (_arg1 < (2 / 2.75)){ _arg1 = (_arg1 - (1.5 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2)); }; if (_arg1 < (2.5 / 2.75)){ _arg1 = (_arg1 - (2.25 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2)); }; _arg1 = (_arg1 - (2.625 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2)); } public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period; _local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; if (_arg1 < 1){ --_arg1; return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); }; --_arg1; return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2)); } public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2)); }; --_arg1; return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2)); } public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2)); }; return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2)); } public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2)); }; _arg1 = (_arg1 - 2); _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2)); } public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2)); } public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2)); } public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2)); } public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function init():void{ Tweener.registerTransition("easenone", easeNone); Tweener.registerTransition("linear", easeNone); Tweener.registerTransition("easeinquad", easeInQuad); Tweener.registerTransition("easeoutquad", easeOutQuad); Tweener.registerTransition("easeinoutquad", easeInOutQuad); Tweener.registerTransition("easeoutinquad", easeOutInQuad); Tweener.registerTransition("easeincubic", easeInCubic); Tweener.registerTransition("easeoutcubic", easeOutCubic); Tweener.registerTransition("easeinoutcubic", easeInOutCubic); Tweener.registerTransition("easeoutincubic", easeOutInCubic); Tweener.registerTransition("easeinquart", easeInQuart); Tweener.registerTransition("easeoutquart", easeOutQuart); Tweener.registerTransition("easeinoutquart", easeInOutQuart); Tweener.registerTransition("easeoutinquart", easeOutInQuart); Tweener.registerTransition("easeinquint", easeInQuint); Tweener.registerTransition("easeoutquint", easeOutQuint); Tweener.registerTransition("easeinoutquint", easeInOutQuint); Tweener.registerTransition("easeoutinquint", easeOutInQuint); Tweener.registerTransition("easeinsine", easeInSine); Tweener.registerTransition("easeoutsine", easeOutSine); Tweener.registerTransition("easeinoutsine", easeInOutSine); Tweener.registerTransition("easeoutinsine", easeOutInSine); Tweener.registerTransition("easeincirc", easeInCirc); Tweener.registerTransition("easeoutcirc", easeOutCirc); Tweener.registerTransition("easeinoutcirc", easeInOutCirc); Tweener.registerTransition("easeoutincirc", easeOutInCirc); Tweener.registerTransition("easeinexpo", easeInExpo); Tweener.registerTransition("easeoutexpo", easeOutExpo); Tweener.registerTransition("easeinoutexpo", easeInOutExpo); Tweener.registerTransition("easeoutinexpo", easeOutInExpo); Tweener.registerTransition("easeinelastic", easeInElastic); Tweener.registerTransition("easeoutelastic", easeOutElastic); Tweener.registerTransition("easeinoutelastic", easeInOutElastic); Tweener.registerTransition("easeoutinelastic", easeOutInElastic); Tweener.registerTransition("easeinback", easeInBack); Tweener.registerTransition("easeoutback", easeOutBack); Tweener.registerTransition("easeinoutback", easeInOutBack); Tweener.registerTransition("easeoutinback", easeOutInBack); Tweener.registerTransition("easeinbounce", easeInBounce); Tweener.registerTransition("easeoutbounce", easeOutBounce); Tweener.registerTransition("easeinoutbounce", easeInOutBounce); Tweener.registerTransition("easeoutinbounce", easeOutInBounce); } public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2)); } public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001))); } public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2)); } public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((_arg3 * _arg1) * _arg1) + _arg2)); } public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2)); } public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2)); } public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2)); } public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2)); } public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; _local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; --_arg1; return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); } public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2)); } public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); } public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 == 0){ return (_arg2); }; if (_arg1 == _arg4){ return ((_arg2 + _arg3)); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005))); }; --_arg1; return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2)); } public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; _local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2)); } public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2)); } public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } } }//package caurina.transitions
Section 3
//PropertyInfoObj (caurina.transitions.PropertyInfoObj) package caurina.transitions { public class PropertyInfoObj { public var originalValueComplete:Object; public var modifierParameters:Array; public var isSpecialProperty:Boolean; public var hasModifier:Boolean; public var valueComplete:Number; public var extra:Object; public var valueStart:Number; public var modifierFunction:Function; public var arrayIndex:Number; public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){ valueStart = _arg1; valueComplete = _arg2; originalValueComplete = _arg3; arrayIndex = _arg4; extra = _arg5; isSpecialProperty = _arg6; hasModifier = Boolean(_arg7); modifierFunction = _arg7; modifierParameters = _arg8; } public function toString():String{ var _local1:String; _local1 = "\n[PropertyInfoObj "; _local1 = (_local1 + ("valueStart:" + String(valueStart))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("valueComplete:" + String(valueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("arrayIndex:" + String(arrayIndex))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("extra:" + String(extra))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("hasModifier:" + String(hasModifier))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierFunction:" + String(modifierFunction))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierParameters:" + String(modifierParameters))); _local1 = (_local1 + "]\n"); return (_local1); } public function clone():PropertyInfoObj{ var _local1:PropertyInfoObj; _local1 = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters); return (_local1); } } }//package caurina.transitions
Section 4
//SpecialProperty (caurina.transitions.SpecialProperty) package caurina.transitions { public class SpecialProperty { public var parameters:Array; public var preProcess:Function; public var setValue:Function; public var getValue:Function; public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){ getValue = _arg1; setValue = _arg2; parameters = _arg3; preProcess = _arg4; } public function toString():String{ var _local1:String; _local1 = ""; _local1 = (_local1 + "[SpecialProperty "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("setValue:" + String(setValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("preProcess:" + String(preProcess))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 5
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier) package caurina.transitions { public class SpecialPropertyModifier { public var getValue:Function; public var modifyValues:Function; public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){ modifyValues = _arg1; getValue = _arg2; } public function toString():String{ var _local1:String; _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:String; _local1 = ""; _local1 = (_local1 + "[SpecialPropertySplitter "); _local1 = (_local1 + ("splitValues:" + String(splitValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 7
//Tweener (caurina.transitions.Tweener) package caurina.transitions { import flash.events.*; import flash.display.*; import flash.utils.*; public class Tweener { private static var _timeScale:Number = 1; private static var _currentTimeFrame:Number; private static var _specialPropertySplitterList:Object; private static var _engineExists:Boolean = false; private static var _specialPropertyModifierList:Object; private static var _currentTime:Number; private static var _tweenList:Array; private static var _specialPropertyList:Object; private static var _transitionList:Object; private static var _inited:Boolean = false; private static var __tweener_controller__:MovieClip; public function Tweener(){ trace("Tweener is a static class and should not be instantiated."); } public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{ var _local4:SpecialPropertyModifier; if (!_inited){ init(); }; _local4 = new SpecialPropertyModifier(_arg2, _arg3); _specialPropertyModifierList[_arg1] = _local4; } public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{ var _local6:SpecialProperty; if (!_inited){ init(); }; _local6 = new SpecialProperty(_arg2, _arg3, _arg4, _arg5); _specialPropertyList[_arg1] = _local6; } public static function init(... _args):void{ _inited = true; _transitionList = new Object(); Equations.init(); _specialPropertyList = new Object(); _specialPropertyModifierList = new Object(); _specialPropertySplitterList = new Object(); } private static function updateTweens():Boolean{ var _local1:int; if (_tweenList.length == 0){ return (false); }; _local1 = 0; while (_local1 < _tweenList.length) { if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){ if (!updateTweenByIndex(_local1)){ removeTweenByIndex(_local1); }; if (_tweenList[_local1] == null){ removeTweenByIndex(_local1, true); _local1--; }; }; _local1++; }; return (true); } public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Array; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Function; var _local9:TweenListObj; var _local10:Number; var _local11:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local4 = _arg1.concat(); } else { _local4 = [_arg1]; }; _local5 = _arg2; if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; _local6 = (isNaN(_local5.time)) ? 0 : _local5.time; _local7 = (isNaN(_local5.delay)) ? 0 : _local5.delay; if (typeof(_local5.transition) == "string"){ _local11 = _local5.transition.toLowerCase(); _local8 = _transitionList[_local11]; } else { _local8 = _local5.transition; }; if (!Boolean(_local8)){ _local8 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local4.length) { if (_local5.useFrames == true){ _local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams); } else { _local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams); }; _local9.properties = null; _local9.onStart = _local5.onStart; _local9.onUpdate = _local5.onUpdate; _local9.onComplete = _local5.onComplete; _local9.onOverwrite = _local5.onOverwrite; _local9.onStartParams = _local5.onStartParams; _local9.onUpdateParams = _local5.onUpdateParams; _local9.onCompleteParams = _local5.onCompleteParams; _local9.onOverwriteParams = _local5.onOverwriteParams; _local9.onStartScope = _local5.onStartScope; _local9.onUpdateScope = _local5.onUpdateScope; _local9.onCompleteScope = _local5.onCompleteScope; _local9.onOverwriteScope = _local5.onOverwriteScope; _local9.onErrorScope = _local5.onErrorScope; _local9.isCaller = true; _local9.count = _local5.count; _local9.waitFrames = _local5.waitFrames; _tweenList.push(_local9); if ((((_local6 == 0)) && ((_local7 == 0)))){ _local10 = (_tweenList.length - 1); updateTweenByIndex(_local10); removeTweenByIndex(_local10); }; _local3++; }; return (true); } public static function pauseAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { pauseTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function removeTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(removeTweenByIndex, _arg1, _local3)); } public static function splitTweens(_arg1:Number, _arg2:Array):uint{ var _local3:TweenListObj; var _local4:TweenListObj; var _local5:uint; var _local6:String; var _local7:Boolean; _local3 = _tweenList[_arg1]; _local4 = _local3.clone(false); _local5 = 0; while (_local5 < _arg2.length) { _local6 = _arg2[_local5]; if (Boolean(_local3.properties[_local6])){ _local3.properties[_local6] = undefined; delete _local3.properties[_local6]; }; _local5++; }; for (_local6 in _local4.properties) { _local7 = false; _local5 = 0; while (_local5 < _arg2.length) { if (_arg2[_local5] == _local6){ _local7 = true; break; }; _local5++; }; if (!_local7){ _local4.properties[_local6] = undefined; delete _local4.properties[_local6]; }; }; _tweenList.push(_local4); return ((_tweenList.length - 1)); } public static function updateFrame():void{ _currentTimeFrame++; } public static function resumeTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj; var _local3:Number; _local2 = _tweenList[_arg1]; if ((((_local2 == null)) || (!(_local2.isPaused)))){ return (false); }; _local3 = getCurrentTweeningTime(_local2); _local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused)); _local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused)); _local2.timePaused = undefined; _local2.isPaused = false; return (true); } public static function getVersion():String{ return ("AS3 1.31.71"); } public static function onEnterFrame(_arg1:Event):void{ var _local2:Boolean; updateTime(); updateFrame(); _local2 = false; _local2 = updateTweens(); if (!_local2){ stopEngine(); }; } public static function updateTime():void{ _currentTime = getTimer(); } private static function updateTweenByIndex(_arg1:Number):Boolean{ var tTweening:TweenListObj; var isOver:Boolean; var mustUpdate:Boolean; var nv:Number; var t:Number; var b:Number; var c:Number; var d:Number; var pName:String; var eventScope:Object; var tScope:Object; var cTime:Number; var tProperty:Object; var pv:Number; var i = _arg1; tTweening = _tweenList[i]; if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){ return (false); }; isOver = false; cTime = getCurrentTweeningTime(tTweening); if (cTime >= tTweening.timeStart){ tScope = tTweening.scope; if (tTweening.isCaller){ do { t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1)); b = tTweening.timeStart; c = (tTweening.timeComplete - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d); } while (!(cTime >= nv)); } else { mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates))); if (cTime >= tTweening.timeComplete){ isOver = true; mustUpdate = true; }; if (!tTweening.hasStarted){ if (Boolean(tTweening.onStart)){ eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope; try { tTweening.onStart.apply(eventScope, tTweening.onStartParams); } catch(e:Error) { handleError(tTweening, e, "onStart"); }; }; for (pName in tTweening.properties) { if (tTweening.properties[pName].isSpecialProperty){ if (Boolean(_specialPropertyList[pName].preProcess)){ tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra); }; pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { pv = tScope[pName]; }; tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv; }; mustUpdate = true; tTweening.hasStarted = true; }; if (mustUpdate){ for (pName in tTweening.properties) { tProperty = tTweening.properties[pName]; if (isOver){ nv = tProperty.valueComplete; } else { if (tProperty.hasModifier){ t = (cTime - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams); nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters); } else { t = (cTime - tTweening.timeStart); b = tProperty.valueStart; c = (tProperty.valueComplete - tProperty.valueStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d, tTweening.transitionParams); }; }; if (tTweening.rounded){ nv = Math.round(nv); }; if (tProperty.isSpecialProperty){ _specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { tScope[pName] = nv; }; }; tTweening.updatesSkipped = 0; if (Boolean(tTweening.onUpdate)){ eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope; try { tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams); } catch(e:Error) { handleError(tTweening, e, "onUpdate"); }; }; } else { tTweening.updatesSkipped++; }; }; if (((isOver) && (Boolean(tTweening.onComplete)))){ eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope; try { tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams); } catch(e:Error) { handleError(tTweening, e, "onComplete"); }; }; return (!(isOver)); }; return (true); } public static function setTimeScale(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (isNaN(_arg1)){ _arg1 = 1; }; if (_arg1 < 1E-5){ _arg1 = 1E-5; }; if (_arg1 != _timeScale){ if (_tweenList != null){ _local2 = 0; while (_local2 < _tweenList.length) { _local3 = getCurrentTweeningTime(_tweenList[_local2]); _tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1)); _tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1)); if (_tweenList[_local2].timePaused != undefined){ _tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1)); }; _local2++; }; }; _timeScale = _arg1; }; } public static function resumeAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { resumeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{ var eventScope:Object; var pTweening = _arg1; var pError = _arg2; var pCallBackName = _arg3; if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){ eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope; try { pTweening.onError.apply(eventScope, [pTweening.scope, pError]); } catch(metaError:Error) { printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace())); }; } else { if (!Boolean(pTweening.onError)){ printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace())); }; }; } private static function startEngine():void{ _engineExists = true; _tweenList = new Array(); __tweener_controller__ = new MovieClip(); __tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); _currentTimeFrame = 0; updateTime(); } public static function removeAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { removeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Number; var _local5:String; var _local6:Array; var _local7:Object; var _local8:Number; var _local9:Number; var _local10:Array; var _local11:Object; var _local12:Object; var _local13:Function; var _local14:Object; var _local15:TweenListObj; var _local16:Number; var _local17:Array; var _local18:Array; var _local19:Array; var _local20:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local6 = _arg1.concat(); } else { _local6 = [_arg1]; }; _local7 = TweenListObj.makePropertiesChain(_arg2); if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; _local8 = (isNaN(_local7.time)) ? 0 : _local7.time; _local9 = (isNaN(_local7.delay)) ? 0 : _local7.delay; _local10 = new Array(); _local11 = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true}; _local12 = new Object(); for (_local5 in _local7) { if (!_local11[_local5]){ if (_specialPropertySplitterList[_local5]){ _local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters); _local3 = 0; while (_local3 < _local17.length) { if (_specialPropertySplitterList[_local17[_local3].name]){ _local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters); _local4 = 0; while (_local4 < _local18.length) { _local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false}; _local4++; }; } else { _local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false}; }; _local3++; }; } else { if (_specialPropertyModifierList[_local5] != undefined){ _local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]); _local3 = 0; while (_local3 < _local19.length) { _local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue}; _local3++; }; } else { _local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]}; }; }; }; }; for (_local5 in _local10) { if (_specialPropertyList[_local5] != undefined){ _local10[_local5].isSpecialProperty = true; } else { if (_local6[0][_local5] == undefined){ printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property.")); }; }; }; for (_local5 in _local12) { if (_local10[_local5] != undefined){ _local10[_local5].modifierParameters = _local12[_local5].modifierParameters; _local10[_local5].modifierFunction = _local12[_local5].modifierFunction; }; }; if (typeof(_local7.transition) == "string"){ _local20 = _local7.transition.toLowerCase(); _local13 = _transitionList[_local20]; } else { _local13 = _local7.transition; }; if (!Boolean(_local13)){ _local13 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local6.length) { _local14 = new Object(); for (_local5 in _local10) { _local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters); }; if (_local7.useFrames == true){ _local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams); } else { _local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams); }; _local15.properties = _local14; _local15.onStart = _local7.onStart; _local15.onUpdate = _local7.onUpdate; _local15.onComplete = _local7.onComplete; _local15.onOverwrite = _local7.onOverwrite; _local15.onError = _local7.onError; _local15.onStartParams = _local7.onStartParams; _local15.onUpdateParams = _local7.onUpdateParams; _local15.onCompleteParams = _local7.onCompleteParams; _local15.onOverwriteParams = _local7.onOverwriteParams; _local15.onStartScope = _local7.onStartScope; _local15.onUpdateScope = _local7.onUpdateScope; _local15.onCompleteScope = _local7.onCompleteScope; _local15.onOverwriteScope = _local7.onOverwriteScope; _local15.onErrorScope = _local7.onErrorScope; _local15.rounded = _local7.rounded; _local15.skipUpdates = _local7.skipUpdates; removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete); _tweenList.push(_local15); if ((((_local8 == 0)) && ((_local9 == 0)))){ _local16 = (_tweenList.length - 1); updateTweenByIndex(_local16); removeTweenByIndex(_local16); }; _local3++; }; return (true); } public static function registerTransition(_arg1:String, _arg2:Function):void{ if (!_inited){ init(); }; _transitionList[_arg1] = _arg2; } public static function printError(_arg1:String):void{ trace(("## [Tweener] Error: " + _arg1)); } private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{ var _local4:Boolean; var _local5:uint; var _local6:Array; var _local7:uint; var _local8:uint; var _local9:uint; _local4 = false; if (!Boolean(_tweenList)){ return (false); }; _local5 = 0; while (_local5 < _tweenList.length) { if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){ if (_arg3.length == 0){ _arg1(_local5); _local4 = true; } else { _local6 = new Array(); _local7 = 0; while (_local7 < _arg3.length) { if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){ _local6.push(_arg3[_local7]); }; _local7++; }; if (_local6.length > 0){ _local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties); if (_local8 == _local6.length){ _arg1(_local5); _local4 = true; } else { _local9 = splitTweens(_local5, _local6); _arg1(_local9); _local4 = true; }; }; }; }; _local5++; }; return (_local4); } public static function getTweens(_arg1:Object):Array{ var _local2:uint; var _local3:String; var _local4:Array; if (!Boolean(_tweenList)){ return ([]); }; _local4 = new Array(); _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ for (_local3 in _tweenList[_local2].properties) { _local4.push(_local3); }; }; _local2++; }; return (_local4); } public static function isTweening(_arg1:Object):Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ return (true); }; _local2++; }; return (false); } public static function pauseTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj; _local2 = _tweenList[_arg1]; if ((((_local2 == null)) || (_local2.isPaused))){ return (false); }; _local2.timePaused = getCurrentTweeningTime(_local2); _local2.isPaused = true; return (true); } public static function getCurrentTweeningTime(_arg1:Object):Number{ return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime); } public static function getTweenCount(_arg1:Object):Number{ var _local2:uint; var _local3:Number; if (!Boolean(_tweenList)){ return (0); }; _local3 = 0; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ _local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties)); }; _local2++; }; return (_local3); } private static function stopEngine():void{ _engineExists = false; _tweenList = null; _currentTime = 0; _currentTimeFrame = 0; __tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); __tweener_controller__ = null; } public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{ var removed:Boolean; var removedLocally:Boolean; var i:uint; var tl:uint; var pName:String; var eventScope:Object; var p_scope = _arg1; var p_properties = _arg2; var p_timeStart = _arg3; var p_timeComplete = _arg4; removed = false; tl = _tweenList.length; i = 0; while (i < tl) { if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){ if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){ removedLocally = false; for (pName in _tweenList[i].properties) { if (Boolean(p_properties[pName])){ if (Boolean(_tweenList[i].onOverwrite)){ eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope; try { _tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams); } catch(e:Error) { handleError(_tweenList[i], e, "onOverwrite"); }; }; _tweenList[i].properties[pName] = undefined; delete _tweenList[i].properties[pName]; removedLocally = true; removed = true; }; }; if (removedLocally){ if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){ removeTweenByIndex(i); }; }; }; }; i = (i + 1); }; return (removed); } public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{ var _local4:SpecialPropertySplitter; if (!_inited){ init(); }; _local4 = new SpecialPropertySplitter(_arg2, _arg3); _specialPropertySplitterList[_arg1] = _local4; } public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{ _tweenList[_arg1] = null; if (_arg2){ _tweenList.splice(_arg1, 1); }; return (true); } public static function resumeTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(resumeTweenByIndex, _arg1, _local3)); } public static function pauseTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(pauseTweenByIndex, _arg1, _local3)); } } }//package caurina.transitions
Section 8
//TweenListObj (caurina.transitions.TweenListObj) package caurina.transitions { public class TweenListObj { public var onUpdate:Function; public var useFrames:Boolean; public var hasStarted:Boolean; public var onOverwriteParams:Array; public var timeStart:Number; public var count:Number; public var timeComplete:Number; public var onStartParams:Array; public var onUpdateScope:Object; public var rounded:Boolean; public var onUpdateParams:Array; public var properties:Object; public var onComplete:Function; public var transitionParams:Object; public var updatesSkipped:Number; public var onStart:Function; public var onOverwriteScope:Object; public var skipUpdates:Number; public var onStartScope:Object; public var scope:Object; public var transition:Function; public var timePaused:Number; public var onCompleteParams:Array; public var timesCalled:Number; public var isCaller:Boolean; public var onError:Function; public var onErrorScope:Object; public var onOverwrite:Function; public var isPaused:Boolean; public var waitFrames:Boolean; public var onCompleteScope:Object; public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){ scope = _arg1; timeStart = _arg2; timeComplete = _arg3; useFrames = _arg4; transition = _arg5; transitionParams = _arg6; properties = new Object(); isPaused = false; timePaused = undefined; isCaller = false; updatesSkipped = 0; timesCalled = 0; skipUpdates = 0; hasStarted = false; } public function clone(_arg1:Boolean):TweenListObj{ var _local2:TweenListObj; var _local3:String; _local2 = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams); _local2.properties = new Array(); for (_local3 in properties) { _local2.properties[_local3] = properties[_local3].clone(); }; _local2.skipUpdates = skipUpdates; _local2.updatesSkipped = updatesSkipped; if (!_arg1){ _local2.onStart = onStart; _local2.onUpdate = onUpdate; _local2.onComplete = onComplete; _local2.onOverwrite = onOverwrite; _local2.onError = onError; _local2.onStartParams = onStartParams; _local2.onUpdateParams = onUpdateParams; _local2.onCompleteParams = onCompleteParams; _local2.onOverwriteParams = onOverwriteParams; _local2.onStartScope = onStartScope; _local2.onUpdateScope = onUpdateScope; _local2.onCompleteScope = onCompleteScope; _local2.onOverwriteScope = onOverwriteScope; _local2.onErrorScope = onErrorScope; }; _local2.rounded = rounded; _local2.isPaused = isPaused; _local2.timePaused = timePaused; _local2.isCaller = isCaller; _local2.count = count; _local2.timesCalled = timesCalled; _local2.waitFrames = waitFrames; _local2.hasStarted = hasStarted; return (_local2); } public function toString():String{ var _local1:String; var _local2:Boolean; var _local3:String; _local1 = "\n[TweenListObj "; _local1 = (_local1 + ("scope:" + String(scope))); _local1 = (_local1 + ", properties:"); _local2 = true; for (_local3 in properties) { if (!_local2){ _local1 = (_local1 + ","); }; _local1 = (_local1 + ("[name:" + properties[_local3].name)); _local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart)); _local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete)); _local1 = (_local1 + "]"); _local2 = false; }; _local1 = (_local1 + (", timeStart:" + String(timeStart))); _local1 = (_local1 + (", timeComplete:" + String(timeComplete))); _local1 = (_local1 + (", useFrames:" + String(useFrames))); _local1 = (_local1 + (", transition:" + String(transition))); _local1 = (_local1 + (", transitionParams:" + String(transitionParams))); if (skipUpdates){ _local1 = (_local1 + (", skipUpdates:" + String(skipUpdates))); }; if (updatesSkipped){ _local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped))); }; if (Boolean(onStart)){ _local1 = (_local1 + (", onStart:" + String(onStart))); }; if (Boolean(onUpdate)){ _local1 = (_local1 + (", onUpdate:" + String(onUpdate))); }; if (Boolean(onComplete)){ _local1 = (_local1 + (", onComplete:" + String(onComplete))); }; if (Boolean(onOverwrite)){ _local1 = (_local1 + (", onOverwrite:" + String(onOverwrite))); }; if (Boolean(onError)){ _local1 = (_local1 + (", onError:" + String(onError))); }; if (onStartParams){ _local1 = (_local1 + (", onStartParams:" + String(onStartParams))); }; if (onUpdateParams){ _local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams))); }; if (onCompleteParams){ _local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams))); }; if (onOverwriteParams){ _local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams))); }; if (onStartScope){ _local1 = (_local1 + (", onStartScope:" + String(onStartScope))); }; if (onUpdateScope){ _local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope))); }; if (onCompleteScope){ _local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope))); }; if (onOverwriteScope){ _local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope))); }; if (onErrorScope){ _local1 = (_local1 + (", onErrorScope:" + String(onErrorScope))); }; if (rounded){ _local1 = (_local1 + (", rounded:" + String(rounded))); }; if (isPaused){ _local1 = (_local1 + (", isPaused:" + String(isPaused))); }; if (timePaused){ _local1 = (_local1 + (", timePaused:" + String(timePaused))); }; if (isCaller){ _local1 = (_local1 + (", isCaller:" + String(isCaller))); }; if (count){ _local1 = (_local1 + (", count:" + String(count))); }; if (timesCalled){ _local1 = (_local1 + (", timesCalled:" + String(timesCalled))); }; if (waitFrames){ _local1 = (_local1 + (", waitFrames:" + String(waitFrames))); }; if (hasStarted){ _local1 = (_local1 + (", hasStarted:" + String(hasStarted))); }; _local1 = (_local1 + "]\n"); return (_local1); } public static function makePropertiesChain(_arg1:Object):Object{ var _local2:Object; var _local3:Object; var _local4:Object; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Number; _local2 = _arg1.base; if (_local2){ _local3 = {}; if ((_local2 is Array)){ _local4 = []; _local8 = 0; while (_local8 < _local2.length) { _local4.push(_local2[_local8]); _local8++; }; } else { _local4 = [_local2]; }; _local4.push(_arg1); _local6 = _local4.length; _local7 = 0; while (_local7 < _local6) { if (_local4[_local7]["base"]){ _local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]); } else { _local5 = _local4[_local7]; }; _local3 = AuxFunctions.concatObjects(_local3, _local5); _local7++; }; if (_local3["base"]){ delete _local3["base"]; }; return (_local3); //unresolved jump }; return (_arg1); } } }//package caurina.transitions
Section 9
//TweenEvent (gs.events.TweenEvent) package gs.events { import flash.events.*; public class TweenEvent extends Event { public var info:Object; public static const UPDATE:String = "update"; public static const START:String = "start"; public static const version:Number = 0.9; public static const COMPLETE:String = "complete"; public function TweenEvent(_arg1:String, _arg2:Object=null, _arg3:Boolean=false, _arg4:Boolean=false){ super(_arg1, _arg3, _arg4); this.info = _arg2; } override public function clone():Event{ return (new TweenEvent(this.type, this.info, this.bubbles, this.cancelable)); } } }//package gs.events
Section 10
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin) package gs.plugins { import gs.*; import flash.display.*; public class AutoAlphaPlugin extends TweenPlugin { protected var _tweenVisible:Boolean; protected var _tween:TweenLite; protected var _visible:Boolean; protected var _target:Object; public static const VERSION:Number = 1; public static const API:Number = 1; public function AutoAlphaPlugin(){ this.propName = "autoAlpha"; this.overwriteProps = ["alpha", "visible"]; this.onComplete = onCompleteTween; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); if (((!((_target.visible == true))) && (_tweenVisible))){ _target.visible = true; }; } public function onCompleteTween():void{ if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){ _target.visible = _visible; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _tween = _arg3; _visible = Boolean(!((_arg2 == 0))); _tweenVisible = true; addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha"); return (true); } override public function killProps(_arg1:Object):void{ super.killProps(_arg1); _tweenVisible = !(Boolean(("visible" in _arg1))); } } }//package gs.plugins
Section 11
//BevelFilterPlugin (gs.plugins.BevelFilterPlugin) package gs.plugins { import gs.*; import flash.display.*; import flash.filters.*; public class BevelFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function BevelFilterPlugin(){ this.propName = "bevelFilter"; this.overwriteProps = ["bevelFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = BevelFilter; initFilter(_arg2, new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_arg2.quality) || (2)))); return (true); } } }//package gs.plugins
Section 12
//BezierPlugin (gs.plugins.BezierPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class BezierPlugin extends TweenPlugin { protected var _future:Object; protected var _orient:Boolean; protected var _orientData:Array; protected var _beziers:Object; protected var _target:Object; protected static const _RAD2DEG:Number = 57.2957795130823; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function BezierPlugin(){ _future = {}; super(); this.propName = "bezier"; this.overwriteProps = []; } override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:String; var _local4:Object; var _local5:Number; var _local6:uint; var _local7:Number; var _local8:int; var _local9:Object; var _local10:Boolean; var _local11:Number; var _local12:Number; var _local13:Array; var _local14:Number; if (_arg1 == 1){ for (_local3 in _beziers) { _local2 = (_beziers[_local3].length - 1); _target[_local3] = _beziers[_local3][_local2][2]; }; } else { for (_local3 in _beziers) { _local6 = _beziers[_local3].length; if (_arg1 < 0){ _local2 = 0; } else { if (_arg1 >= 1){ _local2 = (_local6 - 1); } else { _local2 = int((_local6 * _arg1)); }; }; _local5 = ((_arg1 - (_local2 * (1 / _local6))) * _local6); _local4 = _beziers[_local3][_local2]; if (this.round){ _local7 = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0]))))); _local8 = ((_local7)<0) ? -1 : 1; _target[_local3] = ((((_local7 % 1) * _local8))>0.5) ? (int(_local7) + _local8) : int(_local7); } else { _target[_local3] = (_local4[0] + (_local5 * (((2 * (1 - _local5)) * (_local4[1] - _local4[0])) + (_local5 * (_local4[2] - _local4[0]))))); }; }; }; if (_orient){ _local9 = _target; _local10 = this.round; _target = _future; this.round = false; _orient = false; this.changeFactor = (_arg1 + 0.01); _target = _local9; this.round = _local10; _orient = true; _local2 = 0; while (_local2 < _orientData.length) { _local13 = _orientData[_local2]; _local14 = ((_local13[3]) || (0)); _local11 = (_future[_local13[0]] - _target[_local13[0]]); _local12 = (_future[_local13[1]] - _target[_local13[1]]); _target[_local13[2]] = ((Math.atan2(_local12, _local11) * _RAD2DEG) + _local14); _local2++; }; }; } protected function init(_arg1:TweenLite, _arg2:Array, _arg3:Boolean):void{ var _local4:Object; var _local5:int; var _local6:String; _target = _arg1.target; if (_arg1.exposedVars.orientToBezier == true){ _orientData = [["x", "y", "rotation", 0]]; _orient = true; } else { if ((_arg1.exposedVars.orientToBezier is Array)){ _orientData = _arg1.exposedVars.orientToBezier; _orient = true; }; }; _local4 = {}; _local5 = 0; while (_local5 < _arg2.length) { for (_local6 in _arg2[_local5]) { if (_local4[_local6] == undefined){ _local4[_local6] = [_arg1.target[_local6]]; }; if (typeof(_arg2[_local5][_local6]) == "number"){ _local4[_local6].push(_arg2[_local5][_local6]); } else { _local4[_local6].push((_arg1.target[_local6] + Number(_arg2[_local5][_local6]))); }; }; _local5++; }; for (_local6 in _local4) { this.overwriteProps[this.overwriteProps.length] = _local6; if (_arg1.exposedVars[_local6] != undefined){ if (typeof(_arg1.exposedVars[_local6]) == "number"){ _local4[_local6].push(_arg1.exposedVars[_local6]); } else { _local4[_local6].push((_arg1.target[_local6] + Number(_arg1.exposedVars[_local6]))); }; delete _arg1.exposedVars[_local6]; _local5 = (_arg1.tweens.length - 1); while (_local5 > -1) { if (_arg1.tweens[_local5].name == _local6){ _arg1.tweens.splice(_local5, 1); }; _local5--; }; }; }; _beziers = parseBeziers(_local4, _arg3); } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (!(_arg2 is Array)){ return (false); }; init(_arg3, (_arg2 as Array), false); return (true); } override public function killProps(_arg1:Object):void{ var _local2:String; for (_local2 in _beziers) { if ((_local2 in _arg1)){ delete _beziers[_local2]; }; }; super.killProps(_arg1); } public static function parseBeziers(_arg1:Object, _arg2:Boolean=false):Object{ var _local3:int; var _local4:Array; var _local5:Object; var _local6:String; var _local7:Object; _local7 = {}; if (_arg2){ for (_local6 in _arg1) { _local4 = _arg1[_local6]; _local5 = []; _local7[_local6] = _local5; if (_local4.length > 2){ _local5[_local5.length] = [_local4[0], (_local4[1] - ((_local4[2] - _local4[0]) / 4)), _local4[1]]; _local3 = 1; while (_local3 < (_local4.length - 1)) { _local5[_local5.length] = [_local4[_local3], (_local4[_local3] + (_local4[_local3] - _local5[(_local3 - 1)][1])), _local4[(_local3 + 1)]]; _local3++; }; } else { _local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]]; }; }; } else { for (_local6 in _arg1) { _local4 = _arg1[_local6]; _local5 = []; _local7[_local6] = _local5; if (_local4.length > 3){ _local5[_local5.length] = [_local4[0], _local4[1], ((_local4[1] + _local4[2]) / 2)]; _local3 = 2; while (_local3 < (_local4.length - 2)) { _local5[_local5.length] = [_local5[(_local3 - 2)][2], _local4[_local3], ((_local4[_local3] + _local4[(_local3 + 1)]) / 2)]; _local3++; }; _local5[_local5.length] = [_local5[(_local5.length - 1)][2], _local4[(_local4.length - 2)], _local4[(_local4.length - 1)]]; } else { if (_local4.length == 3){ _local5[_local5.length] = [_local4[0], _local4[1], _local4[2]]; } else { if (_local4.length == 2){ _local5[_local5.length] = [_local4[0], ((_local4[0] + _local4[1]) / 2), _local4[1]]; }; }; }; }; }; return (_local7); } } }//package gs.plugins
Section 13
//BezierThroughPlugin (gs.plugins.BezierThroughPlugin) package gs.plugins { import gs.*; public class BezierThroughPlugin extends BezierPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function BezierThroughPlugin(){ this.propName = "bezierThrough"; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (!(_arg2 is Array)){ return (false); }; init(_arg3, (_arg2 as Array), true); return (true); } } }//package gs.plugins
Section 14
//BlurFilterPlugin (gs.plugins.BlurFilterPlugin) package gs.plugins { import gs.*; import flash.display.*; import flash.filters.*; public class BlurFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function BlurFilterPlugin(){ this.propName = "blurFilter"; this.overwriteProps = ["blurFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = BlurFilter; initFilter(_arg2, new BlurFilter(0, 0, ((_arg2.quality) || (2)))); return (true); } } }//package gs.plugins
Section 15
//ColorMatrixFilterPlugin (gs.plugins.ColorMatrixFilterPlugin) package gs.plugins { import gs.*; import flash.display.*; import flash.filters.*; public class ColorMatrixFilterPlugin extends FilterPlugin { protected var _matrix:Array; protected var _matrixTween:EndArrayPlugin; public static const API:Number = 1; public static const VERSION:Number = 1.1; protected static var _lumG:Number = 0.71516; protected static var _lumR:Number = 0.212671; protected static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; protected static var _lumB:Number = 0.072169; public function ColorMatrixFilterPlugin(){ this.propName = "colorMatrixFilter"; this.overwriteProps = ["colorMatrixFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:Object; var _local5:Array; _target = _arg1; _type = ColorMatrixFilter; _local4 = _arg2; initFilter({remove:_arg2.remove, index:_arg2.index, addFilter:_arg2.addFilter}, new ColorMatrixFilter(_idMatrix.slice())); _matrix = ColorMatrixFilter(_filter).matrix; _local5 = []; if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){ _local5 = _local4.matrix; } else { if (_local4.relative == true){ _local5 = _matrix.slice(); } else { _local5 = _idMatrix.slice(); }; _local5 = setBrightness(_local5, _local4.brightness); _local5 = setContrast(_local5, _local4.contrast); _local5 = setHue(_local5, _local4.hue); _local5 = setSaturation(_local5, _local4.saturation); _local5 = setThreshold(_local5, _local4.threshold); if (!isNaN(_local4.colorize)){ _local5 = colorize(_local5, _local4.colorize, _local4.amount); }; }; _matrixTween = new EndArrayPlugin(); _matrixTween.init(_matrix, _local5); return (true); } override public function set changeFactor(_arg1:Number):void{ _matrixTween.changeFactor = _arg1; ColorMatrixFilter(_filter).matrix = _matrix; super.changeFactor = _arg1; } public static function setSaturation(_arg1:Array, _arg2:Number):Array{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Array; if (isNaN(_arg2)){ return (_arg1); }; _local3 = (1 - _arg2); _local4 = (_local3 * _lumR); _local5 = (_local3 * _lumG); _local6 = (_local3 * _lumB); _local7 = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local7, _arg1)); } public static function setHue(_arg1:Array, _arg2:Number):Array{ var _local3:Number; var _local4:Number; var _local5:Array; if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 * (Math.PI / 180)); _local3 = Math.cos(_arg2); _local4 = Math.sin(_arg2); _local5 = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]; return (applyMatrix(_local5, _arg1)); } public static function setThreshold(_arg1:Array, _arg2:Number):Array{ var _local3:Array; if (isNaN(_arg2)){ return (_arg1); }; _local3 = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } public static function applyMatrix(_arg1:Array, _arg2:Array):Array{ var _local3:Array; var _local4:int; var _local5:int; var _local6:int; var _local7:int; if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){ return (_arg2); }; _local3 = []; _local4 = 0; _local5 = 0; _local6 = 0; while (_local6 < 4) { _local7 = 0; while (_local7 < 5) { if (_local7 == 4){ _local5 = _arg1[(_local4 + 4)]; } else { _local5 = 0; }; _local3[(_local4 + _local7)] = (((((_arg1[_local4] * _arg2[_local7]) + (_arg1[(_local4 + 1)] * _arg2[(_local7 + 5)])) + (_arg1[(_local4 + 2)] * _arg2[(_local7 + 10)])) + (_arg1[(_local4 + 3)] * _arg2[(_local7 + 15)])) + _local5); _local7++; }; _local4 = (_local4 + 5); _local6++; }; return (_local3); } public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):Array{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Array; if (isNaN(_arg2)){ return (_arg1); }; if (isNaN(_arg3)){ _arg3 = 1; }; _local4 = (((_arg2 >> 16) & 0xFF) / 0xFF); _local5 = (((_arg2 >> 8) & 0xFF) / 0xFF); _local6 = ((_arg2 & 0xFF) / 0xFF); _local7 = (1 - _arg3); _local8 = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local8, _arg1)); } public static function setBrightness(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; _arg2 = ((_arg2 * 100) - 100); return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1)); } public static function setContrast(_arg1:Array, _arg2:Number):Array{ var _local3:Array; if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 + 0.01); _local3 = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } } }//package gs.plugins
Section 16
//ColorTransformPlugin (gs.plugins.ColorTransformPlugin) package gs.plugins { import gs.*; import flash.display.*; import flash.geom.*; public class ColorTransformPlugin extends TintPlugin { public static const VERSION:Number = 1.01; public static const API:Number = 1; public function ColorTransformPlugin(){ this.propName = "colorTransform"; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:ColorTransform; var _local5:String; var _local6:Number; if (!(_arg1 is DisplayObject)){ return (false); }; _local4 = _arg1.transform.colorTransform; if (_arg2.isTV == true){ _arg2 = _arg2.exposedVars; }; for (_local5 in _arg2) { if ((((_local5 == "tint")) || ((_local5 == "color")))){ if (_arg2[_local5] != null){ _local4.color = int(_arg2[_local5]); }; } else { if ((((((_local5 == "tintAmount")) || ((_local5 == "exposure")))) || ((_local5 == "brightness")))){ } else { _local4[_local5] = _arg2[_local5]; }; }; }; if (!isNaN(_arg2.tintAmount)){ _local6 = (_arg2.tintAmount / (1 - (((_local4.redMultiplier + _local4.greenMultiplier) + _local4.blueMultiplier) / 3))); _local4.redOffset = (_local4.redOffset * _local6); _local4.greenOffset = (_local4.greenOffset * _local6); _local4.blueOffset = (_local4.blueOffset * _local6); _local4.redMultiplier = (_local4.greenMultiplier = (_local4.blueMultiplier = (1 - _arg2.tintAmount))); } else { if (!isNaN(_arg2.exposure)){ _local4.redOffset = (_local4.greenOffset = (_local4.blueOffset = (0xFF * (_arg2.exposure - 1)))); _local4.redMultiplier = (_local4.greenMultiplier = (_local4.blueMultiplier = 1)); } else { if (!isNaN(_arg2.brightness)){ _local4.redOffset = (_local4.greenOffset = (_local4.blueOffset = Math.max(0, ((_arg2.brightness - 1) * 0xFF)))); _local4.redMultiplier = (_local4.greenMultiplier = (_local4.blueMultiplier = (1 - Math.abs((_arg2.brightness - 1))))); }; }; }; if (((!((_arg3.exposedVars.alpha == undefined))) && ((_arg2.alphaMultiplier == undefined)))){ _local4.alphaMultiplier = _arg3.exposedVars.alpha; _arg3.killVars({alpha:1}); }; init((_arg1 as DisplayObject), _local4); return (true); } } }//package gs.plugins
Section 17
//DropShadowFilterPlugin (gs.plugins.DropShadowFilterPlugin) package gs.plugins { import gs.*; import flash.display.*; import flash.filters.*; public class DropShadowFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function DropShadowFilterPlugin(){ this.propName = "dropShadowFilter"; this.overwriteProps = ["dropShadowFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = DropShadowFilter; initFilter(_arg2, new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout, _arg2.hideObject)); return (true); } } }//package gs.plugins
Section 18
//EndArrayPlugin (gs.plugins.EndArrayPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class EndArrayPlugin extends TweenPlugin { protected var _info:Array; protected var _a:Array; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function EndArrayPlugin(){ _info = []; super(); this.propName = "endArray"; this.overwriteProps = ["endArray"]; } override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:ArrayTweenInfo; var _local4:Number; var _local5:int; if (this.round){ _local2 = (_info.length - 1); while (_local2 > -1) { _local3 = _info[_local2]; _local4 = (_local3.start + (_local3.change * _arg1)); _local5 = ((_local4)<0) ? -1 : 1; _a[_local3.index] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4); _local2--; }; } else { _local2 = (_info.length - 1); while (_local2 > -1) { _local3 = _info[_local2]; _a[_local3.index] = (_local3.start + (_local3.change * _arg1)); _local2--; }; }; } public function init(_arg1:Array, _arg2:Array):void{ var _local3:int; _a = _arg1; _local3 = (_arg2.length - 1); while (_local3 > -1) { if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){ _info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3])); }; _local3--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){ return (false); }; init((_arg1 as Array), _arg2); return (true); } } }//package gs.plugins
Section 19
//FilterPlugin (gs.plugins.FilterPlugin) package gs.plugins { import gs.*; import flash.display.*; import flash.filters.*; import gs.utils.tween.*; public class FilterPlugin extends TweenPlugin { protected var _index:int; protected var _filter:BitmapFilter; protected var _type:Class; protected var _remove:Boolean; protected var _target:Object; public static const VERSION:Number = 1.03; public static const API:Number = 1; override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:TweenInfo; var _local4:Array; _local4 = _target.filters; _local2 = (_tweens.length - 1); while (_local2 > -1) { _local3 = _tweens[_local2]; _local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1)); _local2--; }; if (!(_local4[_index] is _type)){ _index = (_local4.length - 1); _local2 = (_local4.length - 1); while (_local2 > -1) { if ((_local4[_local2] is _type)){ _index = _local2; break; }; _local2--; }; }; _local4[_index] = _filter; _target.filters = _local4; } public function onCompleteTween():void{ var _local1:int; var _local2:Array; if (_remove){ _local2 = _target.filters; if (!(_local2[_index] is _type)){ _local1 = (_local2.length - 1); while (_local1 > -1) { if ((_local2[_local1] is _type)){ _local2.splice(_local1, 1); break; }; _local1--; }; } else { _local2.splice(_index, 1); }; _target.filters = _local2; }; } protected function initFilter(_arg1:Object, _arg2:BitmapFilter):void{ var _local3:Array; var _local4:String; var _local5:int; var _local6:HexColorsPlugin; var _local7:Object; _local3 = _target.filters; _index = -1; if (_arg1.index != null){ _index = _arg1.index; } else { _local5 = (_local3.length - 1); while (_local5 > -1) { if ((_local3[_local5] is _type)){ _index = _local5; break; }; _local5--; }; }; if ((((((_index == -1)) || ((_local3[_index] == null)))) || ((_arg1.addFilter == true)))){ _index = ((_arg1.index)!=null) ? _arg1.index : _local3.length; _local3[_index] = _arg2; _target.filters = _local3; }; _filter = _local3[_index]; _remove = Boolean((_arg1.remove == true)); if (_remove){ this.onComplete = onCompleteTween; }; _local7 = ((_arg1.isTV)==true) ? _arg1.exposedVars : _arg1; for (_local4 in _local7) { if (((((((((!((_local4 in _filter))) || ((_filter[_local4] == _local7[_local4])))) || ((_local4 == "remove")))) || ((_local4 == "index")))) || ((_local4 == "addFilter")))){ } else { if ((((((_local4 == "color")) || ((_local4 == "highlightColor")))) || ((_local4 == "shadowColor")))){ _local6 = new HexColorsPlugin(); _local6.initColor(_filter, _local4, _filter[_local4], _local7[_local4]); _tweens[_tweens.length] = new TweenInfo(_local6, "changeFactor", 0, 1, _local4, false); } else { if ((((((((_local4 == "quality")) || ((_local4 == "inner")))) || ((_local4 == "knockout")))) || ((_local4 == "hideObject")))){ _filter[_local4] = _local7[_local4]; } else { addTween(_filter, _local4, _filter[_local4], _local7[_local4], _local4); }; }; }; }; } } }//package gs.plugins
Section 20
//FramePlugin (gs.plugins.FramePlugin) package gs.plugins { import gs.*; import flash.display.*; public class FramePlugin extends TweenPlugin { public var frame:int; protected var _target:MovieClip; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function FramePlugin(){ this.propName = "frame"; this.overwriteProps = ["frame"]; this.round = true; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _target.gotoAndStop(this.frame); } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){ return (false); }; _target = (_arg1 as MovieClip); this.frame = _target.currentFrame; addTween(this, "frame", this.frame, _arg2, "frame"); return (true); } } }//package gs.plugins
Section 21
//GlowFilterPlugin (gs.plugins.GlowFilterPlugin) package gs.plugins { import gs.*; import flash.display.*; import flash.filters.*; public class GlowFilterPlugin extends FilterPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function GlowFilterPlugin(){ this.propName = "glowFilter"; this.overwriteProps = ["glowFilter"]; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _type = GlowFilter; initFilter(_arg2, new GlowFilter(0xFFFFFF, 0, 0, 0, ((_arg2.strength) || (1)), ((_arg2.quality) || (2)), _arg2.inner, _arg2.knockout)); return (true); } } }//package gs.plugins
Section 22
//HexColorsPlugin (gs.plugins.HexColorsPlugin) package gs.plugins { import gs.*; public class HexColorsPlugin extends TweenPlugin { protected var _colors:Array; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function HexColorsPlugin(){ this.propName = "hexColors"; this.overwriteProps = []; _colors = []; } override public function set changeFactor(_arg1:Number):void{ var _local2:int; var _local3:Array; _local2 = (_colors.length - 1); while (_local2 > -1) { _local3 = _colors[_local2]; _local3[0][_local3[1]] = ((((_local3[2] + (_arg1 * _local3[3])) << 16) | ((_local3[4] + (_arg1 * _local3[5])) << 8)) | (_local3[6] + (_arg1 * _local3[7]))); _local2--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:String; for (_local4 in _arg2) { initColor(_arg1, _local4, uint(_arg1[_local4]), uint(_arg2[_local4])); }; return (true); } override public function killProps(_arg1:Object):void{ var _local2:int; _local2 = (_colors.length - 1); while (_local2 > -1) { if (_arg1[_colors[_local2][1]] != undefined){ _colors.splice(_local2, 1); }; _local2--; }; super.killProps(_arg1); } public function initColor(_arg1:Object, _arg2:String, _arg3:uint, _arg4:uint):void{ var _local5:Number; var _local6:Number; var _local7:Number; if (_arg3 != _arg4){ _local5 = (_arg3 >> 16); _local6 = ((_arg3 >> 8) & 0xFF); _local7 = (_arg3 & 0xFF); _colors[_colors.length] = [_arg1, _arg2, _local5, ((_arg4 >> 16) - _local5), _local6, (((_arg4 >> 8) & 0xFF) - _local6), _local7, ((_arg4 & 0xFF) - _local7)]; this.overwriteProps[this.overwriteProps.length] = _arg2; }; } } }//package gs.plugins
Section 23
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin) package gs.plugins { public class RemoveTintPlugin extends TintPlugin { public static const VERSION:Number = 1.01; public static const API:Number = 1; public function RemoveTintPlugin(){ this.propName = "removeTint"; } } }//package gs.plugins
Section 24
//RoundPropsPlugin (gs.plugins.RoundPropsPlugin) package gs.plugins { public class RoundPropsPlugin extends TweenPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function RoundPropsPlugin(){ this.propName = "roundProps"; this.overwriteProps = []; this.round = true; } public function add(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{ addTween(_arg1, _arg2, _arg3, (_arg3 + _arg4), _arg2); this.overwriteProps[this.overwriteProps.length] = _arg2; } } }//package gs.plugins
Section 25
//ShortRotationPlugin (gs.plugins.ShortRotationPlugin) package gs.plugins { import gs.*; public class ShortRotationPlugin extends TweenPlugin { public static const VERSION:Number = 1; public static const API:Number = 1; public function ShortRotationPlugin(){ this.propName = "shortRotation"; this.overwriteProps = []; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:String; if (typeof(_arg2) == "number"){ trace("WARNING: You appear to be using the old shortRotation syntax. Instead of passing a number, please pass an object with properties that correspond to the rotations values For example, TweenMax.to(mc, 2, {shortRotation:{rotationX:-170, rotationY:25}})"); return (false); }; for (_local4 in _arg2) { initRotation(_arg1, _local4, _arg1[_local4], _arg2[_local4]); }; return (true); } public function initRotation(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number):void{ var _local5:Number; _local5 = ((_arg4 - _arg3) % 360); if (((_arg4 - _arg3) % 360) != (_local5 % 180)){ _local5 = ((_local5)<0) ? (_local5 + 360) : (_local5 - 360); }; addTween(_arg1, _arg2, _arg3, (_arg3 + _local5), _arg2); this.overwriteProps[this.overwriteProps.length] = _arg2; } } }//package gs.plugins
Section 26
//TintPlugin (gs.plugins.TintPlugin) package gs.plugins { import gs.*; import flash.display.*; import flash.geom.*; import gs.utils.tween.*; public class TintPlugin extends TweenPlugin { protected var _ct:ColorTransform; protected var _ignoreAlpha:Boolean; protected var _target:DisplayObject; public static const VERSION:Number = 1.1; public static const API:Number = 1; protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"]; public function TintPlugin(){ this.propName = "tint"; this.overwriteProps = ["tint"]; } override public function set changeFactor(_arg1:Number):void{ var _local2:ColorTransform; updateTweens(_arg1); if (_ignoreAlpha){ _local2 = _target.transform.colorTransform; _ct.alphaMultiplier = _local2.alphaMultiplier; _ct.alphaOffset = _local2.alphaOffset; }; _target.transform.colorTransform = _ct; } public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{ var _local3:int; var _local4:String; _target = _arg1; _ct = _target.transform.colorTransform; _local3 = (_props.length - 1); while (_local3 > -1) { _local4 = _props[_local3]; if (_ct[_local4] != _arg2[_local4]){ _tweens[_tweens.length] = new TweenInfo(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false); }; _local3--; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ var _local4:ColorTransform; if (!(_arg1 is DisplayObject)){ return (false); }; _local4 = new ColorTransform(); if (((!((_arg2 == null))) && (!((_arg3.exposedVars.removeTint == true))))){ _local4.color = uint(_arg2); }; _ignoreAlpha = true; init((_arg1 as DisplayObject), _local4); return (true); } } }//package gs.plugins
Section 27
//TweenPlugin (gs.plugins.TweenPlugin) package gs.plugins { import gs.*; import gs.utils.tween.*; public class TweenPlugin { public var overwriteProps:Array; protected var _tweens:Array; public var round:Boolean; public var onComplete:Function; public var propName:String; protected var _changeFactor:Number;// = 0 public static const VERSION:Number = 1.03; public static const API:Number = 1; public function TweenPlugin(){ _tweens = []; _changeFactor = 0; super(); } protected function updateTweens(_arg1:Number):void{ var _local2:int; var _local3:TweenInfo; var _local4:Number; var _local5:int; if (this.round){ _local2 = (_tweens.length - 1); while (_local2 > -1) { _local3 = _tweens[_local2]; _local4 = (_local3.start + (_local3.change * _arg1)); _local5 = ((_local4)<0) ? -1 : 1; _local3.target[_local3.property] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4); _local2--; }; } else { _local2 = (_tweens.length - 1); while (_local2 > -1) { _local3 = _tweens[_local2]; _local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1)); _local2--; }; }; } public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _changeFactor = _arg1; } protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{ var _local6:Number; if (_arg4 != null){ _local6 = ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4); if (_local6 != 0){ _tweens[_tweens.length] = new TweenInfo(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false); }; }; } public function killProps(_arg1:Object):void{ var _local2:int; _local2 = (this.overwriteProps.length - 1); while (_local2 > -1) { if ((this.overwriteProps[_local2] in _arg1)){ this.overwriteProps.splice(_local2, 1); }; _local2--; }; _local2 = (_tweens.length - 1); while (_local2 > -1) { if ((_tweens[_local2].name in _arg1)){ _tweens.splice(_local2, 1); }; _local2--; }; } public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName); return (true); } public function get changeFactor():Number{ return (_changeFactor); } public static function activate(_arg1:Array):Boolean{ var _local2:int; var _local3:Object; _local2 = (_arg1.length - 1); while (_local2 > -1) { _local3 = new (_arg1[_local2]); TweenLite.plugins[_local3.propName] = _arg1[_local2]; _local2--; }; return (true); } } }//package gs.plugins
Section 28
//VisiblePlugin (gs.plugins.VisiblePlugin) package gs.plugins { import gs.*; import flash.display.*; public class VisiblePlugin extends TweenPlugin { protected var _tween:TweenLite; protected var _visible:Boolean; protected var _target:Object; public static const VERSION:Number = 1; public static const API:Number = 1; public function VisiblePlugin(){ this.propName = "visible"; this.overwriteProps = ["visible"]; this.onComplete = onCompleteTween; } override public function set changeFactor(_arg1:Number):void{ if (_target.visible != true){ _target.visible = true; }; } public function onCompleteTween():void{ if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){ _target.visible = _visible; }; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ _target = _arg1; _tween = _arg3; _visible = Boolean(_arg2); return (true); } } }//package gs.plugins
Section 29
//VolumePlugin (gs.plugins.VolumePlugin) package gs.plugins { import flash.media.*; import gs.*; import flash.display.*; public class VolumePlugin extends TweenPlugin { protected var _st:SoundTransform; protected var _target:Object; public static const VERSION:Number = 1.01; public static const API:Number = 1; public function VolumePlugin(){ this.propName = "volume"; this.overwriteProps = ["volume"]; } override public function set changeFactor(_arg1:Number):void{ updateTweens(_arg1); _target.soundTransform = _st; } override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{ if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){ return (false); }; _target = _arg1; _st = _target.soundTransform; addTween(_st, "volume", _st.volume, _arg2, "volume"); return (true); } } }//package gs.plugins
Section 30
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo) package gs.utils.tween { public class ArrayTweenInfo { public var change:Number; public var index:uint; public var start:Number; public function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){ this.index = _arg1; this.start = _arg2; this.change = _arg3; } } }//package gs.utils.tween
Section 31
//TweenInfo (gs.utils.tween.TweenInfo) package gs.utils.tween { public class TweenInfo { public var start:Number; public var name:String; public var change:Number; public var target:Object; public var property:String; public var isPlugin:Boolean; public function TweenInfo(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean){ this.target = _arg1; this.property = _arg2; this.start = _arg3; this.change = _arg4; this.name = _arg5; this.isPlugin = _arg6; } } }//package gs.utils.tween
Section 32
//OverwriteManager (gs.OverwriteManager) package gs { import gs.utils.tween.*; import flash.utils.*; import flash.errors.*; public class OverwriteManager { public static const ALL:int = 1; public static const NONE:int = 0; public static const AUTO:int = 2; public static const CONCURRENT:int = 3; public static const version:Number = 3.12; public static var mode:int; public static var enabled:Boolean; public static function killVars(_arg1:Object, _arg2:Object, _arg3:Array):void{ var _local4:int; var _local5:String; var _local6:TweenInfo; _local4 = (_arg3.length - 1); while (_local4 > -1) { _local6 = _arg3[_local4]; if ((_local6.name in _arg1)){ _arg3.splice(_local4, 1); } else { if (((_local6.isPlugin) && ((_local6.name == "_MULTIPLE_")))){ _local6.target.killProps(_arg1); if (_local6.target.overwriteProps.length == 0){ _arg3.splice(_local4, 1); }; }; }; _local4--; }; for (_local5 in _arg1) { delete _arg2[_local5]; }; } public static function manageOverwrites(_arg1:TweenLite, _arg2:Array):void{ var _local3:Object; var _local4:int; var _local5:Number; var _local6:Array; var _local7:int; var _local8:TweenLite; var _local9:int; var _local10:Array; var _local11:Object; var _local12:int; var _local13:TweenInfo; var _local14:Array; _local3 = _arg1.vars; _local4 = ((_local3.overwrite)==undefined) ? mode : int(_local3.overwrite); if ((((_local4 < 2)) || ((_arg2 == null)))){ return; }; _local5 = _arg1.startTime; _local6 = []; _local9 = -1; _local7 = (_arg2.length - 1); while (_local7 > -1) { _local8 = _arg2[_local7]; if (_local8 == _arg1){ _local9 = _local7; } else { if ((((((_local7 < _local9)) && ((_local8.startTime <= _local5)))) && (((_local8.startTime + ((_local8.duration * 1000) / _local8.combinedTimeScale)) > _local5)))){ _local6[_local6.length] = _local8; }; }; _local7--; }; if ((((_local6.length == 0)) || ((_arg1.tweens.length == 0)))){ return; }; if (_local4 == AUTO){ _local10 = _arg1.tweens; _local11 = {}; _local7 = (_local10.length - 1); while (_local7 > -1) { _local13 = _local10[_local7]; if (_local13.isPlugin){ if (_local13.name == "_MULTIPLE_"){ _local14 = _local13.target.overwriteProps; _local12 = (_local14.length - 1); while (_local12 > -1) { _local11[_local14[_local12]] = true; _local12--; }; } else { _local11[_local13.name] = true; }; _local11[_local13.target.propName] = true; } else { _local11[_local13.name] = true; }; _local7--; }; _local7 = (_local6.length - 1); while (_local7 > -1) { killVars(_local11, _local6[_local7].exposedVars, _local6[_local7].tweens); _local7--; }; } else { _local7 = (_local6.length - 1); while (_local7 > -1) { _local6[_local7].enabled = false; _local7--; }; }; } public static function init(_arg1:int=2):int{ if (TweenLite.version < 10.09){ trace("TweenLite warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com."); }; TweenLite.overwriteManager = OverwriteManager; mode = _arg1; enabled = true; return (mode); } } }//package gs
Section 33
//TweenLite (gs.TweenLite) package gs { import flash.events.*; import flash.display.*; import gs.utils.tween.*; import gs.plugins.*; import flash.utils.*; public class TweenLite { public var delay:Number; protected var _hasUpdate:Boolean; protected var _hasPlugins:Boolean; public var started:Boolean; public var initted:Boolean; public var active:Boolean; public var startTime:Number; public var target:Object; public var duration:Number; public var gc:Boolean; public var vars:Object; public var ease:Function; public var tweens:Array; public var exposedVars:Object; public var combinedTimeScale:Number; public var initTime:Number; public static const version:Number = 10.092; private static var _timer:Timer = new Timer(2000); public static var defaultEase:Function = TweenLite.easeOut; public static var plugins:Object = {}; public static var currentTime:uint; public static var masterList:Dictionary = new Dictionary(false); protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1}; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; public static var timingSprite:Sprite = new Sprite(); public static var overwriteManager:Object; private static var _tlInitted:Boolean; public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){ var _local4:int; super(); if (_arg1 == null){ return; }; if (!_tlInitted){ TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]); currentTime = getTimer(); timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true); if (overwriteManager == null){ overwriteManager = {mode:1, enabled:false}; }; _timer.addEventListener("timer", killGarbage, false, 0, true); _timer.start(); _tlInitted = true; }; this.vars = _arg3; this.duration = ((_arg2) || (0.001)); this.delay = ((_arg3.delay) || (0)); this.combinedTimeScale = ((_arg3.timeScale) || (1)); this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0)))); this.target = _arg1; if (typeof(this.vars.ease) != "function"){ this.vars.ease = defaultEase; }; if (this.vars.easeParams != null){ this.vars.proxiedEase = this.vars.ease; this.vars.ease = easeProxy; }; this.ease = this.vars.ease; this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars; this.tweens = []; this.initTime = currentTime; this.startTime = (this.initTime + (this.delay * 1000)); _local4 = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite); if (((!((_arg1 in masterList))) || ((_local4 == 1)))){ masterList[_arg1] = [this]; } else { masterList[_arg1].push(this); }; if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){ initTweenVals(); if (this.active){ render((this.startTime + 1)); } else { render(this.startTime); }; if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){ this.target.visible = this.exposedVars.visible; }; }; } public function set enabled(_arg1:Boolean):void{ var _local2:Array; var _local3:Boolean; var _local4:int; if (_arg1){ if (!(this.target in masterList)){ masterList[this.target] = [this]; } else { _local2 = masterList[this.target]; _local4 = (_local2.length - 1); while (_local4 > -1) { if (_local2[_local4] == this){ _local3 = true; break; }; _local4--; }; if (!_local3){ _local2[_local2.length] = this; }; }; }; this.gc = (_arg1) ? false : true; if (this.gc){ this.active = false; } else { this.active = this.started; }; } public function clear():void{ this.tweens = []; this.vars = (this.exposedVars = {ease:this.vars.ease}); _hasUpdate = false; } public function render(_arg1:uint):void{ var _local2:Number; var _local3:Number; var _local4:TweenInfo; var _local5:int; _local2 = ((_arg1 - this.startTime) * 0.001); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { _local3 = this.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change)); _local5--; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } public function activate():void{ this.started = (this.active = true); if (!this.initted){ initTweenVals(); }; if (this.vars.onStart != null){ this.vars.onStart.apply(null, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; } public function get enabled():Boolean{ return ((this.gc) ? false : true); } public function initTweenVals():void{ var _local1:String; var _local2:int; var _local3:*; var _local4:TweenInfo; if (((!((this.exposedVars.timeScale == undefined))) && (this.target.hasOwnProperty("timeScale")))){ this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false); }; for (_local1 in this.exposedVars) { if ((_local1 in _reservedProps)){ } else { if ((_local1 in plugins)){ _local3 = new (plugins[_local1]); if (_local3.onInitTween(this.target, this.exposedVars[_local1], this) == false){ this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false); } else { this.tweens[this.tweens.length] = new TweenInfo(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true); _hasPlugins = true; }; } else { this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false); }; }; }; if (this.vars.runBackwards == true){ _local2 = (this.tweens.length - 1); while (_local2 > -1) { _local4 = this.tweens[_local2]; this.tweens[_local2].start = (_local4.start + _local4.change); _local4.change = -(_local4.change); _local2--; }; }; if (this.vars.onUpdate != null){ _hasUpdate = true; }; if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){ overwriteManager.manageOverwrites(this, masterList[this.target]); }; this.initted = true; } protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } public function killVars(_arg1:Object):void{ if (overwriteManager.enabled){ overwriteManager.killVars(_arg1, this.exposedVars, this.tweens); }; } public function complete(_arg1:Boolean=false):void{ var _local2:int; if (!_arg1){ if (!this.initted){ initTweenVals(); }; this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale)); render(currentTime); return; }; if (_hasPlugins){ _local2 = (this.tweens.length - 1); while (_local2 > -1) { if (((this.tweens[_local2].isPlugin) && (!((this.tweens[_local2].target.onComplete == null))))){ this.tweens[_local2].target.onComplete(); }; _local2--; }; }; if (this.vars.persist != true){ this.enabled = false; }; if (this.vars.onComplete != null){ this.vars.onComplete.apply(null, this.vars.onCompleteParams); }; } public static function updateAll(_arg1:Event=null):void{ var _local2:uint; var _local3:Dictionary; var _local4:Array; var _local5:int; var _local6:TweenLite; _local2 = (currentTime = getTimer()); _local3 = masterList; for each (_local4 in _local3) { _local5 = (_local4.length - 1); while (_local5 > -1) { _local6 = _local4[_local5]; if (_local6.active){ _local6.render(_local2); } else { if (_local6.gc){ _local4.splice(_local5, 1); } else { if (_local2 >= _local6.startTime){ _local6.activate(); _local6.render(_local2); }; }; }; _local5--; }; }; } public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{ if (_arg1 != null){ if (_arg2){ _arg1.clear(); }; _arg1.enabled = false; }; } public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{ var _local3:Array; var _local4:int; var _local5:TweenLite; if (((!((_arg1 == null))) && ((_arg1 in masterList)))){ _local3 = masterList[_arg1]; _local4 = (_local3.length - 1); while (_local4 > -1) { _local5 = _local3[_local4]; if (((_arg2) && (!(_local5.gc)))){ _local5.complete(false); }; _local5.clear(); _local4--; }; delete masterList[_arg1]; }; } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ _arg3.runBackwards = true; return (new TweenLite(_arg1, _arg2, _arg3)); } public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } protected static function killGarbage(_arg1:TimerEvent):void{ var _local2:Dictionary; var _local3:Object; _local2 = masterList; for (_local3 in _local2) { if (_local2[_local3].length == 0){ delete _local2[_local3]; }; }; } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{ return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0})); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ return (new TweenLite(_arg1, _arg2, _arg3)); } } }//package gs
Section 34
//TweenMax (gs.TweenMax) package gs { import flash.events.*; import gs.utils.tween.*; import gs.plugins.*; import gs.events.*; import flash.utils.*; public class TweenMax extends TweenLite implements IEventDispatcher { protected var _dispatcher:EventDispatcher; protected var _callbacks:Object; public var pauseTime:Number; protected var _repeatCount:Number; protected var _timeScale:Number; public static const version:Number = 10.12; public static var removeTween:Function = TweenLite.removeTween; private static var _overwriteMode:int = (OverwriteManager.enabled) ? OverwriteManager.mode : OverwriteManager.init(); ; protected static var _pausedTweens:Dictionary = new Dictionary(false); protected static var _globalTimeScale:Number = 1; public static var killTweensOf:Function = TweenLite.killTweensOf; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; private static var _activatedPlugins:Boolean = TweenPlugin.activate([TintPlugin, RemoveTintPlugin, ColorTransformPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin, HexColorsPlugin, BlurFilterPlugin, ColorMatrixFilterPlugin, BevelFilterPlugin, DropShadowFilterPlugin, GlowFilterPlugin, RoundPropsPlugin, BezierPlugin, BezierThroughPlugin, ShortRotationPlugin]); public function TweenMax(_arg1:Object, _arg2:Number, _arg3:Object){ super(_arg1, _arg2, _arg3); if (TweenLite.version < 10.092){ trace("TweenMax error! Please update your TweenLite class or try deleting your ASO files. TweenMax requires a more recent version. Download updates at http://www.TweenMax.com."); }; if (((!((this.combinedTimeScale == 1))) && ((this.target is TweenMax)))){ _timeScale = 1; this.combinedTimeScale = _globalTimeScale; } else { _timeScale = this.combinedTimeScale; this.combinedTimeScale = (this.combinedTimeScale * _globalTimeScale); }; if (((!((this.combinedTimeScale == 1))) && (!((this.delay == 0))))){ this.startTime = (this.initTime + (this.delay * (1000 / this.combinedTimeScale))); }; if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){ initDispatcher(); if ((((_arg2 == 0)) && ((this.delay == 0)))){ onUpdateDispatcher(); onCompleteDispatcher(); }; }; _repeatCount = 0; if (((!(isNaN(this.vars.yoyo))) || (!(isNaN(this.vars.loop))))){ this.vars.persist = true; }; if ((((this.delay == 0)) && (!((this.vars.startAt == null))))){ this.vars.startAt.overwrite = 0; new TweenMax(this.target, 0, this.vars.startAt); }; } public function set repeatCount(_arg1:Number):void{ _repeatCount = _arg1; } override public function set enabled(_arg1:Boolean):void{ if (!_arg1){ _pausedTweens[this] = null; delete _pausedTweens[this]; }; super.enabled = _arg1; if (_arg1){ this.combinedTimeScale = (_timeScale * _globalTimeScale); }; } public function set reversed(_arg1:Boolean):void{ if (this.reversed != _arg1){ reverse(); }; } override public function render(_arg1:uint):void{ var _local2:Number; var _local3:Number; var _local4:TweenInfo; var _local5:int; _local2 = (((_arg1 - this.startTime) * 0.001) * this.combinedTimeScale); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { _local3 = this.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change)); _local5--; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } protected function adjustStartValues():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:TweenInfo; var _local6:int; _local1 = this.progress; if (_local1 != 0){ _local2 = this.ease(_local1, 0, 1, 1); _local3 = (1 / (1 - _local2)); _local6 = (this.tweens.length - 1); while (_local6 > -1) { _local5 = this.tweens[_local6]; _local4 = (_local5.start + _local5.change); if (_local5.isPlugin){ _local5.change = ((_local4 - _local2) * _local3); } else { _local5.change = ((_local4 - _local5.target[_local5.property]) * _local3); }; _local5.start = (_local4 - _local5.change); _local6--; }; }; } public function get timeScale():Number{ return (_timeScale); } public function restart(_arg1:Boolean=false):void{ if (_arg1){ this.initTime = currentTime; this.startTime = (currentTime + (this.delay * (1000 / this.combinedTimeScale))); } else { this.startTime = currentTime; this.initTime = (currentTime - (this.delay * (1000 / this.combinedTimeScale))); }; _repeatCount = 0; if (this.target != this.vars.onComplete){ render(this.startTime); }; this.pauseTime = NaN; _pausedTweens[this] = null; delete _pausedTweens[this]; this.enabled = true; } public function get paused():Boolean{ return (!(isNaN(this.pauseTime))); } public function killProperties(_arg1:Array):void{ var _local2:Object; var _local3:int; _local2 = {}; _local3 = (_arg1.length - 1); while (_local3 > -1) { _local2[_arg1[_local3]] = true; _local3--; }; killVars(_local2); } public function resume():void{ this.enabled = true; if (!isNaN(this.pauseTime)){ this.initTime = (this.initTime + (currentTime - this.pauseTime)); this.startTime = (this.initTime + (this.delay * (1000 / this.combinedTimeScale))); this.pauseTime = NaN; if (((!(this.started)) && ((currentTime >= this.startTime)))){ activate(); } else { this.active = this.started; }; _pausedTweens[this] = null; delete _pausedTweens[this]; }; } override public function complete(_arg1:Boolean=false):void{ if (((((!(isNaN(this.vars.yoyo))) && ((((_repeatCount < this.vars.yoyo)) || ((this.vars.yoyo == 0)))))) || (((!(isNaN(this.vars.loop))) && ((((_repeatCount < this.vars.loop)) || ((this.vars.loop == 0)))))))){ _repeatCount++; if (!isNaN(this.vars.yoyo)){ this.ease = ((this.vars.ease)==this.ease) ? reverseEase : this.vars.ease; }; this.startTime = (_arg1) ? (this.startTime + (this.duration * (1000 / this.combinedTimeScale))) : currentTime; this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale))); } else { if (this.vars.persist == true){ pause(); }; }; super.complete(_arg1); } public function invalidate(_arg1:Boolean=true):void{ var _local2:Number; if (this.initted){ _local2 = this.progress; if (((!(_arg1)) && (!((_local2 == 0))))){ this.progress = 0; }; this.tweens = []; _hasPlugins = false; this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedProps : this.vars; initTweenVals(); _timeScale = ((this.vars.timeScale) || (1)); this.combinedTimeScale = (_timeScale * _globalTimeScale); this.delay = ((this.vars.delay) || (0)); if (isNaN(this.pauseTime)){ this.startTime = (this.initTime + ((this.delay * 1000) / this.combinedTimeScale)); }; if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){ if (_dispatcher != null){ this.vars.onStart = _callbacks.onStart; this.vars.onUpdate = _callbacks.onUpdate; this.vars.onComplete = _callbacks.onComplete; _dispatcher = null; }; initDispatcher(); }; if (_local2 != 0){ if (_arg1){ adjustStartValues(); } else { this.progress = _local2; }; }; }; } public function get progress():Number{ var _local1:Number; var _local2:Number; _local1 = (isNaN(this.pauseTime)) ? currentTime : this.pauseTime; _local2 = (((((_local1 - this.initTime) * 0.001) - (this.delay / this.combinedTimeScale)) / this.duration) * this.combinedTimeScale); if (_local2 > 1){ return (1); }; if (_local2 < 0){ return (0); }; return (_local2); } public function willTrigger(_arg1:String):Boolean{ if (_dispatcher == null){ return (false); }; return (_dispatcher.willTrigger(_arg1)); } public function dispatchEvent(_arg1:Event):Boolean{ if (_dispatcher == null){ return (false); }; return (_dispatcher.dispatchEvent(_arg1)); } public function get reversed():Boolean{ return ((this.ease == reverseEase)); } public function get repeatCount():Number{ return (_repeatCount); } protected function onStartDispatcher(... _args):void{ if (_callbacks.onStart != null){ _callbacks.onStart.apply(null, this.vars.onStartParams); }; _dispatcher.dispatchEvent(new TweenEvent(TweenEvent.START)); } public function setDestination(_arg1:String, _arg2, _arg3:Boolean=true):void{ var _local4:Number; var _local5:int; var _local6:TweenInfo; var _local7:Object; var _local8:Object; var _local9:Array; var _local10:Boolean; var _local11:Array; var _local12:Object; _local4 = this.progress; if (this.initted){ if (!_arg3){ _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local6 = this.tweens[_local5]; if (_local6.name == _arg1){ _local6.target[_local6.property] = _local6.start; }; _local5--; }; }; _local7 = this.vars; _local8 = this.exposedVars; _local9 = this.tweens; _local10 = _hasPlugins; this.tweens = []; this.vars = (this.exposedVars = {}); this.vars[_arg1] = _arg2; initTweenVals(); if (((!((this.ease == reverseEase))) && ((_local7.ease is Function)))){ this.ease = _local7.ease; }; if (((_arg3) && (!((_local4 == 0))))){ adjustStartValues(); }; _local11 = this.tweens; this.vars = _local7; this.exposedVars = _local8; this.tweens = _local9; _local12 = {}; _local12[_arg1] = true; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local6 = this.tweens[_local5]; if (_local6.name == _arg1){ this.tweens.splice(_local5, 1); } else { if (((_local6.isPlugin) && ((_local6.name == "_MULTIPLE_")))){ _local6.target.killProps(_local12); if (_local6.target.overwriteProps.length == 0){ this.tweens.splice(_local5, 1); }; }; }; _local5--; }; this.tweens = this.tweens.concat(_local11); _hasPlugins = Boolean(((_local10) || (_hasPlugins))); }; this.vars[_arg1] = (this.exposedVars[_arg1] = _arg2); } public function set timeScale(_arg1:Number):void{ if (_arg1 < 1E-5){ _arg1 = (_timeScale = 1E-5); } else { _timeScale = _arg1; _arg1 = (_arg1 * _globalTimeScale); }; this.initTime = ((currentTime - ((((currentTime - this.initTime) - (this.delay * (1000 / this.combinedTimeScale))) * this.combinedTimeScale) * (1 / _arg1))) - (this.delay * (1000 / _arg1))); if (this.startTime != 999999999999999){ this.startTime = (this.initTime + (this.delay * (1000 / _arg1))); }; this.combinedTimeScale = _arg1; } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ if (_dispatcher != null){ _dispatcher.removeEventListener(_arg1, _arg2, _arg3); }; } override public function initTweenVals():void{ var _local1:int; var _local2:int; var _local3:String; var _local4:String; var _local5:Array; var _local6:Object; var _local7:TweenInfo; if (((!((this.vars.startAt == null))) && (!((this.delay == 0))))){ this.vars.startAt.overwrite = 0; new TweenMax(this.target, 0, this.vars.startAt); }; super.initTweenVals(); if ((((this.exposedVars.roundProps is Array)) && (!((TweenLite.plugins.roundProps == null))))){ _local5 = this.exposedVars.roundProps; _local1 = (_local5.length - 1); while (_local1 > -1) { _local3 = _local5[_local1]; _local2 = (this.tweens.length - 1); while (_local2 > -1) { _local7 = this.tweens[_local2]; if (_local7.name == _local3){ if (_local7.isPlugin){ _local7.target.round = true; } else { if (_local6 == null){ _local6 = new TweenLite.plugins.roundProps(); _local6.add(_local7.target, _local3, _local7.start, _local7.change); _hasPlugins = true; this.tweens[_local2] = new TweenInfo(_local6, "changeFactor", 0, 1, _local3, true); } else { _local6.add(_local7.target, _local3, _local7.start, _local7.change); this.tweens.splice(_local2, 1); }; }; } else { if (((((_local7.isPlugin) && ((_local7.name == "_MULTIPLE_")))) && (!(_local7.target.round)))){ _local4 = ((" " + _local7.target.overwriteProps.join(" ")) + " "); if (_local4.indexOf(((" " + _local3) + " ")) != -1){ _local7.target.round = true; }; }; }; _local2--; }; _local1--; }; }; } protected function initDispatcher():void{ var _local1:Object; var _local2:String; if (_dispatcher == null){ _dispatcher = new EventDispatcher(this); _callbacks = {onStart:this.vars.onStart, onUpdate:this.vars.onUpdate, onComplete:this.vars.onComplete}; if (this.vars.isTV == true){ this.vars = this.vars.clone(); } else { _local1 = {}; for (_local2 in this.vars) { _local1[_local2] = this.vars[_local2]; }; this.vars = _local1; }; this.vars.onStart = onStartDispatcher; this.vars.onComplete = onCompleteDispatcher; if ((this.vars.onStartListener is Function)){ _dispatcher.addEventListener(TweenEvent.START, this.vars.onStartListener, false, 0, true); }; if ((this.vars.onUpdateListener is Function)){ _dispatcher.addEventListener(TweenEvent.UPDATE, this.vars.onUpdateListener, false, 0, true); this.vars.onUpdate = onUpdateDispatcher; _hasUpdate = true; }; if ((this.vars.onCompleteListener is Function)){ _dispatcher.addEventListener(TweenEvent.COMPLETE, this.vars.onCompleteListener, false, 0, true); }; }; } protected function onUpdateDispatcher(... _args):void{ if (_callbacks.onUpdate != null){ _callbacks.onUpdate.apply(null, this.vars.onUpdateParams); }; _dispatcher.dispatchEvent(new TweenEvent(TweenEvent.UPDATE)); } public function set progress(_arg1:Number):void{ this.startTime = (currentTime - ((this.duration * _arg1) * 1000)); this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale))); if (!this.started){ activate(); }; render(currentTime); if (!isNaN(this.pauseTime)){ this.pauseTime = currentTime; this.startTime = 999999999999999; this.active = false; }; } public function reverse(_arg1:Boolean=true, _arg2:Boolean=true):void{ var _local3:Number; this.ease = ((this.vars.ease)==this.ease) ? reverseEase : this.vars.ease; _local3 = this.progress; if (((_arg1) && ((_local3 > 0)))){ this.startTime = (currentTime - ((((1 - _local3) * this.duration) * 1000) / this.combinedTimeScale)); this.initTime = (this.startTime - (this.delay * (1000 / this.combinedTimeScale))); }; if (_arg2 != false){ if (_local3 < 1){ resume(); } else { restart(); }; }; } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ if (_dispatcher == null){ initDispatcher(); }; if ((((_arg1 == TweenEvent.UPDATE)) && (!((this.vars.onUpdate == onUpdateDispatcher))))){ this.vars.onUpdate = onUpdateDispatcher; _hasUpdate = true; }; _dispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set paused(_arg1:Boolean):void{ if (_arg1){ pause(); } else { resume(); }; } public function hasEventListener(_arg1:String):Boolean{ if (_dispatcher == null){ return (false); }; return (_dispatcher.hasEventListener(_arg1)); } public function pause():void{ if (isNaN(this.pauseTime)){ this.pauseTime = currentTime; this.startTime = 999999999999999; this.enabled = false; _pausedTweens[this] = this; }; } public function reverseEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.ease((_arg4 - _arg1), _arg2, _arg3, _arg4)); } protected function onCompleteDispatcher(... _args):void{ if (_callbacks.onComplete != null){ _callbacks.onComplete.apply(null, this.vars.onCompleteParams); }; _dispatcher.dispatchEvent(new TweenEvent(TweenEvent.COMPLETE)); } public static function set globalTimeScale(_arg1:Number):void{ setGlobalTimeScale(_arg1); } public static function pauseAll(_arg1:Boolean=true, _arg2:Boolean=false):void{ changePause(true, _arg1, _arg2); } public static function killAllDelayedCalls(_arg1:Boolean=false):void{ killAll(_arg1, false, true); } public static function setGlobalTimeScale(_arg1:Number):void{ var _local2:Dictionary; var _local3:int; var _local4:Array; if (_arg1 < 1E-5){ _arg1 = 1E-5; }; _local2 = masterList; _globalTimeScale = _arg1; for each (_local4 in _local2) { _local3 = (_local4.length - 1); while (_local3 > -1) { if ((_local4[_local3] is TweenMax)){ _local4[_local3].timeScale = (_local4[_local3].timeScale * 1); }; _local3--; }; }; } public static function get globalTimeScale():Number{ return (_globalTimeScale); } public static function getTweensOf(_arg1:Object):Array{ var _local2:Array; var _local3:Array; var _local4:TweenLite; var _local5:int; _local2 = masterList[_arg1]; _local3 = []; if (_local2 != null){ _local5 = (_local2.length - 1); while (_local5 > -1) { if (!_local2[_local5].gc){ _local3[_local3.length] = _local2[_local5]; }; _local5--; }; }; for each (_local4 in _pausedTweens) { if (_local4.target == _arg1){ _local3[_local3.length] = _local4; }; }; return (_local3); } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4:Boolean=false):TweenMax{ return (new TweenMax(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, persist:_arg4, overwrite:0})); } public static function isTweening(_arg1:Object):Boolean{ var _local2:Array; var _local3:int; _local2 = getTweensOf(_arg1); _local3 = (_local2.length - 1); while (_local3 > -1) { if (((((_local2[_local3].active) || ((_local2[_local3].startTime == currentTime)))) && (!(_local2[_local3].gc)))){ return (true); }; _local3--; }; return (false); } public static function changePause(_arg1:Boolean, _arg2:Boolean=true, _arg3:Boolean=false):void{ var _local4:Array; var _local5:Boolean; var _local6:int; _local4 = getAllTweens(); _local6 = (_local4.length - 1); while (_local6 > -1) { _local5 = (_local4[_local6].target == _local4[_local6].vars.onComplete); if ((((_local4[_local6] is TweenMax)) && ((((_local5 == _arg3)) || (!((_local5 == _arg2))))))){ _local4[_local6].paused = _arg1; }; _local6--; }; } public static function killAllTweens(_arg1:Boolean=false):void{ killAll(_arg1, true, false); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{ _arg3.runBackwards = true; return (new TweenMax(_arg1, _arg2, _arg3)); } public static function killAll(_arg1:Boolean=false, _arg2:Boolean=true, _arg3:Boolean=true):void{ var _local4:Array; var _local5:Boolean; var _local6:int; _local4 = getAllTweens(); _local6 = (_local4.length - 1); while (_local6 > -1) { _local5 = (_local4[_local6].target == _local4[_local6].vars.onComplete); if ((((_local5 == _arg3)) || (!((_local5 == _arg2))))){ if (_arg1){ _local4[_local6].complete(false); _local4[_local6].clear(); } else { TweenLite.removeTween(_local4[_local6], true); }; }; _local6--; }; } public static function getAllTweens():Array{ var _local1:Dictionary; var _local2:Array; var _local3:Array; var _local4:int; var _local5:TweenLite; _local1 = masterList; _local2 = []; for each (_local3 in _local1) { _local4 = (_local3.length - 1); while (_local4 > -1) { if (!_local3[_local4].gc){ _local2[_local2.length] = _local3[_local4]; }; _local4--; }; }; for each (_local5 in _pausedTweens) { _local2[_local2.length] = _local5; }; return (_local2); } public static function resumeAll(_arg1:Boolean=true, _arg2:Boolean=false):void{ changePause(false, _arg1, _arg2); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{ return (new TweenMax(_arg1, _arg2, _arg3)); } } }//package gs
Section 35
//instruct_OrderMatching_2 (ThreeBabyAlives_fla.instruct_OrderMatching_2) package ThreeBabyAlives_fla { import flash.events.*; import flash.display.*; public dynamic class instruct_OrderMatching_2 extends MovieClip { public function instruct_OrderMatching_2(){ addFrameScript(126, frame127); } function frame127(){ dispatchEvent(new Event(Event.COMPLETE)); } } }//package ThreeBabyAlives_fla
Section 36
//speechBubble_withIcons_13 (ThreeBabyAlives_fla.speechBubble_withIcons_13) package ThreeBabyAlives_fla { import flash.display.*; public dynamic class speechBubble_withIcons_13 extends MovieClip { public function speechBubble_withIcons_13(){ addFrameScript(1, frame2, 5, frame6, 10, frame11, 16, frame17, 22, frame23); } function frame6(){ stop(); } function frame17(){ stop(); } function frame23(){ stop(); } function frame2(){ stop(); } function frame11(){ stop(); } } }//package ThreeBabyAlives_fla
Section 37
//speechBubble_withIcons_176 (ThreeBabyAlives_fla.speechBubble_withIcons_176) package ThreeBabyAlives_fla { import flash.display.*; public dynamic class speechBubble_withIcons_176 extends MovieClip { public function speechBubble_withIcons_176(){ addFrameScript(1, frame2, 5, frame6, 10, frame11, 16, frame17, 22, frame23); } function frame6(){ stop(); } function frame17(){ stop(); } function frame23(){ stop(); } function frame2(){ stop(); } function frame11(){ stop(); } } }//package ThreeBabyAlives_fla
Section 38
//speechBubble_withIcons_205 (ThreeBabyAlives_fla.speechBubble_withIcons_205) package ThreeBabyAlives_fla { import flash.display.*; public dynamic class speechBubble_withIcons_205 extends MovieClip { public function speechBubble_withIcons_205(){ addFrameScript(1, frame2, 5, frame6, 10, frame11, 16, frame17, 22, frame23); } function frame6(){ stop(); } function frame17(){ stop(); } function frame23(){ stop(); } function frame2(){ stop(); } function frame11(){ stop(); } } }//package ThreeBabyAlives_fla
Section 39
//playSound (utils.sound.playSound) package utils.sound { import flash.media.*; import flash.utils.*; public function playSound(_arg1:String, _arg2:Number=0, _arg3:int=0, _arg4:SoundTransform=null):SoundChannel{ var className = _arg1; var startTime = _arg2; var loops = _arg3; var sndTransform = _arg4; try { return (new (getDefinitionByName(className)).play(startTime, loops, sndTransform)); } catch(error:Error) { trace("-----------PLAY SOUND ERROR--------\n", error); }; return (new SoundChannel()); } }//package utils.sound
Section 40
//AbstractIntegratedActivity (AbstractIntegratedActivity) package { import flash.events.*; import flash.display.*; public class AbstractIntegratedActivity extends MovieClip { public var ready_fn:Function; private var _standaloneFramesWaited:uint;// = 0 public var standalone:Boolean;// = false protected var _standaloneWaitFrames:uint;// = 24 private var _availability:Boolean;// = false public var playmatePlay_fn:Function; protected var _gameType:String; protected var _loaderParameters:Object; protected var onAnimationComplete_fn:Function; public function AbstractIntegratedActivity(_arg1="default"){ standalone = false; _availability = false; _standaloneFramesWaited = 0; _standaloneWaitFrames = 24; super(); _gameType = _arg1; announceAvailability(); checkLoadStatus(); } protected function playmatePlay(_arg1:String, _arg2:Function=null):void{ var instruction = _arg1; var animationCompleteCallBack = _arg2; if (animationCompleteCallBack != null){ onAnimationComplete_fn = animationCompleteCallBack; }; try { playmatePlay_fn(instruction); } catch(error:Error) { handleAnimationComplete(); }; } public function handleIrisOpeningEnd():void{ } public function handleIrisOpeningBegin():void{ } private function runStandalone():void{ announceAvailability(); loaderParameters = loaderInfo.parameters; standalone = true; handleIrisOpeningBegin(); handleIrisOpeningEnd(); } public function get gameType():String{ return (_gameType); } public function get availability():Boolean{ return (_availability); } protected function onLoaderParameters():void{ } private function announceAvailability():void{ _availability = true; dispatchEvent(new Event(Event.COMPLETE)); } public function handleAnimationComplete():void{ try { onAnimationComplete_fn(); onAnimationComplete_fn = null; } catch(error:Error) { }; } private function checkLoadStatus():void{ if ((((loaderInfo.bytesLoaded == loaderInfo.bytesTotal)) && ((loaderInfo.bytesLoaded > 10)))){ onLoadComplete(); } else { loaderInfo.addEventListener(Event.COMPLETE, onLoadComplete, false, int.MAX_VALUE); }; } protected function onLoadComplete(_arg1:Event=null):void{ var event = _arg1; announceAvailability(); loaderInfo.removeEventListener(Event.COMPLETE, onLoadComplete); try { ready_fn(); } catch(error:Error) { addEventListener(Event.ENTER_FRAME, standaloneCheck); }; } public function set loaderParameters(_arg1:Object):void{ _loaderParameters = _arg1; onLoaderParameters(); } private function standaloneCheck(_arg1:Event):void{ var event = _arg1; _standaloneFramesWaited++; try { ready_fn(); removeEventListener(Event.ENTER_FRAME, standaloneCheck); return; } catch(error:Error) { if (_standaloneFramesWaited > _standaloneWaitFrames){ removeEventListener(Event.ENTER_FRAME, standaloneCheck); runStandalone(); }; }; } } }//package
Section 41
//AfricanInfant (AfricanInfant) package { import flash.events.*; import flash.display.*; public dynamic class AfricanInfant extends MovieClip { public var bubble:MovieClip; public function AfricanInfant(){ addFrameScript(49, frame50, 90, frame91, 141, frame142, 252, frame253, 253, frame254, 351, frame352, 352, frame353, 452, frame453, 491, frame492, 530, frame531); } function frame91(){ gotoAndPlay("cryLoop"); dispatchEvent(new Event("restart_cry_loop")); } function frame453(){ stop(); this.dispatchEvent(new Event("animationComplete")); } function frame352(){ stop(); this.dispatchEvent(new Event("animationComplete")); } function frame353(){ trace("******play African American PLAY ****** from timeline"); } function frame253(){ stop(); this.dispatchEvent(new Event("animationComplete")); } function frame531(){ gotoAndPlay("wantPlayLoop"); } function frame50(){ gotoAndPlay("content"); } function frame254(){ trace("******play African American DRINK ****** from timeline"); } function frame142(){ stop(); this.dispatchEvent(new Event("animationComplete")); } function frame492(){ gotoAndPlay("wantBottleLoop"); } } }//package
Section 42
//BabyActivity (BabyActivity) package { import flash.media.*; import flash.events.*; import gs.*; import flash.display.*; import flash.utils.*; import utils.sound.*; import gs.easing.*; public class BabyActivity extends EventDispatcher { private const LOCATION_PLAYMAT:String = "at_playmat"; private const LOCATION_CRADLE:String = "at_the_cradle"; private const LOCATION_CHAIR:String = "at_chair"; private const LOCATION_AIR:String = "in_the_air"; private const LOCATION_CHANGING:String = "at_changing"; public var need:String; private var babyPosition:String;// = "at_the_cradle" public var babyType:String; private var dragBaby:MovieClip; private var needBubble:MovieClip; private var _yawnInProgressCradle:Cradle; private var _bubbleTimer:Timer; private var _mainView:MainView; private var babyInNeed:Boolean;// = false private var needTween:TweenMax; public static const INFANT_NEED_POOP:String = "diaper"; public static const INFANT_NEED_PLAY:String = "rattle"; public static const INFANT_NEED_SLEEP:String = "cradle"; public static const INFANT_NEEDS:Array = [INFANT_NEED_FEED, INFANT_NEED_POOP, INFANT_NEED_PLAY]; public static const INFANT_NEED_FEED:String = "bottle"; public function BabyActivity(_arg1:String, _arg2:String, _arg3:MainView):void{ babyPosition = LOCATION_CRADLE; babyInNeed = false; super(); this._mainView = _arg3; reset(_arg1, _arg2); } private function clearNeed():void{ babyInNeed = false; infantMessage(BabyAlive.INFANT_CONTENT); if (needTween != null){ needTween.pause(); }; this.need = INFANT_NEED_SLEEP; this.dispatchEvent(new Event("success")); } private function finish(_arg1:Event):void{ _yawnInProgressCradle.baby.removeEventListener("animationComplete", this.finish); _yawnInProgressCradle = null; this.dispatchEvent(new Event("complete")); } private function putBabyInCradle(_arg1:Cradle):void{ trace(("BabyActivity - putBabyInCradle() - targetCradle.name == " + _arg1.name)); if (_arg1.babyType != BabyType.NO_BABY){ trace("ERROR - BabyActivity - putBabyInCradle() - cradle is occupied"); return; }; _arg1.babyType = babyType; babyPosition = LOCATION_CRADLE; if (need == INFANT_NEED_SLEEP){ gotoSleep(); } else { showNeed(); }; endDragBaby(); } private function playBubbleSound(_arg1:TimerEvent):void{ destroyBubbleTimer(); playSound("BubbleSound"); } private function endDragBaby():void{ trace("BabyActivity - endDragBaby()"); this._mainView.removeChild(dragBaby); this._mainView.babyInAir = false; } private function bubbleOut():void{ needTween = new TweenMax(needBubble, 0.5, {alpha:0, delay:1, onComplete:bubbleIn}); } private function handleCradleClick(_arg1:CradleEvent):void{ trace("BabyActivity - handleCradleClick()"); if (babyPosition == LOCATION_AIR){ trace(" Baby is in air - putting down"); putBabyInCradle(_arg1.cradle); return; }; if (_arg1.cradle != this.cradle){ return; }; if ((((babyPosition == LOCATION_CRADLE)) && (babyInNeed))){ trace(" Baby is in cradle AND baby is in need - picking up"); pickupBaby(); return; }; trace(" BABY NEITHER (a) NEEDY AND IN CRADLE or (b) IN THE AIR - returning"); } public function checkCradle():Boolean{ try { return (this.cradle.baby.babyShown); } catch(error:Error) { }; return (false); } private function gotoSleep():void{ babyInNeed = false; this.dispatchEvent(new Event("success")); this.infantMessage(BabyAlive.INFANT_YAWN); _yawnInProgressCradle = this.cradle; _yawnInProgressCradle.baby.addEventListener("animationComplete", this.finish); } private function destroyBubbleTimer():void{ if (_bubbleTimer){ _bubbleTimer.stop(); _bubbleTimer.removeEventListener(TimerEvent.TIMER_COMPLETE, playBubbleSound); _bubbleTimer = null; }; } private function infantMessage(_arg1:String):void{ if (!cradle){ return; }; cradle.baby.infantMessage(_arg1); } private function handlePlayMatClicked(_arg1:Event):void{ if (((!((need == INFANT_NEED_PLAY))) && ((babyPosition == LOCATION_AIR)))){ this.dispatchEvent(new Event("notgood")); showNeed(); } else { if ((((need == INFANT_NEED_PLAY)) && ((babyPosition == LOCATION_AIR)))){ if (!this._mainView.playMat.babyPresent){ playSound("SuccessDropSound", 0, 1, new SoundTransform(0.5, 1)); putBabyAtStation(LOCATION_PLAYMAT); clearNeed(); }; } else { if ((((need == INFANT_NEED_SLEEP)) && ((babyPosition == LOCATION_PLAYMAT)))){ pickupBaby(); }; }; }; } private function handleHighChairClicked(_arg1:Event):void{ if (((!((need == INFANT_NEED_FEED))) && ((babyPosition == LOCATION_AIR)))){ this.dispatchEvent(new Event("notgood")); showNeed(); } else { if ((((need == INFANT_NEED_FEED)) && ((babyPosition == LOCATION_AIR)))){ if (!this._mainView.highChair.babyPresent){ playSound("SuccessDropSound", 0, 1, new SoundTransform(0.5, 1)); putBabyAtStation(LOCATION_CHAIR); clearNeed(); }; } else { if ((((need == INFANT_NEED_SLEEP)) && ((babyPosition == LOCATION_CHAIR)))){ pickupBaby(); }; }; }; } private function get cradle():Cradle{ return (Cradle.getCradleByBabyType(babyType)); } private function handleChangingTableClicked(_arg1:Event):void{ if (((!((need == INFANT_NEED_POOP))) && ((babyPosition == LOCATION_AIR)))){ this.dispatchEvent(new Event("notgood")); showNeed(); } else { if ((((need == INFANT_NEED_POOP)) && ((babyPosition == LOCATION_AIR)))){ if (!this._mainView.changingTable.babyPresent){ playSound("SuccessDropSound", 0, 1, new SoundTransform(0.5, 1)); putBabyAtStation(LOCATION_CHANGING); clearNeed(); }; } else { if ((((need == INFANT_NEED_SLEEP)) && ((babyPosition == LOCATION_CHANGING)))){ pickupBaby(); }; }; }; } public function reset(_arg1:String, _arg2:String):void{ this.need = _arg1; this.babyType = _arg2; infantMessage(BabyAlive.INFANT_SLEEP); babyInNeed = false; } public function showNeed():void{ trace("*************BabyActivity.showNeed() --- need = ", need); babyInNeed = true; switch (need){ case INFANT_NEED_FEED: infantMessage(BabyAlive.INFANT_WANT_BOTTLE); break; case INFANT_NEED_POOP: infantMessage(BabyAlive.INFANT_CRY); break; case INFANT_NEED_PLAY: infantMessage(BabyAlive.INFANT_WANT_PLAY); break; case INFANT_NEED_SLEEP: infantMessage(BabyAlive.INFANT_CONTENT); break; default: trace("BabyActivity.showNeed -- ERROR - need not caught in switch, need = ", need); }; displayNeed(); } private function bubbleIn():void{ _bubbleTimer = new Timer(1000, 1); _bubbleTimer.addEventListener(TimerEvent.TIMER_COMPLETE, playBubbleSound, false, 0, true); _bubbleTimer.start(); needTween = new TweenMax(needBubble, 0.5, {alpha:1, delay:1}); } private function pickupBaby():void{ trace(("BabyActivity - pickupBaby() - need==" + need)); if (!babyInNeed){ trace(" babyInNeed is false - returning"); return; }; if (this._mainView.babyInAir){ return; }; dragBaby = null; switch (babyType){ case BabyType.CAUCASIAN: trace("caucasian"); dragBaby = new (getDefinitionByName("CaucasianInfant")); break; case BabyType.AFRICAN: trace("african american"); dragBaby = new (getDefinitionByName("AfricanInfant")); break; case BabyType.HISPANIC: trace("hispanic"); dragBaby = new (getDefinitionByName("Hispanicinfant")); break; }; if (dragBaby != null){ if (babyPosition == LOCATION_CRADLE){ dragBaby.x = (this.cradle.x + this.cradle.mouseX); dragBaby.y = (this.cradle.y + this.cradle.mouseY); cradle.babyType = BabyType.NO_BABY; }; if (babyPosition == LOCATION_CHANGING){ this._mainView.changingTable.hideBaby(); dragBaby.x = (this._mainView.changingTable.x + this._mainView.changingTable.mouseX); dragBaby.y = (this._mainView.changingTable.y + this._mainView.changingTable.mouseY); }; if (babyPosition == LOCATION_PLAYMAT){ this._mainView.playMat.hideBaby(); dragBaby.x = (this._mainView.playMat.x + this._mainView.playMat.mouseX); dragBaby.y = (this._mainView.playMat.y + this._mainView.playMat.mouseY); }; if (babyPosition == LOCATION_CHAIR){ this._mainView.highChair.hideBaby(); dragBaby.x = (this._mainView.highChair.x + this._mainView.highChair.mouseX); dragBaby.y = (this._mainView.highChair.y + this._mainView.highChair.mouseY); }; dragBaby.x = (dragBaby.x - (dragBaby.width / 2)); dragBaby.y = (dragBaby.y - (dragBaby.height / 2)); dragBaby.mouseEnabled = (dragBaby.mouseChildren = false); switch (need){ case INFANT_NEED_FEED: dragBaby.gotoAndPlay(BabyAlive.INFANT_WANT_BOTTLE); break; case INFANT_NEED_POOP: dragBaby.gotoAndPlay(BabyAlive.INFANT_CRY); break; case INFANT_NEED_PLAY: dragBaby.gotoAndPlay(BabyAlive.INFANT_WANT_PLAY); break; case INFANT_NEED_SLEEP: dragBaby.gotoAndPlay(BabyAlive.INFANT_CONTENT); break; default: trace("BabyActivity.pickUpBaby -- ERROR - need not caught in switch, need = ", need); }; dragBaby.bubble.gotoAndPlay(need); this._mainView.addChild(dragBaby); dragBaby.startDrag(false, this._mainView.getBounds(this._mainView.root)); babyPosition = LOCATION_AIR; this._mainView.babyInAir = true; }; } public function activate():void{ trace("ACTIVATE"); this._mainView.addEventListener(CradleEvent.CLICKED, handleCradleClick); this._mainView.addEventListener(MainView.CHANGING_TABLE_CLICKED, handleChangingTableClicked); this._mainView.addEventListener(MainView.PLAYMAT_CLICKED, handlePlayMatClicked); this._mainView.addEventListener(MainView.HIGH_CHAIR_CLICKED, handleHighChairClicked); this.showNeed(); } private function displayNeed():void{ var _local1:MovieClip; trace(("BabyActivity - displayNeed() - babyPosition==" + babyPosition)); switch (babyPosition){ case LOCATION_CRADLE: _local1 = cradle; break; case LOCATION_CHANGING: _local1 = this._mainView.changingTable; break; case LOCATION_CHAIR: _local1 = this._mainView.highChair; break; case LOCATION_PLAYMAT: _local1 = this._mainView.playMat; break; case LOCATION_AIR: needBubble = dragBaby.bubble; break; default: return; }; if (_local1 == null){ return; }; trace(("place ==" + _local1)); trace(("need ==" + need)); needBubble = _local1.baby.bubble; needBubble.alpha = 0; needBubble.gotoAndStop(need); bubbleIn(); } public function destroy():void{ this._mainView.removeEventListener(CradleEvent.CLICKED, handleCradleClick); this._mainView.removeEventListener(MainView.CHANGING_TABLE_CLICKED, handleChangingTableClicked); this._mainView.removeEventListener(MainView.PLAYMAT_CLICKED, handlePlayMatClicked); this._mainView.removeEventListener(MainView.HIGH_CHAIR_CLICKED, handleHighChairClicked); } private function putBabyAtStation(_arg1:String):void{ trace(("BabyActivity - putBabyAtStation() - location == " + _arg1)); if (babyPosition != LOCATION_AIR){ return; }; switch (_arg1){ case LOCATION_CHANGING: this._mainView.changingTable.showBaby(this); babyPosition = LOCATION_CHANGING; break; case LOCATION_PLAYMAT: this._mainView.playMat.showBaby(this); babyPosition = LOCATION_PLAYMAT; break; case LOCATION_CHAIR: this._mainView.highChair.showBaby(this); babyPosition = LOCATION_CHAIR; break; }; endDragBaby(); } } }//package
Section 43
//BabyAlive (BabyAlive) package { import flash.media.*; import flash.events.*; import flash.display.*; import flash.utils.*; public class BabyAlive extends MovieClip { private var _soundPlaying:Boolean;// = false private var _soundOnTransform:SoundTransform; private var _babySoundChannel:SoundChannel; private var _babyShown:Boolean;// = false public var bubble:MovieClip; private var _babySoundPause:Timer; private var _message:String; private var baby:MovieClip; private var _soundOffTransform:SoundTransform; public static const INFANT_CONTENT:String = "content"; public static const INFANT_WANT_BOTTLE:String = "wantBottle"; public static const INFANT_WANT_PLAY:String = "wantPlay"; public static const INFANT_PLAY:String = "play"; public static const INFANT_CHANGE:String = "diaperChange"; public static const INFANT_CRY:String = "cry"; public static const INFANT_YAWN:String = "yawn"; public static const INFANT_SLEEP:String = "sleep"; public static const INFANT_DRINK:String = "drink"; public function BabyAlive():void{ _babyShown = false; _soundPlaying = false; _soundOnTransform = new SoundTransform(0.5, 0); _soundOffTransform = new SoundTransform(0, 0); super(); trace("CREATE A BABY ALIVE"); } public function hideBaby():void{ bubble.gotoAndStop("clear"); if (((!((this.baby == null))) && (this.contains(baby)))){ this.removeChild(baby); _babyShown = false; }; } public function showBaby(_arg1:String=""):void{ trace("show baby, baby type = ", _arg1, baby); if (baby != null){ this.baby.removeEventListener("animationComplete", this.babyAnimationComplete); }; switch (_arg1){ case BabyType.CAUCASIAN: this.baby = new (getDefinitionByName("CaucasianInfant")); break; case BabyType.AFRICAN: this.baby = new (getDefinitionByName("AfricanInfant")); break; case BabyType.HISPANIC: this.baby = new (getDefinitionByName("Hispanicinfant")); break; }; if (baby != null){ this.baby.addEventListener("animationComplete", this.babyAnimationComplete); this.addChild(this.baby); _babyShown = true; }; } private function babyAnimationComplete(_arg1:Event):void{ this.dispatchEvent(new Event("animationComplete")); } public function infantMessage(_arg1:String):void{ if (baby != null){ baby.gotoAndPlay(_arg1); }; } public function get babyShown():Boolean{ return (this._babyShown); } } }//package
Section 44
//BabyStation (BabyStation) package { import flash.events.*; import flash.display.*; public class BabyStation extends MovieClip { public var babyPresent:Boolean;// = false private var currentActivity:BabyActivity; public var baby:BabyAlive; public function BabyStation(){ babyPresent = false; super(); this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); } private function onMouseOver(_arg1:MouseEvent):void{ if (!babyPresent){ this.gotoAndStop("rollover"); }; } protected function activate():void{ this.baby.infantMessage(BabyAlive.INFANT_DRINK); } protected function babyAimationComplete(_arg1:Event):void{ this.baby.removeEventListener("animationComplete", this.babyAimationComplete); } public function hideBaby():void{ this.gotoAndStop("default"); this.baby.hideBaby(); babyPresent = false; currentActivity = null; } protected function complete():void{ stop(); this.baby.infantMessage(BabyAlive.INFANT_CONTENT); this.currentActivity.showNeed(); } private function onMouseOut(_arg1:MouseEvent):void{ if (!babyPresent){ this.gotoAndStop("default"); }; } public function showBaby(_arg1:BabyActivity):void{ currentActivity = _arg1; this.gotoAndPlay("active"); this.baby.showBaby(currentActivity.babyType); this.baby.addEventListener("animationComplete", this.babyAimationComplete); babyPresent = true; this.activate(); } } }//package
Section 45
//BabyType (BabyType) package { public class BabyType { public static const AFRICAN:String = "african"; public static const HISPANIC:String = "hispanic"; public static const NO_BABY:String = "no_baby"; public static const CAUCASIAN:String = "caucasian"; public static function getAllTypes():Array{ return ([BabyType.CAUCASIAN, BabyType.AFRICAN, BabyType.HISPANIC]); } } }//package
Section 46
//Background (Background) package { import flash.display.*; public dynamic class Background extends MovieClip { } }//package
Section 47
//BubbleSound (BubbleSound) package { import flash.media.*; public dynamic class BubbleSound extends Sound { } }//package
Section 48
//CaucasianInfant (CaucasianInfant) package { import flash.events.*; import flash.display.*; public dynamic class CaucasianInfant extends MovieClip { public var bubble:MovieClip; public function CaucasianInfant(){ addFrameScript(49, frame50, 113, frame114, 164, frame165, 275, frame276, 276, frame277, 374, frame375, 375, frame376, 475, frame476, 0x0202, frame515, 553, frame554); } function frame276(){ stop(); this.dispatchEvent(new Event("animationComplete")); } function frame277(){ trace("play caucasian drink *** from timeline"); } function frame554(){ gotoAndPlay("wantPlayLoop"); } function frame165(){ stop(); this.dispatchEvent(new Event("animationComplete")); } function frame114(){ gotoAndPlay("cryLoop"); dispatchEvent(new Event("restart_cry_loop")); } function frame476(){ stop(); this.dispatchEvent(new Event("animationComplete")); } function frame376(){ trace("******play caucasian PLAY ***** from timeline"); } function frame50(){ gotoAndPlay("content"); } function frame515(){ gotoAndPlay("wantBottleLoop"); } function frame375(){ stop(); this.dispatchEvent(new Event("animationComplete")); } } }//package
Section 49
//ChangingTable (ChangingTable) package { public class ChangingTable extends BabyStation { public function ChangingTable(){ addFrameScript(20, frame21, 130, frame131); } function frame21(){ this.activate(); } function frame131(){ this.complete(); } override protected function activate():void{ this.baby.infantMessage(BabyAlive.INFANT_CHANGE); } } }//package
Section 50
//Cradle (Cradle) package { import flash.events.*; import flash.display.*; public class Cradle extends MovieClip { public var brand:MovieClip; private var _babyType:String; public var baby:BabyAlive; public static var cradles:Array; public function Cradle(){ addFrameScript(0, frame1, 9, frame10); super(); trace("Cradle()"); mouseChildren = false; addEventListener(MouseEvent.ROLL_OVER, cradleOver, false, 0, true); addEventListener(MouseEvent.ROLL_OUT, cradleOut, false, 0, true); } private function disableMouseEvents():void{ trace("disable crib mouse events"); removeEventListener(MouseEvent.ROLL_OVER, cradleOver); removeEventListener(MouseEvent.ROLL_OUT, cradleOut); } public function enableCradle(_arg1:Boolean):void{ if (_arg1){ enableMouseEvents(); } else { disableMouseEvents(); }; } public function get babyType():String{ return (_babyType); } private function cradleOver(_arg1:MouseEvent):void{ gotoAndStop("rollover"); } function frame10(){ stop(); } function frame1(){ stop(); } private function cradleOut(_arg1:MouseEvent):void{ gotoAndStop(1); } public function set babyType(_arg1:String):void{ switch (_arg1){ case BabyType.CAUCASIAN: baby.showBaby(_arg1); _babyType = _arg1; break; case BabyType.AFRICAN: baby.showBaby(_arg1); _babyType = _arg1; break; case BabyType.HISPANIC: baby.showBaby(_arg1); _babyType = _arg1; break; case BabyType.NO_BABY: trace("\nHIDING BABY\n"); baby.hideBaby(); _babyType = _arg1; break; default: trace(("ERROR - Cradle - set babyType - invalid value == " + _arg1)); break; }; } private function enableMouseEvents():void{ trace("enable crib mouse events"); addEventListener(MouseEvent.ROLL_OVER, cradleOver, false, 0, true); addEventListener(MouseEvent.ROLL_OUT, cradleOut, false, 0, true); } public static function getCradleByBabyType(_arg1:String):Cradle{ var _local2:uint; var _local3:Cradle; _local2 = 0; while (_local2 < Cradle.cradles.length) { _local3 = Cradle(Cradle.cradles[_local2]); if (_local3.babyType == _arg1){ return (_local3); }; _local2++; }; return (null); } } }//package
Section 51
//CradleEvent (CradleEvent) package { import flash.events.*; public class CradleEvent extends Event { public var cradle:Cradle; public static const CLICKED:String = "cradleClicked"; public function CradleEvent(_arg1:String, _arg2:Cradle):void{ super(_arg1); this.cradle = _arg2; } } }//package
Section 52
//GameController (GameController) package { import flash.media.*; import flash.events.*; import caurina.transitions.*; import flash.display.*; import flash.utils.*; import utils.sound.*; public class GameController extends EventDispatcher { private var _level:int;// = 0 private var cradles:Array; private var _levels:Array; private var _soundOnTransformVolume:Number;// = 0.25 private var _soundOnTransform:SoundTransform; public var instructions:Instructions; public var trophy:TrophyMoment; private var _mainSoundChannel:SoundChannel; private var _cradleCount:int;// = 0 private var currentActivities:Array; private var _mainSoundOutComplete:Boolean;// = false private var completeCount:int;// = 0 private var _mainView:MainView; private var _soundOffTransform:SoundTransform; private var numToComplete:int;// = 0 private var _perCradleNeed:int;// = 0 public static const SCORE_SUCCESS:String = "scoreSuccess"; public static const SCORE_FAIL:String = "scoreFail"; public static const GAME_FINISHED:String = "gameFinished"; public function GameController(){ _levels = [{cradleState:MainView.ONE_CRADLE, perCradleNeed:3}, {cradleState:MainView.TWO_CRADLE, perCradleNeed:3}, {cradleState:MainView.THREE_CRADLE, perCradleNeed:3}]; _level = 0; _cradleCount = 0; _perCradleNeed = 0; _soundOnTransform = new SoundTransform(0.25, 0); _soundOffTransform = new SoundTransform(0, 0); _soundOnTransformVolume = 0.25; _mainSoundOutComplete = false; numToComplete = 0; completeCount = 0; super(); } public function playAgain(_arg1:MouseEvent=null):void{ trace("GameController.playAgain()", trophy, trophy.playAgain); this._mainView.removeChild(this.trophy); this.trophy = null; this.start(); } private function trophySceneComplete(_arg1:Event):void{ trophy.removeEventListener(Event.COMPLETE, trophySceneComplete); fadeMainSoundUp(); playAgain(); } private function instructionsComplete(_arg1:Event):void{ instructions.demo.removeEventListener(Event.COMPLETE, instructionsComplete); this._mainView.removeChild(instructions); this.start(); _mainSoundChannel = playSound("MainSoundLoop", 0, int.MAX_VALUE, _soundOnTransform); } public function randomizeArray(_arg1:Array):Array{ var _local2:Array; var _local3:Array; var _local4:int; _local2 = new Array(); _local2 = _arg1.slice(); _local3 = new Array(); while ((((_local2.length > 0)) && ((_arg1.length > _local3.length)))) { _local4 = Math.floor((Math.random() * _local2.length)); _local3.push(_local2[_local4]); _local2.splice(_local4, 1); }; return (_local3); } public function get view():MainView{ return (this._mainView); } private function handleActivityComplete(_arg1:Event):void{ _arg1.currentTarget.removeEventListener("complete", this.handleActivityComplete); _arg1.currentTarget.removeEventListener("notgood", this.handleActivityNotGood); _arg1.currentTarget.removeEventListener("success", this.handleActivitySuccess); _arg1.currentTarget.destroy(); completeCount++; trace(((("complete: " + completeCount) + " of ") + numToComplete)); if (completeCount < numToComplete){ showNextNeed(); } else { nextLevel(); }; } public function set soundOnTransfromVolume(_arg1:Number):void{ _soundOnTransformVolume = _arg1; _soundOnTransform = new SoundTransform(_soundOnTransformVolume, 0); _mainSoundChannel.soundTransform = _soundOnTransform; } public function showInstructions():void{ this.instructions = new Instructions(); this.instructions.demo.addEventListener(Event.COMPLETE, instructionsComplete, false, 0, true); this._mainView.addChild(this.instructions); } private function handleActivitySuccess(_arg1:Event):void{ this.dispatchEvent(new Event(SCORE_SUCCESS)); } private function fadeMainSoundDownComplete():void{ _mainSoundOutComplete = true; Tweener.addTween(this, {soundOnTransfromVolume:0, time:3.5}); } private function startTheTribulations():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:BabyActivity; this.currentActivities = new Array(); if (_cradleCount == 1){ this.currentActivities.push(new BabyActivity(BabyActivity.INFANT_NEEDS[0], BabyType.CAUCASIAN, this._mainView)); this.currentActivities.push(new BabyActivity(BabyActivity.INFANT_NEEDS[1], BabyType.CAUCASIAN, this._mainView)); this.currentActivities.push(new BabyActivity(BabyActivity.INFANT_NEEDS[2], BabyType.CAUCASIAN, this._mainView)); } else { _local2 = 0; while (_local2 < this._perCradleNeed) { _local3 = 0; while (_local3 < this._cradleCount) { _local4 = new BabyActivity(BabyActivity.INFANT_NEEDS[int(((Math.random() * 30) / 10))], BabyType.getAllTypes()[_local3], this._mainView); this.currentActivities.push(_local4); _local3++; }; _local2++; }; }; numToComplete = this.currentActivities.length; completeCount = 0; _local1 = 0; while (_local1 < this._cradleCount) { showNextNeed(); _local1++; }; } public function get soundOnTransfromVolume():Number{ return (_soundOnTransformVolume); } public function start():void{ this._level = 0; this.nextLevel(); } private function showNextNeed():void{ var _local1:BabyActivity; _local1 = this.currentActivities.shift(); if (_local1 != null){ if (_local1.checkCradle()){ _local1.addEventListener("complete", this.handleActivityComplete); _local1.addEventListener("notgood", this.handleActivityNotGood); _local1.addEventListener("success", this.handleActivitySuccess); _local1.activate(); return; }; this.currentActivities.push(_local1); setTimeout(showNextNeed, 1000); }; } public function nextLevel():void{ var _local1:Object; _level++; if (this._level > this._levels.length){ this.trophy = new TrophyMoment(); if (this.trophy.playAgain){ this.trophy.playAgain.addEventListener(MouseEvent.CLICK, this.playAgain, false, 0, true); }; trophy.addEventListener(Event.COMPLETE, trophySceneComplete, false, 0, true); this._mainView.addChild(this.trophy); fadeMainSoundDown(); playSound("VictorySound", 0, 1, new SoundTransform(0.25, 0)); this.dispatchEvent(new Event(GAME_FINISHED)); } else { _local1 = _levels[(_level - 1)]; this._mainView.cradleState = _local1.cradleState; this._cradleCount = _local1.cradleState; this._perCradleNeed = _local1.perCradleNeed; startTheTribulations(); }; } private function handleActivityNotGood(_arg1:Event):void{ this.dispatchEvent(new Event(SCORE_FAIL)); } private function fadeMainSoundUp(_arg1:Event=null):void{ if (_mainSoundOutComplete){ return; }; Tweener.addTween(this, {soundOnTransfromVolume:0.25, time:3.5}); } public function set view(_arg1:MainView):void{ this._mainView = _arg1; this.cradles = new Array(); this.cradles.push(this._mainView.cradleA); this.cradles.push(this._mainView.cradleB); this.cradles.push(this._mainView.cradleC); Cradle.cradles = cradles; } private function fadeMainSoundDown(_arg1:Event=null):void{ if (_mainSoundOutComplete){ return; }; Tweener.addTween(this, {soundOnTransfromVolume:0, time:1}); } } }//package
Section 53
//GameType (GameType) package { public class GameType { public static const CREATIVE:String = "game_type_creative"; public static const SCORING:String = "game_type_scoring"; } }//package
Section 54
//HighChair (HighChair) package { import flash.events.*; public class HighChair extends BabyStation { public function HighChair(){ addFrameScript(19, frame20, 55, frame56); } override protected function babyAimationComplete(_arg1:Event):void{ super.babyAimationComplete(_arg1); this.gotoAndStop("bottleBack"); this.complete(); } function frame20(){ this.activate(); } function frame56(){ stop(); } override protected function activate():void{ this.baby.infantMessage(BabyAlive.INFANT_DRINK); } } }//package
Section 55
//Hispanicinfant (Hispanicinfant) package { import flash.events.*; import flash.display.*; public dynamic class Hispanicinfant extends MovieClip { public var bubble:MovieClip; public function Hispanicinfant(){ addFrameScript(49, frame50, 91, frame92, 143, frame144, 254, frame255, 0xFF, frame256, 353, frame354, 354, frame355, 454, frame455, 493, frame494, 532, frame533); } function frame144(){ stop(); this.dispatchEvent(new Event("animationComplete")); } function frame455(){ stop(); this.dispatchEvent(new Event("animationComplete")); } function frame92(){ gotoAndPlay("cryLoop"); dispatchEvent(new Event("restart_cry_loop")); } function frame355(){ trace("******play Hispanic rattle ******** from timeline"); } function frame354(){ stop(); this.dispatchEvent(new Event("animationComplete")); } function frame494(){ gotoAndPlay("wantBottleLoop"); } function frame255(){ stop(); this.dispatchEvent(new Event("animationComplete")); } function frame256(){ trace("******play Hispanice drink ****** from timeline"); } function frame50(){ gotoAndPlay("content"); } function frame533(){ gotoAndPlay("wantPlayLoop"); } } }//package
Section 56
//Instructions (Instructions) package { import flash.display.*; public dynamic class Instructions extends MovieClip { public var demo:MovieClip; } }//package
Section 57
//MainSoundLoop (MainSoundLoop) package { import flash.media.*; public dynamic class MainSoundLoop extends Sound { } }//package
Section 58
//MainView (MainView) package { import flash.media.*; import flash.events.*; import flash.display.*; import flash.utils.*; import utils.sound.*; public class MainView extends Sprite { public var highChair:HighChair; public var changingTable:ChangingTable; public var playMat:PlayMat; public var babyInAir:Boolean;// = false private var _cradleState:int;// = 0 private var _background:Background; public var cradleA:Cradle; public var cradleB:Cradle; public var cradleC:Cradle; public static const ONE_CRADLE:int = 1; public static const NO_CRADLES:int = 0; public static const CHANGING_TABLE_CLICKED:String = "tableClicked"; public static const THREE_CRADLE:int = 3; public static const HIGH_CHAIR_CLICKED:String = "chairClicked"; public static const PLAYMAT_CLICKED:String = "playmatClicked"; public static const TWO_CRADLE:int = 2; public function MainView(){ _cradleState = 0; babyInAir = false; super(); this._background = new Background(); this.addChild(this._background); this.cradleA = new (getDefinitionByName("Cradle")); (this.cradleA.name == "left"); this.cradleA.buttonMode = (this.cradleA.useHandCursor = true); this.cradleA.addEventListener(MouseEvent.CLICK, this.handleCradleClick); this.cradleA.babyType = BabyType.CAUCASIAN; trace(("this.cradleA.brand.currentLabel == " + this.cradleA.brand.currentLabel)); this.cradleA.brand.gotoAndStop("CaucasianInfant"); this.cradleB = new (getDefinitionByName("Cradle")); (this.cradleA.name == "middle"); this.cradleB.babyType = BabyType.AFRICAN; this.cradleB.brand.gotoAndStop("AfricanInfant"); this.cradleB.buttonMode = (this.cradleB.useHandCursor = true); this.cradleB.addEventListener(MouseEvent.CLICK, this.handleCradleClick); this.cradleC = new (getDefinitionByName("Cradle")); (this.cradleA.name == "right"); this.cradleC.babyType = BabyType.HISPANIC; this.cradleC.brand.gotoAndStop("HispanicInfant"); this.cradleC.buttonMode = (this.cradleC.useHandCursor = true); this.cradleC.addEventListener(MouseEvent.CLICK, this.handleCradleClick); this.playMat = new PlayMat(); this.playMat.x = 429; this.playMat.y = 348; this.playMat.stop(); this.playMat.buttonMode = (this.playMat.useHandCursor = true); this.playMat.addEventListener(MouseEvent.CLICK, this.handlePlayMatClick, false, 0, true); playMat.addEventListener(MouseEvent.ROLL_OVER, stationOver, false, 0, true); this.addChild(this.playMat); this.changingTable = new ChangingTable(); this.changingTable.x = -50; this.changingTable.y = 310; this.changingTable.stop(); this.changingTable.buttonMode = (this.changingTable.useHandCursor = true); this.changingTable.addEventListener(MouseEvent.CLICK, this.handleChangingTableClick, false, 0, true); changingTable.addEventListener(MouseEvent.ROLL_OVER, stationOver, false, 0, true); this.addChild(this.changingTable); this.highChair = new HighChair(); this.highChair.x = 247; this.highChair.y = 248; this.highChair.stop(); this.highChair.buttonMode = (this.highChair.useHandCursor = true); this.highChair.addEventListener(MouseEvent.CLICK, this.handleChairClick, false, 0, true); highChair.addEventListener(MouseEvent.ROLL_OVER, stationOver, false, 0, true); this.addChild(this.highChair); } private function handleChairClick(_arg1:MouseEvent):void{ this.dispatchEvent(new Event(HIGH_CHAIR_CLICKED)); } public function set cradleState(_arg1:int):void{ if ((((_arg1 >= 0)) && ((_arg1 <= 3)))){ _cradleState = _arg1; if (this.contains(cradleA)){ this.removeChild(cradleA); }; if (this.contains(cradleB)){ this.removeChild(cradleB); }; if (this.contains(cradleC)){ this.removeChild(cradleC); }; switch (_cradleState){ case ONE_CRADLE: this.cradleA.x = 246; this.cradleA.y = 19; this.addChildAt(cradleA, 1); break; case TWO_CRADLE: this.cradleA.x = 72; this.cradleA.y = 19; this.cradleB.x = 415; this.cradleB.y = 19; this.addChildAt(cradleA, 1); this.addChildAt(cradleB, 1); break; case THREE_CRADLE: this.cradleA.x = 246; this.cradleA.y = 19; this.cradleB.x = 6; this.cradleB.y = 19; this.cradleC.x = 481; this.cradleC.y = 19; this.addChildAt(cradleA, 1); this.addChildAt(cradleB, 1); this.addChildAt(cradleC, 1); break; }; }; } private function handleCradleClick(_arg1:MouseEvent):void{ var _local2:Cradle; _local2 = (_arg1.currentTarget as Cradle); trace(("\nMainView - handleCradleClick() - targetCradle.babyType == " + _local2.babyType)); this.dispatchEvent(new CradleEvent(CradleEvent.CLICKED, _local2)); } private function stationOver(_arg1:MouseEvent):void{ playSound("StationOverSound", 0, 1, new SoundTransform(0.15, 0)); } private function handlePlayMatClick(_arg1:MouseEvent):void{ this.dispatchEvent(new Event(PLAYMAT_CLICKED)); } private function handleChangingTableClick(_arg1:MouseEvent):void{ this.dispatchEvent(new Event(CHANGING_TABLE_CLICKED)); } } }//package
Section 59
//PlayMat (PlayMat) package { import flash.events.*; public class PlayMat extends BabyStation { public function PlayMat(){ addFrameScript(19, frame20, 39, frame40, 52, frame53); } override protected function babyAimationComplete(_arg1:Event):void{ super.babyAimationComplete(_arg1); this.gotoAndStop("rattleBack"); this.complete(); } function frame20(){ this.activate(); } function frame40(){ stop(); } function frame53(){ stop(); } override protected function activate():void{ this.baby.infantMessage(BabyAlive.INFANT_PLAY); } } }//package
Section 60
//ScoreItem (ScoreItem) package { import flash.display.*; public dynamic class ScoreItem extends MovieClip { public function ScoreItem(){ addFrameScript(0, frame1, 9, frame10, 19, frame20, 28, frame29, 38, frame39, 47, frame48); } function frame10(){ stop(); } function frame1(){ stop(); } function frame29(){ stop(); } function frame20(){ stop(); } function frame39(){ stop(); } function frame48(){ stop(); } } }//package
Section 61
//StationOverSound (StationOverSound) package { import flash.media.*; public dynamic class StationOverSound extends Sound { } }//package
Section 62
//SuccessDropSound (SuccessDropSound) package { import flash.media.*; public dynamic class SuccessDropSound extends Sound { } }//package
Section 63
//ThreeBabyAlives (ThreeBabyAlives) package { import flash.events.*; public class ThreeBabyAlives extends AbstractIntegratedActivity { private var _controller:GameController; private var _soundPlayedAfterLastChoice:Boolean;// = false private var _mainView:MainView; public function ThreeBabyAlives(){ _soundPlayedAfterLastChoice = false; super(GameType.SCORING); this._controller = new GameController(); } private function playScoreFail(_arg1:Event):void{ if (!_soundPlayedAfterLastChoice){ _soundPlayedAfterLastChoice = true; playmatePlay("missFailure"); } else { _soundPlayedAfterLastChoice = false; }; } private function gameCompleteAnimationFinished():void{ } override public function handleIrisOpeningEnd():void{ playmatePlay("gameStart"); } override public function handleIrisOpeningBegin():void{ _mainView = new MainView(); addChildAt(_mainView, 0); _controller.view = _mainView; _controller.addEventListener(GameController.GAME_FINISHED, gameCompleted, false, 0, true); _controller.addEventListener(GameController.SCORE_SUCCESS, playScoreSuccess, false, 0, true); _controller.addEventListener(GameController.SCORE_FAIL, playScoreFail, false, 0, true); _controller.showInstructions(); } private function gameCompleted(_arg1:Event):void{ playmatePlay("gameCompletedWon"); } private function playScoreSuccess(_arg1:Event):void{ if (!_soundPlayedAfterLastChoice){ _soundPlayedAfterLastChoice = true; playmatePlay("scoreSuccess"); } else { _soundPlayedAfterLastChoice = false; }; } public function assignAnimationCompleteHandler(_arg1:Function):void{ onAnimationComplete_fn = _arg1; } } }//package
Section 64
//TrophyMoment (TrophyMoment) package { import flash.events.*; import flash.display.*; public dynamic class TrophyMoment extends MovieClip { public var baby1:AfricanInfant; public var baby2:Hispanicinfant; public var baby3:CaucasianInfant; public function TrophyMoment(){ addFrameScript(0, frame1, 8, frame9, 163, frame164, 254, frame255); } function frame164(){ } function frame1(){ play(); } function frame9(){ play(); } function frame255(){ dispatchEvent(new Event(Event.COMPLETE)); } } }//package
Section 65
//VictorySound (VictorySound) package { import flash.media.*; public dynamic class VictorySound extends Sound { } }//package

Library Items

Symbol 1 Sound {BubbleSound}
Symbol 2 Sound {SuccessDropSound}
Symbol 3 Sound {StationOverSound}
Symbol 4 Sound {VictorySound}
Symbol 5 Sound {MainSoundLoop}
Symbol 6 GraphicUsed by:101 160 218
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:101
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:101
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:101
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:101
Symbol 15 GraphicUsed by:28
Symbol 16 GraphicUsed by:20
Symbol 17 GraphicUsed by:20 22 113 178
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:20
Symbol 20 MovieClipUses:16 17 19Used by:28
Symbol 21 GraphicUsed by:28
Symbol 22 MovieClipUses:17Used by:28 178
Symbol 23 GraphicUsed by:28
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:28
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:28
Symbol 28 MovieClipUses:15 20 21 22 23 25 27Used by:101
Symbol 29 GraphicUsed by:101
Symbol 30 GraphicUsed by:101
Symbol 31 GraphicUsed by:101
Symbol 32 GraphicUsed by:71 139 198
Symbol 33 GraphicUsed by:71
Symbol 34 GraphicUsed by:71 139 198
Symbol 35 GraphicUsed by:37 92 124 153 183 211
Symbol 36 GraphicUsed by:37 124 183
Symbol 37 MovieClipUses:35 36Used by:71
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:71
Symbol 40 GraphicUsed by:41 95 127 156 186 214
Symbol 41 MovieClipUses:40Used by:71
Symbol 42 GraphicUsed by:43 128 187
Symbol 43 MovieClipUses:42Used by:71
Symbol 44 GraphicUsed by:45 98 129 158 188 216
Symbol 45 MovieClipUses:44Used by:71
Symbol 46 GraphicUsed by:71
Symbol 47 GraphicUsed by:71 139 198
Symbol 48 GraphicUsed by:50 62 131 134 190 193
Symbol 49 GraphicUsed by:50 131 190
Symbol 50 MovieClipUses:48 49Used by:71 624
Symbol 51 GraphicUsed by:54 132 191
Symbol 52 GraphicUsed by:54 57 65 67 132 133 135 136 191 192 194 195
Symbol 53 GraphicUsed by:54 132 191
Symbol 54 MovieClipUses:51 52 53Used by:71 624
Symbol 55 GraphicUsed by:57 133 192
Symbol 56 GraphicUsed by:57 133 192
Symbol 57 MovieClipUses:55 52 56Used by:71 624
Symbol 58 GraphicUsed by:71 139 198
Symbol 59 GraphicUsed by:69 137 196
Symbol 60 GraphicUsed by:62 134 193
Symbol 61 GraphicUsed by:62 134 193
Symbol 62 MovieClipUses:60 48 61Used by:69
Symbol 63 GraphicUsed by:65 67 135 136 194 195
Symbol 64 GraphicUsed by:65 135 194
Symbol 65 MovieClipUses:63 52 64Used by:69
Symbol 66 GraphicUsed by:67 136 195
Symbol 67 MovieClipUses:63 52 66Used by:69
Symbol 68 GraphicUsed by:69 137 196
Symbol 69 MovieClipUses:59 62 65 67 68Used by:71 624
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_13}Uses:32 33 34 37 39 41 43 45 46 47 50 54 57 58 69 70Used by:101 523
Symbol 72 GraphicUsed by:101 160
Symbol 73 GraphicUsed by:101
Symbol 74 GraphicUsed by:101
Symbol 75 GraphicUsed by:101
Symbol 76 GraphicUsed by:101
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:79
Symbol 79 MovieClipUses:78Used by:101
Symbol 80 SoundUsed by:101 160 218
Symbol 81 GraphicUsed by:101
Symbol 82 GraphicUsed by:101 160 218
Symbol 83 GraphicUsed by:101 160 218
Symbol 84 GraphicUsed by:85 149 207
Symbol 85 MovieClipUses:84Used by:101
Symbol 86 GraphicUsed by:101
Symbol 87 SoundUsed by:101 160 218
Symbol 88 GraphicUsed by:101
Symbol 89 GraphicUsed by:101
Symbol 90 GraphicUsed by:99 159 217
Symbol 91 GraphicUsed by:92 153 211
Symbol 92 MovieClipUses:35 91Used by:99
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:99
Symbol 95 MovieClipUses:40Used by:99
Symbol 96 GraphicUsed by:97 157 215
Symbol 97 MovieClipUses:96Used by:99
Symbol 98 MovieClipUses:44Used by:99
Symbol 99 MovieClipUses:90 92 94 95 97 98Used by:101 600 627
Symbol 100 SoundUsed by:101 160 218
Symbol 101 MovieClip {CaucasianInfant}Uses:6 8 10 12 14 28 29 30 31 71 72 73 74 75 76 79 80 81 82 83 85 86 87 88 89 99 100Used by:242
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:160
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:160
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:106Used by:160
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:108Used by:160
Symbol 110 GraphicUsed by:119
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:113
Symbol 113 MovieClipUses:17 112Used by:119
Symbol 114 GraphicUsed by:119
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:119
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClipUses:117Used by:119
Symbol 119 MovieClipUses:110 113 114 116 118Used by:160
Symbol 120 GraphicUsed by:160
Symbol 121 GraphicUsed by:160
Symbol 122 GraphicUsed by:160
Symbol 123 GraphicUsed by:139
Symbol 124 MovieClipUses:35 36Used by:139
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:139
Symbol 127 MovieClipUses:40Used by:139
Symbol 128 MovieClipUses:42Used by:139
Symbol 129 MovieClipUses:44Used by:139
Symbol 130 GraphicUsed by:139
Symbol 131 MovieClipUses:48 49Used by:139
Symbol 132 MovieClipUses:51 52 53Used by:139
Symbol 133 MovieClipUses:55 52 56Used by:139
Symbol 134 MovieClipUses:60 48 61Used by:137
Symbol 135 MovieClipUses:63 52 64Used by:137
Symbol 136 MovieClipUses:63 52 66Used by:137
Symbol 137 MovieClipUses:59 134 135 136 68Used by:139
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_176}Uses:32 123 34 124 126 127 128 129 130 47 131 132 133 58 137 138Used by:160
Symbol 140 GraphicUsed by:160
Symbol 141 GraphicUsed by:160
Symbol 142 GraphicUsed by:160
Symbol 143 GraphicUsed by:160
Symbol 144 GraphicUsed by:160
Symbol 145 GraphicUsed by:146 204
Symbol 146 MovieClipUses:145Used by:147
Symbol 147 MovieClipUses:146Used by:160
Symbol 148 GraphicUsed by:160
Symbol 149 MovieClipUses:84Used by:160
Symbol 150 GraphicUsed by:160
Symbol 151 GraphicUsed by:160
Symbol 152 GraphicUsed by:160
Symbol 153 MovieClipUses:35 91Used by:159
Symbol 154 BitmapUsed by:155
Symbol 155 GraphicUses:154Used by:159
Symbol 156 MovieClipUses:40Used by:159
Symbol 157 MovieClipUses:96Used by:159
Symbol 158 MovieClipUses:44Used by:159
Symbol 159 MovieClipUses:90 153 155 156 157 158Used by:160
Symbol 160 MovieClip {Hispanicinfant}Uses:6 103 105 107 109 119 120 121 122 139 140 141 142 143 144 147 80 148 82 83 87 149 150 151 152 159 100 72Used by:242
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:218
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClipUses:163Used by:218
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClipUses:165Used by:218
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClipUses:167Used by:218
Symbol 169 GraphicUsed by:178
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:170Used by:178
Symbol 172 GraphicUsed by:178
Symbol 173 GraphicUsed by:174
Symbol 174 MovieClipUses:173Used by:178
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClipUses:175Used by:178
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClipUses:169 17 171 172 22 174 176 177Used by:218
Symbol 179 GraphicUsed by:218
Symbol 180 GraphicUsed by:218
Symbol 181 GraphicUsed by:218
Symbol 182 GraphicUsed by:198
Symbol 183 MovieClipUses:35 36Used by:198
Symbol 184 BitmapUsed by:185
Symbol 185 GraphicUses:184Used by:198
Symbol 186 MovieClipUses:40Used by:198
Symbol 187 MovieClipUses:42Used by:198
Symbol 188 MovieClipUses:44Used by:198
Symbol 189 GraphicUsed by:198
Symbol 190 MovieClipUses:48 49Used by:198
Symbol 191 MovieClipUses:51 52 53Used by:198
Symbol 192 MovieClipUses:55 52 56Used by:198
Symbol 193 MovieClipUses:60 48 61Used by:196
Symbol 194 MovieClipUses:63 52 64Used by:196
Symbol 195 MovieClipUses:63 52 66Used by:196
Symbol 196 MovieClipUses:59 193 194 195 68Used by:198
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_205}Uses:32 182 34 183 185 186 187 188 189 47 190 191 192 58 196 197Used by:218
Symbol 199 GraphicUsed by:218
Symbol 200 GraphicUsed by:218
Symbol 201 GraphicUsed by:218
Symbol 202 GraphicUsed by:218
Symbol 203 GraphicUsed by:218
Symbol 204 MovieClipUses:145Used by:205
Symbol 205 MovieClipUses:204Used by:218
Symbol 206 GraphicUsed by:218
Symbol 207 MovieClipUses:84Used by:218
Symbol 208 GraphicUsed by:218
Symbol 209 GraphicUsed by:218
Symbol 210 GraphicUsed by:218
Symbol 211 MovieClipUses:35 91Used by:217
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:217
Symbol 214 MovieClipUses:40Used by:217
Symbol 215 MovieClipUses:96Used by:217
Symbol 216 MovieClipUses:44Used by:217
Symbol 217 MovieClipUses:90 211 213 214 215 216Used by:218
Symbol 218 MovieClip {AfricanInfant}Uses:6 162 164 166 168 178 179 180 181 198 199 200 201 202 203 205 80 206 82 83 87 207 208 209 210 217 100Used by:242
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClipUses:219Used by:242
Symbol 221 GraphicUsed by:242
Symbol 222 GraphicUsed by:223
Symbol 223 MovieClipUses:222Used by:242
Symbol 224 GraphicUsed by:242
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:242
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:242
Symbol 229 GraphicUsed by:242
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClipUses:230Used by:242
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:232Used by:242
Symbol 234 GraphicUsed by:235
Symbol 235 MovieClipUses:234Used by:242
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClipUses:236Used by:242
Symbol 238 GraphicUsed by:239
Symbol 239 MovieClipUses:238Used by:242
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:240Used by:242
Symbol 242 MovieClip {TrophyMoment}Uses:101 160 218 220 221 223 224 226 228 229 231 233 235 237 239 241
Symbol 243 GraphicUsed by:518
Symbol 244 GraphicUsed by:518
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:518
Symbol 247 GraphicUsed by:518
Symbol 248 GraphicUsed by:249 281 304 323 352 373 392 421 442
Symbol 249 MovieClipUses:248Used by:322
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:322
Symbol 252 GraphicUsed by:253 256 267 292 301 326 329 339 361 370 395 398 408 430 439
Symbol 253 MovieClipUses:252Used by:322
Symbol 254 BitmapUsed by:255
Symbol 255 GraphicUses:254Used by:322
Symbol 256 MovieClipUses:252Used by:322
Symbol 257 BitmapUsed by:262
Symbol 258 BitmapUsed by:262
Symbol 259 BitmapUsed by:262
Symbol 260 BitmapUsed by:262
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:257 258 259 260 261Used by:322
Symbol 263 GraphicUsed by:264 336 405
Symbol 264 MovieClipUses:263Used by:322
Symbol 265 BitmapUsed by:266
Symbol 266 GraphicUses:265Used by:322
Symbol 267 MovieClipUses:252Used by:322
Symbol 268 BitmapUsed by:269
Symbol 269 GraphicUses:268Used by:322
Symbol 270 GraphicUsed by:271 278 313 342 349 382 411 418 451 461 465 469 473 477 481 485 489 493 497 501 505 509
Symbol 271 MovieClipUses:270Used by:322
Symbol 272 BitmapUsed by:277
Symbol 273 BitmapUsed by:277
Symbol 274 BitmapUsed by:277
Symbol 275 BitmapUsed by:277
Symbol 276 BitmapUsed by:277
Symbol 277 GraphicUses:272 273 274 275 276Used by:322
Symbol 278 MovieClipUses:270Used by:322
Symbol 279 BitmapUsed by:280
Symbol 280 GraphicUses:279Used by:322
Symbol 281 MovieClipUses:248Used by:322
Symbol 282 BitmapUsed by:283
Symbol 283 GraphicUses:282Used by:322
Symbol 284 GraphicUsed by:285 307 355 376 424 445
Symbol 285 MovieClipUses:284Used by:322
Symbol 286 BitmapUsed by:287
Symbol 287 GraphicUses:286Used by:322
Symbol 288 GraphicUsed by:289 310 358 379 427 448
Symbol 289 MovieClipUses:288Used by:322
Symbol 290 BitmapUsed by:291
Symbol 291 GraphicUses:290Used by:322
Symbol 292 MovieClipUses:252Used by:322
Symbol 293 BitmapUsed by:300
Symbol 294 BitmapUsed by:300
Symbol 295 BitmapUsed by:300
Symbol 296 BitmapUsed by:300
Symbol 297 BitmapUsed by:300
Symbol 298 BitmapUsed by:300
Symbol 299 BitmapUsed by:300
Symbol 300 GraphicUses:293 294 295 296 297 298 299Used by:322
Symbol 301 MovieClipUses:252Used by:322
Symbol 302 BitmapUsed by:303
Symbol 303 GraphicUses:302Used by:322
Symbol 304 MovieClipUses:248Used by:322
Symbol 305 BitmapUsed by:306
Symbol 306 GraphicUses:305Used by:322
Symbol 307 MovieClipUses:284Used by:322
Symbol 308 BitmapUsed by:309
Symbol 309 GraphicUses:308Used by:322
Symbol 310 MovieClipUses:288Used by:322
Symbol 311 BitmapUsed by:312
Symbol 312 GraphicUses:311Used by:322
Symbol 313 MovieClipUses:270Used by:322
Symbol 314 BitmapUsed by:321
Symbol 315 BitmapUsed by:321
Symbol 316 BitmapUsed by:321
Symbol 317 BitmapUsed by:321
Symbol 318 BitmapUsed by:321
Symbol 319 BitmapUsed by:321
Symbol 320 BitmapUsed by:321
Symbol 321 GraphicUses:314 315 316 317 318 319 320Used by:322
Symbol 322 MovieClipUses:249 251 253 255 256 262 264 266 267 269 271 277 278 280 281 283 285 287 289 291 292 300 301 303 304 306 307 309 310 312 313 321Used by:518
Symbol 323 MovieClipUses:248Used by:391
Symbol 324 BitmapUsed by:325
Symbol 325 GraphicUses:324Used by:391
Symbol 326 MovieClipUses:252Used by:391
Symbol 327 BitmapUsed by:328
Symbol 328 GraphicUses:327Used by:391
Symbol 329 MovieClipUses:252Used by:391
Symbol 330 BitmapUsed by:335
Symbol 331 BitmapUsed by:335
Symbol 332 BitmapUsed by:335
Symbol 333 BitmapUsed by:335
Symbol 334 BitmapUsed by:335
Symbol 335 GraphicUses:330 331 332 333 334Used by:391
Symbol 336 MovieClipUses:263Used by:391
Symbol 337 BitmapUsed by:338
Symbol 338 GraphicUses:337Used by:391
Symbol 339 MovieClipUses:252Used by:391
Symbol 340 BitmapUsed by:341
Symbol 341 GraphicUses:340Used by:391
Symbol 342 MovieClipUses:270Used by:391
Symbol 343 BitmapUsed by:348
Symbol 344 BitmapUsed by:348
Symbol 345 BitmapUsed by:348
Symbol 346 BitmapUsed by:348
Symbol 347 BitmapUsed by:348
Symbol 348 GraphicUses:343 344 345 346 347Used by:391
Symbol 349 MovieClipUses:270Used by:391
Symbol 350 BitmapUsed by:351
Symbol 351 GraphicUses:350Used by:391
Symbol 352 MovieClipUses:248Used by:391
Symbol 353 BitmapUsed by:354
Symbol 354 GraphicUses:353Used by:391
Symbol 355 MovieClipUses:284Used by:391
Symbol 356 BitmapUsed by:357
Symbol 357 GraphicUses:356Used by:391
Symbol 358 MovieClipUses:288Used by:391
Symbol 359 BitmapUsed by:360
Symbol 360 GraphicUses:359Used by:391
Symbol 361 MovieClipUses:252Used by:391
Symbol 362 BitmapUsed by:369
Symbol 363 BitmapUsed by:369
Symbol 364 BitmapUsed by:369
Symbol 365 BitmapUsed by:369
Symbol 366 BitmapUsed by:369
Symbol 367 BitmapUsed by:369
Symbol 368 BitmapUsed by:369
Symbol 369 GraphicUses:362 363 364 365 366 367 368Used by:391
Symbol 370 MovieClipUses:252Used by:391
Symbol 371 BitmapUsed by:372
Symbol 372 GraphicUses:371Used by:391
Symbol 373 MovieClipUses:248Used by:391
Symbol 374 BitmapUsed by:375
Symbol 375 GraphicUses:374Used by:391
Symbol 376 MovieClipUses:284Used by:391
Symbol 377 BitmapUsed by:378
Symbol 378 GraphicUses:377Used by:391
Symbol 379 MovieClipUses:288Used by:391
Symbol 380 BitmapUsed by:381
Symbol 381 GraphicUses:380Used by:391
Symbol 382 MovieClipUses:270Used by:391
Symbol 383 BitmapUsed by:390
Symbol 384 BitmapUsed by:390
Symbol 385 BitmapUsed by:390
Symbol 386 BitmapUsed by:390
Symbol 387 BitmapUsed by:390
Symbol 388 BitmapUsed by:390
Symbol 389 BitmapUsed by:390
Symbol 390 GraphicUses:383 384 385 386 387 388 389Used by:391
Symbol 391 MovieClipUses:323 325 326 328 329 335 336 338 339 341 342 348 349 351 352 354 355 357 358 360 361 369 370 372 373 375 376 378 379 381 382 390Used by:518
Symbol 392 MovieClipUses:248Used by:460
Symbol 393 BitmapUsed by:394
Symbol 394 GraphicUses:393Used by:460
Symbol 395 MovieClipUses:252Used by:460
Symbol 396 BitmapUsed by:397
Symbol 397 GraphicUses:396Used by:460
Symbol 398 MovieClipUses:252Used by:460
Symbol 399 BitmapUsed by:404
Symbol 400 BitmapUsed by:404
Symbol 401 BitmapUsed by:404
Symbol 402 BitmapUsed by:404
Symbol 403 BitmapUsed by:404
Symbol 404 GraphicUses:399 400 401 402 403Used by:460
Symbol 405 MovieClipUses:263Used by:460
Symbol 406 BitmapUsed by:407
Symbol 407 GraphicUses:406Used by:460
Symbol 408 MovieClipUses:252Used by:460
Symbol 409 BitmapUsed by:410
Symbol 410 GraphicUses:409Used by:460
Symbol 411 MovieClipUses:270Used by:460
Symbol 412 BitmapUsed by:417
Symbol 413 BitmapUsed by:417
Symbol 414 BitmapUsed by:417
Symbol 415 BitmapUsed by:417
Symbol 416 BitmapUsed by:417
Symbol 417 GraphicUses:412 413 414 415 416Used by:460
Symbol 418 MovieClipUses:270Used by:460
Symbol 419 BitmapUsed by:420
Symbol 420 GraphicUses:419Used by:460
Symbol 421 MovieClipUses:248Used by:460
Symbol 422 BitmapUsed by:423
Symbol 423 GraphicUses:422Used by:460
Symbol 424 MovieClipUses:284Used by:460
Symbol 425 BitmapUsed by:426
Symbol 426 GraphicUses:425Used by:460
Symbol 427 MovieClipUses:288Used by:460
Symbol 428 BitmapUsed by:429
Symbol 429 GraphicUses:428Used by:460
Symbol 430 MovieClipUses:252Used by:460
Symbol 431 BitmapUsed by:438
Symbol 432 BitmapUsed by:438
Symbol 433 BitmapUsed by:438
Symbol 434 BitmapUsed by:438
Symbol 435 BitmapUsed by:438
Symbol 436 BitmapUsed by:438
Symbol 437 BitmapUsed by:438
Symbol 438 GraphicUses:431 432 433 434 435 436 437Used by:460
Symbol 439 MovieClipUses:252Used by:460
Symbol 440 BitmapUsed by:441
Symbol 441 GraphicUses:440Used by:460
Symbol 442 MovieClipUses:248Used by:460
Symbol 443 BitmapUsed by:444
Symbol 444 GraphicUses:443Used by:460
Symbol 445 MovieClipUses:284Used by:460
Symbol 446 BitmapUsed by:447
Symbol 447 GraphicUses:446Used by:460
Symbol 448 MovieClipUses:288Used by:460
Symbol 449 BitmapUsed by:450
Symbol 450 GraphicUses:449Used by:460
Symbol 451 MovieClipUses:270Used by:460
Symbol 452 BitmapUsed by:459
Symbol 453 BitmapUsed by:459
Symbol 454 BitmapUsed by:459
Symbol 455 BitmapUsed by:459
Symbol 456 BitmapUsed by:459
Symbol 457 BitmapUsed by:459
Symbol 458 BitmapUsed by:459
Symbol 459 GraphicUses:452 453 454 455 456 457 458Used by:460
Symbol 460 MovieClipUses:392 394 395 397 398 404 405 407 408 410 411 417 418 420 421 423 424 426 427 429 430 438 439 441 442 444 445 447 448 450 451 459Used by:518
Symbol 461 MovieClipUses:270Used by:464
Symbol 462 BitmapUsed by:463
Symbol 463 GraphicUses:462Used by:464
Symbol 464 MovieClipUses:461 463Used by:518
Symbol 465 MovieClipUses:270Used by:468
Symbol 466 BitmapUsed by:467
Symbol 467 GraphicUses:466Used by:468
Symbol 468 MovieClipUses:465 467Used by:518
Symbol 469 MovieClipUses:270Used by:472
Symbol 470 BitmapUsed by:471
Symbol 471 GraphicUses:470Used by:472
Symbol 472 MovieClipUses:469 471Used by:518
Symbol 473 MovieClipUses:270Used by:476
Symbol 474 BitmapUsed by:475
Symbol 475 GraphicUses:474Used by:476
Symbol 476 MovieClipUses:473 475Used by:518
Symbol 477 MovieClipUses:270Used by:480
Symbol 478 BitmapUsed by:479
Symbol 479 GraphicUses:478Used by:480
Symbol 480 MovieClipUses:477 479Used by:518
Symbol 481 MovieClipUses:270Used by:484
Symbol 482 BitmapUsed by:483
Symbol 483 GraphicUses:482Used by:484
Symbol 484 MovieClipUses:481 483Used by:518
Symbol 485 MovieClipUses:270Used by:488
Symbol 486 BitmapUsed by:487
Symbol 487 GraphicUses:486Used by:488
Symbol 488 MovieClipUses:485 487Used by:518
Symbol 489 MovieClipUses:270Used by:492
Symbol 490 BitmapUsed by:491
Symbol 491 GraphicUses:490Used by:492
Symbol 492 MovieClipUses:489 491Used by:518
Symbol 493 MovieClipUses:270Used by:496
Symbol 494 BitmapUsed by:495
Symbol 495 GraphicUses:494Used by:496
Symbol 496 MovieClipUses:493 495Used by:518
Symbol 497 MovieClipUses:270Used by:500
Symbol 498 BitmapUsed by:499
Symbol 499 GraphicUses:498Used by:500
Symbol 500 MovieClipUses:497 499Used by:518
Symbol 501 MovieClipUses:270Used by:504
Symbol 502 BitmapUsed by:503
Symbol 503 GraphicUses:502Used by:504
Symbol 504 MovieClipUses:501 503Used by:518
Symbol 505 MovieClipUses:270Used by:508
Symbol 506 BitmapUsed by:507
Symbol 507 GraphicUses:506Used by:508
Symbol 508 MovieClipUses:505 507Used by:518
Symbol 509 MovieClipUses:270Used by:512
Symbol 510 BitmapUsed by:511
Symbol 511 GraphicUses:510Used by:512
Symbol 512 MovieClipUses:509 511Used by:518
Symbol 513 GraphicUsed by:518
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClipUses:514Used by:518
Symbol 516 GraphicUsed by:517
Symbol 517 MovieClipUses:516Used by:518
Symbol 518 MovieClip {Background}Uses:243 244 246 247 322 391 460 464 468 472 476 480 484 488 492 496 500 504 508 512 513 515 517
Symbol 519 GraphicUsed by:536
Symbol 520 GraphicUsed by:521
Symbol 521 MovieClipUses:520Used by:536
Symbol 522 GraphicUsed by:536
Symbol 523 MovieClip {BabyAlive}Uses:71Used by:536 600 614 624
Symbol 524 GraphicUsed by:525
Symbol 525 MovieClipUses:524Used by:527
Symbol 526 GraphicUsed by:527
Symbol 527 MovieClipUses:525 526Used by:536
Symbol 528 GraphicUsed by:536
Symbol 529 GraphicUsed by:536
Symbol 530 GraphicUsed by:536
Symbol 531 GraphicUsed by:536
Symbol 532 GraphicUsed by:536
Symbol 533 GraphicUsed by:536
Symbol 534 GraphicUsed by:535
Symbol 535 MovieClipUses:534Used by:536
Symbol 536 MovieClip {ChangingTable}Uses:519 521 522 523 527 528 529 530 531 532 533 535 SS1
Symbol 537 GraphicUsed by:539 548 555
Symbol 538 GraphicUsed by:539 548 555
Symbol 539 MovieClipUses:537 538Used by:558
Symbol 540 GraphicUsed by:542 550 556
Symbol 541 GraphicUsed by:542 550 556 561 568 575 580 587 593
Symbol 542 MovieClipUses:540 541Used by:558
Symbol 543 GraphicUsed by:545 553 557
Symbol 544 GraphicUsed by:545 553 557 562 572 576 582 590 594
Symbol 545 MovieClipUses:543 544Used by:558
Symbol 546 GraphicUsed by:558
Symbol 547 GraphicUsed by:548
Symbol 548 MovieClipUses:537 538 547Used by:558
Symbol 549 GraphicUsed by:550
Symbol 550 MovieClipUses:540 541 549Used by:558
Symbol 551 GraphicUsed by:558
Symbol 552 GraphicUsed by:553
Symbol 553 MovieClipUses:543 544 552Used by:558
Symbol 554 GraphicUsed by:558
Symbol 555 MovieClipUses:537 538Used by:558
Symbol 556 MovieClipUses:540 541Used by:558
Symbol 557 MovieClipUses:543 544Used by:558
Symbol 558 MovieClipUses:539 542 545 546 548 550 551 553 554 555 556 557Used by:600
Symbol 559 GraphicUsed by:560 565 574 578 585 592
Symbol 560 MovieClipUses:559Used by:600
Symbol 561 MovieClipUses:541Used by:600
Symbol 562 MovieClipUses:544Used by:600
Symbol 563 GraphicUsed by:600
Symbol 564 GraphicUsed by:565
Symbol 565 MovieClipUses:559 564Used by:600
Symbol 566 GraphicUsed by:568
Symbol 567 GraphicUsed by:568
Symbol 568 MovieClipUses:566 541 567Used by:600
Symbol 569 GraphicUsed by:600
Symbol 570 GraphicUsed by:572
Symbol 571 GraphicUsed by:572
Symbol 572 MovieClipUses:570 544 571Used by:600
Symbol 573 GraphicUsed by:600
Symbol 574 MovieClipUses:559Used by:600
Symbol 575 MovieClipUses:541Used by:600
Symbol 576 MovieClipUses:544Used by:600
Symbol 577 GraphicUsed by:578 585 592
Symbol 578 MovieClipUses:577 559Used by:595
Symbol 579 GraphicUsed by:580 587 593
Symbol 580 MovieClipUses:579 541Used by:595
Symbol 581 GraphicUsed by:582 590 594
Symbol 582 MovieClipUses:581 544Used by:595
Symbol 583 GraphicUsed by:595
Symbol 584 GraphicUsed by:585
Symbol 585 MovieClipUses:577 559 584Used by:595
Symbol 586 GraphicUsed by:587
Symbol 587 MovieClipUses:579 541 586Used by:595
Symbol 588 GraphicUsed by:595
Symbol 589 GraphicUsed by:590
Symbol 590 MovieClipUses:581 544 589Used by:595
Symbol 591 GraphicUsed by:595
Symbol 592 MovieClipUses:577 559Used by:595
Symbol 593 MovieClipUses:579 541Used by:595
Symbol 594 MovieClipUses:581 544Used by:595
Symbol 595 MovieClipUses:578 580 582 583 585 587 588 590 591 592 593 594Used by:600
Symbol 596 GraphicUsed by:600
Symbol 597 GraphicUsed by:600
Symbol 598 GraphicUsed by:600
Symbol 599 GraphicUsed by:600
Symbol 600 MovieClip {PlayMat}Uses:558 560 561 562 563 565 568 569 572 573 574 575 576 595 99 523 596 597 598 599
Symbol 601 GraphicUsed by:602
Symbol 602 MovieClipUses:601Used by:614
Symbol 603 GraphicUsed by:614
Symbol 604 GraphicUsed by:614
Symbol 605 GraphicUsed by:614
Symbol 606 GraphicUsed by:607
Symbol 607 MovieClipUses:606Used by:614 627
Symbol 608 GraphicUsed by:614
Symbol 609 GraphicUsed by:614
Symbol 610 GraphicUsed by:614
Symbol 611 GraphicUsed by:614
Symbol 612 GraphicUsed by:614
Symbol 613 GraphicUsed by:614
Symbol 614 MovieClip {HighChair}Uses:602 603 523 604 605 607 608 609 610 611 612 613
Symbol 615 GraphicUsed by:624
Symbol 616 GraphicUsed by:624
Symbol 617 GraphicUsed by:624
Symbol 618 GraphicUsed by:624
Symbol 619 MovieClipUsed by:624
Symbol 620 GraphicUsed by:624
Symbol 621 GraphicUsed by:624
Symbol 622 GraphicUsed by:624
Symbol 623 GraphicUsed by:624
Symbol 624 MovieClip {Cradle}Uses:615 50 54 57 616 69 617 523 618 619 620 621 622 623
Symbol 625 GraphicUsed by:626
Symbol 626 MovieClipUses:625Used by:627
Symbol 627 MovieClip {ScoreItem}Uses:99 626 607
Symbol 628 GraphicUsed by:645
Symbol 629 GraphicUsed by:630
Symbol 630 MovieClipUses:629Used by:631
Symbol 631 MovieClipUses:630Used by:644
Symbol 632 GraphicUsed by:633
Symbol 633 MovieClipUses:632Used by:634
Symbol 634 MovieClipUses:633Used by:644
Symbol 635 GraphicUsed by:636
Symbol 636 MovieClipUses:635Used by:637 644
Symbol 637 MovieClipUses:636Used by:644
Symbol 638 GraphicUsed by:639
Symbol 639 MovieClipUses:638Used by:644
Symbol 640 GraphicUsed by:641
Symbol 641 MovieClipUses:640Used by:644
Symbol 642 GraphicUsed by:643
Symbol 643 MovieClipUses:642Used by:644
Symbol 644 MovieClip {ThreeBabyAlives_fla.instruct_OrderMatching_2}Uses:631 634 637 639 641 636 643Used by:645
Symbol 645 MovieClip {Instructions}Uses:628 644
Streaming Sound 1Used by:Symbol 536 MovieClip {ChangingTable}

Instance Names

"bubble"Symbol 101 MovieClip {CaucasianInfant} Frame 1Symbol 71 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_13}
"bubble"Symbol 160 MovieClip {Hispanicinfant} Frame 1Symbol 139 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_176}
"bubble"Symbol 218 MovieClip {AfricanInfant} Frame 1Symbol 198 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_205}
"baby3"Symbol 242 MovieClip {TrophyMoment} Frame 1Symbol 101 MovieClip {CaucasianInfant}
"baby2"Symbol 242 MovieClip {TrophyMoment} Frame 1Symbol 160 MovieClip {Hispanicinfant}
"baby1"Symbol 242 MovieClip {TrophyMoment} Frame 1Symbol 218 MovieClip {AfricanInfant}
"bubble"Symbol 523 MovieClip {BabyAlive} Frame 1Symbol 71 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_13}
"baby"Symbol 536 MovieClip {ChangingTable} Frame 1Symbol 523 MovieClip {BabyAlive}
"baby"Symbol 600 MovieClip {PlayMat} Frame 1Symbol 523 MovieClip {BabyAlive}
"baby"Symbol 614 MovieClip {HighChair} Frame 1Symbol 523 MovieClip {BabyAlive}
"baby"Symbol 624 MovieClip {Cradle} Frame 1Symbol 523 MovieClip {BabyAlive}
"brand"Symbol 624 MovieClip {Cradle} Frame 1Symbol 619 MovieClip
"demo"Symbol 645 MovieClip {Instructions} Frame 1Symbol 644 MovieClip {ThreeBabyAlives_fla.instruct_OrderMatching_2}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.

Labels

"clear"Symbol 71 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_13} Frame 2
"diaper"Symbol 71 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_13} Frame 6
"rattle"Symbol 71 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_13} Frame 11
"bottle"Symbol 71 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_13} Frame 17
"cradle"Symbol 71 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_13} Frame 23
"content"Symbol 101 MovieClip {CaucasianInfant} Frame 1
"cry"Symbol 101 MovieClip {CaucasianInfant} Frame 51
"cryLoop"Symbol 101 MovieClip {CaucasianInfant} Frame 63
"yawn"Symbol 101 MovieClip {CaucasianInfant} Frame 115
"sleep"Symbol 101 MovieClip {CaucasianInfant} Frame 126
"diaperChange"Symbol 101 MovieClip {CaucasianInfant} Frame 166
"drink"Symbol 101 MovieClip {CaucasianInfant} Frame 277
"play"Symbol 101 MovieClip {CaucasianInfant} Frame 376
"wantBottle"Symbol 101 MovieClip {CaucasianInfant} Frame 477
"wantBottleLoop"Symbol 101 MovieClip {CaucasianInfant} Frame 489
"wantPlay"Symbol 101 MovieClip {CaucasianInfant} Frame 516
"wantPlayLoop"Symbol 101 MovieClip {CaucasianInfant} Frame 528
"clear"Symbol 139 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_176} Frame 2
"diaper"Symbol 139 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_176} Frame 6
"rattle"Symbol 139 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_176} Frame 11
"bottle"Symbol 139 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_176} Frame 17
"cradle"Symbol 139 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_176} Frame 23
"content"Symbol 160 MovieClip {Hispanicinfant} Frame 1
"cry"Symbol 160 MovieClip {Hispanicinfant} Frame 51
"cryLoop"Symbol 160 MovieClip {Hispanicinfant} Frame 63
"yawn"Symbol 160 MovieClip {Hispanicinfant} Frame 93
"sleep"Symbol 160 MovieClip {Hispanicinfant} Frame 104
"diaperChange"Symbol 160 MovieClip {Hispanicinfant} Frame 145
"drink"Symbol 160 MovieClip {Hispanicinfant} Frame 256
"play"Symbol 160 MovieClip {Hispanicinfant} Frame 355
"wantBottle"Symbol 160 MovieClip {Hispanicinfant} Frame 456
"wantBottleLoop"Symbol 160 MovieClip {Hispanicinfant} Frame 468
"wantPlay"Symbol 160 MovieClip {Hispanicinfant} Frame 495
"wantPlayLoop"Symbol 160 MovieClip {Hispanicinfant} Frame 507
"clear"Symbol 198 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_205} Frame 2
"diaper"Symbol 198 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_205} Frame 6
"rattle"Symbol 198 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_205} Frame 11
"bottle"Symbol 198 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_205} Frame 17
"cradle"Symbol 198 MovieClip {ThreeBabyAlives_fla.speechBubble_withIcons_205} Frame 23
"content"Symbol 218 MovieClip {AfricanInfant} Frame 1
"cry"Symbol 218 MovieClip {AfricanInfant} Frame 51
"cryLoop"Symbol 218 MovieClip {AfricanInfant} Frame 63
"yawn"Symbol 218 MovieClip {AfricanInfant} Frame 92
"sleep"Symbol 218 MovieClip {AfricanInfant} Frame 103
"diaperChange"Symbol 218 MovieClip {AfricanInfant} Frame 143
"drink"Symbol 218 MovieClip {AfricanInfant} Frame 254
"play"Symbol 218 MovieClip {AfricanInfant} Frame 353
"wantBottle"Symbol 218 MovieClip {AfricanInfant} Frame 454
"wantBottleLoop"Symbol 218 MovieClip {AfricanInfant} Frame 466
"wantPlay"Symbol 218 MovieClip {AfricanInfant} Frame 493
"wantPlayLoop"Symbol 218 MovieClip {AfricanInfant} Frame 505
"in"Symbol 242 MovieClip {TrophyMoment} Frame 9
"loop"Symbol 242 MovieClip {TrophyMoment} Frame 164
"animation_complete"Symbol 242 MovieClip {TrophyMoment} Frame 255
"default"Symbol 536 MovieClip {ChangingTable} Frame 1
"rollover"Symbol 536 MovieClip {ChangingTable} Frame 10
"active"Symbol 536 MovieClip {ChangingTable} Frame 21
"default"Symbol 600 MovieClip {PlayMat} Frame 1
"rollover"Symbol 600 MovieClip {PlayMat} Frame 11
"active"Symbol 600 MovieClip {PlayMat} Frame 20
"rattleBack"Symbol 600 MovieClip {PlayMat} Frame 53
"default"Symbol 614 MovieClip {HighChair} Frame 1
"rollover"Symbol 614 MovieClip {HighChair} Frame 10
"active"Symbol 614 MovieClip {HighChair} Frame 20
"bottleBack"Symbol 614 MovieClip {HighChair} Frame 63
"CaucasianInfant"Symbol 619 MovieClip Frame 1
"AfricanInfant"Symbol 619 MovieClip Frame 2
"HispanicInfant"Symbol 619 MovieClip Frame 3
"rollover"Symbol 624 MovieClip {Cradle} Frame 10
"rattleHidden"Symbol 627 MovieClip {ScoreItem} Frame 1
"rattle"Symbol 627 MovieClip {ScoreItem} Frame 10
"diaperHidden"Symbol 627 MovieClip {ScoreItem} Frame 20
"diaper"Symbol 627 MovieClip {ScoreItem} Frame 29
"bottleHidden"Symbol 627 MovieClip {ScoreItem} Frame 39
"bottle"Symbol 627 MovieClip {ScoreItem} Frame 48




http://swfchan.com/24/116717/info.shtml
Created: 10/8 -2019 08:18:10 Last modified: 10/8 -2019 08:18:10 Server time: 19/04 -2024 02:32:06