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

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

kiss-in-class.swf

This is the info page for
Flash #118248

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


Text
PLUS DE JEUX

PLUS DE JEUX

MÁS JUEGOS

MEHR SPIELE

MEHR SPIELE

MORE GAMES

MORE GAMES

MÁS JUEGOS

54

<p align="center"><font face="Cocon" size="50" color="#ffff02" letterSpacing="0.000000" kerning="1">Niveau 1 </font></p>

54

JUGAR

REPLAY

REJOUER

SPIELEN

ActionScript [AS3]

Section 1
//mp3 (Burst.mp3) package Burst { import flash.media.*; public dynamic class mp3 extends Sound { } }//package Burst
Section 2
//ColorShortcuts (caurina.transitions.properties.ColorShortcuts) package caurina.transitions.properties { import flash.geom.*; import caurina.transitions.*; import flash.filters.*; public class ColorShortcuts { private static var LUMINANCE_B:Number = 0.072169; private static var LUMINANCE_G:Number = 0.71516; private static var LUMINANCE_R:Number = 0.212671; public function ColorShortcuts(){ trace("This is an static class and should not be instantiated."); } public static function _color_splitter(_arg1, _arg2:Array):Array{ var _local3:Array = new Array(); if (_arg1 == null){ _local3.push({name:"_color_redMultiplier", value:1}); _local3.push({name:"_color_redOffset", value:0}); _local3.push({name:"_color_greenMultiplier", value:1}); _local3.push({name:"_color_greenOffset", value:0}); _local3.push({name:"_color_blueMultiplier", value:1}); _local3.push({name:"_color_blueOffset", value:0}); } else { _local3.push({name:"_color_redMultiplier", value:0}); _local3.push({name:"_color_redOffset", value:AuxFunctions.numberToR(_arg1)}); _local3.push({name:"_color_greenMultiplier", value:0}); _local3.push({name:"_color_greenOffset", value:AuxFunctions.numberToG(_arg1)}); _local3.push({name:"_color_blueMultiplier", value:0}); _local3.push({name:"_color_blueOffset", value:AuxFunctions.numberToB(_arg1)}); }; return (_local3); } public static function _contrast_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local5:Number; var _local6:Number; _local5 = (_arg2 + 1); _local6 = Math.round((_arg2 * -128)); var _local7:ColorTransform = new ColorTransform(_local5, _local5, _local5, 1, _local6, _local6, _local6, 0); _arg1.transform.colorTransform = _local7; } public static function _brightness_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ var _local4:Boolean = _arg2[0]; var _local5:ColorTransform = _arg1.transform.colorTransform; var _local6:Number = (1 - (((_local5.redMultiplier + _local5.greenMultiplier) + _local5.blueMultiplier) / 3)); var _local7:Number = (((_local5.redOffset + _local5.greenOffset) + _local5.blueOffset) / 3); if (_local4){ return (((_local7 > 0)) ? (_local7 / 0xFF) : -(_local6)); //unresolved jump }; return ((_local7 / 100)); } public static function _saturation_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ var _local4:Array = getObjectMatrix(_arg1); var _local5:Boolean = _arg2[0]; var _local6:Number = (_local5) ? (1 / 3) : LUMINANCE_R; var _local7:Number = (_local5) ? (1 / 3) : LUMINANCE_G; var _local8:Number = (_local5) ? (1 / 3) : LUMINANCE_B; var _local9:Number = (((((_local4[0] - _local6) / (1 - _local6)) + ((_local4[6] - _local7) / (1 - _local7))) + ((_local4[12] - _local8) / (1 - _local8))) / 3); var _local10:Number = (1 - (((((((_local4[1] / _local7) + (_local4[2] / _local8)) + (_local4[5] / _local6)) + (_local4[7] / _local8)) + (_local4[10] / _local6)) + (_local4[11] / _local7)) / 6)); return (((_local9 + _local10) / 2)); } public static function _oldColor_property_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ return ((_arg1.transform.colorTransform[_arg2[0]] * 100)); } public static function _brightness_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local6:Number; var _local7:Number; var _local5:Boolean = _arg3[0]; if (_local5){ _local6 = (1 - Math.abs(_arg2)); _local7 = ((_arg2 > 0)) ? Math.round((_arg2 * 0xFF)) : 0; } else { _local6 = 1; _local7 = Math.round((_arg2 * 100)); }; var _local8:ColorTransform = new ColorTransform(_local6, _local6, _local6, 1, _local7, _local7, _local7, 0); _arg1.transform.colorTransform = _local8; } public static function _saturation_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local5:Boolean = _arg3[0]; var _local6:Number = (_local5) ? (1 / 3) : LUMINANCE_R; var _local7:Number = (_local5) ? (1 / 3) : LUMINANCE_G; var _local8:Number = (_local5) ? (1 / 3) : LUMINANCE_B; var _local9:Number = _arg2; var _local10:Number = (1 - _local9); var _local11:Number = (_local6 * _local10); var _local12:Number = (_local7 * _local10); var _local13:Number = (_local8 * _local10); var _local14:Array = [(_local11 + _local9), _local12, _local13, 0, 0, _local11, (_local12 + _local9), _local13, 0, 0, _local11, _local12, (_local13 + _local9), 0, 0, 0, 0, 0, 1, 0]; setObjectMatrix(_arg1, _local14); } private static function getObjectMatrix(_arg1:Object):Array{ var _local2:Number = 0; while (_local2 < _arg1.filters.length) { if ((_arg1.filters[_local2] is ColorMatrixFilter)){ return (_arg1.filters[_local2].matrix.concat()); }; _local2++; }; return ([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]); } public static function getHueDistance(_arg1:Array, _arg2:Array):Number{ return (((Math.abs((_arg1[0] - _arg2[0])) + Math.abs((_arg1[1] - _arg2[1]))) + Math.abs((_arg1[2] - _arg2[2])))); } public static function _hue_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ setObjectMatrix(_arg1, getHueMatrix(_arg2)); } public static function _hue_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ var _local6:Number; var _local8:Number; var _local4:Array = getObjectMatrix(_arg1); var _local5:Array = []; _local5[0] = {angle:-179.9, matrix:getHueMatrix(-179.9)}; _local5[1] = {angle:180, matrix:getHueMatrix(180)}; _local6 = 0; while (_local6 < _local5.length) { _local5[_local6].distance = getHueDistance(_local4, _local5[_local6].matrix); _local6++; }; var _local7:Number = 15; _local6 = 0; while (_local6 < _local7) { if (_local5[0].distance < _local5[1].distance){ _local8 = 1; } else { _local8 = 0; }; _local5[_local8].angle = ((_local5[0].angle + _local5[1].angle) / 2); _local5[_local8].matrix = getHueMatrix(_local5[_local8].angle); _local5[_local8].distance = getHueDistance(_local4, _local5[_local8].matrix); _local6++; }; return (_local5[_local8].angle); } public static function getHueMatrix(_arg1:Number):Array{ var _local2:Number = ((_arg1 * Math.PI) / 180); var _local3:Number = LUMINANCE_R; var _local4:Number = LUMINANCE_G; var _local5:Number = LUMINANCE_B; var _local6:Number = Math.cos(_local2); var _local7:Number = Math.sin(_local2); var _local8:Array = [((_local3 + (_local6 * (1 - _local3))) + (_local7 * -(_local3))), ((_local4 + (_local6 * -(_local4))) + (_local7 * -(_local4))), ((_local5 + (_local6 * -(_local5))) + (_local7 * (1 - _local5))), 0, 0, ((_local3 + (_local6 * -(_local3))) + (_local7 * 0.143)), ((_local4 + (_local6 * (1 - _local4))) + (_local7 * 0.14)), ((_local5 + (_local6 * -(_local5))) + (_local7 * -0.283)), 0, 0, ((_local3 + (_local6 * -(_local3))) + (_local7 * -((1 - _local3)))), ((_local4 + (_local6 * -(_local4))) + (_local7 * _local4)), ((_local5 + (_local6 * (1 - _local5))) + (_local7 * _local5)), 0, 0, 0, 0, 0, 1, 0]; return (_local8); } public static function _color_property_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ return (_arg1.transform.colorTransform[_arg2[0]]); } public static function init():void{ Tweener.registerSpecialProperty("_color_ra", _oldColor_property_get, _oldColor_property_set, ["redMultiplier"]); Tweener.registerSpecialProperty("_color_rb", _color_property_get, _color_property_set, ["redOffset"]); Tweener.registerSpecialProperty("_color_ga", _oldColor_property_get, _oldColor_property_set, ["greenMultiplier"]); Tweener.registerSpecialProperty("_color_gb", _color_property_get, _color_property_set, ["greenOffset"]); Tweener.registerSpecialProperty("_color_ba", _oldColor_property_get, _oldColor_property_set, ["blueMultiplier"]); Tweener.registerSpecialProperty("_color_bb", _color_property_get, _color_property_set, ["blueOffset"]); Tweener.registerSpecialProperty("_color_aa", _oldColor_property_get, _oldColor_property_set, ["alphaMultiplier"]); Tweener.registerSpecialProperty("_color_ab", _color_property_get, _color_property_set, ["alphaOffset"]); Tweener.registerSpecialProperty("_color_redMultiplier", _color_property_get, _color_property_set, ["redMultiplier"]); Tweener.registerSpecialProperty("_color_redOffset", _color_property_get, _color_property_set, ["redOffset"]); Tweener.registerSpecialProperty("_color_greenMultiplier", _color_property_get, _color_property_set, ["greenMultiplier"]); Tweener.registerSpecialProperty("_color_greenOffset", _color_property_get, _color_property_set, ["greenOffset"]); Tweener.registerSpecialProperty("_color_blueMultiplier", _color_property_get, _color_property_set, ["blueMultiplier"]); Tweener.registerSpecialProperty("_color_blueOffset", _color_property_get, _color_property_set, ["blueOffset"]); Tweener.registerSpecialProperty("_color_alphaMultiplier", _color_property_get, _color_property_set, ["alphaMultiplier"]); Tweener.registerSpecialProperty("_color_alphaOffset", _color_property_get, _color_property_set, ["alphaOffset"]); Tweener.registerSpecialPropertySplitter("_color", _color_splitter); Tweener.registerSpecialPropertySplitter("_colorTransform", _colorTransform_splitter); Tweener.registerSpecialProperty("_brightness", _brightness_get, _brightness_set, [false]); Tweener.registerSpecialProperty("_tintBrightness", _brightness_get, _brightness_set, [true]); Tweener.registerSpecialProperty("_contrast", _contrast_get, _contrast_set); Tweener.registerSpecialProperty("_hue", _hue_get, _hue_set); Tweener.registerSpecialProperty("_saturation", _saturation_get, _saturation_set, [false]); Tweener.registerSpecialProperty("_dumbSaturation", _saturation_get, _saturation_set, [true]); } private static function setObjectMatrix(_arg1:Object, _arg2:Array):void{ var _local6:ColorMatrixFilter; var _local3:Array = _arg1.filters.concat(); var _local4:Boolean; var _local5:Number = 0; while (_local5 < _local3.length) { if ((_local3[_local5] is ColorMatrixFilter)){ _local3[_local5].matrix = _arg2.concat(); _local4 = true; }; _local5++; }; if (!_local4){ _local6 = new ColorMatrixFilter(_arg2); _local3[_local3.length] = _local6; }; _arg1.filters = _local3; } public static function _color_property_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local5:ColorTransform = _arg1.transform.colorTransform; _local5[_arg3[0]] = _arg2; _arg1.transform.colorTransform = _local5; } public static function _oldColor_property_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local5:ColorTransform = _arg1.transform.colorTransform; _local5[_arg3[0]] = (_arg2 / 100); _arg1.transform.colorTransform = _local5; } public static function _contrast_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ var _local5:Number; var _local6:Number; var _local4:ColorTransform = _arg1.transform.colorTransform; _local5 = ((((_local4.redMultiplier + _local4.greenMultiplier) + _local4.blueMultiplier) / 3) - 1); _local6 = ((((_local4.redOffset + _local4.greenOffset) + _local4.blueOffset) / 3) / -128); return (((_local5 + _local6) / 2)); } public static function _colorTransform_splitter(_arg1:Object, _arg2:Array):Array{ var _local3:Array = new Array(); if (_arg1 == null){ _local3.push({name:"_color_redMultiplier", value:1}); _local3.push({name:"_color_redOffset", value:0}); _local3.push({name:"_color_greenMultiplier", value:1}); _local3.push({name:"_color_greenOffset", value:0}); _local3.push({name:"_color_blueMultiplier", value:1}); _local3.push({name:"_color_blueOffset", value:0}); } else { _local3.push({name:"_color_redMultiplier", value:_arg1.redMultiplier}); _local3.push({name:"_color_redOffset", value:_arg1.redOffset}); _local3.push({name:"_color_blueMultiplier", value:_arg1.blueMultiplier}); _local3.push({name:"_color_blueOffset", value:_arg1.blueOffset}); _local3.push({name:"_color_greenMultiplier", value:_arg1.greenMultiplier}); _local3.push({name:"_color_greenOffset", value:_arg1.greenOffset}); _local3.push({name:"_color_alphaMultiplier", value:_arg1.alphaMultiplier}); _local3.push({name:"_color_alphaOffset", value:_arg1.alphaOffset}); }; return (_local3); } } }//package caurina.transitions.properties
Section 3
//AuxFunctions (caurina.transitions.AuxFunctions) package caurina.transitions { public class AuxFunctions { public static function getObjectLength(_arg1:Object):uint{ var _local3:String; var _local2:uint; for (_local3 in _arg1) { _local2++; }; return (_local2); } public static function numberToG(_arg1:Number):Number{ return (((_arg1 & 0xFF00) >> 8)); } public static function numberToB(_arg1:Number):Number{ return ((_arg1 & 0xFF)); } public static function numberToR(_arg1:Number):Number{ return (((_arg1 & 0xFF0000) >> 16)); } public static function concatObjects(... _args):Object{ var _local3:Object; var _local5:String; var _local2:Object = {}; var _local4:int; while (_local4 < _args.length) { _local3 = _args[_local4]; for (_local5 in _local3) { if (_local3[_local5] == null){ delete _local2[_local5]; } else { _local2[_local5] = _local3[_local5]; }; }; _local4++; }; return (_local2); } } }//package caurina.transitions
Section 4
//Equations (caurina.transitions.Equations) package caurina.transitions { public class Equations { public function Equations(){ trace("Equations is a static class and should not be instantiated."); } public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); if (_arg1 < (1 / 2.75)){ return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2)); }; if (_arg1 < (2 / 2.75)){ _arg1 = (_arg1 - (1.5 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2)); }; if (_arg1 < (2.5 / 2.75)){ _arg1 = (_arg1 - (2.25 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2)); }; _arg1 = (_arg1 - (2.625 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2)); } public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; if (_arg1 < 1){ --_arg1; return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); }; --_arg1; return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2)); } public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2)); }; --_arg1; return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2)); } public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2)); }; return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2)); } public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2)); }; _arg1 = (_arg1 - 2); _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2)); } public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2)); } public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2)); } public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2)); } public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function init():void{ Tweener.registerTransition("easenone", easeNone); Tweener.registerTransition("linear", easeNone); Tweener.registerTransition("easeinquad", easeInQuad); Tweener.registerTransition("easeoutquad", easeOutQuad); Tweener.registerTransition("easeinoutquad", easeInOutQuad); Tweener.registerTransition("easeoutinquad", easeOutInQuad); Tweener.registerTransition("easeincubic", easeInCubic); Tweener.registerTransition("easeoutcubic", easeOutCubic); Tweener.registerTransition("easeinoutcubic", easeInOutCubic); Tweener.registerTransition("easeoutincubic", easeOutInCubic); Tweener.registerTransition("easeinquart", easeInQuart); Tweener.registerTransition("easeoutquart", easeOutQuart); Tweener.registerTransition("easeinoutquart", easeInOutQuart); Tweener.registerTransition("easeoutinquart", easeOutInQuart); Tweener.registerTransition("easeinquint", easeInQuint); Tweener.registerTransition("easeoutquint", easeOutQuint); Tweener.registerTransition("easeinoutquint", easeInOutQuint); Tweener.registerTransition("easeoutinquint", easeOutInQuint); Tweener.registerTransition("easeinsine", easeInSine); Tweener.registerTransition("easeoutsine", easeOutSine); Tweener.registerTransition("easeinoutsine", easeInOutSine); Tweener.registerTransition("easeoutinsine", easeOutInSine); Tweener.registerTransition("easeincirc", easeInCirc); Tweener.registerTransition("easeoutcirc", easeOutCirc); Tweener.registerTransition("easeinoutcirc", easeInOutCirc); Tweener.registerTransition("easeoutincirc", easeOutInCirc); Tweener.registerTransition("easeinexpo", easeInExpo); Tweener.registerTransition("easeoutexpo", easeOutExpo); Tweener.registerTransition("easeinoutexpo", easeInOutExpo); Tweener.registerTransition("easeoutinexpo", easeOutInExpo); Tweener.registerTransition("easeinelastic", easeInElastic); Tweener.registerTransition("easeoutelastic", easeOutElastic); Tweener.registerTransition("easeinoutelastic", easeInOutElastic); Tweener.registerTransition("easeoutinelastic", easeOutInElastic); Tweener.registerTransition("easeinback", easeInBack); Tweener.registerTransition("easeoutback", easeOutBack); Tweener.registerTransition("easeinoutback", easeInOutBack); Tweener.registerTransition("easeoutinback", easeOutInBack); Tweener.registerTransition("easeinbounce", easeInBounce); Tweener.registerTransition("easeoutbounce", easeOutBounce); Tweener.registerTransition("easeinoutbounce", easeInOutBounce); Tweener.registerTransition("easeoutinbounce", easeOutInBounce); } public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2)); } public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001))); } public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2)); } public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((_arg3 * _arg1) * _arg1) + _arg2)); } public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2)); } public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2)); } public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2)); } public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2)); } public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; --_arg1; return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); } public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2)); } public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); } public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 == 0){ return (_arg2); }; if (_arg1 == _arg4){ return ((_arg2 + _arg3)); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005))); }; --_arg1; return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2)); } public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2)); } public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2)); } public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } } }//package caurina.transitions
Section 5
//PropertyInfoObj (caurina.transitions.PropertyInfoObj) package caurina.transitions { public class PropertyInfoObj { public var modifierParameters:Array; public var isSpecialProperty:Boolean; public var valueComplete:Number; public var modifierFunction:Function; public var extra:Object; public var valueStart:Number; public var hasModifier:Boolean; public var arrayIndex:Number; public var originalValueComplete:Object; public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){ valueStart = _arg1; valueComplete = _arg2; originalValueComplete = _arg3; arrayIndex = _arg4; extra = _arg5; isSpecialProperty = _arg6; hasModifier = Boolean(_arg7); modifierFunction = _arg7; modifierParameters = _arg8; } public function toString():String{ var _local1 = "\n[PropertyInfoObj "; _local1 = (_local1 + ("valueStart:" + String(valueStart))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("valueComplete:" + String(valueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("arrayIndex:" + String(arrayIndex))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("extra:" + String(extra))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("hasModifier:" + String(hasModifier))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierFunction:" + String(modifierFunction))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierParameters:" + String(modifierParameters))); _local1 = (_local1 + "]\n"); return (_local1); } public function clone():PropertyInfoObj{ var _local1:PropertyInfoObj = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters); return (_local1); } } }//package caurina.transitions
Section 6
//SpecialProperty (caurina.transitions.SpecialProperty) package caurina.transitions { public class SpecialProperty { public var parameters:Array; public var getValue:Function; public var preProcess:Function; public var setValue:Function; public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){ getValue = _arg1; setValue = _arg2; parameters = _arg3; preProcess = _arg4; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialProperty "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("setValue:" + String(setValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("preProcess:" + String(preProcess))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 7
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier) package caurina.transitions { public class SpecialPropertyModifier { public var getValue:Function; public var modifyValues:Function; public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){ modifyValues = _arg1; getValue = _arg2; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialPropertyModifier "); _local1 = (_local1 + ("modifyValues:" + String(modifyValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 8
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter) package caurina.transitions { public class SpecialPropertySplitter { public var parameters:Array; public var splitValues:Function; public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){ splitValues = _arg1; parameters = _arg2; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialPropertySplitter "); _local1 = (_local1 + ("splitValues:" + String(splitValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 9
//Tweener (caurina.transitions.Tweener) package caurina.transitions { import flash.events.*; import flash.utils.*; import flash.display.*; public class Tweener { private static var _timeScale:Number = 1; private static var _currentTimeFrame:Number; private static var _specialPropertySplitterList:Object; private static var _engineExists:Boolean = false; private static var _specialPropertyModifierList:Object; private static var _currentTime:Number; private static var _tweenList:Array; private static var _specialPropertyList:Object; private static var _transitionList:Object; private static var _inited:Boolean = false; private static var __tweener_controller__:MovieClip; public function Tweener(){ trace("Tweener is a static class and should not be instantiated."); } public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{ if (!_inited){ init(); }; var _local4:SpecialPropertyModifier = new SpecialPropertyModifier(_arg2, _arg3); _specialPropertyModifierList[_arg1] = _local4; } public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{ if (!_inited){ init(); }; var _local6:SpecialProperty = new SpecialProperty(_arg2, _arg3, _arg4, _arg5); _specialPropertyList[_arg1] = _local6; } public static function init(... _args):void{ _inited = true; _transitionList = new Object(); Equations.init(); _specialPropertyList = new Object(); _specialPropertyModifierList = new Object(); _specialPropertySplitterList = new Object(); } private static function updateTweens():Boolean{ var _local1:int; if (_tweenList.length == 0){ return (false); }; _local1 = 0; while (_local1 < _tweenList.length) { if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){ if (!updateTweenByIndex(_local1)){ removeTweenByIndex(_local1); }; if (_tweenList[_local1] == null){ removeTweenByIndex(_local1, true); _local1--; }; }; _local1++; }; return (true); } public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Array; var _local8:Function; var _local9:TweenListObj; var _local10:Number; var _local11:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local4 = _arg1.concat(); } else { _local4 = [_arg1]; }; var _local5:Object = _arg2; if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; var _local6:Number = (isNaN(_local5.time)) ? 0 : _local5.time; var _local7:Number = (isNaN(_local5.delay)) ? 0 : _local5.delay; if (typeof(_local5.transition) == "string"){ _local11 = _local5.transition.toLowerCase(); _local8 = _transitionList[_local11]; } else { _local8 = _local5.transition; }; if (!Boolean(_local8)){ _local8 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local4.length) { if (_local5.useFrames == true){ _local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams); } else { _local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams); }; _local9.properties = null; _local9.onStart = _local5.onStart; _local9.onUpdate = _local5.onUpdate; _local9.onComplete = _local5.onComplete; _local9.onOverwrite = _local5.onOverwrite; _local9.onStartParams = _local5.onStartParams; _local9.onUpdateParams = _local5.onUpdateParams; _local9.onCompleteParams = _local5.onCompleteParams; _local9.onOverwriteParams = _local5.onOverwriteParams; _local9.onStartScope = _local5.onStartScope; _local9.onUpdateScope = _local5.onUpdateScope; _local9.onCompleteScope = _local5.onCompleteScope; _local9.onOverwriteScope = _local5.onOverwriteScope; _local9.onErrorScope = _local5.onErrorScope; _local9.isCaller = true; _local9.count = _local5.count; _local9.waitFrames = _local5.waitFrames; _tweenList.push(_local9); if ((((_local6 == 0)) && ((_local7 == 0)))){ _local10 = (_tweenList.length - 1); updateTweenByIndex(_local10); removeTweenByIndex(_local10); }; _local3++; }; return (true); } public static function pauseAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { pauseTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function removeTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local5:SpecialPropertySplitter; var _local6:Array; var _local7:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ if (_specialPropertySplitterList[_args[_local4]]){ _local5 = _specialPropertySplitterList[_args[_local4]]; _local6 = _local5.splitValues(_arg1, null); _local7 = 0; while (_local7 < _local6.length) { _local3.push(_local6[_local7].name); _local7++; }; } else { _local3.push(_args[_local4]); }; }; _local4++; }; return (affectTweens(removeTweenByIndex, _arg1, _local3)); } public static function splitTweens(_arg1:Number, _arg2:Array):uint{ var _local5:uint; var _local6:String; var _local7:Boolean; var _local3:TweenListObj = _tweenList[_arg1]; var _local4:TweenListObj = _local3.clone(false); _local5 = 0; while (_local5 < _arg2.length) { _local6 = _arg2[_local5]; if (Boolean(_local3.properties[_local6])){ _local3.properties[_local6] = undefined; delete _local3.properties[_local6]; }; _local5++; }; for (_local6 in _local4.properties) { _local7 = false; _local5 = 0; while (_local5 < _arg2.length) { if (_arg2[_local5] == _local6){ _local7 = true; break; }; _local5++; }; if (!_local7){ _local4.properties[_local6] = undefined; delete _local4.properties[_local6]; }; }; _tweenList.push(_local4); return ((_tweenList.length - 1)); } public static function updateFrame():void{ _currentTimeFrame++; } public static function resumeTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj = _tweenList[_arg1]; if ((((_local2 == null)) || (!(_local2.isPaused)))){ return (false); }; var _local3:Number = getCurrentTweeningTime(_local2); _local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused)); _local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused)); _local2.timePaused = undefined; _local2.isPaused = false; return (true); } public static function getVersion():String{ return ("AS3 1.31.74"); } public static function onEnterFrame(_arg1:Event):void{ updateTime(); updateFrame(); var _local2:Boolean; _local2 = updateTweens(); if (!_local2){ stopEngine(); }; } public static function updateTime():void{ _currentTime = getTimer(); } private static function updateTweenByIndex(_arg1:Number):Boolean{ var tTweening:TweenListObj; var mustUpdate:Boolean; var nv:Number; var t:Number; var b:Number; var c:Number; var d:Number; var pName:String; var eventScope:Object; var tScope:Object; var tProperty:Object; var pv:Number; var i = _arg1; tTweening = _tweenList[i]; if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){ return (false); }; var isOver:Boolean; var cTime:Number = getCurrentTweeningTime(tTweening); if (cTime >= tTweening.timeStart){ tScope = tTweening.scope; if (tTweening.isCaller){ do { t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1)); b = tTweening.timeStart; c = (tTweening.timeComplete - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d); } while (!(cTime >= nv)); } else { mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates))); if (cTime >= tTweening.timeComplete){ isOver = true; mustUpdate = true; }; if (!tTweening.hasStarted){ if (Boolean(tTweening.onStart)){ eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope; try { tTweening.onStart.apply(eventScope, tTweening.onStartParams); } catch(e2:Error) { handleError(tTweening, e2, "onStart"); }; }; for (pName in tTweening.properties) { if (tTweening.properties[pName].isSpecialProperty){ if (Boolean(_specialPropertyList[pName].preProcess)){ tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra); }; pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { pv = tScope[pName]; }; tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv; }; mustUpdate = true; tTweening.hasStarted = true; }; if (mustUpdate){ for (pName in tTweening.properties) { tProperty = tTweening.properties[pName]; if (isOver){ nv = tProperty.valueComplete; } else { if (tProperty.hasModifier){ t = (cTime - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams); nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters); } else { t = (cTime - tTweening.timeStart); b = tProperty.valueStart; c = (tProperty.valueComplete - tProperty.valueStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d, tTweening.transitionParams); }; }; if (tTweening.rounded){ nv = Math.round(nv); }; if (tProperty.isSpecialProperty){ _specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { tScope[pName] = nv; }; }; tTweening.updatesSkipped = 0; if (Boolean(tTweening.onUpdate)){ eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope; try { tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams); } catch(e3:Error) { handleError(tTweening, e3, "onUpdate"); }; }; } else { tTweening.updatesSkipped++; }; }; if (((isOver) && (Boolean(tTweening.onComplete)))){ eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope; try { tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams); } catch(e4:Error) { handleError(tTweening, e4, "onComplete"); }; }; return (!(isOver)); }; return (true); } public static function setTimeScale(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (isNaN(_arg1)){ _arg1 = 1; }; if (_arg1 < 1E-5){ _arg1 = 1E-5; }; if (_arg1 != _timeScale){ if (_tweenList != null){ _local2 = 0; while (_local2 < _tweenList.length) { _local3 = getCurrentTweeningTime(_tweenList[_local2]); _tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1)); _tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1)); if (_tweenList[_local2].timePaused != undefined){ _tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1)); }; _local2++; }; }; _timeScale = _arg1; }; } public static function resumeAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { resumeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{ var eventScope:Object; var pTweening = _arg1; var pError = _arg2; var pCallBackName = _arg3; if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){ eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope; try { pTweening.onError.apply(eventScope, [pTweening.scope, pError]); } catch(metaError:Error) { printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace())); }; } else { if (!Boolean(pTweening.onError)){ printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace())); }; }; } private static function startEngine():void{ _engineExists = true; _tweenList = new Array(); __tweener_controller__ = new MovieClip(); __tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); _currentTimeFrame = 0; updateTime(); } public static function removeAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { removeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Number; var _local5:String; var _local6:Array; var _local13:Function; var _local14:Object; var _local15:TweenListObj; var _local16:Number; var _local17:Array; var _local18:Array; var _local19:Array; var _local20:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local6 = _arg1.concat(); } else { _local6 = [_arg1]; }; var _local7:Object = TweenListObj.makePropertiesChain(_arg2); if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; var _local8:Number = (isNaN(_local7.time)) ? 0 : _local7.time; var _local9:Number = (isNaN(_local7.delay)) ? 0 : _local7.delay; var _local10:Array = new Array(); var _local11:Object = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true}; var _local12:Object = new Object(); for (_local5 in _local7) { if (!_local11[_local5]){ if (_specialPropertySplitterList[_local5]){ _local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters); _local3 = 0; while (_local3 < _local17.length) { if (_specialPropertySplitterList[_local17[_local3].name]){ _local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters); _local4 = 0; while (_local4 < _local18.length) { _local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false}; _local4++; }; } else { _local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false}; }; _local3++; }; } else { if (_specialPropertyModifierList[_local5] != undefined){ _local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]); _local3 = 0; while (_local3 < _local19.length) { _local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue}; _local3++; }; } else { _local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]}; }; }; }; }; for (_local5 in _local10) { if (_specialPropertyList[_local5] != undefined){ _local10[_local5].isSpecialProperty = true; } else { if (_local6[0][_local5] == undefined){ printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property.")); }; }; }; for (_local5 in _local12) { if (_local10[_local5] != undefined){ _local10[_local5].modifierParameters = _local12[_local5].modifierParameters; _local10[_local5].modifierFunction = _local12[_local5].modifierFunction; }; }; if (typeof(_local7.transition) == "string"){ _local20 = _local7.transition.toLowerCase(); _local13 = _transitionList[_local20]; } else { _local13 = _local7.transition; }; if (!Boolean(_local13)){ _local13 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local6.length) { _local14 = new Object(); for (_local5 in _local10) { _local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters); }; if (_local7.useFrames == true){ _local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams); } else { _local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams); }; _local15.properties = _local14; _local15.onStart = _local7.onStart; _local15.onUpdate = _local7.onUpdate; _local15.onComplete = _local7.onComplete; _local15.onOverwrite = _local7.onOverwrite; _local15.onError = _local7.onError; _local15.onStartParams = _local7.onStartParams; _local15.onUpdateParams = _local7.onUpdateParams; _local15.onCompleteParams = _local7.onCompleteParams; _local15.onOverwriteParams = _local7.onOverwriteParams; _local15.onStartScope = _local7.onStartScope; _local15.onUpdateScope = _local7.onUpdateScope; _local15.onCompleteScope = _local7.onCompleteScope; _local15.onOverwriteScope = _local7.onOverwriteScope; _local15.onErrorScope = _local7.onErrorScope; _local15.rounded = _local7.rounded; _local15.skipUpdates = _local7.skipUpdates; removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete); _tweenList.push(_local15); if ((((_local8 == 0)) && ((_local9 == 0)))){ _local16 = (_tweenList.length - 1); updateTweenByIndex(_local16); removeTweenByIndex(_local16); }; _local3++; }; return (true); } public static function registerTransition(_arg1:String, _arg2:Function):void{ if (!_inited){ init(); }; _transitionList[_arg1] = _arg2; } public static function printError(_arg1:String):void{ trace(("## [Tweener] Error: " + _arg1)); } private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{ var _local5:uint; var _local6:Array; var _local7:uint; var _local8:uint; var _local9:uint; var _local4:Boolean; if (!Boolean(_tweenList)){ return (false); }; _local5 = 0; while (_local5 < _tweenList.length) { if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){ if (_arg3.length == 0){ _arg1(_local5); _local4 = true; } else { _local6 = new Array(); _local7 = 0; while (_local7 < _arg3.length) { if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){ _local6.push(_arg3[_local7]); }; _local7++; }; if (_local6.length > 0){ _local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties); if (_local8 == _local6.length){ _arg1(_local5); _local4 = true; } else { _local9 = splitTweens(_local5, _local6); _arg1(_local9); _local4 = true; }; }; }; }; _local5++; }; return (_local4); } public static function getTweens(_arg1:Object):Array{ var _local2:uint; var _local3:String; if (!Boolean(_tweenList)){ return ([]); }; var _local4:Array = new Array(); _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ for (_local3 in _tweenList[_local2].properties) { _local4.push(_local3); }; }; _local2++; }; return (_local4); } public static function isTweening(_arg1:Object):Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ return (true); }; _local2++; }; return (false); } public static function pauseTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj = _tweenList[_arg1]; if ((((_local2 == null)) || (_local2.isPaused))){ return (false); }; _local2.timePaused = getCurrentTweeningTime(_local2); _local2.isPaused = true; return (true); } public static function getCurrentTweeningTime(_arg1:Object):Number{ return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime); } public static function getTweenCount(_arg1:Object):Number{ var _local2:uint; if (!Boolean(_tweenList)){ return (0); }; var _local3:Number = 0; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ _local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties)); }; _local2++; }; return (_local3); } private static function stopEngine():void{ _engineExists = false; _tweenList = null; _currentTime = 0; _currentTimeFrame = 0; __tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); __tweener_controller__ = null; } public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{ var removedLocally:Boolean; var i:uint; var pName:String; var eventScope:Object; var p_scope = _arg1; var p_properties = _arg2; var p_timeStart = _arg3; var p_timeComplete = _arg4; var removed:Boolean; var tl:uint = _tweenList.length; i = 0; while (i < tl) { if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){ if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){ removedLocally = false; for (pName in _tweenList[i].properties) { if (Boolean(p_properties[pName])){ if (Boolean(_tweenList[i].onOverwrite)){ eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope; try { _tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams); } catch(e:Error) { handleError(_tweenList[i], e, "onOverwrite"); }; }; _tweenList[i].properties[pName] = undefined; delete _tweenList[i].properties[pName]; removedLocally = true; removed = true; }; }; if (removedLocally){ if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){ removeTweenByIndex(i); }; }; }; }; i = (i + 1); }; return (removed); } public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{ if (!_inited){ init(); }; var _local4:SpecialPropertySplitter = new SpecialPropertySplitter(_arg2, _arg3); _specialPropertySplitterList[_arg1] = _local4; } public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{ _tweenList[_arg1] = null; if (_arg2){ _tweenList.splice(_arg1, 1); }; return (true); } public static function resumeTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(resumeTweenByIndex, _arg1, _local3)); } public static function pauseTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(pauseTweenByIndex, _arg1, _local3)); } } }//package caurina.transitions
Section 10
//TweenListObj (caurina.transitions.TweenListObj) package caurina.transitions { public class TweenListObj { public var hasStarted:Boolean; public var onUpdate:Function; public var useFrames:Boolean; public var count:Number; public var onOverwriteParams:Array; public var timeStart:Number; public var timeComplete:Number; public var onStartParams:Array; public var onUpdateScope:Object; public var rounded:Boolean; public var onUpdateParams:Array; public var properties:Object; public var onComplete:Function; public var transitionParams:Object; public var updatesSkipped:Number; public var onStart:Function; public var onOverwriteScope:Object; public var skipUpdates:Number; public var onStartScope:Object; public var scope:Object; public var isCaller:Boolean; public var timePaused:Number; public var transition:Function; public var onCompleteParams:Array; public var onError:Function; public var timesCalled:Number; public var onErrorScope:Object; public var onOverwrite:Function; public var isPaused:Boolean; public var waitFrames:Boolean; public var onCompleteScope:Object; public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){ scope = _arg1; timeStart = _arg2; timeComplete = _arg3; useFrames = _arg4; transition = _arg5; transitionParams = _arg6; properties = new Object(); isPaused = false; timePaused = undefined; isCaller = false; updatesSkipped = 0; timesCalled = 0; skipUpdates = 0; hasStarted = false; } public function clone(_arg1:Boolean):TweenListObj{ var _local3:String; var _local2:TweenListObj = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams); _local2.properties = new Array(); for (_local3 in properties) { _local2.properties[_local3] = properties[_local3].clone(); }; _local2.skipUpdates = skipUpdates; _local2.updatesSkipped = updatesSkipped; if (!_arg1){ _local2.onStart = onStart; _local2.onUpdate = onUpdate; _local2.onComplete = onComplete; _local2.onOverwrite = onOverwrite; _local2.onError = onError; _local2.onStartParams = onStartParams; _local2.onUpdateParams = onUpdateParams; _local2.onCompleteParams = onCompleteParams; _local2.onOverwriteParams = onOverwriteParams; _local2.onStartScope = onStartScope; _local2.onUpdateScope = onUpdateScope; _local2.onCompleteScope = onCompleteScope; _local2.onOverwriteScope = onOverwriteScope; _local2.onErrorScope = onErrorScope; }; _local2.rounded = rounded; _local2.isPaused = isPaused; _local2.timePaused = timePaused; _local2.isCaller = isCaller; _local2.count = count; _local2.timesCalled = timesCalled; _local2.waitFrames = waitFrames; _local2.hasStarted = hasStarted; return (_local2); } public function toString():String{ var _local3:String; var _local1 = "\n[TweenListObj "; _local1 = (_local1 + ("scope:" + String(scope))); _local1 = (_local1 + ", properties:"); var _local2:Boolean; for (_local3 in properties) { if (!_local2){ _local1 = (_local1 + ","); }; _local1 = (_local1 + ("[name:" + properties[_local3].name)); _local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart)); _local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete)); _local1 = (_local1 + "]"); _local2 = false; }; _local1 = (_local1 + (", timeStart:" + String(timeStart))); _local1 = (_local1 + (", timeComplete:" + String(timeComplete))); _local1 = (_local1 + (", useFrames:" + String(useFrames))); _local1 = (_local1 + (", transition:" + String(transition))); _local1 = (_local1 + (", transitionParams:" + String(transitionParams))); if (skipUpdates){ _local1 = (_local1 + (", skipUpdates:" + String(skipUpdates))); }; if (updatesSkipped){ _local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped))); }; if (Boolean(onStart)){ _local1 = (_local1 + (", onStart:" + String(onStart))); }; if (Boolean(onUpdate)){ _local1 = (_local1 + (", onUpdate:" + String(onUpdate))); }; if (Boolean(onComplete)){ _local1 = (_local1 + (", onComplete:" + String(onComplete))); }; if (Boolean(onOverwrite)){ _local1 = (_local1 + (", onOverwrite:" + String(onOverwrite))); }; if (Boolean(onError)){ _local1 = (_local1 + (", onError:" + String(onError))); }; if (onStartParams){ _local1 = (_local1 + (", onStartParams:" + String(onStartParams))); }; if (onUpdateParams){ _local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams))); }; if (onCompleteParams){ _local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams))); }; if (onOverwriteParams){ _local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams))); }; if (onStartScope){ _local1 = (_local1 + (", onStartScope:" + String(onStartScope))); }; if (onUpdateScope){ _local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope))); }; if (onCompleteScope){ _local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope))); }; if (onOverwriteScope){ _local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope))); }; if (onErrorScope){ _local1 = (_local1 + (", onErrorScope:" + String(onErrorScope))); }; if (rounded){ _local1 = (_local1 + (", rounded:" + String(rounded))); }; if (isPaused){ _local1 = (_local1 + (", isPaused:" + String(isPaused))); }; if (timePaused){ _local1 = (_local1 + (", timePaused:" + String(timePaused))); }; if (isCaller){ _local1 = (_local1 + (", isCaller:" + String(isCaller))); }; if (count){ _local1 = (_local1 + (", count:" + String(count))); }; if (timesCalled){ _local1 = (_local1 + (", timesCalled:" + String(timesCalled))); }; if (waitFrames){ _local1 = (_local1 + (", waitFrames:" + String(waitFrames))); }; if (hasStarted){ _local1 = (_local1 + (", hasStarted:" + String(hasStarted))); }; _local1 = (_local1 + "]\n"); return (_local1); } public static function makePropertiesChain(_arg1:Object):Object{ var _local3:Object; var _local4:Object; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Number; var _local2:Object = _arg1.base; if (_local2){ _local3 = {}; if ((_local2 is Array)){ _local4 = []; _local8 = 0; while (_local8 < _local2.length) { _local4.push(_local2[_local8]); _local8++; }; } else { _local4 = [_local2]; }; _local4.push(_arg1); _local6 = _local4.length; _local7 = 0; while (_local7 < _local6) { if (_local4[_local7]["base"]){ _local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]); } else { _local5 = _local4[_local7]; }; _local3 = AuxFunctions.concatObjects(_local3, _local5); _local7++; }; if (_local3["base"]){ delete _local3["base"]; }; return (_local3); //unresolved jump }; return (_arg1); } } }//package caurina.transitions
Section 11
//MainCharacter (drimlike.character.MainCharacter) package drimlike.character { import flash.events.*; import drimlike.data.*; import flash.display.*; import flash.utils.*; import caurina.transitions.*; public class MainCharacter extends Sprite { private var level:Number;// = 0 private var newTimer:Number; private var angleInc:Number;// = 0.3 private var level2Warning:MainCharLookRambleAsset2; private var minimumX:Number;// = 150 private var minTimer:Number; private var body:Sprite; private var talk:MainCharRambleAsset; private var level1Warning:MainCharLookRambleAsset1; private var startX:Number;// = 0 private var startY:Number;// = 140 private var maximumX:Number; private var angle:Number;// = 0 private var movementSpeed:Number;// = 2 private var percentChance:Number; public var isSwishSoundValid:Boolean;// = true private var lookingHead:MainCharLookingHeadAsset; private var normalHead:Sprite; private var level3Warning:MainCharLookRambleAsset3; private var isWalking:Boolean;// = true private var lookLength:Timer; private var oldTimer:Number; private var isBigHead:Boolean;// = false private var direction:String; public static var SAFE_EVENT:String = "safeEvent"; public static var FACE_LEFT:String = "faceLeft"; public static var FACE_RIGHT:String = "faceRight"; public static var DANGER_EVENT:String = "dangerEvent"; public function MainCharacter(){ direction = FACE_RIGHT; maximumX = (728 - minimumX); super(); init(); } public function stop():void{ if (isWalking == true){ isWalking = false; }; } private function init():void{ normalHead = (new MainCharNormalHeadAsset() as Sprite); normalHead.mouseEnabled = false; normalHead.mouseChildren = false; addChild(normalHead); body = (new MainCharAsset() as Sprite); body.mouseEnabled = false; body.mouseChildren = false; addChild(body); lookingHead = new MainCharLookingHeadAsset(); lookingHead.mouseEnabled = false; lookingHead.mouseChildren = false; lookingHead.visible = false; addChild(lookingHead); talk = new MainCharRambleAsset(); talk.mouseEnabled = false; talk.mouseChildren = false; addChild(talk); level1Warning = new MainCharLookRambleAsset1(); level1Warning.gotoAndStop(0); level1Warning.addEventListener("warningEvent", doLook); level1Warning.visible = false; addChild(level1Warning); level2Warning = new MainCharLookRambleAsset2(); level2Warning.gotoAndStop(0); level2Warning.addEventListener("warningEvent", doLook); level2Warning.visible = false; addChild(level2Warning); level3Warning = new MainCharLookRambleAsset3(); level3Warning.gotoAndStop(0); level3Warning.addEventListener("warningEvent", doLook); level3Warning.visible = false; addChild(level3Warning); setLevel(); walk(); } private function look():void{ isWalking = false; talk.stop(); talk.visible = false; level1Warning.gotoAndStop(0); level1Warning.visible = false; level2Warning.gotoAndStop(0); level2Warning.visible = false; level3Warning.gotoAndStop(0); level3Warning.visible = false; if (level == 1){ level1Warning.gotoAndPlay(1); level1Warning.visible = true; }; if (level == 2){ level2Warning.gotoAndPlay(1); level2Warning.visible = true; }; if (level == 3){ level3Warning.gotoAndPlay(1); level3Warning.visible = true; }; } public function calculateLook():void{ var _local2:Number; newTimer = getTimer(); var _local1:Number = (newTimer - oldTimer); if (_local1 > minTimer){ _local2 = Math.floor((Math.random() * 100)); if (_local2 < percentChance){ look(); }; }; } public function setLevel(_arg1:int=1, _arg2:int=5, _arg3:int=6000):void{ this.x = startX; (direction == FACE_RIGHT); level1Warning.gotoAndStop(0); level1Warning.visible = false; level2Warning.gotoAndStop(0); level2Warning.visible = false; level3Warning.gotoAndStop(0); level3Warning.visible = false; normalHead.visible = true; lookingHead.visible = false; if (lookLength){ lookLength.stop(); lookLength.removeEventListener(TimerEvent.TIMER, onResume); lookLength = null; }; talk.visible = true; talk.gotoAndPlay(1); oldTimer = getTimer(); newTimer = getTimer(); percentChance = _arg2; minTimer = _arg3; level = _arg1; isBigHead = false; isWalking = true; walk(); } public function walk():void{ if (isWalking == false){ isWalking = true; }; } public function update():void{ if (isWalking){ calculateLook(); move(); }; } private function move():void{ if (direction == FACE_LEFT){ if (x > minimumX){ this.x = (this.x - movementSpeed); } else { direction = FACE_RIGHT; this.scaleX = (this.scaleX * -1); }; } else { if (direction == FACE_RIGHT){ if (x < maximumX){ this.x = (this.x + movementSpeed); } else { direction = FACE_LEFT; this.scaleX = (this.scaleX * -1); }; }; }; this.y = (startY + (Math.sin(angle) * 4)); angle = (angle + angleInc); normalHead.y = (Math.sin(angle) * 1); normalHead.x = (Math.sin(angle) * 1); } private function doLook(_arg1:Event):void{ dispatchEvent(new Event(DANGER_EVENT)); if (isSwishSoundValid){ Engine.getInstance().soundFXController.playCharSwish(); }; normalHead.visible = false; lookingHead.visible = true; if (level == 1){ level1Warning.gotoAndStop(0); level1Warning.visible = false; }; if (level == 2){ level2Warning.gotoAndStop(0); level2Warning.visible = false; }; if (level == 3){ level3Warning.gotoAndStop(0); level3Warning.visible = false; }; lookLength = new Timer(2000); lookLength.addEventListener(TimerEvent.TIMER, onResume); lookLength.start(); } public function gotYou():void{ if (lookLength){ lookLength.stop(); lookLength.removeEventListener(TimerEvent.TIMER, onResume); (lookLength == null); }; Tweener.addTween(lookingHead.headAsset, {scaleX:2, scaleY:2, time:1, transition:"easeOutExpo"}); Tweener.addTween(lookingHead.headAsset, {scaleX:1, scaleY:1, time:1, delay:2, transition:"easeOutExpo"}); lookLength = new Timer(3200); lookLength.addEventListener(TimerEvent.TIMER, onResume); lookLength.start(); } private function onResume(_arg1:Event=null):void{ if (lookLength){ lookLength.removeEventListener(TimerEvent.TIMER, onResume); lookLength.stop(); lookLength = null; }; dispatchEvent(new Event(SAFE_EVENT)); lookingHead.visible = false; normalHead.visible = true; talk.visible = true; talk.play(); lookingHead.visible = false; normalHead.visible = true; isWalking = true; talk.visible = true; talk.play(); oldTimer = getTimer(); } } }//package drimlike.character
Section 12
//Engine (drimlike.data.Engine) package drimlike.data { import flash.events.*; import drimlike.sounds.*; import drimlike.scenes.*; import drimlike.scenes.sandboxItems.*; import drimlike.character.*; import drimlike.xml.*; public class Engine extends EventDispatcher { public const TRACKING_KEY:String = "kisses"; public var soundButton:SoundButton; public var sandbox:Sandbox; public var moreGames:SandboxDone; public var mainCharacter:MainCharacter; public var xmlFeed:XMLFeed; public var imageFeed:XMLRotator; public var soundFXController:SoundFXController; public var soundManager:SoundManager; private static var _instance:Engine; public static function getInstance():Engine{ if (_instance == null){ _instance = new (Engine); }; return (_instance); } } }//package drimlike.data
Section 13
//MyGamesForGirls (drimlike.scenes.sandboxItems.MyGamesForGirls) package drimlike.scenes.sandboxItems { import flash.events.*; import drimlike.data.*; import flash.display.*; import flash.media.*; import flash.net.*; import caurina.transitions.*; import flash.system.*; public class MyGamesForGirls extends Sprite { private var sprite:Sprite; private var MyGamesForGirlsComData:Class; private var MyGamesForGirlsDEData:Class; private var sound:Sound; private var MyGamesForGirlsComGlintData:Class; private var MyGamesForGirlsDEGlintData:Class; private var MyGamesForGirlsFRData:Class; private var MyGamesForGirlsFRGlintData:Class; private var MyGamesForGirlsSPData:Class; private var glint:MovieClip; private var MyGamesForGirlsSPGlintData:Class; private var DefaultSoundData:Class; public function MyGamesForGirls(){ MyGamesForGirlsComGlintData = MyGamesForGirls_MyGamesForGirlsComGlintData; MyGamesForGirlsDEGlintData = MyGamesForGirls_MyGamesForGirlsDEGlintData; MyGamesForGirlsSPGlintData = MyGamesForGirls_MyGamesForGirlsSPGlintData; MyGamesForGirlsFRGlintData = MyGamesForGirls_MyGamesForGirlsFRGlintData; MyGamesForGirlsComData = MyGamesForGirls_MyGamesForGirlsComData; MyGamesForGirlsDEData = MyGamesForGirls_MyGamesForGirlsDEData; MyGamesForGirlsSPData = MyGamesForGirls_MyGamesForGirlsSPData; MyGamesForGirlsFRData = MyGamesForGirls_MyGamesForGirlsFRData; DefaultSoundData = MyGamesForGirls_DefaultSoundData; super(); addEventListener(Event.ADDED_TO_STAGE, init); } public function get urlLink():String{ var _local3:Boolean; var _local4:String; var _local5:LocalConnection; var _local6:String; var _local7:String; var _local8:String; var _local9:Number; var _local1:Array = new Array("jeux2filles.fr", "juegosxachicas.com", "mygames4girls.de", "mygames4girls.com", "drimlike.com"); var _local2:String = loaderInfo.url; for each (_local4 in _local1) { _local7 = _local4.toLowerCase(); _local8 = _local2.toLowerCase(); _local9 = _local8.indexOf(_local7, 0); if (_local9 != -1){ _local3 = true; }; }; _local5 = new LocalConnection(); _local6 = _local5.domain; _local4 = ""; switch (Capabilities.language){ default: if (_local3){ _local4 = "http://www.mygames4girls.com"; } else { _local4 = ((("http://www.mygames4girls.com/?utm_source=" + _local6) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; break; case "de": if (_local3){ _local4 = "http://www.mygames4girls.de"; } else { _local4 = ((("http://www.mygames4girls.de/?utm_source=" + _local6) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; break; case "fr": if (_local3){ _local4 = "http://www.jeux2filles.fr"; } else { _local4 = ((("http://www.jeux2filles.fr/?utm_source=" + _local6) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; break; case "es": if (_local3){ _local4 = "http://www.juegosxachicas.com"; } else { _local4 = ((("http://www.juegosxachicas.com/?utm_source=" + _local6) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; break; }; return (_local4); } private function init(_arg1:Event):void{ sound = (new DefaultSoundData() as Sound); switch (Capabilities.language){ default: sprite = (new MyGamesForGirlsComData() as Sprite); glint = (new MyGamesForGirlsComGlintData() as MovieClip); break; case "de": sprite = (new MyGamesForGirlsDEData() as Sprite); glint = (new MyGamesForGirlsDEGlintData() as MovieClip); break; case "es": sprite = (new MyGamesForGirlsSPData() as Sprite); glint = (new MyGamesForGirlsSPGlintData() as MovieClip); break; case "fr": sprite = (new MyGamesForGirlsFRData() as Sprite); glint = (new MyGamesForGirlsFRGlintData() as MovieClip); break; }; sprite.x = 0; sprite.y = 0; addChild(sprite); sprite.mouseEnabled = false; sprite.mouseChildren = false; glint.x = 0; glint.y = 0; addChild(glint); glint.mouseEnabled = false; glint.mouseChildren = false; var _local2:Sprite = new Sprite(); _local2.graphics.beginFill(0, 0); _local2.graphics.drawRect(0, 0, sprite.width, sprite.height); _local2.graphics.endFill(); _local2.useHandCursor = true; _local2.buttonMode = true; _local2.mouseChildren = false; addChildAt(_local2, 0); _local2.addEventListener(MouseEvent.CLICK, onMouseClick); _local2.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); _local2.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); } private function onMouseClick(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest(urlLink); navigateToURL(_local2, "_blank"); } private function onMouseOut(_arg1:MouseEvent):void{ Tweener.addTween(this, {scaleX:1, scaleY:1, x:(this.x + 10), time:0.5, transition:"easeOutExpo"}); } private function onMouseOver(_arg1:MouseEvent):void{ sound.play(0, 0); glint.gotoAndPlay(1); Tweener.addTween(this, {scaleX:1.1, scaleY:1.1, x:(this.x - 10), time:0.5, transition:"easeOutExpo"}); } } }//package drimlike.scenes.sandboxItems
Section 14
//MyGamesForGirls_DefaultSoundData (drimlike.scenes.sandboxItems.MyGamesForGirls_DefaultSoundData) package drimlike.scenes.sandboxItems { import mx.core.*; public class MyGamesForGirls_DefaultSoundData extends SoundAsset { } }//package drimlike.scenes.sandboxItems
Section 15
//MyGamesForGirls_MyGamesForGirlsComData (drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsComData) package drimlike.scenes.sandboxItems { import mx.core.*; public class MyGamesForGirls_MyGamesForGirlsComData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 16
//MyGamesForGirls_MyGamesForGirlsComGlintData (drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsComGlintData) package drimlike.scenes.sandboxItems { import mx.core.*; public class MyGamesForGirls_MyGamesForGirlsComGlintData extends MovieClipAsset { } }//package drimlike.scenes.sandboxItems
Section 17
//MyGamesForGirls_MyGamesForGirlsDEData (drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsDEData) package drimlike.scenes.sandboxItems { import mx.core.*; public class MyGamesForGirls_MyGamesForGirlsDEData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 18
//MyGamesForGirls_MyGamesForGirlsDEGlintData (drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsDEGlintData) package drimlike.scenes.sandboxItems { import mx.core.*; public class MyGamesForGirls_MyGamesForGirlsDEGlintData extends MovieClipAsset { } }//package drimlike.scenes.sandboxItems
Section 19
//MyGamesForGirls_MyGamesForGirlsFRData (drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsFRData) package drimlike.scenes.sandboxItems { import mx.core.*; public class MyGamesForGirls_MyGamesForGirlsFRData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 20
//MyGamesForGirls_MyGamesForGirlsFRGlintData (drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsFRGlintData) package drimlike.scenes.sandboxItems { import mx.core.*; public class MyGamesForGirls_MyGamesForGirlsFRGlintData extends MovieClipAsset { } }//package drimlike.scenes.sandboxItems
Section 21
//MyGamesForGirls_MyGamesForGirlsSPData (drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsSPData) package drimlike.scenes.sandboxItems { import mx.core.*; public class MyGamesForGirls_MyGamesForGirlsSPData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 22
//MyGamesForGirls_MyGamesForGirlsSPGlintData (drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsSPGlintData) package drimlike.scenes.sandboxItems { import mx.core.*; public class MyGamesForGirls_MyGamesForGirlsSPGlintData extends MovieClipAsset { } }//package drimlike.scenes.sandboxItems
Section 23
//SandboxDone (drimlike.scenes.sandboxItems.SandboxDone) package drimlike.scenes.sandboxItems { import flash.events.*; import drimlike.data.*; import flash.display.*; import flash.media.*; import flash.net.*; import flash.system.*; public class SandboxDone extends Sprite { private var urlS:String; private var DoneDeData:Class; private var sound:Sound; private var textSprite:Sprite; private var DoneSoundData:Class; private var DoneFrData:Class; private var SandboxDoneButtonData:Class; private var DoneSpData:Class; private var background:Sprite; private var highlight:MovieClip; private var DoneEnData:Class; private var SandboxDoneHighlightData:Class; public function SandboxDone(){ SandboxDoneButtonData = SandboxDone_SandboxDoneButtonData; SandboxDoneHighlightData = SandboxDone_SandboxDoneHighlightData; DoneEnData = SandboxDone_DoneEnData; DoneFrData = SandboxDone_DoneFrData; DoneDeData = SandboxDone_DoneDeData; DoneSpData = SandboxDone_DoneSpData; DoneSoundData = SandboxDone_DoneSoundData; super(); addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ var _local4:Boolean; var _local5:String; var _local6:LocalConnection; var _local7:String; var _local8:String; var _local9:String; var _local10:Number; sound = (new DoneSoundData() as Sound); background = (new SandboxDoneButtonData() as Sprite); background.addEventListener(MouseEvent.ROLL_OUT, onRollOut); background.addEventListener(MouseEvent.ROLL_OVER, onRollOver); background.addEventListener(MouseEvent.CLICK, onMouseClick); addChild(background); var _local2:Array = new Array("jeux2filles.fr", "juegosxachicas.com", "mygames4girls.de", "mygames4girls.com", "drimlike.com"); var _local3:String = loaderInfo.url; for each (_local5 in _local2) { _local8 = _local5.toLowerCase(); _local9 = _local3.toLowerCase(); _local10 = _local9.indexOf(_local8, 0); if (_local10 != -1){ _local4 = true; }; }; _local6 = new LocalConnection(); _local7 = _local6.domain; switch (Capabilities.language){ default: if (_local4){ urlS = "http://www.mygames4girls.com"; } else { urlS = ((("http://www.mygames4girls.com/?utm_source=" + _local7) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; textSprite = (new MoreGamesEn() as Sprite); trace(_local3); break; case "es": if (_local4){ urlS = "http://www.juegosxachicas.com"; } else { urlS = ((("http://www.juegosxachicas.com/?utm_source=" + _local7) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; textSprite = (new MoreGamesSp() as Sprite); break; case "de": if (_local4){ urlS = "http://www.mygames4girls.de"; } else { urlS = ((("http://www.mygames4girls.de/?utm_source=" + _local7) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; textSprite = (new MoreGamesDe() as Sprite); break; case "fr": textSprite = (new MoreGamesFr() as Sprite); if (_local4){ urlS = "http://www.jeux2filles.fr"; } else { urlS = ((("http://www.jeux2filles.fr/?utm_source=" + _local7) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; break; }; switch (Capabilities.language){ default: textSprite = (new DoneEnData() as Sprite); break; case "es": textSprite = (new DoneSpData() as Sprite); break; case "de": textSprite = (new DoneDeData() as Sprite); break; case "fr": textSprite = (new DoneFrData() as Sprite); break; }; textSprite.x = 67; textSprite.y = 22; textSprite.mouseChildren = false; textSprite.mouseEnabled = false; addChild(textSprite); highlight = (new SandboxDoneHighlightData() as MovieClip); highlight.mouseEnabled = false; highlight.stop(); addChild(highlight); this.buttonMode = true; this.useHandCursor = true; } private function onMouseClick(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(urlS), "_blank"); } private function onRollOut(_arg1:MouseEvent):void{ highlight.gotoAndStop(0); } private function onRollOver(_arg1:MouseEvent):void{ sound.play(0, 0); highlight.gotoAndPlay(1); } } }//package drimlike.scenes.sandboxItems
Section 24
//SandboxDone_DoneDeData (drimlike.scenes.sandboxItems.SandboxDone_DoneDeData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxDone_DoneDeData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 25
//SandboxDone_DoneEnData (drimlike.scenes.sandboxItems.SandboxDone_DoneEnData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxDone_DoneEnData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 26
//SandboxDone_DoneFrData (drimlike.scenes.sandboxItems.SandboxDone_DoneFrData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxDone_DoneFrData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 27
//SandboxDone_DoneSoundData (drimlike.scenes.sandboxItems.SandboxDone_DoneSoundData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxDone_DoneSoundData extends SoundAsset { } }//package drimlike.scenes.sandboxItems
Section 28
//SandboxDone_DoneSpData (drimlike.scenes.sandboxItems.SandboxDone_DoneSpData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxDone_DoneSpData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 29
//SandboxDone_SandboxDoneButtonData (drimlike.scenes.sandboxItems.SandboxDone_SandboxDoneButtonData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxDone_SandboxDoneButtonData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 30
//SandboxDone_SandboxDoneHighlightData (drimlike.scenes.sandboxItems.SandboxDone_SandboxDoneHighlightData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxDone_SandboxDoneHighlightData extends MovieClipAsset { } }//package drimlike.scenes.sandboxItems
Section 31
//SandboxMoreGames (drimlike.scenes.sandboxItems.SandboxMoreGames) package drimlike.scenes.sandboxItems { import flash.events.*; import drimlike.data.*; import flash.display.*; import flash.media.*; import flash.net.*; import flash.system.*; public class SandboxMoreGames extends Sprite { private var urlS:String; private var background:Sprite; private var textSprite:Sprite; private var highlight:MovieClip; private var sound:Sound; public function SandboxMoreGames(){ addEventListener(Event.ADDED_TO_STAGE, init); } private function onMouseClick(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(urlS), "_blank"); } private function init(_arg1:Event):void{ var _local4:Boolean; var _local5:String; var _local6:LocalConnection; var _local7:String; var _local8:String; var _local9:String; var _local10:Number; sound = (new DefaultButton() as Sound); background = (new SandboxPrintButton() as Sprite); background.addEventListener(MouseEvent.ROLL_OUT, onRollOut); background.addEventListener(MouseEvent.ROLL_OVER, onRollOver); background.addEventListener(MouseEvent.CLICK, onMouseClick); addChild(background); var _local2:Array = new Array("jeux2filles.fr", "juegosxachicas.com", "mygames4girls.de", "mygames4girls.com", "drimlike.com"); var _local3:String = loaderInfo.url; for each (_local5 in _local2) { _local8 = _local5.toLowerCase(); _local9 = _local3.toLowerCase(); _local10 = _local9.indexOf(_local8, 0); if (_local10 != -1){ _local4 = true; }; }; _local6 = new LocalConnection(); _local7 = _local6.domain; switch (Capabilities.language){ default: if (_local4){ urlS = "http://www.mygames4girls.com"; } else { urlS = ((("http://www.mygames4girls.com/?utm_source=" + _local7) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; textSprite = (new MoreGamesEn() as Sprite); trace(_local3); break; case "es": if (_local4){ urlS = "http://www.juegosxachicas.com"; } else { urlS = ((("http://www.juegosxachicas.com/?utm_source=" + _local7) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; textSprite = (new MoreGamesSp() as Sprite); break; case "de": if (_local4){ urlS = "http://www.mygames4girls.de"; } else { urlS = ((("http://www.mygames4girls.de/?utm_source=" + _local7) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; textSprite = (new MoreGamesDe() as Sprite); break; case "fr": textSprite = (new MoreGamesFr() as Sprite); if (_local4){ urlS = "http://www.jeux2filles.fr"; } else { urlS = ((("http://www.jeux2filles.fr/?utm_source=" + _local7) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY); }; break; }; textSprite.x = (background.width / 2); textSprite.y = (background.height / 2); textSprite.mouseChildren = false; textSprite.mouseEnabled = false; addChild(textSprite); this.buttonMode = true; this.useHandCursor = true; highlight = (new SandboxPrintGlint() as MovieClip); highlight.mouseEnabled = false; highlight.stop(); addChild(highlight); } private function onRollOver(_arg1:MouseEvent):void{ sound.play(0, 0); highlight.gotoAndPlay(1); } private function onRollOut(_arg1:MouseEvent):void{ highlight.gotoAndStop(0); } } }//package drimlike.scenes.sandboxItems
Section 32
//SandboxReplay (drimlike.scenes.sandboxItems.SandboxReplay) package drimlike.scenes.sandboxItems { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; public class SandboxReplay extends Sprite { private var textSprite:Sprite; private var highlight:MovieClip; private var background:Sprite; private var sound:Sound; public function SandboxReplay(){ addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ sound = (new DefaultButton() as Sound); background = (new SandboxDoneButton() as Sprite); background.addEventListener(MouseEvent.ROLL_OUT, onRollOut); background.addEventListener(MouseEvent.ROLL_OVER, onRollOver); addChild(background); switch (Capabilities.language){ default: textSprite = (new ReplayEn() as Sprite); break; case "es": textSprite = (new ReplaySp() as Sprite); break; case "de": textSprite = (new ReplayDe() as Sprite); break; case "fr": textSprite = (new ReplayFr() as Sprite); break; }; textSprite.x = (background.width / 2); textSprite.y = (background.height / 2); textSprite.mouseChildren = false; textSprite.mouseEnabled = false; addChild(textSprite); highlight = (new SandboxDoneHighlight() as MovieClip); highlight.mouseEnabled = false; highlight.stop(); addChild(highlight); } private function onRollOver(_arg1:MouseEvent):void{ sound.play(0, 0); highlight.gotoAndPlay(1); } private function onRollOut(_arg1:MouseEvent):void{ highlight.gotoAndStop(0); } } }//package drimlike.scenes.sandboxItems
Section 33
//GameCompleteScene (drimlike.scenes.GameCompleteScene) package drimlike.scenes { import flash.events.*; import drimlike.data.*; import flash.display.*; import drimlike.scenes.sandboxItems.*; import caurina.transitions.*; public class GameCompleteScene extends Sprite { private var moreGames:SandboxMoreGames; private var hearts:GameOverHeartEffect; private var background:Sprite; private var replayButton:SandboxReplay; public static var GAME_REPLAY_EVENT:String = "gameReplayEvent"; public function GameCompleteScene(){ init(); } private function onReplayClick(_arg1:MouseEvent):void{ dispatchEvent(new Event(GAME_REPLAY_EVENT)); } private function init():void{ background = (new CompletedSceneAsset() as Sprite); background.mouseEnabled = false; background.mouseChildren = false; background.visible = false; addChild(background); hearts = new GameOverHeartEffect(); hearts.mouseChildren = false; hearts.mouseEnabled = false; hearts.visible = false; addChild(hearts); replayButton = new SandboxReplay(); replayButton.addEventListener(MouseEvent.CLICK, onReplayClick); replayButton.useHandCursor = true; replayButton.buttonMode = true; replayButton.x = 588; replayButton.y = 610; replayButton.visible = false; addChild(replayButton); moreGames = new SandboxMoreGames(); moreGames.useHandCursor = true; moreGames.buttonMode = true; moreGames.x = 50; moreGames.y = 100; moreGames.visible = false; addChild(moreGames); this.visible = false; } public function activate():void{ Engine.getInstance().moreGames.visible = false; this.visible = true; background.visible = true; replayButton.visible = true; moreGames.visible = true; hearts.visible = true; hearts.activate(); Tweener.addTween(replayButton, {y:480, time:1, transition:"easeOutExpo"}); } public function deactivate():void{ Engine.getInstance().moreGames.visible = true; this.visible = false; background.visible = false; replayButton.y = 600; replayButton.visible = false; hearts.visible = false; hearts.deactivate(); moreGames.visible = false; while (hearts.numChildren) { try { hearts.removeChildAt(0); } catch(e:Error) { }; }; } } }//package drimlike.scenes
Section 34
//GameOverHeartEffect (drimlike.scenes.GameOverHeartEffect) package drimlike.scenes { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.utils.*; import caurina.transitions.*; public class GameOverHeartEffect extends Sprite { private var timer:Timer; private var available:Array; private var unavailable:Array; private var positions:Array; private var isActive:Boolean; public function GameOverHeartEffect(){ init(); } private function onTimer(_arg1:TimerEvent):void{ var _local2:Number = Math.floor((Math.random() * positions.length)); var _local3:Point = Point(positions[_local2]); trace(_local2, _local3); var _local4:HappyHeartAnimation = new HappyHeartAnimation(); _local4.x = _local3.x; _local4.y = _local3.y; _local4.play(); _local4.addEventListener("HeartAnimationComplete", onDestroyHeart); addChild(_local4); var _local5:int = (Math.random() * 2); Tweener.addTween(_local4, {scaleX:(_local5 + 2), scaleY:(_local5 + 2), time:2, transition:"easeOutElastic"}); Tweener.addTween(_local4, {y:(_local3.y - 100), time:5}); } private function onDestroyHeart(_arg1:Event):void{ var h:HappyHeartAnimation; var e = _arg1; trace(e.target); try { h = HappyHeartAnimation(e.target); h.removeEventListener("HeartAnimationComplete", onDestroyHeart); removeChild(h); h = null; } catch(e:Error) { }; } private function init():void{ positions = new Array(); available = new Array(); unavailable = new Array(); positions.push(new Point(250, 192), new Point(0x0101, 139), new Point(284, 70), new Point(338, 35), new Point(402, 24), new Point(462, 31), new Point(522, 66), new Point(553, 132), new Point(572, 188)); } public function activate():void{ if (isActive == false){ isActive = true; timer = new Timer(200); timer.addEventListener(TimerEvent.TIMER, onTimer); timer.start(); }; } public function deactivate():void{ if (isActive == true){ isActive = false; timer.stop(); timer.removeEventListener(TimerEvent.TIMER, onTimer); timer = null; }; } } }//package drimlike.scenes
Section 35
//GameOverScene (drimlike.scenes.GameOverScene) package drimlike.scenes { import flash.events.*; import drimlike.data.*; import flash.display.*; import drimlike.scenes.sandboxItems.*; import drimlike.xml.*; import caurina.transitions.*; public class GameOverScene extends Sprite { private var background:Sprite; private var xmlRotator:XMLRotator; private var replayButton:SandboxReplay; private var moreGames:SandboxMoreGames; public static var GAME_REPLAY_EVENT:String = "gameReplayEvent"; public function GameOverScene(){ init(); } private function onReplayClick(_arg1:MouseEvent):void{ dispatchEvent(new Event(GAME_REPLAY_EVENT)); } private function init():void{ background = (new GameOverSceneAsset() as Sprite); background.mouseEnabled = false; background.mouseChildren = false; background.visible = false; addChild(background); replayButton = new SandboxReplay(); replayButton.addEventListener(MouseEvent.CLICK, onReplayClick); replayButton.useHandCursor = true; replayButton.buttonMode = true; replayButton.x = 588; replayButton.y = 600; replayButton.visible = false; addChild(replayButton); moreGames = new SandboxMoreGames(); moreGames.useHandCursor = true; moreGames.buttonMode = true; moreGames.x = 50; moreGames.y = 100; moreGames.visible = false; addChild(moreGames); this.visible = false; } public function activate():void{ Engine.getInstance().moreGames.visible = false; this.visible = true; background.visible = true; replayButton.visible = true; moreGames.visible = true; Tweener.addTween(replayButton, {y:480, time:1, transition:"easeOutExpo"}); } public function deactivate():void{ Engine.getInstance().moreGames.visible = true; replayButton.y = 600; replayButton.visible = false; moreGames.visible = false; background.visible = false; this.visible = false; } } }//package drimlike.scenes
Section 36
//GameScene (drimlike.scenes.GameScene) package drimlike.scenes { import flash.events.*; import flash.display.*; public class GameScene extends Sprite { public function GameScene(){ addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ customInit(); } protected function customInit():void{ } } }//package drimlike.scenes
Section 37
//HeartEffect (drimlike.scenes.HeartEffect) package drimlike.scenes { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.utils.*; import caurina.transitions.*; public class HeartEffect extends Sprite { private var timer:Timer; private var available:Array; private var unavailable:Array; private var positions:Array; private var isActive:Boolean; public function HeartEffect(){ init(); } private function onTimer(_arg1:TimerEvent):void{ var _local2:Number = Math.floor((Math.random() * positions.length)); var _local3:Point = Point(positions[_local2]); trace(_local2, _local3); var _local4:HappyHeartAnimation = new HappyHeartAnimation(); _local4.x = _local3.x; _local4.y = _local3.y; _local4.play(); _local4.addEventListener("HeartAnimationComplete", onDestroyHeart); addChild(_local4); var _local5:int = (Math.random() * 2); Tweener.addTween(_local4, {scaleX:(_local5 + 2), scaleY:(_local5 + 2), time:2, transition:"easeOutElastic"}); Tweener.addTween(_local4, {y:(_local3.y - 100), time:5}); } private function onDestroyHeart(_arg1:Event):void{ var h:HappyHeartAnimation; var e = _arg1; try { h = HappyHeartAnimation(e.target); h.removeEventListener("HeartAnimationComplete", onDestroyHeart); removeChild(h); h = null; trace(numChildren); } catch(e:Error) { }; } private function init():void{ positions = new Array(); available = new Array(); unavailable = new Array(); positions.push(new Point(250, 224), new Point(240, 178), new Point(265, 140), new Point(375, 128), new Point(410, 156), new Point(290, 194), new Point(300, 154), new Point(338, 149), new Point(388, 205), new Point(375, 169), new Point(327, 174), new Point(342, 195), new Point(320, 161), new Point(336, 180), new Point(405, 238)); } public function activate():void{ if (isActive == false){ isActive = true; timer = new Timer(200); timer.addEventListener(TimerEvent.TIMER, onTimer); timer.start(); }; } public function deactivate():void{ if (isActive == true){ isActive = false; timer.stop(); timer.removeEventListener(TimerEvent.TIMER, onTimer); timer = null; }; } } }//package drimlike.scenes
Section 38
//KissingScene (drimlike.scenes.KissingScene) package drimlike.scenes { import flash.display.*; import caurina.transitions.*; public class KissingScene extends Sprite { private var sceneForeground:Sprite; private var star:StarAnimationAsset; private var heartEffect:HeartEffect; private var sceneAnimation:HappySceneAnimationAsset; private var sceneBackground:Sprite; public var isActive:Boolean; public function KissingScene(){ init(); } public function activate():void{ isActive = true; sceneBackground.visible = true; sceneForeground.visible = true; sceneAnimation.visible = true; this.visible = true; sceneAnimation.activate(); startSpinningStar(); heartEffect.visible = true; heartEffect.activate(); } private function init():void{ if (sceneBackground == null){ sceneBackground = (new HappySceneAssetBackground() as Sprite); sceneBackground.mouseChildren = false; sceneBackground.mouseEnabled = false; sceneBackground.cacheAsBitmap = true; addChild(sceneBackground); }; if (star == null){ star = new StarAnimationAsset(); star.mouseChildren = false; star.mouseEnabled = false; star.cacheAsBitmap = true; star.x = 331; star.y = 188; star.alpha = 0.7; addChild(star); }; if (sceneForeground == null){ sceneForeground = (new HappySceneAssetForeground() as Sprite); sceneForeground.mouseChildren = false; sceneForeground.mouseEnabled = false; sceneForeground.cacheAsBitmap = true; addChild(sceneForeground); }; if (sceneAnimation == null){ sceneAnimation = new HappySceneAnimationAsset(); sceneAnimation.stop(); addChild(sceneAnimation); }; if (heartEffect == null){ heartEffect = new HeartEffect(); addChild(heartEffect); }; } private function startSpinningStar():void{ star.play(); Tweener.addTween(star, {width:550, height:550, time:1, transition:"easeOutExpo"}); } private function stopSpinningStar():void{ star.stop(); star.width = (star.height = 10); } public function deactivate():void{ this.isActive = false; this.visible = false; sceneBackground.visible = false; sceneForeground.visible = false; sceneAnimation.visible = false; sceneAnimation.deactivate(); stopSpinningStar(); heartEffect.visible = false; heartEffect.deactivate(); while (heartEffect.numChildren) { try { heartEffect.removeChildAt(0); } catch(e:Error) { }; }; } } }//package drimlike.scenes
Section 39
//LevelProgressScene (drimlike.scenes.LevelProgressScene) package drimlike.scenes { import flash.events.*; import flash.display.*; import flash.utils.*; import caurina.transitions.*; import flash.system.*; public class LevelProgressScene extends Sprite { private var timer:Timer; private var background:ShowLevelProgressAsset; public static var LEVEL_PROGRESS_SCREEN_COMPLETE_EVENT:String = "levelProgressScreenCompleteEvent"; public function LevelProgressScene(){ init(); } public function deactivate():void{ background.visible = false; this.visible = false; this.alpha = 1; } private function onTimer(_arg1:TimerEvent):void{ timer.stop(); timer.removeEventListener(TimerEvent.TIMER, onTimer); timer = null; trace(timer); onDispatch(); Tweener.addTween(this, {alpha:0, time:1, onComplete:onCompleted}); } private function onCompleted(_arg1:Event=null):void{ deactivate(); } private function init():void{ if (background == null){ background = new ShowLevelProgressAsset(); background.heart1.visible = false; background.heart2.visible = false; background.heart3.visible = false; background.textField.embedFonts = true; addChild(background); }; changeLevel(); } public function activate():void{ background.visible = true; this.visible = true; if (timer == null){ timer = new Timer(4000); timer.addEventListener(TimerEvent.TIMER, onTimer); timer.start(); }; } public function changeLevel(_arg1:int=1):void{ if (_arg1 == 1){ background.heart2.visible = false; background.heart3.visible = false; background.heart1.visible = true; background.heart1.gotoAndPlay(0); } else { if (_arg1 == 2){ background.heart1.visible = true; background.heart2.visible = true; background.heart3.visible = false; background.heart2.gotoAndPlay(0); } else { if (_arg1 == 3){ background.heart1.visible = true; background.heart2.visible = true; background.heart3.visible = true; background.heart3.gotoAndPlay(0); }; }; }; background.textField.text = getLevelText(_arg1); } private function onDispatch(_arg1:Event=null):void{ dispatchEvent(new Event(LevelProgressScene.LEVEL_PROGRESS_SCREEN_COMPLETE_EVENT)); } private function getLevelText(_arg1:int=1):String{ var _local2:String; switch (Capabilities.language){ default: _local2 = (("Level " + _arg1) + " !"); break; case "de": _local2 = (("Stufe " + _arg1) + " !"); break; case "es": _local2 = (("Nival " + _arg1) + " !"); break; case "fr": _local2 = (("Niveau " + _arg1) + " !"); break; }; return (_local2); } } }//package drimlike.scenes
Section 40
//NextLevelScene (drimlike.scenes.NextLevelScene) package drimlike.scenes { import flash.events.*; import drimlike.data.*; import flash.display.*; import caurina.transitions.*; import flash.system.*; public class NextLevelScene extends Sprite { private var nextButton:Sprite; private var bravo:BravoAnimationAsset; private var blackRing:BlackRing; public var isActive:Boolean; private var nextLevel:Sprite; public static var GAME_NEXT_LEVEL_EVENT:String = "gameNextLevelEvent"; public function NextLevelScene(){ init(); } private function onNextButtonClick(_arg1:MouseEvent):void{ dispatchEvent(new Event(GAME_NEXT_LEVEL_EVENT)); deactivate(); } private function onBlackCircleComplete(_arg1:Event):void{ bravo.gotoAndPlay(0); bravo.visible = true; } private function onBravoComplete(_arg1:Event):void{ nextButton.visible = true; } private function init():void{ blackRing = new BlackRing(); blackRing.stop(); blackRing.addEventListener("blackCircleCompleteEvent", onBlackCircleComplete); blackRing.x = (728 / 2); blackRing.y = (530 / 2); addChild(blackRing); bravo = new BravoAnimationAsset(); bravo.stop(); bravo.addEventListener("bravoCompleteEvent", onBravoComplete); addChild(bravo); nextButton = new Sprite(); nextButton.graphics.beginFill(0, 0); nextButton.graphics.drawRect(0, 0, 728, 530); nextButton.graphics.endFill(); nextButton.mouseChildren = false; nextButton.useHandCursor = true; nextButton.buttonMode = true; nextButton.addEventListener(MouseEvent.CLICK, onNextButtonClick); addChild(nextButton); switch (Capabilities.language){ default: nextLevel = (new NextLevelEn() as Sprite); nextLevel.x = 547; nextLevel.y = 374; break; case "de": nextLevel = (new NextLevelDe() as Sprite); nextLevel.x = 550; nextLevel.y = 374; break; case "es": nextLevel = (new NextLevelEs() as Sprite); nextLevel.x = 553; nextLevel.y = 374; break; case "fr": nextLevel = (new NextLevelFr() as Sprite); nextLevel.x = 557; nextLevel.y = 374; break; }; nextLevel.mouseChildren = false; nextLevel.mouseEnabled = false; nextLevel.visible = false; addChild(nextLevel); deactivate(); } public function activate():void{ isActive = true; this.visible = true; blackRing.gotoAndPlay(0); blackRing.visible = true; if (Engine.getInstance().sandbox.currentLevel != 3){ nextLevel.alpha = 0; nextLevel.y = 395; nextLevel.visible = true; Tweener.addTween(nextLevel, {y:374, alpha:1, time:1, delay:2, transition:"easeOutExpo"}); }; } public function deactivate():void{ isActive = false; this.visible = false; nextButton.visible = false; nextLevel.visible = false; blackRing.visible = false; blackRing.gotoAndStop(0); bravo.visible = false; bravo.gotoAndStop(0); } } }//package drimlike.scenes
Section 41
//NormalScene (drimlike.scenes.NormalScene) package drimlike.scenes { import flash.display.*; public class NormalScene extends Sprite { private var sceneAnimation:SadSceneAnimationAsset; private var scene:Sprite; public var isActive:Boolean; public function NormalScene(){ init(); } private function init():void{ if (scene == null){ scene = new SadSceneAsset(); scene.cacheAsBitmap = true; scene.mouseChildren = false; scene.mouseEnabled = false; addChild(scene); }; if (sceneAnimation == null){ sceneAnimation = new SadSceneAnimationAsset(); sceneAnimation.stop(); addChild(sceneAnimation); }; } public function deactivate():void{ this.isActive = false; this.visible = false; scene.visible = false; sceneAnimation.visible = false; sceneAnimation.deactivate(); } public function activate():void{ isActive = true; scene.visible = true; sceneAnimation.visible = true; this.visible = true; sceneAnimation.activate(); } } }//package drimlike.scenes
Section 42
//Sandbox (drimlike.scenes.Sandbox) package drimlike.scenes { import flash.events.*; import drimlike.data.*; import flash.display.*; import drimlike.scenes.sandboxItems.*; import drimlike.character.*; import drimlike.xml.*; import General.*; import drimlike.ui.*; import flash.utils.*; import caurina.transitions.*; public class Sandbox extends GameScene { private var buttonBar:Sprite; private var isFirstRun:Boolean; private var gameCompleteScene:GameCompleteScene; public var currentLevel:int;// = 1 private var kissingScene:KissingScene; private var imageFeed:XMLRotator; private var xmlRotator:XMLRotator; private var myGamesForGirls:MyGamesForGirls; private var background:Sprite; private var myGamesForGirlsHolder:Sprite; private var isCoupleLocked:Boolean; private var gameScene:Sprite; private var nextLevelScene:NextLevelScene; private var levelProgressScene:LevelProgressScene; private var gameOverScene:GameOverScene; private var fpsCounter:FpsCounter; private var xmlFeed:XMLFeed; private var isKissing:Boolean; private var alert:Sprite; private var normalScene:NormalScene; private var kissMeter:KissMeter; private var moreGames:SandboxDone; private var isDanger:Boolean; private var mainCharacter:MainCharacter; private var maxLevels:int;// = 3 private var lifes:LifesUI; private var updateTimer:Timer; private function onTriggerMouseUp(_arg1:MouseEvent):void{ if (!isCoupleLocked){ isKissing = false; switchGameStates(); }; } private function onTriggerMouseDown(_arg1:MouseEvent):void{ isKissing = true; switchGameStates(); } private function sandboxUpdate(_arg1:Event):void{ if (isKissing){ kissMeter.addTime(); if (isDanger){ if (!isCoupleLocked){ isKissing = false; mainCharacter.gotYou(); switchGameStates(); lifes.descreaseLife(); kissMeter.reset(); Engine.getInstance().soundFXController.playCaughtSound(); Tweener.addTween(alert, {alpha:1, time:0.4, transition:"easeOutExpo"}); Tweener.addTween(alert, {alpha:0, time:4, delay:1}); }; }; } else { kissMeter.removeTime(); }; } override protected function customInit():void{ if (background == null){ background = (new Background1() as Sprite); background.cacheAsBitmap = true; background.mouseChildren = false; background.mouseEnabled = false; addChild(background); }; if (mainCharacter == null){ mainCharacter = new MainCharacter(); mainCharacter.mouseEnabled = false; mainCharacter.mouseChildren = false; mainCharacter.addEventListener(MainCharacter.DANGER_EVENT, onDangerEvent); mainCharacter.addEventListener(MainCharacter.SAFE_EVENT, onSafeEvent); addChild(mainCharacter); Engine.getInstance().mainCharacter = mainCharacter; }; if (gameScene == null){ gameScene = new Sprite(); addChild(gameScene); }; if (normalScene == null){ normalScene = new NormalScene(); gameScene.addChild(normalScene); }; if (kissingScene == null){ kissingScene = new KissingScene(); kissingScene.deactivate(); gameScene.addChild(kissingScene); }; if (alert == null){ alert = (new AlertAsset() as Sprite); alert.mouseEnabled = false; alert.mouseChildren = false; alert.alpha = 0; addChild(alert); }; if (lifes == null){ lifes = new LifesUI(); lifes.x = (370 + 12); lifes.y = (446 + 12); addChild(lifes); lifes.mouseChildren = false; lifes.mouseEnabled = false; lifes.addEventListener(LifesUI.NO_LIFE_EVENT, onGameOverEvent); }; if (kissMeter == null){ kissMeter = new KissMeter(); kissMeter.x = 475; kissMeter.y = 446; kissMeter.addEventListener(KissMeter.LEVEL_COMPLETE_EVENT, onLevelComplete); addChild(kissMeter); }; if (updateTimer == null){ updateTimer = new Timer(24); updateTimer.addEventListener(TimerEvent.TIMER, update); updateTimer.start(); }; if (buttonBar == null){ buttonBar = new Sprite(); buttonBar.graphics.beginFill(0xFFFFFF, 0); buttonBar.graphics.drawRect(0, 100, 728, 330); buttonBar.graphics.endFill(); addChild(buttonBar); buttonBar.alpha = 0; buttonBar.addEventListener(MouseEvent.MOUSE_OVER, onTriggerMouseOver); buttonBar.addEventListener(MouseEvent.MOUSE_OUT, onTriggerMouseOut); buttonBar.addEventListener(MouseEvent.MOUSE_DOWN, onTriggerMouseDown); buttonBar.addEventListener(MouseEvent.MOUSE_UP, onTriggerMouseUp); buttonBar.useHandCursor = true; buttonBar.mouseChildren = false; buttonBar.buttonMode = true; }; if (nextLevelScene == null){ nextLevelScene = new NextLevelScene(); nextLevelScene.addEventListener(NextLevelScene.GAME_NEXT_LEVEL_EVENT, onNextLevelAcceptedEvent); addChild(nextLevelScene); }; if (levelProgressScene == null){ levelProgressScene = new LevelProgressScene(); levelProgressScene.addEventListener(LevelProgressScene.LEVEL_PROGRESS_SCREEN_COMPLETE_EVENT, onStartNextLevel); addChild(levelProgressScene); }; if (gameOverScene == null){ gameOverScene = new GameOverScene(); gameOverScene.addEventListener(GameOverScene.GAME_REPLAY_EVENT, onResetSandbox); addChild(gameOverScene); }; if (gameCompleteScene == null){ gameCompleteScene = new GameCompleteScene(); gameCompleteScene.addEventListener(GameCompleteScene.GAME_REPLAY_EVENT, onResetSandbox); addChild(gameCompleteScene); }; if (xmlFeed == null){ xmlFeed = new XMLFeed(); addChild(xmlFeed); Engine.getInstance().xmlFeed = xmlFeed; }; if (myGamesForGirls == null){ myGamesForGirls = new MyGamesForGirls(); myGamesForGirls.x = 18; myGamesForGirls.y = 474; addChild(myGamesForGirls); }; if (xmlRotator == null){ xmlRotator = new XMLRotator(); xmlRotator.x = -200; xmlRotator.y = 300; addChild(xmlRotator); Engine.getInstance().imageFeed = xmlRotator; }; if (moreGames == null){ moreGames = new SandboxDone(); moreGames.x = 588; moreGames.y = 480; addChild(moreGames); Engine.getInstance().moreGames = moreGames; }; mainCharacter.visible = false; levelProgressScene.activate(); } private function onNextLevelAcceptedEvent(_arg1:Event=null):void{ currentLevel++; if (currentLevel == 4){ showXMLRotator(); gameCompleteScene.activate(); Engine.getInstance().soundFXController.playGameCompleteSound(); mainCharacter.isSwishSoundValid = false; } else { levelProgressScene.changeLevel(currentLevel); levelProgressScene.activate(); }; } private function onGameOverEvent(_arg1:Event):void{ gameOverScene.activate(); showXMLRotator(); } private function onLevelComplete(_arg1:Event):void{ isCoupleLocked = true; nextLevelScene.activate(); Engine.getInstance().soundFXController.playLevelWonSound(); Engine.getInstance().soundFXController.stopCoupleKiss(); } private function onTriggerMouseOver(_arg1:MouseEvent):void{ } public function update(_arg1:Event):void{ FRateLimiter.limitFrame(24); if (mainCharacter){ mainCharacter.update(); }; sandboxUpdate(_arg1); } private function onStartNextLevel(_arg1:Event):void{ if (currentLevel == 1){ kissMeter.setLevel(300); mainCharacter.setLevel(); } else { if (currentLevel == 2){ kissMeter.setLevel(500); mainCharacter.setLevel(2, 10, 5000); } else { if (currentLevel == 3){ kissMeter.setLevel(800); mainCharacter.setLevel(3, 20, 4000); }; }; }; reset(); } public function reset():void{ mainCharacter.isSwishSoundValid = true; mainCharacter.visible = true; isKissing = false; isCoupleLocked = false; isDanger = false; xmlRotator.deactivate(); switchGameStates(); lifes.reset(); kissMeter.reset(); alert.alpha = 0; } private function onDangerEvent(_arg1:Event):void{ isDanger = true; } private function onTriggerMouseOut(_arg1:MouseEvent):void{ if (!isCoupleLocked){ isKissing = false; switchGameStates(); }; } private function switchGameStates():void{ if (isKissing){ if (!kissingScene.isActive){ Engine.getInstance().soundFXController.playCoupleKiss(); kissingScene.activate(); }; if (normalScene.isActive){ normalScene.deactivate(); }; } else { if (kissingScene.isActive){ Engine.getInstance().soundFXController.stopCoupleKiss(); kissingScene.deactivate(); }; if (!normalScene.isActive){ normalScene.activate(); }; }; } private function onSafeEvent(_arg1:Event):void{ isDanger = false; } private function showXMLRotator():void{ Tweener.addTween(xmlRotator, {x:150, time:0.5, transition:"easeOutExpo"}); xmlRotator.activate(); } private function onResetSandbox(_arg1:Event):void{ hideXMLRotator(); gameCompleteScene.deactivate(); gameOverScene.deactivate(); currentLevel = 0; onNextLevelAcceptedEvent(_arg1); } private function hideXMLRotator():void{ Tweener.addTween(xmlRotator, {x:-200, time:0.5, transition:"easeOutExpo"}); xmlRotator.deactivate(); } } }//package drimlike.scenes
Section 43
//SoundButton (drimlike.sounds.SoundButton) package drimlike.sounds { import flash.events.*; import drimlike.data.*; import flash.display.*; public class SoundButton extends Sprite { private var soundOff:Sprite; private var isSoundOn:Boolean; private var SoundOffData:Class; private var soundOn:Sprite; private var SoundOnData:Class; private var sponge:Sprite; public function SoundButton(){ SoundOffData = SoundButton_SoundOffData; SoundOnData = SoundButton_SoundOnData; super(); addEventListener(Event.ADDED_TO_STAGE, init); } private function onMouseClick(_arg1:MouseEvent):void{ soundToggle(); } public function soundToggle():void{ if (isSoundOn){ isSoundOn = false; Engine.getInstance().soundManager.stop(); soundOn.visible = false; soundOff.visible = true; } else { isSoundOn = true; Engine.getInstance().soundManager.play(); soundOn.visible = true; soundOff.visible = false; }; } private function init(_arg1:Event):void{ soundOn = (new SoundOnData() as Sprite); soundOff = (new SoundOffData() as Sprite); addChild(soundOn); addChild(soundOff); sponge = new Sprite(); sponge.graphics.beginFill(0xFFFFFF, 1); sponge.graphics.drawRect(-2, -2, 4, 4); sponge.graphics.endFill(); addChildAt(sponge, 0); isSoundOn = true; soundOff.visible = false; Engine.getInstance().soundManager.play(); this.mouseChildren = false; this.buttonMode = true; this.useHandCursor = true; this.addEventListener(MouseEvent.CLICK, onMouseClick); } } }//package drimlike.sounds
Section 44
//SoundButton_SoundOffData (drimlike.sounds.SoundButton_SoundOffData) package drimlike.sounds { import mx.core.*; public class SoundButton_SoundOffData extends SpriteAsset { } }//package drimlike.sounds
Section 45
//SoundButton_SoundOnData (drimlike.sounds.SoundButton_SoundOnData) package drimlike.sounds { import mx.core.*; public class SoundButton_SoundOnData extends SpriteAsset { } }//package drimlike.sounds
Section 46
//SoundFXController (drimlike.sounds.SoundFXController) package drimlike.sounds { import flash.media.*; public class SoundFXController { private var caughtSound:SoundChannel; private var completeGameSound:SoundChannel; private var caughtSoundData:Sound; private var kissData:Sound; private var characterSwishChannel:SoundChannel; private var gameCompleteData:Sound; private var kissChannel:SoundChannel; private var characterSwishData:Sound; private var levelWonData:Sound; private var levelWonSound:SoundChannel; public function SoundFXController(){ init(); } public function stopCoupleKiss():void{ try { kissChannel.stop(); } catch(e:Error) { }; } public function playCharSwish():void{ characterSwishChannel = characterSwishData.play(); var _local1:SoundTransform = characterSwishChannel.soundTransform; _local1.volume = 0.1; characterSwishChannel.soundTransform = _local1; } private function init():void{ caughtSoundData = (new CoupleCaughtMP3() as Sound); levelWonData = (new LevelOneMP3() as Sound); gameCompleteData = (new GameCompleteMP3() as Sound); characterSwishData = (new MainCharSwishMP3() as Sound); kissData = (new KissingSoundMP3() as Sound); } public function playLevelWonSound():void{ if (levelWonSound == null){ levelWonSound = levelWonData.play(); } else { levelWonData.play(); }; } public function playCaughtSound():void{ caughtSound = caughtSoundData.play(); var _local1:SoundTransform = caughtSound.soundTransform; _local1.volume = 0.4; caughtSound.soundTransform = _local1; } public function playGameCompleteSound():void{ completeGameSound = gameCompleteData.play(); var _local1:SoundTransform = completeGameSound.soundTransform; _local1.volume = 0.6; completeGameSound.soundTransform = _local1; } public function playCoupleKiss():void{ kissChannel = kissData.play(0, 10); var _local1:SoundTransform = kissChannel.soundTransform; _local1.volume = 0.6; kissChannel.soundTransform = _local1; } } }//package drimlike.sounds
Section 47
//SoundManager (drimlike.sounds.SoundManager) package drimlike.sounds { import flash.media.*; public class SoundManager { private var tune:SoundChannel; private var sound:Sound; public function SoundManager(){ sound = (new GameMusicMP3() as Sound); } public function stop():void{ tune.stop(); } public function play():void{ if (tune == null){ tune = sound.play(0, 9999); } else { tune.stop(); tune = null; tune = sound.play(0, 9999); }; } } }//package drimlike.sounds
Section 48
//KissMeter (drimlike.ui.KissMeter) package drimlike.ui { import flash.events.*; import flash.display.*; public class KissMeter extends Sprite { private var targetTotal:int;// = 100 private var holder:Sprite; private var heart:Sprite; private var sessionTotal:Number;// = 0 private var increment:int;// = 0 public var isActive:Boolean;// = true private var barWidth:int;// = 210 private var bar:Sprite; public static var LEVEL_COMPLETE_EVENT:String = "levelCompleteEvent"; public function KissMeter(){ addEventListener(Event.ADDED_TO_STAGE, init); } public function update():void{ } public function setLevel(_arg1:int=100):void{ targetTotal = _arg1; } private function updateBar():void{ var _local1:Number; var _local2:Number; if (isActive){ _local1 = (barWidth / targetTotal); _local2 = (_local1 * sessionTotal); bar.width = _local2; if (_local2 > 210){ isActive = false; dispatchEvent(new Event(LEVEL_COMPLETE_EVENT)); }; }; } public function removeTime():void{ if (sessionTotal > 0){ sessionTotal = (sessionTotal - 0.2); } else { sessionTotal = 0; }; updateBar(); } public function reset():void{ sessionTotal = 0; bar.width = 0; isActive = true; } private function init(_arg1:Event):void{ holder = (new MeterBackgroundAsset() as Sprite); addChild(holder); bar = (new MeterBarAsset() as Sprite); bar.x = 5; bar.y = 5; bar.width = 0; addChild(bar); heart = (new MeterHeart() as Sprite); heart.x = 228; heart.y = 12; addChild(heart); } public function addTime():void{ sessionTotal++; updateBar(); } } }//package drimlike.ui
Section 49
//LifesUI (drimlike.ui.LifesUI) package drimlike.ui { import flash.events.*; import flash.display.*; public class LifesUI extends Sprite { private var lifes:int;// = 3 private var deactiveLife1:Sprite; private var deactiveLife2:Sprite; private var activeLife2:Sprite; private var activeLife3:Sprite; private var activeLife1:Sprite; private var deactiveLife3:Sprite; public static var NO_LIFE_EVENT:String = "noLifeEvent"; public function LifesUI(){ addEventListener(Event.ADDED_TO_STAGE, init); } public function reset():void{ lifes = 3; addChild(activeLife1); addChild(activeLife2); addChild(activeLife3); } public function descreaseLife():void{ if (lifes == 3){ removeChild(activeLife1); }; if (lifes == 2){ removeChild(activeLife2); }; if (lifes == 1){ removeChild(activeLife3); }; lifes--; if (lifes == 0){ dispatchEvent(new Event(NO_LIFE_EVENT)); }; } private function init(_arg1:Event):void{ deactiveLife1 = (new LifeDeactiveAsset() as Sprite); addChild(deactiveLife1); deactiveLife2 = (new LifeDeactiveAsset() as Sprite); deactiveLife2.x = 32; addChild(deactiveLife2); deactiveLife3 = (new LifeDeactiveAsset() as Sprite); deactiveLife3.x = 62; addChild(deactiveLife3); activeLife1 = (new LifeActiveAsset() as Sprite); addChild(activeLife1); activeLife2 = (new LifeActiveAsset() as Sprite); activeLife2.x = 32; addChild(activeLife2); activeLife3 = (new LifeActiveAsset() as Sprite); activeLife3.x = 62; addChild(activeLife3); } } }//package drimlike.ui
Section 50
//XMLFeed (drimlike.xml.XMLFeed) package drimlike.xml { import flash.events.*; import drimlike.data.*; import flash.display.*; import flash.net.*; import caurina.transitions.*; import flash.system.*; public class XMLFeed extends Sprite { private var heart:Sprite; private var items:Array; private var icon:Sprite; private var XMLFeedButton:Class; private var homepage:String; private var isOpen:Boolean;// = false private var optionsXML:XML; private var urlRequest:URLRequest; private var totalWidth:Number; private var XMLFeedIcon:Class; private var hasBeenOpened:Boolean; private var highlight:MovieClip; public var scrolling:Boolean;// = true private var itemsXML:XMLList; private var scrollSprite:Sprite; private var XMLFeedMask:Class; private var background:Sprite; private var XMLFeedHighlight:Class; public function XMLFeed(){ XMLFeedButton = XMLFeed_XMLFeedButton; XMLFeedIcon = XMLFeed_XMLFeedIcon; XMLFeedMask = XMLFeed_XMLFeedMask; XMLFeedHighlight = XMLFeed_XMLFeedHighlight; super(); this.visible = false; addEventListener(Event.ADDED_TO_STAGE, init); } private function onXMLComplete(_arg1:Event):void{ var _local2:XML = XML(URLLoader(_arg1.target).data); itemsXML = XMLList(_local2.data.item); if (_local2.options.xmlFeedEnabled == 1){ this.visible = true; background = (new XMLFeedButton() as Sprite); background.mouseChildren = false; background.x = 544; background.y = 480; background.addEventListener(MouseEvent.CLICK, onMouseClick); addChild(background); highlight = (new XMLFeedHighlight() as MovieClip); highlight.mouseChildren = false; highlight.mouseEnabled = false; highlight.x = 544; highlight.y = 480; addChild(highlight); icon = (new XMLFeedIcon() as Sprite); icon.buttonMode = true; icon.mouseChildren = false; icon.useHandCursor = true; icon.addEventListener(MouseEvent.CLICK, onMouseClick); icon.x = (background.x + (background.width / 2)); icon.y = (background.y + (background.height / 2)); addChild(icon); }; } private function initScroll():void{ var _local3:Boolean; var _local4:String; var _local5:String; var _local6:String; var _local7:Number; var _local8:LocalConnection; var _local9:String; var _local10:int; var _local11:int; var _local12:Sprite; var _local13:XMLFeedItem; var _local1:Array = new Array("jeux2filles.fr", "juegosxachicas.com", "mygames4girls.de", "mygames4girls.com", "drimlike.com"); var _local2:String = loaderInfo.url; for each (_local4 in _local1) { _local5 = _local4.toLowerCase(); _local6 = _local2.toLowerCase(); _local7 = _local6.indexOf(_local5, 0); if (_local7 != -1){ _local3 = true; }; }; if (hasBeenOpened == false){ _local8 = new LocalConnection(); _local9 = _local8.domain; _local10 = 0; _local11 = 0; while (_local11 < itemsXML.length()) { _local12 = (new XMLFeedMask() as Sprite); _local12.x = 320; _local12.y = 490; addChild(_local12); if (_local3){ _local13 = new XMLFeedItem(String(homepage), String(itemsXML[_local11].@title)); } else { _local13 = new XMLFeedItem(String(((((itemsXML[_local11].@linkURL + "?utm_source=") + _local9) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY)), String(itemsXML[_local11].@title)); }; _local13.x = (500 + _local10); _local13.y = 492; _local13.mask = _local12; addChild(_local13); _local10 = (_local10 + (_local13.width + 25)); items.push(_local13); _local11++; }; totalWidth = (_local10 + 100); highlight.visible = false; hasBeenOpened = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } else { open(); }; } private function init(_arg1:Event):void{ items = new Array(); switch (Capabilities.language){ default: urlRequest = new URLRequest("http://www.mygames4girls.com/games.xml"); homepage = "http://www.mygames4girls.com"; break; case "de": urlRequest = new URLRequest("http://www.mygames4girls.de/games.xml"); homepage = "http://www.mygames4girls.de"; break; case "es": urlRequest = new URLRequest("http://www.juegosxachicas.com/games.xml"); homepage = "http://www.juegosxachicas.com"; break; case "fr": urlRequest = new URLRequest("http://www.jeux2filles.fr/games.xml"); homepage = "http://www.jeux2filles.fr"; break; }; var _local2:URLLoader = new URLLoader(); _local2.addEventListener(Event.COMPLETE, onXMLComplete); _local2.addEventListener(IOErrorEvent.IO_ERROR, onError); _local2.load(urlRequest); } private function onError(_arg1:IOErrorEvent):void{ var _local2:URLLoader; if (urlRequest.url == "http://www.mygames4girls.de/games.xml"){ urlRequest = new URLRequest("http://www.mygames4girls.com/games.xml"); _local2 = new URLLoader(); _local2.addEventListener(Event.COMPLETE, onXMLComplete); _local2.addEventListener(IOErrorEvent.IO_ERROR, onError); _local2.load(urlRequest); } else { return; }; } private function open():void{ var _local1:XMLFeedItem; scrolling = true; for each (_local1 in items) { _local1.visible = true; }; } private function onMouseClick(_arg1:MouseEvent):void{ if (isOpen){ isOpen = false; close(); Tweener.addTween(background, {width:38, x:544, time:0.5, transition:"easeOutExpo"}); Tweener.addTween(icon, {x:564, time:0.5, transition:"easeOutExpo"}); } else { isOpen = true; Tweener.addTween(background, {width:302, x:280, time:0.5, transition:"easeOutExpo"}); Tweener.addTween(icon, {x:304, time:0.5, transition:"easeOutExpo", onComplete:initScroll()}); }; } private function close():void{ var _local1:XMLFeedItem; scrolling = false; for each (_local1 in items) { _local1.visible = false; }; } private function onEnterFrame(_arg1:Event):void{ var _local2:XMLFeedItem; if (scrolling){ for each (_local2 in items) { _local2.x--; if (_local2.x < 100){ _local2.x = totalWidth; }; }; }; } } }//package drimlike.xml
Section 51
//XMLFeed_XMLFeedButton (drimlike.xml.XMLFeed_XMLFeedButton) package drimlike.xml { import mx.core.*; public class XMLFeed_XMLFeedButton extends SpriteAsset { } }//package drimlike.xml
Section 52
//XMLFeed_XMLFeedHighlight (drimlike.xml.XMLFeed_XMLFeedHighlight) package drimlike.xml { import mx.core.*; public class XMLFeed_XMLFeedHighlight extends MovieClipAsset { } }//package drimlike.xml
Section 53
//XMLFeed_XMLFeedIcon (drimlike.xml.XMLFeed_XMLFeedIcon) package drimlike.xml { import mx.core.*; public class XMLFeed_XMLFeedIcon extends MovieClipAsset { } }//package drimlike.xml
Section 54
//XMLFeed_XMLFeedMask (drimlike.xml.XMLFeed_XMLFeedMask) package drimlike.xml { import mx.core.*; public class XMLFeed_XMLFeedMask extends SpriteAsset { } }//package drimlike.xml
Section 55
//XMLFeedItem (drimlike.xml.XMLFeedItem) package drimlike.xml { import flash.events.*; import drimlike.data.*; import flash.display.*; import flash.net.*; import flash.text.*; import caurina.transitions.*; public class XMLFeedItem extends Sprite { private var link:String; private var textField:TextField; private var text:String; private var background:Sprite; private var highlightSprite:Sprite; public function XMLFeedItem(_arg1:String, _arg2:String){ link = _arg1; text = _arg2; addEventListener(Event.ADDED_TO_STAGE, init); } private function onMouseClick(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(link), "_blank"); } private function onRollOut(_arg1:MouseEvent):void{ Engine.getInstance().xmlFeed.scrolling = true; Tweener.addTween(highlightSprite, {_color:0xFFFFFF, y:20, time:1, height:1, y:(highlightSprite.y + 5), transition:"easeOutExpo"}); } private function init(_arg1:Event):void{ background = new Sprite(); addChild(background); highlightSprite = new Sprite(); addChild(highlightSprite); var _local2:TextFormat = new TextFormat(); _local2.bold = true; _local2.font = "Trebuchet MS"; _local2.size = 12; var _local3:TextField = new TextField(); _local3.defaultTextFormat = _local2; _local3.text = text; _local3.autoSize = TextFieldAutoSize.LEFT; _local3.x = 0; _local3.y = 0; _local3.selectable = false; _local3.mouseEnabled = false; _local3.cacheAsBitmap = true; addChild(_local3); background.graphics.beginFill(0xFFFFFF, 0); background.graphics.drawRect(0, 0, _local3.width, _local3.height); background.graphics.endFill(); background.addEventListener(MouseEvent.CLICK, onMouseClick); background.addEventListener(MouseEvent.ROLL_OVER, onRollOver); background.addEventListener(MouseEvent.ROLL_OUT, onRollOut); background.buttonMode = true; background.useHandCursor = true; highlightSprite.mouseChildren = false; highlightSprite.mouseEnabled = false; highlightSprite.graphics.beginFill(0xFFFFFF, 1); highlightSprite.graphics.drawRect(0, 0, _local3.width, 1); highlightSprite.graphics.endFill(); highlightSprite.y = 20; } private function onRollOver(_arg1:MouseEvent):void{ Engine.getInstance().xmlFeed.scrolling = false; Tweener.addTween(highlightSprite, {_color:9503365, y:18, time:1, height:2, transition:"easeOutExpo"}); } } }//package drimlike.xml
Section 56
//XMLRotator (drimlike.xml.XMLRotator) package drimlike.xml { import flash.events.*; import drimlike.data.*; import flash.display.*; import flash.utils.*; import flash.net.*; import caurina.transitions.*; import flash.filters.*; import flash.system.*; public class XMLRotator extends Sprite { private var items:Array; private var XMLRotatorGirls:Class; private var timer:Timer; private var homepage:String; private var XMLRotatorBackground:Class; private var XMLRotatorButtonHighlight:Class; private var isOpen:Boolean;// = false private var leftButton:XMLRotatorButtonLeft; private var urlRequest:URLRequest; private var totalWidth:Number; private var blink:Sprite; private var rotatorGirls:Sprite; private var background:Sprite; private var itemsXML:XMLList; private var scrollSprite:Sprite; public var isScrolling:Boolean;// = true private var counter:int; private var rightButton:XMLRotatorButtonRight; public function XMLRotator(){ XMLRotatorBackground = XMLRotator_XMLRotatorBackground; XMLRotatorButtonHighlight = XMLRotator_XMLRotatorButtonHighlight; XMLRotatorGirls = XMLRotator_XMLRotatorGirls; super(); this.visible = false; init(); } public function activate():void{ } private function initScroll():void{ var _local3:Boolean; var _local4:String; var _local5:DropShadowFilter; var _local6:LocalConnection; var _local7:String; var _local8:int; var _local9:String; var _local10:String; var _local11:Number; var _local12:XMLRotatorItem; var _local1:Array = new Array("jeux2filles.fr", "juegosxachicas.com", "mygames4girls.de", "mygames4girls.com", "drimlike.com"); var _local2:String = Engine.getInstance().sandbox.loaderInfo.url; for each (_local4 in _local1) { _local9 = _local4.toLowerCase(); _local10 = _local2.toLowerCase(); _local11 = _local10.indexOf(_local9, 0); if (_local11 != -1){ _local3 = true; }; }; _local5 = new DropShadowFilter(); _local5.alpha = 50; _local5.blurX = 5; _local5.blurY = 5; _local5.color = 0; _local5.distance = 0; _local5.quality = BitmapFilterQuality.LOW; this.filters = new Array(_local5); _local6 = new LocalConnection(); _local7 = _local6.domain; _local8 = 0; while (_local8 < itemsXML.length()) { if (_local3){ _local12 = new XMLRotatorItem(String(homepage), String(itemsXML[_local8].@src)); } else { _local12 = new XMLRotatorItem(String(((((itemsXML[_local8].@linkURL + "?utm_source=") + _local7) + "&utm_medium=our_games&utm_campaign=") + Engine.getInstance().TRACKING_KEY)), String(itemsXML[_local8].@src)); }; addChild(_local12); items.push(_local12); _local8++; }; leftButton = new XMLRotatorButtonLeft(); leftButton.cacheAsBitmap = true; leftButton.x = -95; leftButton.addEventListener(MouseEvent.CLICK, goBackOne); addChild(leftButton); rightButton = new XMLRotatorButtonRight(); rightButton.cacheAsBitmap = true; rightButton.addEventListener(MouseEvent.CLICK, goForwardOne); rightButton.x = 95; addChild(rightButton); background = (new XMLRotatorBackground() as Sprite); background.mouseEnabled = false; background.cacheAsBitmap = true; background.mouseChildren = false; addChildAt(background, 0); rotatorGirls = (new XMLRotatorGirls() as Sprite); rotatorGirls.alpha = 0; addChildAt(rotatorGirls, 0); Tweener.addTween(rotatorGirls, {y:-100, alpha:1, time:0.5, transition:"easeOutExpo"}); counter = 0; if (timer == null){ timer = new Timer(2500); timer.addEventListener(TimerEvent.TIMER, onTimer); timer.start(); }; } private function init():void{ items = new Array(); switch (Capabilities.language){ default: urlRequest = new URLRequest("http://www.mygames4girls.com/games.xml"); homepage = "http://www.mygames4girls.com"; break; case "de": urlRequest = new URLRequest("http://www.mygames4girls.de/games.xml"); homepage = "http://www.mygames4girls.de"; break; case "es": urlRequest = new URLRequest("http://www.juegosxachicas.com/games.xml"); homepage = "http://www.juegosxachicas.com"; break; case "fr": urlRequest = new URLRequest("http://www.jeux2filles.fr/games.xml"); homepage = "http://www.jeux2filles.fr"; break; }; var _local1:URLLoader = new URLLoader(); _local1.addEventListener(Event.COMPLETE, onXMLComplete); _local1.addEventListener(IOErrorEvent.IO_ERROR, onError); _local1.load(urlRequest); } private function onXMLComplete(_arg1:Event):void{ var _local2:XML = XML(URLLoader(_arg1.target).data); itemsXML = XMLList(_local2.data.item); if (_local2.options.xmlImageEnabled == 1){ this.visible = true; initScroll(); }; } private function close():void{ var _local1:XMLFeedItem; for each (_local1 in items) { _local1.visible = false; }; } private function onTimer(_arg1:TimerEvent):void{ if (isScrolling){ goForwardOne(); }; } private function onError(_arg1:IOErrorEvent):void{ var _local2:URLLoader; if (urlRequest.url == "http://www.mygames4girls.de/games.xml"){ urlRequest = new URLRequest("http://www.mygames4girls.com/games.xml"); _local2 = new URLLoader(); _local2.addEventListener(Event.COMPLETE, onXMLComplete); _local2.addEventListener(IOErrorEvent.IO_ERROR, onError); _local2.load(urlRequest); } else { return; }; } private function goForwardOne(_arg1:MouseEvent=null):void{ var e = _arg1; timer.stop(); counter++; if (counter == items.length){ counter = 0; }; try { setChildIndex(items[counter], (numChildren - 1)); } catch(e) { }; XMLRotatorItem(items[counter]).DoFlash(); timer.start(); } public function deactivate():void{ } private function goBackOne(_arg1:MouseEvent):void{ timer.stop(); counter--; if (counter < 0){ counter = (items.length - 1); }; setChildIndex(items[counter], (numChildren - 1)); XMLRotatorItem(items[counter]).DoFlash(); timer.start(); } } }//package drimlike.xml
Section 57
//XMLRotator_XMLRotatorBackground (drimlike.xml.XMLRotator_XMLRotatorBackground) package drimlike.xml { import mx.core.*; public class XMLRotator_XMLRotatorBackground extends SpriteAsset { } }//package drimlike.xml
Section 58
//XMLRotator_XMLRotatorButtonHighlight (drimlike.xml.XMLRotator_XMLRotatorButtonHighlight) package drimlike.xml { import mx.core.*; public class XMLRotator_XMLRotatorButtonHighlight extends SpriteAsset { } }//package drimlike.xml
Section 59
//XMLRotator_XMLRotatorGirls (drimlike.xml.XMLRotator_XMLRotatorGirls) package drimlike.xml { import mx.core.*; public class XMLRotator_XMLRotatorGirls extends SpriteAsset { } }//package drimlike.xml
Section 60
//XMLRotatorButtonLeft (drimlike.xml.XMLRotatorButtonLeft) package drimlike.xml { import flash.events.*; import flash.display.*; import caurina.transitions.*; public class XMLRotatorButtonLeft extends Sprite { private var button:Sprite; private var highlight:Sprite; private var XMLRotatorButtonHighlight:Class; private var XMLRotatorLeft:Class; public function XMLRotatorButtonLeft(){ XMLRotatorLeft = XMLRotatorButtonLeft_XMLRotatorLeft; XMLRotatorButtonHighlight = XMLRotatorButtonLeft_XMLRotatorButtonHighlight; super(); addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ highlight = (new XMLRotatorButtonHighlight() as Sprite); highlight.mouseEnabled = false; highlight.mouseChildren = false; addChild(highlight); button = (new XMLRotatorLeft() as Sprite); addChild(button); this.buttonMode = true; this.useHandCursor = true; this.addEventListener(MouseEvent.ROLL_OUT, onRollOut); this.addEventListener(MouseEvent.ROLL_OVER, onRollOver); } private function onRollOver(_arg1:MouseEvent):void{ Tweener.addTween(highlight, {_color:9503365, time:1}); } private function onRollOut(_arg1:MouseEvent):void{ Tweener.addTween(highlight, {_color:0xCCCCCC, time:1}); } } }//package drimlike.xml
Section 61
//XMLRotatorButtonLeft_XMLRotatorButtonHighlight (drimlike.xml.XMLRotatorButtonLeft_XMLRotatorButtonHighlight) package drimlike.xml { import mx.core.*; public class XMLRotatorButtonLeft_XMLRotatorButtonHighlight extends SpriteAsset { } }//package drimlike.xml
Section 62
//XMLRotatorButtonLeft_XMLRotatorLeft (drimlike.xml.XMLRotatorButtonLeft_XMLRotatorLeft) package drimlike.xml { import mx.core.*; public class XMLRotatorButtonLeft_XMLRotatorLeft extends SpriteAsset { } }//package drimlike.xml
Section 63
//XMLRotatorButtonRight (drimlike.xml.XMLRotatorButtonRight) package drimlike.xml { import flash.events.*; import flash.display.*; import caurina.transitions.*; public class XMLRotatorButtonRight extends Sprite { private var button:Sprite; private var highlight:Sprite; private var XMLRotatorRight:Class; private var XMLRotatorButtonHighlight:Class; public function XMLRotatorButtonRight(){ XMLRotatorRight = XMLRotatorButtonRight_XMLRotatorRight; XMLRotatorButtonHighlight = XMLRotatorButtonRight_XMLRotatorButtonHighlight; super(); addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ highlight = (new XMLRotatorButtonHighlight() as Sprite); highlight.mouseEnabled = false; highlight.mouseChildren = false; addChild(highlight); button = (new XMLRotatorRight() as Sprite); addChild(button); this.buttonMode = true; this.useHandCursor = true; this.addEventListener(MouseEvent.ROLL_OUT, onRollOut); this.addEventListener(MouseEvent.ROLL_OVER, onRollOver); } private function onRollOver(_arg1:MouseEvent):void{ Tweener.addTween(highlight, {_color:9503365, time:1}); } private function onRollOut(_arg1:MouseEvent):void{ Tweener.addTween(highlight, {_color:0xCCCCCC, time:1}); } } }//package drimlike.xml
Section 64
//XMLRotatorButtonRight_XMLRotatorButtonHighlight (drimlike.xml.XMLRotatorButtonRight_XMLRotatorButtonHighlight) package drimlike.xml { import mx.core.*; public class XMLRotatorButtonRight_XMLRotatorButtonHighlight extends SpriteAsset { } }//package drimlike.xml
Section 65
//XMLRotatorButtonRight_XMLRotatorRight (drimlike.xml.XMLRotatorButtonRight_XMLRotatorRight) package drimlike.xml { import mx.core.*; public class XMLRotatorButtonRight_XMLRotatorRight extends SpriteAsset { } }//package drimlike.xml
Section 66
//XMLRotatorItem (drimlike.xml.XMLRotatorItem) package drimlike.xml { import flash.events.*; import drimlike.data.*; import flash.display.*; import flash.net.*; import caurina.transitions.*; public class XMLRotatorItem extends Sprite { private var maskMC:MovieClip; private var background:Sprite; private var XMLRotatorMask:Class; private var loader:Loader; private var imageURL:String; private var linkURL:String; private var image:Bitmap; private var flasher:Sprite; public function XMLRotatorItem(_arg1:String, _arg2:String){ XMLRotatorMask = XMLRotatorItem_XMLRotatorMask; super(); linkURL = _arg1; imageURL = _arg2; addEventListener(Event.ADDED_TO_STAGE, init); } public function DoFlash():void{ if (flasher){ flasher.alpha = 1; Tweener.addTween(flasher, {alpha:0, time:0.5}); }; } private function onMouseClick(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(linkURL), "_blank"); } private function onImageComplete(_arg1:Event):void{ trace("on image complete"); image = Bitmap(loader.content); image.x = 3; image.y = 4; addChild(image); background = new Sprite(); background.x = 3; background.y = 4; background.graphics.lineStyle(4, 11121335, 1); background.graphics.beginFill(0xFFFFFF, 0); background.graphics.drawRect(0, 0, image.width, image.height); background.graphics.endFill(); background.buttonMode = true; background.useHandCursor = true; background.addEventListener(MouseEvent.CLICK, onMouseClick); background.addEventListener(MouseEvent.ROLL_OVER, onMouseFlash); background.addEventListener(MouseEvent.ROLL_OUT, onMouseFlashOut); addChildAt(background, 0); flasher = new Sprite(); flasher.x = 3; flasher.y = 4; flasher.graphics.beginFill(0xFFFFFF, 1); flasher.graphics.drawRect(0, 0, image.width, image.height); flasher.graphics.endFill(); flasher.alpha = 0; flasher.mouseChildren = false; flasher.mouseEnabled = false; addChild(flasher); maskMC = (new XMLRotatorMask() as MovieClip); maskMC.x = ((image.x + (image.width / 2)) + 1); maskMC.y = ((image.y + (image.height / 2)) + 2); maskMC.mouseEnabled = false; maskMC.mouseChildren = false; maskMC.gotoAndStop(0); addChild(maskMC); this.x = (-(background.width) / 2); this.y = (-(background.height) / 2); } private function init(_arg1:Event):void{ loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onImageComplete); loader.load(new URLRequest(imageURL)); } public function onMouseFlash(_arg1:MouseEvent):void{ var e = _arg1; try { Engine.getInstance().imageFeed.isScrolling = false; maskMC.gotoAndPlay(0); } catch(e:Error) { }; } public function onMouseFlashOut(_arg1:MouseEvent):void{ Engine.getInstance().imageFeed.isScrolling = true; maskMC.gotoAndStop(0); } } }//package drimlike.xml
Section 67
//XMLRotatorItem_XMLRotatorMask (drimlike.xml.XMLRotatorItem_XMLRotatorMask) package drimlike.xml { import mx.core.*; public class XMLRotatorItem_XMLRotatorMask extends MovieClipAsset { } }//package drimlike.xml
Section 68
//FpsCounter (General.FpsCounter) package General { import flash.display.*; import flash.utils.*; import flash.text.*; import flash.system.*; public class FpsCounter extends Sprite { private var avgCount2:int;// = 30 private var oldT:uint; private var mfpsCount:int;// = 0 private var textBox2:TextField; private var textBox3:TextField; private var avgCount:int;// = 30 private var textBox:TextField; private var mfpsCount2:int;// = 0 public function FpsCounter(){ textBox = new TextField(); textBox.text = "..."; textBox.textColor = 11145540; textBox.selectable = false; textBox2 = new TextField(); textBox2.text = "..."; textBox2.width = 150; textBox2.textColor = 11145540; textBox2.selectable = false; textBox2.y = 15; textBox3 = new TextField(); textBox3.text = "..."; textBox3.textColor = 11145540; textBox3.selectable = false; textBox3.y = 30; oldT = getTimer(); addChild(textBox); addChild(textBox2); addChild(textBox3); } public function update():void{ var _local1:uint = getTimer(); var _local2:uint = (_local1 - oldT); mfpsCount = (mfpsCount + _local2); if (avgCount < 1){ textBox.text = String((Math.round((1000 / (mfpsCount / 30))) + " fps average")); avgCount = 30; mfpsCount = 0; }; avgCount--; oldT = getTimer(); textBox3.text = (Math.round((System.totalMemory / (0x0400 * 0x0400))) + " MB used"); } public function updateEnd():void{ } public function updatePhys(_arg1:uint):void{ var _local2:uint = getTimer(); var _local3:uint = (_local2 - _arg1); mfpsCount2 = (mfpsCount2 + _local3); if (avgCount2 < 1){ textBox2.text = String((((("Physics step: " + Math.round((mfpsCount2 / 30))) + " ms (") + Math.round((1000 / (mfpsCount2 / 30)))) + " fps)")); avgCount2 = 30; mfpsCount2 = 0; }; avgCount2--; } } }//package General
Section 69
//FRateLimiter (General.FRateLimiter) package General { import flash.utils.*; public class FRateLimiter { private static var newT:uint = oldT; private static var oldT:uint = getTimer(); public static function limitFrame(_arg1:uint):void{ var _local2:uint = (1000 / _arg1); while (Math.abs((newT - oldT)) < _local2) { newT = getTimer(); }; oldT = getTimer(); } } }//package General
Section 70
//SadBlinkAsset_72 (library_fla.SadBlinkAsset_72) package library_fla { import flash.display.*; public dynamic class SadBlinkAsset_72 extends MovieClip { public var ran:int; public function SadBlinkAsset_72(){ addFrameScript(0, this.frame1, 59, this.frame60); } function frame60(){ this.ran = (Math.random() * 40); gotoAndPlay(this.ran); } function frame1(){ stop(); } } }//package library_fla
Section 71
//SadFingerTapAsset_73 (library_fla.SadFingerTapAsset_73) package library_fla { import flash.display.*; public dynamic class SadFingerTapAsset_73 extends MovieClip { public var ran:int; public function SadFingerTapAsset_73(){ addFrameScript(0, this.frame1, 90, this.frame91); } function frame1(){ stop(); } function frame91(){ this.ran = 2; gotoAndPlay(this.ran); } } }//package library_fla
Section 72
//SadSleepAsset_77 (library_fla.SadSleepAsset_77) package library_fla { import flash.display.*; public dynamic class SadSleepAsset_77 extends MovieClip { public var ran:int; public function SadSleepAsset_77(){ addFrameScript(0, this.frame1, 191, this.frame192); } function frame1(){ stop(); } function frame192(){ this.ran = 90; gotoAndPlay(this.ran); } } }//package library_fla
Section 73
//EdgeMetrics (mx.core.EdgeMetrics) package mx.core { public class EdgeMetrics { public var top:Number; public var left:Number; public var bottom:Number; public var right:Number; mx_internal static const VERSION:String = "3.2.0.3958"; public static const EMPTY:EdgeMetrics = new EdgeMetrics(0, 0, 0, 0); ; public function EdgeMetrics(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0){ this.left = _arg1; this.top = _arg2; this.right = _arg3; this.bottom = _arg4; } public function clone():EdgeMetrics{ return (new EdgeMetrics(left, top, right, bottom)); } } }//package mx.core
Section 74
//FlexMovieClip (mx.core.FlexMovieClip) package mx.core { import flash.display.*; import mx.utils.*; public class FlexMovieClip extends MovieClip { mx_internal static const VERSION:String = "3.2.0.3958"; public function FlexMovieClip(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 75
//FlexSprite (mx.core.FlexSprite) package mx.core { import flash.display.*; import mx.utils.*; public class FlexSprite extends Sprite { mx_internal static const VERSION:String = "3.2.0.3958"; public function FlexSprite(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 76
//IBorder (mx.core.IBorder) package mx.core { public interface IBorder { function get borderMetrics():EdgeMetrics; } }//package mx.core
Section 77
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 78
//IFlexDisplayObject (mx.core.IFlexDisplayObject) package mx.core { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.accessibility.*; public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher { function get visible():Boolean; function get rotation():Number; function localToGlobal(_arg1:Point):Point; function get name():String; function set width(_arg1:Number):void; function get measuredHeight():Number; function get blendMode():String; function get scale9Grid():Rectangle; function set name(_arg1:String):void; function set scaleX(_arg1:Number):void; function set scaleY(_arg1:Number):void; function get measuredWidth():Number; function get accessibilityProperties():AccessibilityProperties; function set scrollRect(_arg1:Rectangle):void; function get cacheAsBitmap():Boolean; function globalToLocal(_arg1:Point):Point; function get height():Number; function set blendMode(_arg1:String):void; function get parent():DisplayObjectContainer; function getBounds(_arg1:DisplayObject):Rectangle; function get opaqueBackground():Object; function set scale9Grid(_arg1:Rectangle):void; function setActualSize(_arg1:Number, _arg2:Number):void; function set alpha(_arg1:Number):void; function set accessibilityProperties(_arg1:AccessibilityProperties):void; function get width():Number; function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean; function set cacheAsBitmap(_arg1:Boolean):void; function get scaleX():Number; function get scaleY():Number; function get scrollRect():Rectangle; function get mouseX():Number; function get mouseY():Number; function set height(_arg1:Number):void; function set mask(_arg1:DisplayObject):void; function getRect(_arg1:DisplayObject):Rectangle; function get alpha():Number; function set transform(_arg1:Transform):void; function move(_arg1:Number, _arg2:Number):void; function get loaderInfo():LoaderInfo; function get root():DisplayObject; function hitTestObject(_arg1:DisplayObject):Boolean; function set opaqueBackground(_arg1:Object):void; function set visible(_arg1:Boolean):void; function get mask():DisplayObject; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function get transform():Transform; function set filters(_arg1:Array):void; function get x():Number; function get y():Number; function get filters():Array; function set rotation(_arg1:Number):void; function get stage():Stage; } }//package mx.core
Section 79
//IRepeaterClient (mx.core.IRepeaterClient) package mx.core { public interface IRepeaterClient { function get instanceIndices():Array; function set instanceIndices(_arg1:Array):void; function get isDocument():Boolean; function set repeaters(_arg1:Array):void; function initializeRepeaterArrays(_arg1:IRepeaterClient):void; function get repeaters():Array; function set repeaterIndices(_arg1:Array):void; function get repeaterIndices():Array; } }//package mx.core
Section 80
//MovieClipAsset (mx.core.MovieClipAsset) package mx.core { public class MovieClipAsset extends FlexMovieClip implements IFlexAsset, IFlexDisplayObject, IBorder { private var _measuredHeight:Number; private var _measuredWidth:Number; mx_internal static const VERSION:String = "3.2.0.3958"; public function MovieClipAsset(){ _measuredWidth = width; _measuredHeight = height; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get measuredHeight():Number{ return (_measuredHeight); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get borderMetrics():EdgeMetrics{ if (scale9Grid == null){ return (EdgeMetrics.EMPTY); }; return (new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil((measuredWidth - scale9Grid.right)), Math.ceil((measuredHeight - scale9Grid.bottom)))); } } }//package mx.core
Section 81
//mx_internal (mx.core.mx_internal) package mx.core { public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal"; }//package mx.core
Section 82
//SoundAsset (mx.core.SoundAsset) package mx.core { import flash.media.*; public class SoundAsset extends Sound implements IFlexAsset { mx_internal static const VERSION:String = "3.2.0.3958"; } }//package mx.core
Section 83
//SpriteAsset (mx.core.SpriteAsset) package mx.core { public class SpriteAsset extends FlexSprite implements IFlexAsset, IFlexDisplayObject, IBorder { private var _measuredHeight:Number; private var _measuredWidth:Number; mx_internal static const VERSION:String = "3.2.0.3958"; public function SpriteAsset(){ _measuredWidth = width; _measuredHeight = height; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get measuredHeight():Number{ return (_measuredHeight); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get borderMetrics():EdgeMetrics{ if (scale9Grid == null){ return (EdgeMetrics.EMPTY); }; return (new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil((measuredWidth - scale9Grid.right)), Math.ceil((measuredHeight - scale9Grid.bottom)))); } } }//package mx.core
Section 84
//NameUtil (mx.utils.NameUtil) package mx.utils { import mx.core.*; import flash.display.*; import flash.utils.*; public class NameUtil { mx_internal static const VERSION:String = "3.2.0.3958"; private static var counter:int = 0; public static function displayObjectToString(_arg1:DisplayObject):String{ var result:String; var o:DisplayObject; var s:String; var indices:Array; var displayObject = _arg1; try { o = displayObject; while (o != null) { if (((((o.parent) && (o.stage))) && ((o.parent == o.stage)))){ break; }; s = o.name; if ((o is IRepeaterClient)){ indices = IRepeaterClient(o).instanceIndices; if (indices){ s = (s + (("[" + indices.join("][")) + "]")); }; }; result = ((result == null)) ? s : ((s + ".") + result); o = o.parent; }; } catch(e:SecurityError) { }; return (result); } public static function createUniqueName(_arg1:Object):String{ if (!_arg1){ return (null); }; var _local2:String = getQualifiedClassName(_arg1); var _local3:int = _local2.indexOf("::"); if (_local3 != -1){ _local2 = _local2.substr((_local3 + 2)); }; var _local4:int = _local2.charCodeAt((_local2.length - 1)); if ((((_local4 >= 48)) && ((_local4 <= 57)))){ _local2 = (_local2 + "_"); }; return ((_local2 + counter++)); } } }//package mx.utils
Section 85
//Action (org.flintparticles.common.actions.Action) package org.flintparticles.common.actions { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; public interface Action { function update(_arg1:Emitter, _arg2:Particle, _arg3:Number):void; function addedToEmitter(_arg1:Emitter):void; function removedFromEmitter(_arg1:Emitter):void; function getDefaultPriority():Number; } }//package org.flintparticles.common.actions
Section 86
//ActionBase (org.flintparticles.common.actions.ActionBase) package org.flintparticles.common.actions { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; public class ActionBase implements Action { public function addedToEmitter(_arg1:Emitter):void{ } public function removedFromEmitter(_arg1:Emitter):void{ } public function getDefaultPriority():Number{ return (0); } public function update(_arg1:Emitter, _arg2:Particle, _arg3:Number):void{ } } }//package org.flintparticles.common.actions
Section 87
//Age (org.flintparticles.common.actions.Age) package org.flintparticles.common.actions { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.common.energyEasing.*; public class Age extends ActionBase { private var _easing:Function; public function Age(_arg1:Function=null){ if (_arg1 == null){ _easing = Linear.easeNone; } else { _easing = _arg1; }; } public function set easing(_arg1:Function):void{ _easing = _arg1; } override public function update(_arg1:Emitter, _arg2:Particle, _arg3:Number):void{ _arg2.age = (_arg2.age + _arg3); if (_arg2.age >= _arg2.lifetime){ _arg2.energy = 0; _arg2.isDead = true; } else { _arg2.energy = _easing(_arg2.age, _arg2.lifetime); }; } public function get easing():Function{ return (_easing); } } }//package org.flintparticles.common.actions
Section 88
//Activity (org.flintparticles.common.activities.Activity) package org.flintparticles.common.activities { import org.flintparticles.common.emitters.*; public interface Activity { function initialize(_arg1:Emitter):void; function removedFromEmitter(_arg1:Emitter):void; function update(_arg1:Emitter, _arg2:Number):void; function addedToEmitter(_arg1:Emitter):void; function getDefaultPriority():Number; } }//package org.flintparticles.common.activities
Section 89
//ActivityBase (org.flintparticles.common.activities.ActivityBase) package org.flintparticles.common.activities { import org.flintparticles.common.emitters.*; public class ActivityBase implements Activity { public function initialize(_arg1:Emitter):void{ } public function addedToEmitter(_arg1:Emitter):void{ } public function removedFromEmitter(_arg1:Emitter):void{ } public function getDefaultPriority():Number{ return (0); } public function update(_arg1:Emitter, _arg2:Number):void{ } } }//package org.flintparticles.common.activities
Section 90
//FrameUpdatable (org.flintparticles.common.activities.FrameUpdatable) package org.flintparticles.common.activities { import org.flintparticles.common.emitters.*; public interface FrameUpdatable { function frameUpdate(_arg1:Emitter, _arg2:Number):void; } }//package org.flintparticles.common.activities
Section 91
//UpdateOnFrame (org.flintparticles.common.activities.UpdateOnFrame) package org.flintparticles.common.activities { import org.flintparticles.common.emitters.*; public class UpdateOnFrame extends ActivityBase { private var action:FrameUpdatable; public function UpdateOnFrame(_arg1:FrameUpdatable){ action = _arg1; } override public function update(_arg1:Emitter, _arg2:Number):void{ action.frameUpdate(_arg1, _arg2); } } }//package org.flintparticles.common.activities
Section 92
//Blast (org.flintparticles.common.counters.Blast) package org.flintparticles.common.counters { import org.flintparticles.common.emitters.*; public class Blast implements Counter { private var _startCount:uint; public function Blast(_arg1:uint){ _startCount = _arg1; } public function stop():void{ } public function updateEmitter(_arg1:Emitter, _arg2:Number):uint{ return (0); } public function startEmitter(_arg1:Emitter):uint{ return (_startCount); } public function resume():void{ } public function set startCount(_arg1:Number):void{ _startCount = _arg1; } public function get startCount():Number{ return (_startCount); } } }//package org.flintparticles.common.counters
Section 93
//Counter (org.flintparticles.common.counters.Counter) package org.flintparticles.common.counters { import org.flintparticles.common.emitters.*; public interface Counter { function stop():void; function startEmitter(_arg1:Emitter):uint; function updateEmitter(_arg1:Emitter, _arg2:Number):uint; function resume():void; } }//package org.flintparticles.common.counters
Section 94
//Steady (org.flintparticles.common.counters.Steady) package org.flintparticles.common.counters { import org.flintparticles.common.emitters.*; public class Steady implements Counter { private var _stop:Boolean; private var _rateInv:Number; private var _timeToNext:Number; private var _rate:Number; public function Steady(_arg1:Number){ _stop = false; _rate = _arg1; _rateInv = (1 / _rate); } public function get rate():Number{ return (_rate); } public function updateEmitter(_arg1:Emitter, _arg2:Number):uint{ if (_stop){ return (0); }; var _local3:uint; _timeToNext = (_timeToNext - _arg2); while (_timeToNext <= 0) { _local3++; _timeToNext = (_timeToNext + _rateInv); }; return (_local3); } public function set rate(_arg1:Number):void{ _rate = _arg1; _rateInv = (1 / _arg1); } public function stop():void{ _stop = true; } public function startEmitter(_arg1:Emitter):uint{ _timeToNext = _rateInv; return (0); } public function resume():void{ _stop = false; } } }//package org.flintparticles.common.counters
Section 95
//ZeroCounter (org.flintparticles.common.counters.ZeroCounter) package org.flintparticles.common.counters { import org.flintparticles.common.emitters.*; public class ZeroCounter implements Counter { public function stop():void{ } public function updateEmitter(_arg1:Emitter, _arg2:Number):uint{ return (0); } public function startEmitter(_arg1:Emitter):uint{ return (0); } public function resume():void{ } } }//package org.flintparticles.common.counters
Section 96
//Emitter (org.flintparticles.common.emitters.Emitter) package org.flintparticles.common.emitters { import flash.events.*; import org.flintparticles.common.particles.*; import org.flintparticles.common.initializers.*; import org.flintparticles.common.actions.*; import org.flintparticles.common.activities.*; import org.flintparticles.common.counters.*; import org.flintparticles.common.events.*; import org.flintparticles.common.utils.*; public class Emitter extends EventDispatcher { protected var _running:Boolean;// = false protected var _activities:PriorityArray; protected var _particles:Array; protected var _initializers:PriorityArray; protected var _counter:Counter; protected var _started:Boolean;// = false protected var _actions:PriorityArray; protected var _useInternalTick:Boolean;// = true protected var _particleFactory:ParticleFactory; protected var _fixedFrameTime:Number;// = 0 protected var _maximumFrameTime:Number;// = 0.1 public function Emitter(){ _particles = new Array(); _actions = new PriorityArray(); _initializers = new PriorityArray(); _activities = new PriorityArray(); _counter = new ZeroCounter(); } public function addInitializer(_arg1:Initializer, _arg2:Number=NaN):void{ if (isNaN(_arg2)){ _arg2 = _arg1.getDefaultPriority(); }; _initializers.add(_arg1, _arg2); _arg1.addedToEmitter(this); } public function stop():void{ if (_useInternalTick){ FrameUpdater.instance.removeEventListener(UpdateEvent.UPDATE, updateEventListener); }; _started = false; killAllParticles(); } public function killAllParticles():void{ var _local1:int = _particles.length; var _local2:int; while (_local2 < _local1) { dispatchEvent(new ParticleEvent(ParticleEvent.PARTICLE_DEAD, _particles[_local2])); _particleFactory.disposeParticle(_particles[_local2]); _local2++; }; _particles.length = 0; } public function set fixedFrameTime(_arg1:Number):void{ _fixedFrameTime = _arg1; } public function get maximumFrameTime():Number{ return (_maximumFrameTime); } public function get useInternalTick():Boolean{ return (_useInternalTick); } protected function createParticle():Particle{ var _local1:Particle = _particleFactory.createParticle(); var _local2:int = _initializers.length; initParticle(_local1); var _local3:int; while (_local3 < _local2) { _initializers[_local3].initialize(this, _local1); _local3++; }; _particles.push(_local1); dispatchEvent(new ParticleEvent(ParticleEvent.PARTICLE_CREATED, _local1)); return (_local1); } public function get particleFactory():ParticleFactory{ return (_particleFactory); } private function updateEventListener(_arg1:UpdateEvent):void{ if (_fixedFrameTime){ update(_fixedFrameTime); } else { update(_arg1.time); }; } public function get particles():Array{ return (_particles); } protected function sortParticles():void{ } public function removeActivity(_arg1:Activity):void{ if (_activities.remove(_arg1)){ _arg1.removedFromEmitter(this); }; } public function set maximumFrameTime(_arg1:Number):void{ _maximumFrameTime = _arg1; } protected function initParticle(_arg1:Particle):void{ } public function addAction(_arg1:Action, _arg2:Number=NaN):void{ if (isNaN(_arg2)){ _arg2 = _arg1.getDefaultPriority(); }; _actions.add(_arg1, _arg2); _arg1.addedToEmitter(this); } public function hasInitializerOfType(_arg1:Class):Boolean{ var _local2:uint = _initializers.length; var _local3:uint; while (_local3 < _local2) { if ((_initializers[_local3] is _arg1)){ return (true); }; _local3++; }; return (false); } public function resume():void{ _running = true; } public function removeInitializer(_arg1:Initializer):void{ if (_initializers.remove(_arg1)){ _arg1.removedFromEmitter(this); }; } public function get running():Boolean{ return (_running); } public function hasActionOfType(_arg1:Class):Boolean{ var _local2:uint = _actions.length; var _local3:uint; while (_local3 < _local2) { if ((_actions[_local3] is _arg1)){ return (true); }; _local3++; }; return (false); } public function get fixedFrameTime():Number{ return (_fixedFrameTime); } public function set particleFactory(_arg1:ParticleFactory):void{ _particleFactory = _arg1; } public function hasActivity(_arg1:Activity):Boolean{ return (_activities.contains(_arg1)); } public function addActivity(_arg1:Activity, _arg2:Number=NaN):void{ if (isNaN(_arg2)){ _arg2 = _arg1.getDefaultPriority(); }; _activities.add(_arg1, _arg2); _arg1.addedToEmitter(this); } public function update(_arg1:Number):void{ var _local2:int; var _local3:Particle; var _local5:Action; var _local6:int; var _local7:int; if (!_running){ return; }; if (_arg1 > _maximumFrameTime){ _arg1 = _maximumFrameTime; }; var _local4:int = _counter.updateEmitter(this, _arg1); _local2 = 0; while (_local2 < _local4) { createParticle(); _local2++; }; sortParticles(); _local4 = _activities.length; _local2 = 0; while (_local2 < _local4) { _activities[_local2].update(this, _arg1); _local2++; }; if (_particles.length > 0){ _local4 = _actions.length; _local6 = _particles.length; _local7 = 0; while (_local7 < _local4) { _local5 = _actions[_local7]; _local2 = 0; while (_local2 < _local6) { _local3 = _particles[_local2]; _local5.update(this, _local3, _arg1); _local2++; }; _local7++; }; _local2 = _local6; while (_local2--) { _local3 = _particles[_local2]; if (_local3.isDead){ dispatchEvent(new ParticleEvent(ParticleEvent.PARTICLE_DEAD, _local3)); _particleFactory.disposeParticle(_local3); _particles.splice(_local2, 1); }; }; } else { dispatchEvent(new EmitterEvent(EmitterEvent.EMITTER_EMPTY)); }; dispatchEvent(new EmitterEvent(EmitterEvent.EMITTER_UPDATED)); } public function addExistingParticles(_arg1:Array, _arg2:Boolean=false):void{ var _local4:int; var _local5:int; var _local6:int; var _local3:int = _arg1.length; if (_arg2){ _local5 = _initializers.length; _local6 = 0; while (_local6 < _local5) { _local4 = 0; while (_local4 < _local3) { _initializers[_local6].initialize(this, _arg1[_local4]); _local4++; }; _local6++; }; }; _local4 = 0; while (_local4 < _local3) { _particles.push(_arg1[_local4]); dispatchEvent(new ParticleEvent(ParticleEvent.PARTICLE_ADDED, _arg1[_local4])); _local4++; }; } public function removeAction(_arg1:Action):void{ if (_actions.remove(_arg1)){ _arg1.removedFromEmitter(this); }; } public function hasActivityOfType(_arg1:Class):Boolean{ var _local2:uint = _activities.length; var _local3:uint; while (_local3 < _local2) { if ((_activities[_local3] is _arg1)){ return (true); }; _local3++; }; return (false); } public function set useInternalTick(_arg1:Boolean):void{ if (_useInternalTick != _arg1){ _useInternalTick = _arg1; if (_started){ if (_useInternalTick){ FrameUpdater.instance.addEventListener(UpdateEvent.UPDATE, updateEventListener, false, 0, true); } else { FrameUpdater.instance.removeEventListener(UpdateEvent.UPDATE, updateEventListener); }; }; }; } public function hasInitializer(_arg1:Initializer):Boolean{ return (_initializers.contains(_arg1)); } public function start():void{ if (_useInternalTick){ FrameUpdater.instance.addEventListener(UpdateEvent.UPDATE, updateEventListener, false, 0, true); }; _started = true; _running = true; var _local1:int = _activities.length; var _local2:int; while (_local2 < _local1) { _activities[_local2].initialize(this); _local2++; }; _local1 = _counter.startEmitter(this); _local2 = 0; while (_local2 < _local1) { createParticle(); _local2++; }; } public function hasAction(_arg1:Action):Boolean{ return (_actions.contains(_arg1)); } public function pause():void{ _running = false; } public function set counter(_arg1:Counter):void{ _counter = _arg1; if (running){ _counter.startEmitter(this); }; } public function get counter():Counter{ return (_counter); } public function runAhead(_arg1:Number, _arg2:Number=10):void{ var _local3:Number = _maximumFrameTime; var _local4:Number = (1 / _arg2); _maximumFrameTime = _local4; while (_arg1 > 0) { _arg1 = (_arg1 - _local4); update(_local4); }; _maximumFrameTime = _local3; } } }//package org.flintparticles.common.emitters
Section 97
//Linear (org.flintparticles.common.energyEasing.Linear) package org.flintparticles.common.energyEasing { public class Linear { public static function easeOut(_arg1:Number, _arg2:Number):Number{ return ((1 - (_arg1 / _arg2))); } public static function easeIn(_arg1:Number, _arg2:Number):Number{ return ((1 - (_arg1 / _arg2))); } public static function easeInOut(_arg1:Number, _arg2:Number):Number{ return ((1 - (_arg1 / _arg2))); } public static function easeNone(_arg1:Number, _arg2:Number):Number{ return ((1 - (_arg1 / _arg2))); } } }//package org.flintparticles.common.energyEasing
Section 98
//EmitterEvent (org.flintparticles.common.events.EmitterEvent) package org.flintparticles.common.events { import flash.events.*; public class EmitterEvent extends Event { public static var EMITTER_UPDATED:String = "emitterUpdated"; public static var EMITTER_EMPTY:String = "emitterEmpty"; public function EmitterEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } } }//package org.flintparticles.common.events
Section 99
//ParticleEvent (org.flintparticles.common.events.ParticleEvent) package org.flintparticles.common.events { import flash.events.*; import org.flintparticles.common.particles.*; public class ParticleEvent extends Event { public var particle:Particle; public var otherObject; public static var PARTICLES_COLLISION:String = "particlesCollision"; public static var PARTICLE_ADDED:String = "particleAdded"; public static var PARTICLE_DEAD:String = "particleDead"; public static var PARTICLE_CREATED:String = "particleCreated"; public function ParticleEvent(_arg1:String, _arg2:Particle=null, _arg3:Boolean=false, _arg4:Boolean=false){ super(_arg1, _arg3, _arg4); this.particle = _arg2; } } }//package org.flintparticles.common.events
Section 100
//UpdateEvent (org.flintparticles.common.events.UpdateEvent) package org.flintparticles.common.events { import flash.events.*; public class UpdateEvent extends Event { public var time:Number; public static var UPDATE:String = "update"; public function UpdateEvent(_arg1:String, _arg2:Number=NaN, _arg3:Boolean=false, _arg4:Boolean=false){ super(_arg1, _arg3, _arg4); this.time = _arg2; } } }//package org.flintparticles.common.events
Section 101
//ImageClass (org.flintparticles.common.initializers.ImageClass) package org.flintparticles.common.initializers { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.common.utils.*; public class ImageClass extends InitializerBase { private var _parameters:Array; private var _imageClass:Class; public function ImageClass(_arg1:Class, ... _args){ _imageClass = _arg1; _parameters = _args; } override public function initialize(_arg1:Emitter, _arg2:Particle):void{ _arg2.image = construct(_imageClass, _parameters); } public function get parameters():Array{ return (_parameters); } public function set parameters(_arg1:Array):void{ _parameters = _arg1; } public function set imageClass(_arg1:Class):void{ _imageClass = _arg1; } public function get imageClass():Class{ return (_imageClass); } } }//package org.flintparticles.common.initializers
Section 102
//Initializer (org.flintparticles.common.initializers.Initializer) package org.flintparticles.common.initializers { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; public interface Initializer { function initialize(_arg1:Emitter, _arg2:Particle):void; function addedToEmitter(_arg1:Emitter):void; function removedFromEmitter(_arg1:Emitter):void; function getDefaultPriority():Number; } }//package org.flintparticles.common.initializers
Section 103
//InitializerBase (org.flintparticles.common.initializers.InitializerBase) package org.flintparticles.common.initializers { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; public class InitializerBase implements Initializer { public function initialize(_arg1:Emitter, _arg2:Particle):void{ } public function addedToEmitter(_arg1:Emitter):void{ } public function removedFromEmitter(_arg1:Emitter):void{ } public function getDefaultPriority():Number{ return (0); } } }//package org.flintparticles.common.initializers
Section 104
//Lifetime (org.flintparticles.common.initializers.Lifetime) package org.flintparticles.common.initializers { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; public class Lifetime extends InitializerBase { private var _max:Number; private var _min:Number; public function Lifetime(_arg1:Number, _arg2:Number=NaN){ _max = _arg2; _min = _arg1; } public function get lifetime():Number{ return (((_min == _max)) ? _min : ((_max + _min) * 0.5)); } public function get maxLifetime():Number{ return (_max); } override public function initialize(_arg1:Emitter, _arg2:Particle):void{ if (isNaN(_max)){ _arg2.lifetime = _min; } else { _arg2.lifetime = (_min + (Math.random() * (_max - _min))); }; } public function set lifetime(_arg1:Number):void{ _max = (_min = _arg1); } public function set minLifetime(_arg1:Number):void{ _min = _arg1; } public function set maxLifetime(_arg1:Number):void{ _max = _arg1; } public function get minLifetime():Number{ return (_min); } } }//package org.flintparticles.common.initializers
Section 105
//ScaleImageInit (org.flintparticles.common.initializers.ScaleImageInit) package org.flintparticles.common.initializers { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; public class ScaleImageInit extends InitializerBase { private var _max:Number; private var _min:Number; public function ScaleImageInit(_arg1:Number, _arg2:Number=NaN){ _min = _arg1; if (isNaN(_arg2)){ _max = _min; } else { _max = _arg2; }; } public function get scale():Number{ return (((_min == _max)) ? _min : ((_max + _min) / 2)); } public function set maxScale(_arg1:Number):void{ _max = _arg1; } public function get maxScale():Number{ return (_max); } public function set minScale(_arg1:Number):void{ _min = _arg1; } public function set scale(_arg1:Number):void{ _max = (_min = _arg1); } override public function initialize(_arg1:Emitter, _arg2:Particle):void{ if (_max == _min){ _arg2.scale = _min; } else { _arg2.scale = (_min + (Math.random() * (_max - _min))); }; } public function get minScale():Number{ return (_min); } } }//package org.flintparticles.common.initializers
Section 106
//Particle (org.flintparticles.common.particles.Particle) package org.flintparticles.common.particles { import flash.geom.*; import flash.utils.*; public class Particle { public var energy:Number;// = 1 public var lifetime:Number;// = 0 public var scale:Number;// = 1 public var image;// = null public var color:uint;// = 4294967295 public var collisionRadius:Number;// = 1 private var _colorTransform:ColorTransform;// = null private var _previousColor:uint; public var isDead:Boolean;// = false public var mass:Number;// = 1 private var _dictionary:Dictionary;// = null public var age:Number;// = 0 public function get dictionary():Dictionary{ if (_dictionary == null){ _dictionary = new Dictionary(true); }; return (_dictionary); } public function get colorTransform():ColorTransform{ if (((!(_colorTransform)) || (!((_previousColor == color))))){ _colorTransform = new ColorTransform((((color >>> 16) & 0xFF) / 0xFF), (((color >>> 8) & 0xFF) / 0xFF), ((color & 0xFF) / 0xFF), (((color >>> 24) & 0xFF) / 0xFF), 0, 0, 0, 0); _previousColor = color; }; return (_colorTransform); } protected function cloneInto(_arg1:Particle):Particle{ var _local2:Object; _arg1.color = color; _arg1.scale = scale; _arg1.mass = mass; _arg1.collisionRadius = collisionRadius; _arg1.lifetime = lifetime; _arg1.age = age; _arg1.energy = energy; _arg1.isDead = isDead; _arg1.image = image; if (_dictionary){ _arg1._dictionary = new Dictionary(true); for (_local2 in _dictionary) { _arg1._dictionary[_local2] = _dictionary[_local2]; }; }; return (_arg1); } public function get alpha():Number{ return ((((color & 4278190080) >>> 24) / 0xFF)); } public function initialize():void{ color = 4294967295; scale = 1; mass = 1; collisionRadius = 1; lifetime = 0; age = 0; energy = 1; isDead = false; image = null; _dictionary = null; _colorTransform = null; } public function clone(_arg1:ParticleFactory=null):Particle{ var _local2:Particle; if (_arg1){ _local2 = _arg1.createParticle(); } else { _local2 = new Particle(); }; return (cloneInto(_local2)); } } }//package org.flintparticles.common.particles
Section 107
//ParticleFactory (org.flintparticles.common.particles.ParticleFactory) package org.flintparticles.common.particles { public interface ParticleFactory { function createParticle():Particle; function disposeParticle(_arg1:Particle):void; } }//package org.flintparticles.common.particles
Section 108
//Renderer (org.flintparticles.common.renderers.Renderer) package org.flintparticles.common.renderers { import org.flintparticles.common.emitters.*; public interface Renderer { function removeEmitter(_arg1:Emitter):void; function addEmitter(_arg1:Emitter):void; } }//package org.flintparticles.common.renderers
Section 109
//SpriteRendererBase (org.flintparticles.common.renderers.SpriteRendererBase) package org.flintparticles.common.renderers { import flash.events.*; import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.common.events.*; import flash.display.*; public class SpriteRendererBase extends Sprite implements Renderer { protected var _emitters:Array; public function SpriteRendererBase(){ _emitters = new Array(); mouseEnabled = false; mouseChildren = false; addEventListener(Event.ADDED_TO_STAGE, addedToStage, false, 0, true); } private function particleAdded(_arg1:ParticleEvent):void{ addParticle(_arg1.particle); if (stage){ stage.invalidate(); }; } private function addedToStage(_arg1:Event):void{ if (stage){ stage.invalidate(); }; } public function get emitters():Array{ return (_emitters); } protected function addParticle(_arg1:Particle):void{ } private function updateParticles(_arg1:Event):void{ var _local2:Array = new Array(); var _local3:int; while (_local3 < _emitters.length) { _local2 = _local2.concat(_emitters[_local3].particles); _local3++; }; renderParticles(_local2); } private function emitterUpdated(_arg1:EmitterEvent):void{ if (stage){ stage.invalidate(); }; } public function removeEmitter(_arg1:Emitter):void{ var _local3:Particle; var _local2:int; while (_local2 < _emitters.length) { if (_emitters[_local2] == _arg1){ _emitters.splice(_local2, 1); _arg1.removeEventListener(EmitterEvent.EMITTER_UPDATED, emitterUpdated); _arg1.removeEventListener(ParticleEvent.PARTICLE_CREATED, particleAdded); _arg1.removeEventListener(ParticleEvent.PARTICLE_ADDED, particleAdded); _arg1.removeEventListener(ParticleEvent.PARTICLE_DEAD, particleRemoved); for each (_local3 in _arg1.particles) { removeParticle(_local3); }; if (_emitters.length == 0){ removeEventListener(Event.RENDER, updateParticles); renderParticles([]); } else { stage.invalidate(); }; return; }; _local2++; }; } protected function renderParticles(_arg1:Array):void{ } protected function removeParticle(_arg1:Particle):void{ } private function particleRemoved(_arg1:ParticleEvent):void{ removeParticle(_arg1.particle); if (stage){ stage.invalidate(); }; } public function addEmitter(_arg1:Emitter):void{ var _local2:Particle; _emitters.push(_arg1); if (stage){ stage.invalidate(); }; _arg1.addEventListener(EmitterEvent.EMITTER_UPDATED, emitterUpdated, false, 0, true); _arg1.addEventListener(ParticleEvent.PARTICLE_CREATED, particleAdded, false, 0, true); _arg1.addEventListener(ParticleEvent.PARTICLE_ADDED, particleAdded, false, 0, true); _arg1.addEventListener(ParticleEvent.PARTICLE_DEAD, particleRemoved, false, 0, true); for each (_local2 in _arg1.particles) { addParticle(_local2); }; if (_emitters.length == 1){ addEventListener(Event.RENDER, updateParticles, false, 0, true); }; } } }//package org.flintparticles.common.renderers
Section 110
//construct (org.flintparticles.common.utils.construct) package org.flintparticles.common.utils { public function construct(_arg1:Class, _arg2:Array){ switch (_arg2.length){ case 0: return (new (_arg1)); case 1: return (new _arg1(_arg2[0])); case 2: return (new _arg1(_arg2[0], _arg2[1])); case 3: return (new _arg1(_arg2[0], _arg2[1], _arg2[2])); case 4: return (new _arg1(_arg2[0], _arg2[1], _arg2[2], _arg2[3])); case 5: return (new _arg1(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4])); case 6: return (new _arg1(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4], _arg2[5])); case 7: return (new _arg1(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4], _arg2[5], _arg2[6])); case 8: return (new _arg1(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4], _arg2[5], _arg2[6], _arg2[7])); case 9: return (new _arg1(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4], _arg2[5], _arg2[6], _arg2[7], _arg2[8])); case 10: return (new _arg1(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4], _arg2[5], _arg2[6], _arg2[7], _arg2[8], _arg2[9])); default: return (null); }; } }//package org.flintparticles.common.utils
Section 111
//FrameUpdater (org.flintparticles.common.utils.FrameUpdater) package org.flintparticles.common.utils { import flash.events.*; import org.flintparticles.common.events.*; import flash.utils.*; import flash.display.*; public class FrameUpdater extends EventDispatcher { private var _shape:Shape; private var _time:Number; private static var _instance:FrameUpdater; public function FrameUpdater(){ _shape = new Shape(); _shape.addEventListener(Event.ENTER_FRAME, frameUpdate, false, 0, true); _time = getTimer(); } private function frameUpdate(_arg1:Event):void{ var _local2:int = _time; _time = getTimer(); var _local3:Number = ((_time - _local2) * 0.001); dispatchEvent(new UpdateEvent(UpdateEvent.UPDATE, _local3)); } public static function get instance():FrameUpdater{ if (_instance == null){ _instance = new (FrameUpdater); }; return (_instance); } } }//package org.flintparticles.common.utils
Section 112
//Maths (org.flintparticles.common.utils.Maths) package org.flintparticles.common.utils { public class Maths { private static const DEGTORAD:Number = 0.0174532925199433; private static const RADTODEG:Number = 57.2957795130823; public static function asRadians(_arg1:Number):Number{ return ((_arg1 * DEGTORAD)); } public static function asDegrees(_arg1:Number):Number{ return ((_arg1 * RADTODEG)); } } }//package org.flintparticles.common.utils
Section 113
//PriorityArray (org.flintparticles.common.utils.PriorityArray) package org.flintparticles.common.utils { import flash.utils.*; public class PriorityArray extends Proxy { private var _values:Array; public function PriorityArray(){ _values = new Array(); } public function remove(_arg1):Boolean{ var _local2:uint = _values.length; while (_local2--) { if (_values[_local2].value == _arg1){ _values.splice(_local2, 1); return (true); }; }; return (false); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextName(_arg1:int):String{ return ((_arg1 - 1).toString()); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{ var _local3:uint = uint(_arg1); if ((((_local3 == _arg1)) && ((_local3 < _values.length)))){ _values[_local3].value = _arg2; }; } public function add(_arg1, _arg2:Number):uint{ var _local3:uint = _values.length; var _local4:uint; while (_local4 < _local3) { if (_values[_local4].priority < _arg2){ break; }; _local4++; }; _values.splice(_local4, 0, new Pair(_arg2, _arg1)); return (_values.length); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){ var _local2:int = int(_arg1); if ((((((_local2 == _arg1)) && ((_local2 < _values.length)))) && (_values[_local2]))){ return (_values[_local2].value); }; return (undefined); } public function clear():void{ _values.length = 0; } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextNameIndex(_arg1:int):int{ if (_arg1 < _values.length){ return ((_arg1 + 1)); }; return (0); } public function get length():uint{ return (_values.length); } public function removeAt(_arg1:uint){ var _local2:* = _values[_arg1].value; _values.splice(_arg1, 1); return (_local2); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextValue(_arg1:int){ return (_values[(_arg1 - 1)].value); } public function contains(_arg1):Boolean{ var _local2:uint = _values.length; while (_local2--) { if (_values[_local2].value == _arg1){ return (true); }; }; return (false); } } }//package org.flintparticles.common.utils class Pair { private var value; private var priority:Number; private function Pair(_arg1:Number, _arg2){ this.priority = _arg1; this.value = _arg2; } }
Section 114
//Explosion (org.flintparticles.twoD.actions.Explosion) package org.flintparticles.twoD.actions { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.common.actions.*; import org.flintparticles.common.activities.*; import org.flintparticles.twoD.particles.*; public class Explosion extends ActionBase implements FrameUpdatable { private var _expansionRate:Number;// = 500 private var _radiusChange:Number;// = 0 private var _depth:Number; private var _power:Number; private var _radius:Number;// = 0 private var _updateActivity:UpdateOnFrame; private var _oldRadius:Number;// = 0 private var _epsilonSq:Number; private var _invDepth:Number; private var _x:Number; private var _y:Number; private static const POWER_FACTOR:Number = 100000; public function Explosion(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=300, _arg5:Number=10, _arg6:Number=1){ _power = (_arg1 * POWER_FACTOR); _x = _arg2; _y = _arg3; _expansionRate = _arg4; _depth = (_arg5 * 0.5); _invDepth = (1 / _depth); _epsilonSq = (_arg6 * _arg6); } public function get depth():Number{ return ((_depth * 2)); } public function get power():Number{ return ((_power / POWER_FACTOR)); } public function set power(_arg1:Number):void{ _power = (_arg1 * POWER_FACTOR); } public function set depth(_arg1:Number):void{ _depth = (_arg1 * 0.5); _invDepth = (1 / _depth); } public function get x():Number{ return (_x); } public function get y():Number{ return (_y); } override public function addedToEmitter(_arg1:Emitter):void{ _updateActivity = new UpdateOnFrame(this); _arg1.addActivity(_updateActivity); } public function set y(_arg1:Number):void{ _y = _arg1; } public function frameUpdate(_arg1:Emitter, _arg2:Number):void{ _oldRadius = _radius; _radiusChange = (_expansionRate * _arg2); _radius = (_radius + _radiusChange); } override public function update(_arg1:Emitter, _arg2:Particle, _arg3:Number):void{ var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local4:Particle2D = Particle2D(_arg2); var _local5:Number = (_local4.x - _x); var _local6:Number = (_local4.y - _y); var _local7:Number = ((_local5 * _local5) + (_local6 * _local6)); if (_local7 == 0){ _local7 = 0.02; _local5 = 0.1; _local6 = 0.1; }; var _local8:Number = Math.sqrt(_local7); if (_local8 < (_oldRadius - _depth)){ return; }; if (_local8 > (_radius + _depth)){ return; }; var _local9:Number = ((_local8 < _radius)) ? ((_depth - _radius) + _local8) : ((_depth - _local8) + _radius); var _local10:Number = ((_local8 < _oldRadius)) ? ((_depth - _oldRadius) + _local8) : ((_depth - _local8) + _oldRadius); _local9 = (_local9 * _invDepth); _local10 = (_local10 * _invDepth); if (_local9 < 0){ _arg3 = ((_arg3 * (_radiusChange + _local9)) / _radiusChange); _local9 = 0; }; if (_local10 < 0){ _arg3 = ((_arg3 * (_radiusChange + _local10)) / _radiusChange); _local10 = 0; }; if ((((_local8 < _oldRadius)) || ((_local8 > _radius)))){ _local11 = (((_arg3 * _power) * (_local9 + _local10)) / (((_radius * 2) * _local8) * _local4.mass)); } else { _local12 = ((1 - _local10) / _radiusChange); _local13 = (((_local12 * _arg3) * _power) * (_local10 + 1)); _local14 = ((((1 - _local12) * _arg3) * _power) * (_local9 + 1)); _local11 = ((_local13 + _local14) / (((_radius * 2) * _local8) * _local4.mass)); }; _local4.velX = (_local4.velX + (_local5 * _local11)); _local4.velY = (_local4.velY + (_local6 * _local11)); } public function set epsilon(_arg1:Number):void{ _epsilonSq = (_arg1 * _arg1); } override public function removedFromEmitter(_arg1:Emitter):void{ if (_updateActivity){ _arg1.removeActivity(_updateActivity); }; } public function get epsilon():Number{ return (Math.sqrt(_epsilonSq)); } public function set x(_arg1:Number):void{ _x = _arg1; } public function set expansionRate(_arg1:Number):void{ _expansionRate = _arg1; } public function get expansionRate():Number{ return (_expansionRate); } } }//package org.flintparticles.twoD.actions
Section 115
//Move (org.flintparticles.twoD.actions.Move) package org.flintparticles.twoD.actions { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.common.actions.*; import org.flintparticles.twoD.particles.*; public class Move extends ActionBase { private var p:Particle2D; override public function getDefaultPriority():Number{ return (-10); } override public function update(_arg1:Emitter, _arg2:Particle, _arg3:Number):void{ p = Particle2D(_arg2); p.x = (p.x + (p.velX * _arg3)); p.y = (p.y + (p.velY * _arg3)); } } }//package org.flintparticles.twoD.actions
Section 116
//RandomDrift (org.flintparticles.twoD.actions.RandomDrift) package org.flintparticles.twoD.actions { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.common.actions.*; import org.flintparticles.twoD.particles.*; public class RandomDrift extends ActionBase { private var _sizeX:Number; private var _sizeY:Number; public function RandomDrift(_arg1:Number, _arg2:Number){ _sizeX = (_arg1 * 2); _sizeY = (_arg2 * 2); } override public function update(_arg1:Emitter, _arg2:Particle, _arg3:Number):void{ var _local4:Particle2D = Particle2D(_arg2); Particle2D(_arg2).velX = (_local4.velX + (((Math.random() - 0.5) * _sizeX) * _arg3)); _local4.velY = (_local4.velY + (((Math.random() - 0.5) * _sizeY) * _arg3)); } public function get driftY():Number{ return ((_sizeY / 2)); } public function set driftY(_arg1:Number):void{ _sizeY = (_arg1 * 2); } public function set driftX(_arg1:Number):void{ _sizeX = (_arg1 * 2); } public function get driftX():Number{ return ((_sizeX / 2)); } } }//package org.flintparticles.twoD.actions
Section 117
//Rotate (org.flintparticles.twoD.actions.Rotate) package org.flintparticles.twoD.actions { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.common.actions.*; import org.flintparticles.twoD.particles.*; public class Rotate extends ActionBase { override public function update(_arg1:Emitter, _arg2:Particle, _arg3:Number):void{ var _local4:Particle2D = Particle2D(_arg2); Particle2D(_arg2).rotation = (_local4.rotation + (_local4.angVelocity * _arg3)); } override public function getDefaultPriority():Number{ return (-10); } } }//package org.flintparticles.twoD.actions
Section 118
//Emitter2D (org.flintparticles.twoD.emitters.Emitter2D) package org.flintparticles.twoD.emitters { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.common.utils.*; import org.flintparticles.twoD.particles.*; public class Emitter2D extends Emitter { protected var _y:Number;// = 0 public var spaceSort:Boolean;// = false public var spaceSortedX:Array; protected var _x:Number;// = 0 protected var _rotation:Number;// = 0 protected static var _creator:ParticleCreator2D = new ParticleCreator2D(); public function Emitter2D(){ _particleFactory = _creator; } public function get y():Number{ return (_y); } override protected function initParticle(_arg1:Particle):void{ var _local2:Particle2D; _local2 = Particle2D(_arg1); _local2.x = _x; _local2.y = _y; _local2.rotation = _rotation; } override protected function sortParticles():void{ var _local1:int; var _local2:int; if (spaceSort){ spaceSortedX = _particles.sortOn("x", (Array.NUMERIC | Array.RETURNINDEXEDARRAY)); _local1 = _particles.length; _local2 = 0; while (_local2 < _local1) { _particles[spaceSortedX[_local2]].sortID = _local2; _local2++; }; }; } public function set x(_arg1:Number):void{ _x = _arg1; } public function set rotRadians(_arg1:Number):void{ _rotation = _arg1; } public function get x():Number{ return (_x); } public function get rotRadians():Number{ return (_rotation); } public function set rotation(_arg1:Number):void{ _rotation = Maths.asRadians(_arg1); } public function get rotation():Number{ return (Maths.asDegrees(_rotation)); } public function set y(_arg1:Number):void{ _y = _arg1; } public static function get defaultParticleFactory():ParticleFactory{ return (_creator); } } }//package org.flintparticles.twoD.emitters
Section 119
//Position (org.flintparticles.twoD.initializers.Position) package org.flintparticles.twoD.initializers { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.twoD.zones.*; import flash.geom.*; import org.flintparticles.common.initializers.*; import org.flintparticles.twoD.particles.*; public class Position extends InitializerBase { private var _zone:Zone2D; public function Position(_arg1:Zone2D){ _zone = _arg1; } override public function initialize(_arg1:Emitter, _arg2:Particle):void{ var _local5:Number; var _local6:Number; var _local3:Particle2D = Particle2D(_arg2); var _local4:Point = _zone.getLocation(); if (_local3.rotation == 0){ _local3.x = (_local3.x + _local4.x); _local3.y = (_local3.y + _local4.y); } else { _local5 = Math.sin(_local3.rotation); _local6 = Math.cos(_local3.rotation); _local3.x = (_local3.x + ((_local6 * _local4.x) - (_local5 * _local4.y))); _local3.y = (_local3.y + ((_local6 * _local4.y) + (_local5 * _local4.x))); }; } public function set zone(_arg1:Zone2D):void{ _zone = _arg1; } public function get zone():Zone2D{ return (_zone); } } }//package org.flintparticles.twoD.initializers
Section 120
//Rotation (org.flintparticles.twoD.initializers.Rotation) package org.flintparticles.twoD.initializers { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.common.initializers.*; import org.flintparticles.twoD.particles.*; public class Rotation extends InitializerBase { private var _max:Number; private var _min:Number; public function Rotation(_arg1:Number, _arg2:Number=NaN){ _min = _arg1; _max = _arg2; } public function get minAngle():Number{ return (_min); } public function set minAngle(_arg1:Number):void{ _min = _arg1; } public function get angle():Number{ return (((_min == _max)) ? _min : ((_max + _min) / 2)); } public function set angle(_arg1:Number):void{ _max = (_min = _arg1); } public function get maxAngle():Number{ return (_max); } override public function initialize(_arg1:Emitter, _arg2:Particle):void{ var _local3:Particle2D = Particle2D(_arg2); if (isNaN(_max)){ _local3.rotation = (_local3.rotation + _min); } else { _local3.rotation = (_local3.rotation + (_min + (Math.random() * (_max - _min)))); }; } public function set maxAngle(_arg1:Number):void{ _max = _arg1; } } }//package org.flintparticles.twoD.initializers
Section 121
//Velocity (org.flintparticles.twoD.initializers.Velocity) package org.flintparticles.twoD.initializers { import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.twoD.zones.*; import flash.geom.*; import org.flintparticles.common.initializers.*; import org.flintparticles.twoD.particles.*; public class Velocity extends InitializerBase { private var _zone:Zone2D; public function Velocity(_arg1:Zone2D){ _zone = _arg1; } override public function initialize(_arg1:Emitter, _arg2:Particle):void{ var _local3:Particle2D; var _local5:Number; var _local6:Number; _local3 = Particle2D(_arg2); var _local4:Point = _zone.getLocation(); if (_local3.rotation == 0){ _local3.velX = _local4.x; _local3.velY = _local4.y; } else { _local5 = Math.sin(_local3.rotation); _local6 = Math.cos(_local3.rotation); _local3.velX = ((_local6 * _local4.x) - (_local5 * _local4.y)); _local3.velY = ((_local6 * _local4.y) + (_local5 * _local4.x)); }; } public function set zone(_arg1:Zone2D):void{ _zone = _arg1; } public function get zone():Zone2D{ return (_zone); } } }//package org.flintparticles.twoD.initializers
Section 122
//Particle2D (org.flintparticles.twoD.particles.Particle2D) package org.flintparticles.twoD.particles { import org.flintparticles.common.particles.*; import flash.geom.*; public class Particle2D extends Particle { public var sortID:int;// = -1 private var _inertia:Number; public var velY:Number;// = 0 private var _previousRadius:Number; private var _previousMass:Number; public var angVelocity:Number;// = 0 public var x:Number;// = 0 public var y:Number;// = 0 public var velX:Number;// = 0 public var rotation:Number;// = 0 override public function clone(_arg1:ParticleFactory=null):Particle{ var _local2:Particle2D; if (_arg1){ _local2 = (_arg1.createParticle() as Particle2D); } else { _local2 = new Particle2D(); }; cloneInto(_local2); _local2.x = x; _local2.y = y; _local2.velX = velX; _local2.velY = velY; _local2.rotation = rotation; _local2.angVelocity = angVelocity; return (_local2); } override public function initialize():void{ super.initialize(); x = 0; y = 0; velX = 0; velY = 0; rotation = 0; angVelocity = 0; sortID = -1; } public function get matrixTransform():Matrix{ var _local1:Number = (scale * Math.cos(rotation)); var _local2:Number = (scale * Math.sin(rotation)); return (new Matrix(_local1, _local2, -(_local2), _local1, x, y)); } public function get inertia():Number{ if (((!((mass == _previousMass))) || (!((collisionRadius == _previousRadius))))){ _inertia = (((mass * collisionRadius) * collisionRadius) * 0.5); _previousMass = mass; _previousRadius = collisionRadius; }; return (_inertia); } } }//package org.flintparticles.twoD.particles
Section 123
//ParticleCreator2D (org.flintparticles.twoD.particles.ParticleCreator2D) package org.flintparticles.twoD.particles { import org.flintparticles.common.particles.*; public class ParticleCreator2D implements ParticleFactory { private var _particles:Array; public function ParticleCreator2D(){ _particles = new Array(); } public function clearAllParticles():void{ _particles = new Array(); } public function disposeParticle(_arg1:Particle):void{ if ((_arg1 is Particle2D)){ _arg1.initialize(); _particles.push(_arg1); }; } public function createParticle():Particle{ if (_particles.length){ return (_particles.pop()); }; return (new Particle2D()); } } }//package org.flintparticles.twoD.particles
Section 124
//DisplayObjectRenderer (org.flintparticles.twoD.renderers.DisplayObjectRenderer) package org.flintparticles.twoD.renderers { import org.flintparticles.common.particles.*; import flash.display.*; import org.flintparticles.twoD.particles.*; import org.flintparticles.common.renderers.*; public class DisplayObjectRenderer extends SpriteRendererBase { override protected function removeParticle(_arg1:Particle):void{ removeChild(_arg1.image); } override protected function addParticle(_arg1:Particle):void{ addChildAt(_arg1.image, 0); } override protected function renderParticles(_arg1:Array):void{ var _local2:Particle2D; var _local3:DisplayObject; var _local4:int = _arg1.length; var _local5:int; while (_local5 < _local4) { _local2 = _arg1[_local5]; _local3 = _local2.image; _local3.transform.colorTransform = _local2.colorTransform; _local3.transform.matrix = _local2.matrixTransform; _local5++; }; } } }//package org.flintparticles.twoD.renderers
Section 125
//LineZone (org.flintparticles.twoD.zones.LineZone) package org.flintparticles.twoD.zones { import flash.geom.*; public class LineZone implements Zone2D { private var _point1:Point; private var _point2:Point; private var _length:Point; public function LineZone(_arg1:Point, _arg2:Point){ _point1 = _arg1; _point2 = _arg2; _length = _arg2.subtract(_arg1); } public function getArea():Number{ return (_length.length); } public function set point2(_arg1:Point):void{ _point2 = _arg1; _length = point2.subtract(point1); } public function get point1():Point{ return (_point1); } public function get point2():Point{ return (_point2); } public function getLocation():Point{ var _local1:Point = _point1.clone(); var _local2:Number = Math.random(); _local1.x = (_local1.x + (_length.x * _local2)); _local1.y = (_local1.y + (_length.y * _local2)); return (_local1); } public function set point1(_arg1:Point):void{ _point1 = _arg1; _length = point2.subtract(point1); } public function contains(_arg1:Number, _arg2:Number):Boolean{ if ((((_arg1 - _point1.x) * _length.y) - ((_arg2 - _point1.y) * _length.x)) != 0){ return (false); }; return (((((_arg1 - _point1.x) * (_arg1 - _point2.x)) + ((_arg2 - _point1.y) * (_arg2 - _point2.y))) <= 0)); } } }//package org.flintparticles.twoD.zones
Section 126
//PointZone (org.flintparticles.twoD.zones.PointZone) package org.flintparticles.twoD.zones { import flash.geom.*; public class PointZone implements Zone2D { private var _point:Point; public function PointZone(_arg1:Point){ _point = _arg1; } public function get point():Point{ return (_point); } public function getArea():Number{ return (1); } public function set point(_arg1:Point):void{ _point = _arg1; } public function getLocation():Point{ return (_point.clone()); } public function contains(_arg1:Number, _arg2:Number):Boolean{ return ((((_point.x == _arg1)) && ((_point.y == _arg2)))); } } }//package org.flintparticles.twoD.zones
Section 127
//RectangleZone (org.flintparticles.twoD.zones.RectangleZone) package org.flintparticles.twoD.zones { import flash.geom.*; public class RectangleZone implements Zone2D { private var _height:Number; private var _width:Number; private var _bottom:Number; private var _right:Number; private var _top:Number; private var _left:Number; public function RectangleZone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number){ _left = _arg1; _top = _arg2; _right = _arg3; _bottom = _arg4; _width = (_arg3 - _arg1); _height = (_arg4 - _arg2); } public function getArea():Number{ return ((_width * _height)); } public function get top():Number{ return (_top); } public function set bottom(_arg1:Number):void{ _bottom = _arg1; _height = (bottom - top); } public function get right():Number{ return (_right); } public function set left(_arg1:Number):void{ _left = _arg1; _width = (right - left); } public function get left():Number{ return (_left); } public function set top(_arg1:Number):void{ _top = _arg1; _height = (bottom - top); } public function contains(_arg1:Number, _arg2:Number):Boolean{ return ((((((((_arg1 >= _left)) && ((_arg1 <= _right)))) && ((_arg2 >= _top)))) && ((_arg2 <= _bottom)))); } public function get bottom():Number{ return (_bottom); } public function set right(_arg1:Number):void{ _right = _arg1; _width = (right - left); } public function getLocation():Point{ return (new Point((_left + (Math.random() * _width)), (_top + (Math.random() * _height)))); } } }//package org.flintparticles.twoD.zones
Section 128
//Zone2D (org.flintparticles.twoD.zones.Zone2D) package org.flintparticles.twoD.zones { import flash.geom.*; public interface Zone2D { function getArea():Number; function getLocation():Point; function contains(_arg1:Number, _arg2:Number):Boolean; } }//package org.flintparticles.twoD.zones
Section 129
//AlertAsset (AlertAsset) package { import flash.display.*; public dynamic class AlertAsset extends MovieClip { } }//package
Section 130
//Background1 (Background1) package { import flash.display.*; public dynamic class Background1 extends MovieClip { } }//package
Section 131
//BlackRing (BlackRing) package { import flash.events.*; import flash.display.*; public dynamic class BlackRing extends MovieClip { public function BlackRing(){ addFrameScript(24, this.frame25); } function frame25(){ stop(); dispatchEvent(new Event("blackCircleCompleteEvent")); } } }//package
Section 132
//BravoAnimationAsset (BravoAnimationAsset) package { import flash.events.*; import flash.display.*; public dynamic class BravoAnimationAsset extends MovieClip { public var arrow:MovieClip; public function BravoAnimationAsset(){ addFrameScript(29, this.frame30, 49, this.frame50); } function frame50(){ gotoAndPlay(31); } function frame30(){ dispatchEvent(new Event("bravoCompleteEvent")); } } }//package
Section 133
//CompletedSceneAsset (CompletedSceneAsset) package { import flash.display.*; public dynamic class CompletedSceneAsset extends MovieClip { } }//package
Section 134
//CoupleCaughtMP3 (CoupleCaughtMP3) package { import flash.media.*; public dynamic class CoupleCaughtMP3 extends Sound { } }//package
Section 135
//DefaultButton (DefaultButton) package { import flash.media.*; public dynamic class DefaultButton extends Sound { } }//package
Section 136
//GameCompleteMP3 (GameCompleteMP3) package { import flash.media.*; public dynamic class GameCompleteMP3 extends Sound { } }//package
Section 137
//GameMusicMP3 (GameMusicMP3) package { import flash.media.*; public dynamic class GameMusicMP3 extends Sound { } }//package
Section 138
//GameOverGirlAsset (GameOverGirlAsset) package { import flash.display.*; public dynamic class GameOverGirlAsset extends MovieClip { } }//package
Section 139
//GameOverSceneAsset (GameOverSceneAsset) package { import flash.display.*; public dynamic class GameOverSceneAsset extends MovieClip { } }//package
Section 140
//GirlsHeads (GirlsHeads) package { import flash.display.*; public dynamic class GirlsHeads extends MovieClip { } }//package
Section 141
//Glint (Glint) package { import flash.display.*; public dynamic class Glint extends MovieClip { } }//package
Section 142
//HappyExclamationAnimation (HappyExclamationAnimation) package { import flash.display.*; public dynamic class HappyExclamationAnimation extends MovieClip { } }//package
Section 143
//HappyExplamation2Animation (HappyExplamation2Animation) package { import flash.display.*; public dynamic class HappyExplamation2Animation extends MovieClip { } }//package
Section 144
//HappyHeartAnimation (HappyHeartAnimation) package { import flash.events.*; import flash.display.*; public dynamic class HappyHeartAnimation extends MovieClip { public function HappyHeartAnimation(){ addFrameScript(39, this.frame40); } function frame40(){ stop(); dispatchEvent(new Event("HeartAnimationComplete")); } } }//package
Section 145
//HappySceneAnimationAsset (HappySceneAnimationAsset) package { import flash.display.*; public dynamic class HappySceneAnimationAsset extends MovieClip { public var e1:HappyExclamationAnimation; public var e2:MovieClip; public var e3:HappyExplamation2Animation; public function HappySceneAnimationAsset(){ addFrameScript(0, this.frame1); } public function activate():void{ this.e1.gotoAndPlay(2); this.e2.gotoAndPlay(2); this.e3.gotoAndPlay(2); } public function deactivate():void{ this.e1.gotoAndStop(0); this.e2.gotoAndStop(0); this.e3.gotoAndStop(0); } function frame1(){ } } }//package
Section 146
//HappySceneAssetBackground (HappySceneAssetBackground) package { import flash.display.*; public dynamic class HappySceneAssetBackground extends MovieClip { } }//package
Section 147
//HappySceneAssetForeground (HappySceneAssetForeground) package { import flash.display.*; public dynamic class HappySceneAssetForeground extends MovieClip { } }//package
Section 148
//KissingSoundMP3 (KissingSoundMP3) package { import flash.media.*; public dynamic class KissingSoundMP3 extends Sound { } }//package
Section 149
//LevelOneMP3 (LevelOneMP3) package { import flash.media.*; public dynamic class LevelOneMP3 extends Sound { } }//package
Section 150
//LifeActiveAsset (LifeActiveAsset) package { import flash.display.*; public dynamic class LifeActiveAsset extends MovieClip { } }//package
Section 151
//LifeDeactiveAsset (LifeDeactiveAsset) package { import flash.display.*; public dynamic class LifeDeactiveAsset extends MovieClip { } }//package
Section 152
//LoadingBar (LoadingBar) package { import flash.display.*; public dynamic class LoadingBar extends MovieClip { } }//package
Section 153
//LoadingBarHolder (LoadingBarHolder) package { import flash.display.*; public dynamic class LoadingBarHolder extends MovieClip { } }//package
Section 154
//Main (Main) package { import flash.events.*; import drimlike.data.*; import flash.display.*; import drimlike.sounds.*; import drimlike.scenes.*; import flash.utils.*; import caurina.transitions.properties.*; public class Main extends Sprite { private var soundButton:SoundButton; private var sandbox:Sandbox; private var soundFXController:SoundFXController; private var soundManager:SoundManager; public function Main(){ addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ ColorShortcuts.init(); if (sandbox == null){ sandbox = new Sandbox(); addChild(sandbox); Engine.getInstance().sandbox = sandbox; }; if (soundFXController == null){ soundFXController = new SoundFXController(); }; Engine.getInstance().soundFXController = soundFXController; Engine.getInstance().soundManager = new SoundManager(); var _local2:Timer = new Timer(500, 0); _local2.addEventListener(TimerEvent.TIMER, onTimer); _local2.start(); } private function onTimer(_arg1:TimerEvent):void{ _arg1.target.stop(); soundButton = new SoundButton(); soundButton.x = 702; soundButton.y = 26; addChild(soundButton); Engine.getInstance().soundButton = soundButton; } } }//package
Section 155
//MainCharAsset (MainCharAsset) package { import flash.display.*; public dynamic class MainCharAsset extends MovieClip { } }//package
Section 156
//MainCharLookingHeadAsset (MainCharLookingHeadAsset) package { import flash.display.*; public dynamic class MainCharLookingHeadAsset extends MovieClip { public var headAsset:MainCharLookingHeadOnlyAsset; } }//package
Section 157
//MainCharLookingHeadOnlyAsset (MainCharLookingHeadOnlyAsset) package { import flash.display.*; public dynamic class MainCharLookingHeadOnlyAsset extends MovieClip { } }//package
Section 158
//MainCharLookRambleAsset1 (MainCharLookRambleAsset1) package { import flash.events.*; import flash.display.*; public dynamic class MainCharLookRambleAsset1 extends MovieClip { public var WARNING_EVENT:String; public function MainCharLookRambleAsset1(){ addFrameScript(0, this.frame1, 24, this.frame25); } function frame25(){ this.WARNING_EVENT = "warningEvent"; dispatchEvent(new Event(this.WARNING_EVENT)); gotoAndStop(0); } function frame1(){ stop(); } } }//package
Section 159
//MainCharLookRambleAsset2 (MainCharLookRambleAsset2) package { import flash.events.*; import flash.display.*; public dynamic class MainCharLookRambleAsset2 extends MovieClip { public var WARNING_EVENT:String; public function MainCharLookRambleAsset2(){ addFrameScript(0, this.frame1, 19, this.frame20); } function frame20(){ this.WARNING_EVENT = "warningEvent"; dispatchEvent(new Event(this.WARNING_EVENT)); gotoAndStop(0); } function frame1(){ stop(); } } }//package
Section 160
//MainCharLookRambleAsset3 (MainCharLookRambleAsset3) package { import flash.events.*; import flash.display.*; public dynamic class MainCharLookRambleAsset3 extends MovieClip { public var WARNING_EVENT:String; public function MainCharLookRambleAsset3(){ addFrameScript(0, this.frame1, 14, this.frame15); } function frame15(){ this.WARNING_EVENT = "warningEvent"; dispatchEvent(new Event(this.WARNING_EVENT)); gotoAndStop(0); } function frame1(){ stop(); } } }//package
Section 161
//MainCharNormalHeadAsset (MainCharNormalHeadAsset) package { import flash.display.*; public dynamic class MainCharNormalHeadAsset extends MovieClip { } }//package
Section 162
//MainCharRambleAsset (MainCharRambleAsset) package { import flash.display.*; public dynamic class MainCharRambleAsset extends MovieClip { public function MainCharRambleAsset(){ addFrameScript(24, this.frame25); } function frame25(){ gotoAndPlay(0); } } }//package
Section 163
//MainCharSwishMP3 (MainCharSwishMP3) package { import flash.media.*; public dynamic class MainCharSwishMP3 extends Sound { } }//package
Section 164
//MeterBackgroundAsset (MeterBackgroundAsset) package { import flash.display.*; public dynamic class MeterBackgroundAsset extends MovieClip { } }//package
Section 165
//MeterBarAsset (MeterBarAsset) package { import flash.display.*; public dynamic class MeterBarAsset extends MovieClip { } }//package
Section 166
//MeterHeart (MeterHeart) package { import flash.display.*; public dynamic class MeterHeart extends MovieClip { public function MeterHeart(){ addFrameScript(19, this.frame20); } function frame20(){ gotoAndPlay(0); } } }//package
Section 167
//MoreGamesDe (MoreGamesDe) package { import flash.display.*; public dynamic class MoreGamesDe extends MovieClip { } }//package
Section 168
//MoreGamesEn (MoreGamesEn) package { import flash.display.*; public dynamic class MoreGamesEn extends MovieClip { } }//package
Section 169
//MoreGamesFr (MoreGamesFr) package { import flash.display.*; public dynamic class MoreGamesFr extends MovieClip { } }//package
Section 170
//MoreGamesSp (MoreGamesSp) package { import flash.display.*; public dynamic class MoreGamesSp extends MovieClip { } }//package
Section 171
//MyGames4GirlsCOM (MyGames4GirlsCOM) package { import flash.display.*; public dynamic class MyGames4GirlsCOM extends MovieClip { } }//package
Section 172
//MyGames4GirlsCOMGlint (MyGames4GirlsCOMGlint) package { import flash.display.*; public dynamic class MyGames4GirlsCOMGlint extends MovieClip { } }//package
Section 173
//MyGames4GirlsDE (MyGames4GirlsDE) package { import flash.display.*; public dynamic class MyGames4GirlsDE extends MovieClip { } }//package
Section 174
//MyGames4GirlsDEGlint (MyGames4GirlsDEGlint) package { import flash.display.*; public dynamic class MyGames4GirlsDEGlint extends MovieClip { } }//package
Section 175
//MyGames4GirlsFR (MyGames4GirlsFR) package { import flash.display.*; public dynamic class MyGames4GirlsFR extends MovieClip { } }//package
Section 176
//MyGames4GirlsFRGlint (MyGames4GirlsFRGlint) package { import flash.display.*; public dynamic class MyGames4GirlsFRGlint extends MovieClip { } }//package
Section 177
//MyGames4GirlsSP (MyGames4GirlsSP) package { import flash.display.*; public dynamic class MyGames4GirlsSP extends MovieClip { } }//package
Section 178
//MyGames4GirlsSPGlint (MyGames4GirlsSPGlint) package { import flash.display.*; public dynamic class MyGames4GirlsSPGlint extends MovieClip { } }//package
Section 179
//NextLevelDe (NextLevelDe) package { import flash.display.*; public dynamic class NextLevelDe extends MovieClip { } }//package
Section 180
//NextLevelEn (NextLevelEn) package { import flash.display.*; public dynamic class NextLevelEn extends MovieClip { } }//package
Section 181
//NextLevelEs (NextLevelEs) package { import flash.display.*; public dynamic class NextLevelEs extends MovieClip { } }//package
Section 182
//NextLevelFr (NextLevelFr) package { import flash.display.*; public dynamic class NextLevelFr extends MovieClip { } }//package
Section 183
//NextLevelHeartAnimation (NextLevelHeartAnimation) package { import flash.display.*; public dynamic class NextLevelHeartAnimation extends MovieClip { public function NextLevelHeartAnimation(){ addFrameScript(29, this.frame30); } function frame30(){ stop(); } } }//package
Section 184
//NextLevelHeartDisplayAsset (NextLevelHeartDisplayAsset) package { import flash.display.*; public dynamic class NextLevelHeartDisplayAsset extends MovieClip { } }//package
Section 185
//PlayDE (PlayDE) package { import flash.display.*; public dynamic class PlayDE extends MovieClip { } }//package
Section 186
//PlayEN (PlayEN) package { import flash.display.*; public dynamic class PlayEN extends MovieClip { } }//package
Section 187
//PlayFR (PlayFR) package { import flash.display.*; public dynamic class PlayFR extends MovieClip { } }//package
Section 188
//PlaySP (PlaySP) package { import flash.display.*; public dynamic class PlaySP extends MovieClip { } }//package
Section 189
//Preload (Preload) package { import flash.events.*; import caurina.transitions.*; import org.flintparticles.twoD.zones.*; import flash.geom.*; import org.flintparticles.common.initializers.*; import org.flintparticles.common.actions.*; import org.flintparticles.common.counters.*; import flash.utils.*; import flash.display.*; import org.flintparticles.twoD.emitters.*; import flash.text.*; import flash.media.*; import org.flintparticles.twoD.renderers.*; import org.flintparticles.twoD.initializers.*; import org.flintparticles.twoD.actions.*; import Burst.*; import org.flintparticles.twoD.particles.*; import flash.net.*; import flash.system.*; public class Preload extends MovieClip { private const TRACKING_KEY:String = "kisses"; private var loadingBarHolder:Sprite; private var emitter2:Emitter2D; private var emitter3:Emitter2D; private var loadingText:TextField; private var channel:SoundChannel; private var sound:Sound; private var girls:Sprite; private var title:Sprite; private var emitter1:Emitter2D; private var urlString:String; private var render1:DisplayObjectRenderer; private var render2:DisplayObjectRenderer; private var glint:MovieClip; private var titleHittest:Sprite; private var titleGlint:MovieClip; private var loadText:TextField; private var background:Sprite; private var loadingBar:Sprite; private var buttonText:Sprite; public function Preload(){ var _local8:Boolean; var _local9:String; var _local10:LocalConnection; var _local11:String; var _local14:String; var _local15:String; var _local16:Number; super(); stop(); stage.scaleMode = StageScaleMode.SHOW_ALL; stage.align = StageAlign.TOP_LEFT; background = (new PreloaderBackgroundAsset() as Sprite); background.cacheAsBitmap = true; background.mouseEnabled = false; background.mouseChildren = false; addChild(background); emitter1 = new Emitter2D(); emitter1.counter = new Steady(20); emitter1.addInitializer(new ImageClass(PreloaderStarsAsset)); var _local1:LineZone = new LineZone(new Point(110, 150), new Point(590, 150)); var _local2:Position = new Position(_local1); var _local3:Lifetime = new Lifetime(4, 8); var _local4:Rotation = new Rotation(0, 360); emitter1.addInitializer(_local3); emitter1.addInitializer(_local2); emitter1.addInitializer(_local4); emitter1.addInitializer(new Velocity(new PointZone(new Point(10, 10)))); emitter1.addInitializer(new ScaleImageInit(0.25, 1)); emitter1.addAction(new Move()); emitter1.addAction(new RandomDrift(15, 15)); emitter1.addAction(new Age()); emitter1.addAction(new Rotate()); render1 = new DisplayObjectRenderer(); addChild(render1); render1.addEmitter(emitter1); emitter1.start(); emitter1.runAhead(10); emitter2 = new Emitter2D(); emitter2.counter = new Blast(100); emitter2.addInitializer(new ImageClass(PreloaderStarsAsset)); var _local5:RectangleZone = new RectangleZone((364 - 125), (390 - 25), (364 + 125), (390 + 25)); _local2 = new Position(_local5); _local3 = new Lifetime(1.6, 2.4); emitter2.addInitializer(_local3); emitter2.addInitializer(_local2); emitter2.addInitializer(_local4); emitter2.addInitializer(new Velocity(new PointZone(new Point(0, 0)))); emitter2.addInitializer(new ScaleImageInit(0.25, 1)); emitter2.addAction(new Move()); emitter2.addAction(new RandomDrift(0, 0)); emitter2.addAction(new Age()); emitter2.addAction(new Rotate()); emitter2.addAction(new Explosion(0.5, 364, 390)); emitter3 = new Emitter2D(); emitter3.counter = new Steady(20); emitter3.addInitializer(new ImageClass(PreloaderStarsAsset)); _local1 = new LineZone(new Point((364 - 150), 280), new Point((364 + 150), 280)); _local2 = new Position(_local1); _local3 = new Lifetime(4, 7); _local4 = new Rotation(0, 360); emitter3.addInitializer(_local3); emitter3.addInitializer(_local2); emitter3.addInitializer(_local4); emitter3.addInitializer(new Velocity(new PointZone(new Point(10, 10)))); emitter3.addInitializer(new ScaleImageInit(0.25, 1)); emitter3.addAction(new Move()); emitter3.addAction(new RandomDrift(15, 15)); emitter3.addAction(new Age()); emitter3.addAction(new Rotate()); render2 = new DisplayObjectRenderer(); addChild(render2); render2.addEmitter(emitter3); emitter3.start(); emitter3.runAhead(10); var _local6:Array = new Array("jeux2filles.fr", "juegosxachicas.com", "mygames4girls.de", "mygames4girls.com", "drimlike.com"); var _local7:String = loaderInfo.url; for each (_local9 in _local6) { _local14 = _local9.toLowerCase(); _local15 = _local7.toLowerCase(); _local16 = _local15.indexOf(_local14, 0); if (_local16 != -1){ _local8 = true; }; }; _local10 = new LocalConnection(); _local11 = _local10.domain; switch (Capabilities.language){ case "fr": title = (new MyGames4GirlsFR() as Sprite); if (_local8){ urlString = "http://www.jeux2filles.fr"; } else { urlString = ((("http://www.jeux2filles.fr/?utm_source=" + _local11) + "&utm_medium=our_games&utm_campaign=") + TRACKING_KEY); }; titleGlint = (new MyGames4GirlsFRGlint() as MovieClip); buttonText = (new PlayFR() as Sprite); break; case "es": title = (new MyGames4GirlsSP() as Sprite); if (_local8){ urlString = "http://www.jeux2filles.fr"; } else { urlString = ((("http://www.jeux2filles.fr/?utm_source=" + _local11) + "&utm_medium=our_games&utm_campaign=") + TRACKING_KEY); }; titleGlint = (new MyGames4GirlsSPGlint() as MovieClip); buttonText = (new PlaySP() as Sprite); break; case "de": title = (new MyGames4GirlsDE() as Sprite); if (_local8){ urlString = "http://www.mygames4girls.de"; } else { urlString = ((("http://www.mygames4girls.de/?utm_source=" + _local11) + "&utm_medium=our_games&utm_campaign=") + TRACKING_KEY); }; titleGlint = (new MyGames4GirlsDEGlint() as MovieClip); buttonText = (new PlayDE() as Sprite); break; default: title = (new MyGames4GirlsCOM() as Sprite); if (_local8){ urlString = "http://www.mygames4girls.com"; } else { urlString = ((("http://www.mygames4girls.com/?utm_source=" + _local11) + "&utm_medium=our_games&utm_campaign=") + TRACKING_KEY); }; titleGlint = (new MyGames4GirlsCOMGlint() as MovieClip); buttonText = (new PlayEN() as Sprite); break; }; title.x = 362; title.y = 147; title.mouseEnabled = false; title.mouseChildren = false; addChild(title); titleGlint.x = 362; titleGlint.y = 147; titleGlint.mouseEnabled = false; titleGlint.mouseChildren = false; addChild(titleGlint); titleHittest = new Sprite(); titleHittest.x = title.x; titleHittest.y = title.y; titleHittest.graphics.beginFill(0xFFFFFF, 0); titleHittest.graphics.drawRect((-(title.width) / 2), (-(title.height) / 2), title.width, title.height); titleHittest.buttonMode = true; titleHittest.useHandCursor = true; titleHittest.addEventListener(MouseEvent.CLICK, onTitleClick); titleHittest.addEventListener(MouseEvent.ROLL_OVER, onTitleRollOver); titleHittest.addEventListener(MouseEvent.ROLL_OUT, onTitleRollOut); addChildAt(titleHittest, 1); girls = (new GirlsHeads() as Sprite); girls.x = 362; girls.y = 288; girls.buttonMode = true; girls.useHandCursor = true; girls.addEventListener(MouseEvent.CLICK, onTitleClick); addChild(girls); var _local12:DisplayObjectRenderer = new DisplayObjectRenderer(); addChild(_local12); _local12.addEmitter(emitter2); loadingBarHolder = (new LoadingBarHolder() as Sprite); loadingBarHolder.x = 194; loadingBarHolder.y = 363; addChild(loadingBarHolder); loadingBar = (new LoadingBar() as Sprite); loadingBar.x = (loadingBarHolder.x + 6); loadingBar.y = (loadingBarHolder.y + 6); loadingBar.width = 1; addChild(loadingBar); var _local13:TextFormat = new TextFormat(); _local13.font = "Trebuchet MS"; _local13.bold = true; _local13.size = 13; _local13.color = 0xFFFFFF; loadingText = new TextField(); loadingText.defaultTextFormat = _local13; loadingText.x = loadingBar.x; loadingText.y = (loadingBar.y - 3); loadingText.autoSize = TextFieldAutoSize.LEFT; loadingText.text = ""; addChild(loadingText); sound = (new mp3() as Sound); channel = sound.play(0); channel.stop(); addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function onButtonMouseOut(_arg1:MouseEvent):void{ if (glint != null){ glint.gotoAndStop(0); }; } private function onTitleClick(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest(urlString); navigateToURL(_local2, "_blank"); } private function onTitleRollOut(_arg1:MouseEvent):void{ Tweener.addTween(title, {scaleX:1, scaleY:1, time:0.5, transition:"easeOutExpo"}); } private function addGlint():void{ channel = sound.play(0, 0); emitter2.start(); glint = (new Glint() as MovieClip); glint.gotoAndStop(0); glint.x = (728 / 2); glint.y = (loadingBar.y + 25); glint.mouseEnabled = false; glint.mouseChildren = false; addChild(glint); } private function convertToButton():void{ Tweener.addTween(loadingBarHolder, {width:262, x:232, height:60, time:1, transition:"easeOutElastic"}); Tweener.addTween(loadingBar, {width:250, x:238, height:48, time:1, transition:"easeOutElastic", onComplete:addGlint()}); loadingBarHolder.mouseEnabled = false; loadingBarHolder.mouseChildren = false; loadingBar.buttonMode = true; loadingBar.useHandCursor = true; loadingBar.addEventListener(MouseEvent.MOUSE_OVER, onButtonMouseOver); loadingBar.addEventListener(MouseEvent.MOUSE_OUT, onButtonMouseOut); loadingBar.addEventListener(MouseEvent.CLICK, onButtonMouseClick); buttonText.x = 364; buttonText.y = loadingBar.y; buttonText.alpha = 0; buttonText.mouseEnabled = false; buttonText.mouseChildren = false; addChild(buttonText); Tweener.addTween(buttonText, {y:(buttonText.y + 25), time:0.5, alpha:1, transition:"easeOutExpo"}); } private function onButtonMouseOver(_arg1:MouseEvent):void{ glint.gotoAndPlay(1); } private function onTitleRollOver(_arg1:MouseEvent):void{ Tweener.addTween(title, {scaleX:1.1, scaleY:1.1, time:0.5, transition:"easeOutExpo"}); } private function onEnterFrame(_arg1:Event):void{ trace("enter frame"); var _local2:int = Math.round(((this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal) * 100)); var _local3:int = ((loadingBarHolder.width - 12) / 100); loadingBar.width = (_local2 * _local3); if (this.loaderInfo.bytesLoaded == this.loaderInfo.bytesTotal){ loadingBar.width = (loadingBarHolder.width - 12); loadingText.visible = false; removeEventListener(Event.ENTER_FRAME, onEnterFrame); convertToButton(); }; if (loadingText != null){ if (_local2 > 10){ loadingText.x = ((loadingBar.width + loadingBar.x) - 40); }; loadingText.text = (String(_local2) + "%"); }; } private function onButtonMouseClick(_arg1:MouseEvent):void{ nextFrame(); var _local2:Class = (getDefinitionByName("Main") as Class); addChild((new (_local2) as DisplayObject)); emitter1.stop(); emitter2.stop(); emitter3.stop(); ParticleCreator2D(emitter1.particleFactory).clearAllParticles(); ParticleCreator2D(emitter2.particleFactory).clearAllParticles(); ParticleCreator2D(emitter3.particleFactory).clearAllParticles(); render1.removeEmitter(emitter1); render1.removeEmitter(emitter2); render2.removeEmitter(emitter3); emitter1 = null; emitter2 = null; emitter3 = null; removeChild(render1); removeChild(render2); removeChild(title); removeChild(girls); removeChild(loadingBar); removeChild(loadingBarHolder); removeChild(background); removeChild(buttonText); removeChild(loadingText); removeChild(glint); removeChild(titleGlint); title = null; girls = null; loadingBar = null; loadingBarHolder = null; background = null; buttonText = null; loadingText = null; glint = null; render1 = null; render2 = null; titleGlint = null; } } }//package
Section 190
//PreloaderBackgroundAsset (PreloaderBackgroundAsset) package { import flash.display.*; public dynamic class PreloaderBackgroundAsset extends MovieClip { } }//package
Section 191
//PreloaderStarsAsset (PreloaderStarsAsset) package { import flash.display.*; public dynamic class PreloaderStarsAsset extends MovieClip { } }//package
Section 192
//ReplayDe (ReplayDe) package { import flash.display.*; public dynamic class ReplayDe extends MovieClip { } }//package
Section 193
//ReplayEn (ReplayEn) package { import flash.display.*; public dynamic class ReplayEn extends MovieClip { } }//package
Section 194
//ReplayFr (ReplayFr) package { import flash.display.*; public dynamic class ReplayFr extends MovieClip { } }//package
Section 195
//ReplaySp (ReplaySp) package { import flash.display.*; public dynamic class ReplaySp extends MovieClip { } }//package
Section 196
//SadRedCheeksAnimation (SadRedCheeksAnimation) package { import flash.display.*; public dynamic class SadRedCheeksAnimation extends MovieClip { public function SadRedCheeksAnimation(){ addFrameScript(0, this.frame1, 79, this.frame80); } function frame1(){ stop(); } function frame80(){ gotoAndPlay(2); } } }//package
Section 197
//SadSceneAnimationAsset (SadSceneAnimationAsset) package { import flash.display.*; public dynamic class SadSceneAnimationAsset extends MovieClip { public var sleepEyes:MovieClip; public var finger:MovieClip; public var redFace:SadRedCheeksAnimation; public var sleepyEyes2:MovieClip; public function SadSceneAnimationAsset(){ addFrameScript(0, this.frame1); } function frame1(){ } public function deactivate():void{ this.sleepEyes.gotoAndStop(0); this.finger.gotoAndStop(0); this.sleepyEyes2.gotoAndStop(0); this.redFace.gotoAndStop(0); } public function activate():void{ this.sleepEyes.gotoAndPlay(2); this.finger.gotoAndPlay(2); this.sleepyEyes2.gotoAndPlay(2); this.redFace.gotoAndPlay(2); } } }//package
Section 198
//SadSceneAsset (SadSceneAsset) package { import flash.display.*; public dynamic class SadSceneAsset extends MovieClip { } }//package
Section 199
//SandboxDoneButton (SandboxDoneButton) package { import flash.display.*; public dynamic class SandboxDoneButton extends MovieClip { } }//package
Section 200
//SandboxDoneHighlight (SandboxDoneHighlight) package { import flash.display.*; public dynamic class SandboxDoneHighlight extends MovieClip { } }//package
Section 201
//SandboxPrintButton (SandboxPrintButton) package { import flash.display.*; public dynamic class SandboxPrintButton extends MovieClip { } }//package
Section 202
//SandboxPrintGlint (SandboxPrintGlint) package { import flash.display.*; public dynamic class SandboxPrintGlint extends MovieClip { } }//package
Section 203
//ShowLevelProgressAsset (ShowLevelProgressAsset) package { import flash.display.*; import flash.text.*; public dynamic class ShowLevelProgressAsset extends MovieClip { public var textField:TextField; public var heart1:NextLevelHeartAnimation; public var heart2:NextLevelHeartAnimation; public var heart3:NextLevelHeartAnimation; } }//package
Section 204
//StarAnimationAsset (StarAnimationAsset) package { import flash.display.*; public dynamic class StarAnimationAsset extends MovieClip { public var starAsset:MovieClip; } }//package
Section 205
//TearLeft (TearLeft) package { import flash.display.*; public dynamic class TearLeft extends MovieClip { } }//package
Section 206
//TearRight (TearRight) package { import flash.display.*; public dynamic class TearRight extends MovieClip { } }//package
Section 207
//TearsAssets (TearsAssets) package { import flash.display.*; public dynamic class TearsAssets extends MovieClip { } }//package

Library Items

Symbol 1 GraphicUsed by:3
Symbol 2 GraphicUsed by:3 26 35 55 61
Symbol 3 MovieClip {MyGames4GirlsCOMGlint} [MyGames4GirlsCOMGlint]Uses:1 2
Symbol 4 GraphicUsed by:8
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:8
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClip {MyGames4GirlsFR} [MyGames4GirlsFR]Uses:4 6 7
Symbol 9 GraphicUsed by:16
Symbol 10 GraphicUsed by:11 31
Symbol 11 MovieClipUses:10Used by:16
Symbol 12 GraphicUsed by:16
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:16
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip {MyGames4GirlsCOM} [MyGames4GirlsCOM]Uses:9 11 12 14 15
Symbol 17 GraphicUsed by:24
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:24
Symbol 20 GraphicUsed by:24
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:24
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClip {MyGames4GirlsDE} [MyGames4GirlsDE]Uses:17 19 20 22 23
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClip {MyGames4GirlsDEGlint} [MyGames4GirlsDEGlint]Uses:25 2
Symbol 27 GraphicUsed by:33
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:33
Symbol 30 GraphicUsed by:33
Symbol 31 MovieClipUses:10Used by:33
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClip {MyGames4GirlsSP} [MyGames4GirlsSP]Uses:27 29 30 31 32
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClip {MyGames4GirlsSPGlint} [MyGames4GirlsSPGlint]Uses:34 2
Symbol 36 Sound {Burst.mp3} [Burst.mp3]
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClip {PlayEN} [PlayEN]Uses:37
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClip {LoadingBar} [LoadingBar]Uses:39
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:45
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:45
Symbol 45 MovieClip {PreloaderStarsAsset} [PreloaderStarsAsset]Uses:42 44
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClip {PreloaderBackgroundAsset} [PreloaderBackgroundAsset]Uses:46
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClip {PlayDE} [PlayDE]Uses:48
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClip {GirlsHeads} [GirlsHeads]Uses:50
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClip {PlaySP} [PlaySP]Uses:52
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClip {MyGames4GirlsFRGlint} [MyGames4GirlsFRGlint]Uses:54 2
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClip {PlayFR} [PlayFR]Uses:56
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClip {LoadingBarHolder} [LoadingBarHolder]Uses:58
Symbol 60 GraphicUsed by:62
Symbol 61 MovieClipUses:2Used by:62
Symbol 62 MovieClip {Glint} [Glint]Uses:60 61
Symbol 63 Sound {MainCharSwishMP3} [MainCharSwishMP3]
Symbol 64 Sound {KissingSoundMP3} [KissingSoundMP3]
Symbol 65 Sound {LevelOneMP3} [LevelOneMP3]
Symbol 66 Sound {GameCompleteMP3} [GameCompleteMP3]
Symbol 67 Sound {CoupleCaughtMP3} [CoupleCaughtMP3]
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClip {drimlike.sounds.SoundButton_SoundOnData} [SoundOn]Uses:68
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClip {drimlike.sounds.SoundButton_SoundOffData} [SoundOff]Uses:70
Symbol 72 Sound {GameMusicMP3} [GameMusicMP3]
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClip {Background1} [Background1]Uses:73
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClip {AlertAsset} [AlertAsset]Uses:75
Symbol 77 GraphicUsed by:80
Symbol 78 FontUsed by:79 92 99 102 266 459 462 465 468
Symbol 79 TextUses:78Used by:80
Symbol 80 MovieClip {MoreGamesFr} [MoreGamesFr]Uses:77 79
Symbol 81 GraphicUsed by:84
Symbol 82 FontUsed by:83 86 89 96 266
Symbol 83 TextUses:82Used by:84
Symbol 84 MovieClip {drimlike.scenes.sandboxItems.SandboxDone_DoneFrData} [DoneFr]Uses:81 83
Symbol 85 GraphicUsed by:87
Symbol 86 TextUses:82Used by:87
Symbol 87 MovieClip {drimlike.scenes.sandboxItems.SandboxDone_DoneSpData} [DoneSp]Uses:85 86
Symbol 88 GraphicUsed by:90
Symbol 89 TextUses:82Used by:90
Symbol 90 MovieClip {drimlike.scenes.sandboxItems.SandboxDone_DoneDeData} [DoneDe]Uses:88 89
Symbol 91 GraphicUsed by:93
Symbol 92 TextUses:78Used by:93
Symbol 93 MovieClip {MoreGamesDe} [MoreGamesDe]Uses:91 92
Symbol 94 Sound {drimlike.scenes.sandboxItems.SandboxDone_DoneSoundData} [DoneSound.mp3]
Symbol 95 GraphicUsed by:97
Symbol 96 TextUses:82Used by:97
Symbol 97 MovieClip {drimlike.scenes.sandboxItems.SandboxDone_DoneEnData} [DoneEn]Uses:95 96
Symbol 98 GraphicUsed by:100
Symbol 99 TextUses:78Used by:100
Symbol 100 MovieClip {MoreGamesEn} [MoreGamesEn]Uses:98 99
Symbol 101 GraphicUsed by:103
Symbol 102 TextUses:78Used by:103
Symbol 103 MovieClip {MoreGamesSp} [MoreGamesSp]Uses:101 102
Symbol 104 ShapeTweeningUsed by:107
Symbol 105 ShapeTweeningUsed by:107
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClip {drimlike.xml.XMLFeed_XMLFeedHighlight} [XMLFeedHighlight]Uses:104 105 106
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClip {drimlike.xml.XMLFeed_XMLFeedMask} [XMLFeedMask]Uses:108
Symbol 110 GraphicUsed by:115
Symbol 111 GraphicUsed by:115
Symbol 112 GraphicUsed by:115
Symbol 113 GraphicUsed by:115
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClip {drimlike.xml.XMLFeed_XMLFeedIcon} [XMLFeedIcon]Uses:110 111 112 113 114
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClip {drimlike.xml.XMLFeed_XMLFeedButton} [XMLFeedButton]Uses:116
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClip {drimlike.xml.XMLRotator_XMLRotatorBackground} [XMLRotatorBackground]Uses:118
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClip {drimlike.xml.XMLRotator_XMLRotatorGirls} [XMLRotatorGirls]Uses:120
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClip {MainCharNormalHeadAsset} [MainCharNormalHeadAsset]Uses:122
Symbol 124 GraphicUsed by:128
Symbol 125 GraphicUsed by:128 137 139
Symbol 126 GraphicUsed by:128 137 139
Symbol 127 GraphicUsed by:128 137 139
Symbol 128 MovieClip {MainCharLookRambleAsset3} [MainCharLookRambleAsset3]Uses:124 125 126 127
Symbol 129 GraphicUsed by:135
Symbol 130 GraphicUsed by:135
Symbol 131 GraphicUsed by:135
Symbol 132 GraphicUsed by:135
Symbol 133 GraphicUsed by:135
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClip {MainCharRambleAsset} [MainCharRambleAsset]Uses:129 130 131 132 133 134
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClip {MainCharLookRambleAsset2} [MainCharLookRambleAsset2]Uses:136 125 126 127
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClip {MainCharLookRambleAsset1} [MainCharLookRambleAsset1]Uses:138 125 126 127
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClip {MainCharLookingHeadOnlyAsset} [MainCharLookingHeadOnlyAsset]Uses:140Used by:142
Symbol 142 MovieClip {MainCharLookingHeadAsset} [MainCharLookingHeadAsset]Uses:141
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClip {MainCharAsset} [MainCharAsset]Uses:143
Symbol 145 GraphicUsed by:148
Symbol 146 GraphicUsed by:148
Symbol 147 GraphicUsed by:148
Symbol 148 MovieClip {library_fla.SadBlinkAsset_72} [library_fla.SadBlinkAsset_72]Uses:145 146 147Used by:162
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:149Used by:151
Symbol 151 MovieClip {library_fla.SadFingerTapAsset_73} [library_fla.SadFingerTapAsset_73]Uses:150Used by:162
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:154
Symbol 154 MovieClip {SadRedCheeksAnimation} [SadRedCheeksAnimation]Uses:153Used by:162
Symbol 155 GraphicUsed by:161
Symbol 156 GraphicUsed by:161
Symbol 157 GraphicUsed by:161
Symbol 158 GraphicUsed by:161
Symbol 159 GraphicUsed by:161
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClip {library_fla.SadSleepAsset_77} [library_fla.SadSleepAsset_77]Uses:155 156 157 158 159 160Used by:162
Symbol 162 MovieClip {SadSceneAnimationAsset} [SadSceneAnimationAsset]Uses:148 151 154 161
Symbol 163 GraphicUsed by:259
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:164Used by:259 408
Symbol 166 GraphicUsed by:167
Symbol 167 MovieClipUses:166Used by:259 408
Symbol 168 GraphicUsed by:169
Symbol 169 MovieClipUses:168Used by:259 408
Symbol 170 GraphicUsed by:259 408
Symbol 171 GraphicUsed by:172 388
Symbol 172 MovieClipUses:171Used by:259 408
Symbol 173 GraphicUsed by:259
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:259
Symbol 176 GraphicUsed by:177 361
Symbol 177 MovieClipUses:176Used by:259
Symbol 178 GraphicUsed by:179 362
Symbol 179 MovieClipUses:178Used by:259
Symbol 180 GraphicUsed by:259
Symbol 181 GraphicUsed by:182 349
Symbol 182 MovieClipUses:181Used by:259
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:183Used by:259
Symbol 185 GraphicUsed by:259
Symbol 186 GraphicUsed by:187 355
Symbol 187 MovieClipUses:186Used by:259
Symbol 188 GraphicUsed by:259
Symbol 189 GraphicUsed by:190
Symbol 190 MovieClipUses:189Used by:259 408
Symbol 191 GraphicUsed by:259
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:192Used by:259 408
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClipUses:194Used by:259 408
Symbol 196 GraphicUsed by:259
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClipUses:197Used by:259
Symbol 199 GraphicUsed by:200 364
Symbol 200 MovieClipUses:199Used by:259
Symbol 201 GraphicUsed by:259
Symbol 202 GraphicUsed by:203 366
Symbol 203 MovieClipUses:202Used by:259
Symbol 204 GraphicUsed by:259
Symbol 205 MovieClipUsed by:259
Symbol 206 GraphicUsed by:259
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:207Used by:259
Symbol 209 GraphicUsed by:259
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClipUses:210Used by:259
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClipUses:212Used by:259
Symbol 214 GraphicUsed by:215
Symbol 215 MovieClipUses:214Used by:259
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:216Used by:259
Symbol 218 GraphicUsed by:259
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClipUses:219Used by:259
Symbol 221 GraphicUsed by:259
Symbol 222 FontUsed by:223 397
Symbol 223 TextUses:222Used by:259
Symbol 224 GraphicUsed by:259
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:259
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:259 408
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:259
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClipUses:231Used by:259
Symbol 233 GraphicUsed by:259
Symbol 234 GraphicUsed by:235 393
Symbol 235 MovieClipUses:234Used by:259
Symbol 236 GraphicUsed by:259
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:237Used by:259 408
Symbol 239 GraphicUsed by:259
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:240Used by:259 424
Symbol 242 GraphicUsed by:259
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClipUses:243Used by:259 408
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:259 424
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:259 424
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClipUses:249Used by:259 424
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClipUses:251Used by:259 424
Symbol 253 GraphicUsed by:259
Symbol 254 GraphicUsed by:255
Symbol 255 MovieClipUses:254Used by:259 408
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClipUses:256Used by:259 408
Symbol 258 GraphicUsed by:259
Symbol 259 MovieClip {SadSceneAsset} [SadSceneAsset]Uses:163 165 167 169 170 172 173 175 177 179 180 182 184 185 187 188 190 191 193 195 196 198 200 201 203 204 205 206 208 209 211 213 215 217 218 220 221 223 224 226 228 230 232 233 235 236 238 239 241 242 244 246 248 250 252 253 255 257 258
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClipUses:260Used by:267
Symbol 262 GraphicUsed by:267
Symbol 263 GraphicUsed by:264
Symbol 264 MovieClip {NextLevelHeartDisplayAsset} [NextLevelHeartDisplayAsset]Uses:263Used by:265
Symbol 265 MovieClip {NextLevelHeartAnimation} [NextLevelHeartAnimation]Uses:264Used by:267
Symbol 266 EditableTextUses:78 82Used by:267
Symbol 267 MovieClip {ShowLevelProgressAsset} [ShowLevelProgressAsset]Uses:261 262 265 266
Symbol 268 Sound {drimlike.scenes.sandboxItems.MyGamesForGirls_DefaultSoundData} [DefaultButton.mp3]
Symbol 269 GraphicUsed by:276
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270Used by:276
Symbol 272 GraphicUsed by:276
Symbol 273 GraphicUsed by:274
Symbol 274 MovieClipUses:273Used by:276
Symbol 275 GraphicUsed by:276
Symbol 276 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsSPData} [MyGamesForGirlsSP]Uses:269 271 272 274 275
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsComData} [MyGamesForGirlsCOM]Uses:277
Symbol 279 GraphicUsed by:281
Symbol 280 GraphicUsed by:281 287 289 291 441
Symbol 281 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsComGlintData} [MyGamesForGirlsCOMGlint]Uses:279 280
Symbol 282 GraphicUsed by:283
Symbol 283 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsDEData} [MyGamesForGirlsDE]Uses:282
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsFRData} [MyGamesForGirlsFR]Uses:284
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsDEGlintData} [MyGamesForGirlsDEGlint]Uses:286 280
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsSPGlintData} [MyGamesForGirlsSPGlint]Uses:288 280
Symbol 290 GraphicUsed by:291
Symbol 291 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsFRGlintData} [MyGamesForGirlsFRGlint]Uses:290 280
Symbol 292 GraphicUsed by:305
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:293Used by:305
Symbol 295 GraphicUsed by:305
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClipUses:296Used by:305
Symbol 298 GraphicUsed by:305
Symbol 299 GraphicUsed by:300
Symbol 300 MovieClipUses:299Used by:305
Symbol 301 GraphicUsed by:305
Symbol 302 GraphicUsed by:303
Symbol 303 MovieClipUses:302Used by:305
Symbol 304 GraphicUsed by:305
Symbol 305 MovieClip {CompletedSceneAsset} [CompletedSceneAsset]Uses:292 294 295 297 298 300 301 303 304
Symbol 306 GraphicUsed by:307
Symbol 307 MovieClip {LifeActiveAsset} [LifeActiveAsset]Uses:306
Symbol 308 GraphicUsed by:309
Symbol 309 MovieClip {LifeDeactiveAsset} [LifeDeactiveAsset]Uses:308
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClip {MeterBarAsset} [MeterBarAsset]Uses:310
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:312Used by:314
Symbol 314 MovieClip {MeterHeart} [MeterHeart]Uses:313
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClip {MeterBackgroundAsset} [MeterBackgroundAsset]Uses:315
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClip {NextLevelFr} [NextLevelFr]Uses:317
Symbol 319 ShapeTweeningUsed by:321
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClip {BlackRing} [BlackRing]Uses:319 320
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClip {NextLevelEs} [NextLevelEs]Uses:322
Symbol 324 GraphicUsed by:325
Symbol 325 MovieClip {NextLevelDe} [NextLevelDe]Uses:324
Symbol 326 GraphicUsed by:327
Symbol 327 MovieClip {NextLevelEn} [NextLevelEn]Uses:326
Symbol 328 GraphicUsed by:338
Symbol 329 GraphicUsed by:338
Symbol 330 GraphicUsed by:338
Symbol 331 GraphicUsed by:338
Symbol 332 GraphicUsed by:338
Symbol 333 GraphicUsed by:338
Symbol 334 GraphicUsed by:335
Symbol 335 MovieClipUses:334Used by:338
Symbol 336 GraphicUsed by:338
Symbol 337 GraphicUsed by:338
Symbol 338 MovieClip {BravoAnimationAsset} [BravoAnimationAsset]Uses:328 329 330 331 332 333 335 336 337
Symbol 339 GraphicUsed by:347
Symbol 340 GraphicUsed by:341
Symbol 341 MovieClip {GameOverGirlAsset} [GameOverGirlAsset]Uses:340Used by:347
Symbol 342 GraphicUsed by:343
Symbol 343 MovieClip {TearRight} [TearRight]Uses:342Used by:346
Symbol 344 GraphicUsed by:345
Symbol 345 MovieClip {TearLeft} [TearLeft]Uses:344Used by:346
Symbol 346 MovieClip {TearsAssets} [TearsAssets]Uses:343 345Used by:347
Symbol 347 MovieClip {GameOverSceneAsset} [GameOverSceneAsset]Uses:339 341 346
Symbol 348 GraphicUsed by:408
Symbol 349 MovieClipUses:181Used by:408
Symbol 350 GraphicUsed by:408
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:351Used by:408
Symbol 353 GraphicUsed by:408
Symbol 354 GraphicUsed by:408
Symbol 355 MovieClipUses:186Used by:408
Symbol 356 GraphicUsed by:408
Symbol 357 GraphicUsed by:408
Symbol 358 GraphicUsed by:408
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClipUses:359Used by:408
Symbol 361 MovieClipUses:176Used by:408
Symbol 362 MovieClipUses:178Used by:408
Symbol 363 GraphicUsed by:408
Symbol 364 MovieClipUses:199Used by:408
Symbol 365 GraphicUsed by:408
Symbol 366 MovieClipUses:202Used by:408
Symbol 367 GraphicUsed by:408
Symbol 368 GraphicUsed by:369
Symbol 369 MovieClipUses:368Used by:408
Symbol 370 GraphicUsed by:408
Symbol 371 GraphicUsed by:372
Symbol 372 MovieClipUses:371Used by:408
Symbol 373 GraphicUsed by:408
Symbol 374 GraphicUsed by:375
Symbol 375 MovieClipUses:374Used by:408
Symbol 376 GraphicUsed by:408
Symbol 377 GraphicUsed by:378
Symbol 378 MovieClipUses:377Used by:408
Symbol 379 GraphicUsed by:408
Symbol 380 GraphicUsed by:381
Symbol 381 MovieClipUses:380Used by:408
Symbol 382 GraphicUsed by:408
Symbol 383 GraphicUsed by:384
Symbol 384 MovieClipUses:383Used by:408
Symbol 385 GraphicUsed by:386
Symbol 386 MovieClipUses:385Used by:408
Symbol 387 GraphicUsed by:408
Symbol 388 MovieClipUses:171Used by:408
Symbol 389 GraphicUsed by:408
Symbol 390 GraphicUsed by:391
Symbol 391 MovieClipUses:390Used by:408
Symbol 392 GraphicUsed by:408
Symbol 393 MovieClipUses:234Used by:408
Symbol 394 GraphicUsed by:395
Symbol 395 MovieClipUses:394Used by:408
Symbol 396 GraphicUsed by:408
Symbol 397 TextUses:222Used by:408
Symbol 398 GraphicUsed by:408
Symbol 399 GraphicUsed by:408
Symbol 400 GraphicUsed by:408
Symbol 401 GraphicUsed by:408
Symbol 402 GraphicUsed by:408
Symbol 403 GraphicUsed by:404
Symbol 404 MovieClipUses:403Used by:408
Symbol 405 GraphicUsed by:406
Symbol 406 MovieClipUses:405Used by:408
Symbol 407 GraphicUsed by:408
Symbol 408 MovieClip {HappySceneAssetForeground} [HappySceneAssetForeground]Uses:348 349 350 352 353 190 354 355 356 193 195 357 165 167 169 170 172 358 360 361 362 363 364 365 366 367 369 370 372 373 375 376 378 379 381 382 228 384 386 387 388 389 391 392 393 395 396 397 398 238 399 244 400 255 401 257 402 404 406 407
Symbol 409 GraphicUsed by:424
Symbol 410 GraphicUsed by:424
Symbol 411 GraphicUsed by:412
Symbol 412 MovieClipUses:411Used by:424
Symbol 413 GraphicUsed by:424
Symbol 414 GraphicUsed by:415
Symbol 415 MovieClipUses:414Used by:424
Symbol 416 GraphicUsed by:417
Symbol 417 MovieClipUses:416Used by:424
Symbol 418 GraphicUsed by:419
Symbol 419 MovieClipUses:418Used by:424
Symbol 420 GraphicUsed by:424
Symbol 421 GraphicUsed by:422
Symbol 422 MovieClipUses:421Used by:424
Symbol 423 GraphicUsed by:424
Symbol 424 MovieClip {HappySceneAssetBackground} [HappySceneAssetBackground]Uses:409 241 410 412 413 415 417 419 420 246 248 250 252 422 423
Symbol 425 GraphicUsed by:426
Symbol 426 MovieClipUses:425Used by:427
Symbol 427 MovieClip {HappyExclamationAnimation} [HappyExclamationAnimation]Uses:426Used by:434
Symbol 428 GraphicUsed by:429
Symbol 429 MovieClipUses:428Used by:430
Symbol 430 MovieClipUses:429Used by:434
Symbol 431 GraphicUsed by:432
Symbol 432 MovieClipUses:431Used by:433
Symbol 433 MovieClip {HappyExplamation2Animation} [HappyExplamation2Animation]Uses:432Used by:434
Symbol 434 MovieClip {HappySceneAnimationAsset} [HappySceneAnimationAsset]Uses:427 430 433
Symbol 435 GraphicUsed by:436
Symbol 436 MovieClipUses:435Used by:437
Symbol 437 MovieClip {StarAnimationAsset} [StarAnimationAsset]Uses:436
Symbol 438 GraphicUsed by:439
Symbol 439 MovieClip {drimlike.xml.XMLRotatorButtonLeft_XMLRotatorLeft} [XMLRotatorLeft]Uses:438
Symbol 440 GraphicUsed by:441
Symbol 441 MovieClip {drimlike.xml.XMLRotatorItem_XMLRotatorMask} [XMLRotatorMask]Uses:440 280
Symbol 442 GraphicUsed by:443
Symbol 443 MovieClip {drimlike.xml.XMLRotatorButtonLeft_XMLRotatorButtonHighlight} [XMLRotatorButtonHighlight]Uses:442
Symbol 444 GraphicUsed by:445
Symbol 445 MovieClip {drimlike.xml.XMLRotatorButtonRight_XMLRotatorRight} [XMLRotatorRight]Uses:444
Symbol 446 GraphicUsed by:448
Symbol 447 GraphicUsed by:448 457
Symbol 448 MovieClip {SandboxPrintGlint} [SandboxPrintGlint]Uses:446 447
Symbol 449 Sound {DefaultButton} [DefaultButton]
Symbol 450 GraphicUsed by:451
Symbol 451 MovieClip {SandboxPrintButton} [SandboxPrintButton]Uses:450
Symbol 452 GraphicUsed by:453
Symbol 453 MovieClipUses:452Used by:454
Symbol 454 MovieClip {HappyHeartAnimation} [HappyHeartAnimation]Uses:453
Symbol 455 GraphicUsed by:456
Symbol 456 MovieClip {SandboxDoneButton} [SandboxDoneButton]Uses:455Used by:457
Symbol 457 MovieClip {SandboxDoneHighlight} [SandboxDoneHighlight]Uses:456 447
Symbol 458 GraphicUsed by:460
Symbol 459 TextUses:78Used by:460
Symbol 460 MovieClip {ReplaySp} [ReplaySp]Uses:458 459
Symbol 461 GraphicUsed by:463
Symbol 462 TextUses:78Used by:463
Symbol 463 MovieClip {ReplayEn} [ReplayEn]Uses:461 462
Symbol 464 GraphicUsed by:466
Symbol 465 TextUses:78Used by:466
Symbol 466 MovieClip {ReplayFr} [ReplayFr]Uses:464 465
Symbol 467 GraphicUsed by:469
Symbol 468 TextUses:78Used by:469
Symbol 469 MovieClip {ReplayDe} [ReplayDe]Uses:467 468

Instance Names

"headAsset"Symbol 142 MovieClip {MainCharLookingHeadAsset} [MainCharLookingHeadAsset] Frame 1Symbol 141 MovieClip {MainCharLookingHeadOnlyAsset} [MainCharLookingHeadOnlyAsset]
"sleepEyes"Symbol 162 MovieClip {SadSceneAnimationAsset} [SadSceneAnimationAsset] Frame 1Symbol 148 MovieClip {library_fla.SadBlinkAsset_72} [library_fla.SadBlinkAsset_72]
"finger"Symbol 162 MovieClip {SadSceneAnimationAsset} [SadSceneAnimationAsset] Frame 1Symbol 151 MovieClip {library_fla.SadFingerTapAsset_73} [library_fla.SadFingerTapAsset_73]
"redFace"Symbol 162 MovieClip {SadSceneAnimationAsset} [SadSceneAnimationAsset] Frame 1Symbol 154 MovieClip {SadRedCheeksAnimation} [SadRedCheeksAnimation]
"sleepyEyes2"Symbol 162 MovieClip {SadSceneAnimationAsset} [SadSceneAnimationAsset] Frame 1Symbol 161 MovieClip {library_fla.SadSleepAsset_77} [library_fla.SadSleepAsset_77]
"heart1"Symbol 267 MovieClip {ShowLevelProgressAsset} [ShowLevelProgressAsset] Frame 1Symbol 265 MovieClip {NextLevelHeartAnimation} [NextLevelHeartAnimation]
"heart2"Symbol 267 MovieClip {ShowLevelProgressAsset} [ShowLevelProgressAsset] Frame 1Symbol 265 MovieClip {NextLevelHeartAnimation} [NextLevelHeartAnimation]
"heart3"Symbol 267 MovieClip {ShowLevelProgressAsset} [ShowLevelProgressAsset] Frame 1Symbol 265 MovieClip {NextLevelHeartAnimation} [NextLevelHeartAnimation]
"textField"Symbol 267 MovieClip {ShowLevelProgressAsset} [ShowLevelProgressAsset] Frame 1Symbol 266 EditableText
"arrow"Symbol 338 MovieClip {BravoAnimationAsset} [BravoAnimationAsset] Frame 12Symbol 335 MovieClip
"e1"Symbol 434 MovieClip {HappySceneAnimationAsset} [HappySceneAnimationAsset] Frame 1Symbol 427 MovieClip {HappyExclamationAnimation} [HappyExclamationAnimation]
"e2"Symbol 434 MovieClip {HappySceneAnimationAsset} [HappySceneAnimationAsset] Frame 1Symbol 430 MovieClip
"e3"Symbol 434 MovieClip {HappySceneAnimationAsset} [HappySceneAnimationAsset] Frame 1Symbol 433 MovieClip {HappyExplamation2Animation} [HappyExplamation2Animation]
"starAsset"Symbol 437 MovieClip {StarAnimationAsset} [StarAnimationAsset] Frame 1Symbol 436 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1458 bytes "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 1000, ScriptTimeout: 60 seconds
ExportAssets (56)Timeline Frame 1Symbol 3 as "MyGames4GirlsCOMGlint"
ExportAssets (56)Timeline Frame 1Symbol 8 as "MyGames4GirlsFR"
ExportAssets (56)Timeline Frame 1Symbol 16 as "MyGames4GirlsCOM"
ExportAssets (56)Timeline Frame 1Symbol 24 as "MyGames4GirlsDE"
ExportAssets (56)Timeline Frame 1Symbol 26 as "MyGames4GirlsDEGlint"
ExportAssets (56)Timeline Frame 1Symbol 33 as "MyGames4GirlsSP"
ExportAssets (56)Timeline Frame 1Symbol 35 as "MyGames4GirlsSPGlint"
ExportAssets (56)Timeline Frame 1Symbol 36 as "Burst.mp3"
ExportAssets (56)Timeline Frame 1Symbol 38 as "PlayEN"
ExportAssets (56)Timeline Frame 1Symbol 40 as "LoadingBar"
ExportAssets (56)Timeline Frame 1Symbol 45 as "PreloaderStarsAsset"
ExportAssets (56)Timeline Frame 1Symbol 47 as "PreloaderBackgroundAsset"
ExportAssets (56)Timeline Frame 1Symbol 49 as "PlayDE"
ExportAssets (56)Timeline Frame 1Symbol 51 as "GirlsHeads"
ExportAssets (56)Timeline Frame 1Symbol 53 as "PlaySP"
ExportAssets (56)Timeline Frame 1Symbol 55 as "MyGames4GirlsFRGlint"
ExportAssets (56)Timeline Frame 1Symbol 57 as "PlayFR"
ExportAssets (56)Timeline Frame 1Symbol 59 as "LoadingBarHolder"
ExportAssets (56)Timeline Frame 1Symbol 62 as "Glint"
ExportAssets (56)Timeline Frame 2Symbol 63 as "MainCharSwishMP3"
ExportAssets (56)Timeline Frame 2Symbol 64 as "KissingSoundMP3"
ExportAssets (56)Timeline Frame 2Symbol 65 as "LevelOneMP3"
ExportAssets (56)Timeline Frame 2Symbol 66 as "GameCompleteMP3"
ExportAssets (56)Timeline Frame 2Symbol 67 as "CoupleCaughtMP3"
ExportAssets (56)Timeline Frame 2Symbol 69 as "SoundOn"
ExportAssets (56)Timeline Frame 2Symbol 71 as "SoundOff"
ExportAssets (56)Timeline Frame 2Symbol 72 as "GameMusicMP3"
ExportAssets (56)Timeline Frame 2Symbol 74 as "Background1"
ExportAssets (56)Timeline Frame 2Symbol 76 as "AlertAsset"
ExportAssets (56)Timeline Frame 2Symbol 80 as "MoreGamesFr"
ExportAssets (56)Timeline Frame 2Symbol 84 as "DoneFr"
ExportAssets (56)Timeline Frame 2Symbol 87 as "DoneSp"
ExportAssets (56)Timeline Frame 2Symbol 90 as "DoneDe"
ExportAssets (56)Timeline Frame 2Symbol 93 as "MoreGamesDe"
ExportAssets (56)Timeline Frame 2Symbol 94 as "DoneSound.mp3"
ExportAssets (56)Timeline Frame 2Symbol 97 as "DoneEn"
ExportAssets (56)Timeline Frame 2Symbol 100 as "MoreGamesEn"
ExportAssets (56)Timeline Frame 2Symbol 103 as "MoreGamesSp"
ExportAssets (56)Timeline Frame 2Symbol 107 as "XMLFeedHighlight"
ExportAssets (56)Timeline Frame 2Symbol 109 as "XMLFeedMask"
ExportAssets (56)Timeline Frame 2Symbol 115 as "XMLFeedIcon"
ExportAssets (56)Timeline Frame 2Symbol 117 as "XMLFeedButton"
ExportAssets (56)Timeline Frame 2Symbol 119 as "XMLRotatorBackground"
ExportAssets (56)Timeline Frame 2Symbol 121 as "XMLRotatorGirls"
ExportAssets (56)Timeline Frame 2Symbol 123 as "MainCharNormalHeadAsset"
ExportAssets (56)Timeline Frame 2Symbol 128 as "MainCharLookRambleAsset3"
ExportAssets (56)Timeline Frame 2Symbol 135 as "MainCharRambleAsset"
ExportAssets (56)Timeline Frame 2Symbol 137 as "MainCharLookRambleAsset2"
ExportAssets (56)Timeline Frame 2Symbol 139 as "MainCharLookRambleAsset1"
ExportAssets (56)Timeline Frame 2Symbol 142 as "MainCharLookingHeadAsset"
ExportAssets (56)Timeline Frame 2Symbol 144 as "MainCharAsset"
ExportAssets (56)Timeline Frame 2Symbol 162 as "SadSceneAnimationAsset"
ExportAssets (56)Timeline Frame 2Symbol 259 as "SadSceneAsset"
ExportAssets (56)Timeline Frame 2Symbol 267 as "ShowLevelProgressAsset"
ExportAssets (56)Timeline Frame 2Symbol 268 as "DefaultButton.mp3"
ExportAssets (56)Timeline Frame 2Symbol 276 as "MyGamesForGirlsSP"
ExportAssets (56)Timeline Frame 2Symbol 278 as "MyGamesForGirlsCOM"
ExportAssets (56)Timeline Frame 2Symbol 281 as "MyGamesForGirlsCOMGlint"
ExportAssets (56)Timeline Frame 2Symbol 283 as "MyGamesForGirlsDE"
ExportAssets (56)Timeline Frame 2Symbol 285 as "MyGamesForGirlsFR"
ExportAssets (56)Timeline Frame 2Symbol 287 as "MyGamesForGirlsDEGlint"
ExportAssets (56)Timeline Frame 2Symbol 289 as "MyGamesForGirlsSPGlint"
ExportAssets (56)Timeline Frame 2Symbol 291 as "MyGamesForGirlsFRGlint"
ExportAssets (56)Timeline Frame 2Symbol 305 as "CompletedSceneAsset"
ExportAssets (56)Timeline Frame 2Symbol 307 as "LifeActiveAsset"
ExportAssets (56)Timeline Frame 2Symbol 309 as "LifeDeactiveAsset"
ExportAssets (56)Timeline Frame 2Symbol 311 as "MeterBarAsset"
ExportAssets (56)Timeline Frame 2Symbol 314 as "MeterHeart"
ExportAssets (56)Timeline Frame 2Symbol 316 as "MeterBackgroundAsset"
ExportAssets (56)Timeline Frame 2Symbol 318 as "NextLevelFr"
ExportAssets (56)Timeline Frame 2Symbol 321 as "BlackRing"
ExportAssets (56)Timeline Frame 2Symbol 323 as "NextLevelEs"
ExportAssets (56)Timeline Frame 2Symbol 325 as "NextLevelDe"
ExportAssets (56)Timeline Frame 2Symbol 327 as "NextLevelEn"
ExportAssets (56)Timeline Frame 2Symbol 338 as "BravoAnimationAsset"
ExportAssets (56)Timeline Frame 2Symbol 347 as "GameOverSceneAsset"
ExportAssets (56)Timeline Frame 2Symbol 408 as "HappySceneAssetForeground"
ExportAssets (56)Timeline Frame 2Symbol 424 as "HappySceneAssetBackground"
ExportAssets (56)Timeline Frame 2Symbol 434 as "HappySceneAnimationAsset"
ExportAssets (56)Timeline Frame 2Symbol 437 as "StarAnimationAsset"
ExportAssets (56)Timeline Frame 2Symbol 439 as "XMLRotatorLeft"
ExportAssets (56)Timeline Frame 2Symbol 441 as "XMLRotatorMask"
ExportAssets (56)Timeline Frame 2Symbol 443 as "XMLRotatorButtonHighlight"
ExportAssets (56)Timeline Frame 2Symbol 445 as "XMLRotatorRight"
ExportAssets (56)Timeline Frame 2Symbol 141 as "MainCharLookingHeadOnlyAsset"
ExportAssets (56)Timeline Frame 2Symbol 154 as "SadRedCheeksAnimation"
ExportAssets (56)Timeline Frame 2Symbol 148 as "library_fla.SadBlinkAsset_72"
ExportAssets (56)Timeline Frame 2Symbol 161 as "library_fla.SadSleepAsset_77"
ExportAssets (56)Timeline Frame 2Symbol 151 as "library_fla.SadFingerTapAsset_73"
ExportAssets (56)Timeline Frame 2Symbol 265 as "NextLevelHeartAnimation"
ExportAssets (56)Timeline Frame 2Symbol 448 as "SandboxPrintGlint"
ExportAssets (56)Timeline Frame 2Symbol 449 as "DefaultButton"
ExportAssets (56)Timeline Frame 2Symbol 451 as "SandboxPrintButton"
ExportAssets (56)Timeline Frame 2Symbol 454 as "HappyHeartAnimation"
ExportAssets (56)Timeline Frame 2Symbol 457 as "SandboxDoneHighlight"
ExportAssets (56)Timeline Frame 2Symbol 460 as "ReplaySp"
ExportAssets (56)Timeline Frame 2Symbol 463 as "ReplayEn"
ExportAssets (56)Timeline Frame 2Symbol 466 as "ReplayFr"
ExportAssets (56)Timeline Frame 2Symbol 456 as "SandboxDoneButton"
ExportAssets (56)Timeline Frame 2Symbol 469 as "ReplayDe"
ExportAssets (56)Timeline Frame 2Symbol 346 as "TearsAssets"
ExportAssets (56)Timeline Frame 2Symbol 341 as "GameOverGirlAsset"
ExportAssets (56)Timeline Frame 2Symbol 427 as "HappyExclamationAnimation"
ExportAssets (56)Timeline Frame 2Symbol 433 as "HappyExplamation2Animation"
ExportAssets (56)Timeline Frame 2Symbol 264 as "NextLevelHeartDisplayAsset"
ExportAssets (56)Timeline Frame 2Symbol 345 as "TearLeft"
ExportAssets (56)Timeline Frame 2Symbol 343 as "TearRight"
SerialNumber (41)Timeline Frame 1

Labels

"Preload"Frame 1
"two"Frame 2




http://swfchan.com/24/118248/info.shtml
Created: 7/3 -2019 08:35:45 Last modified: 7/3 -2019 08:35:45 Server time: 22/12 -2024 12:00:16