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

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

twilight.swf

This is the info page for
Flash #122565

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


Text
MORE GAMES

PLUS DE JEUX

MÁS JUEGOS

MEHR SPIELE

IMPRIMER

PRINT

DRUCK

IMPRIMIR

REJOUER

REPLAY

JUGAR

SPIELEN

ActionScript [AS3]

Section 1
//ColorShortcuts (caurina.transitions.properties.ColorShortcuts) package caurina.transitions.properties { import flash.geom.*; import flash.filters.*; import caurina.transitions.*; 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 2
//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 3
//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 4
//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 5
//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 6
//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 7
//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 8
//Tweener (caurina.transitions.Tweener) package caurina.transitions { import flash.events.*; import flash.display.*; import flash.utils.*; public class Tweener { private static var _timeScale:Number = 1; private static var _currentTimeFrame:Number; private static var _specialPropertySplitterList:Object; private static var _engineExists:Boolean = false; private static var _specialPropertyModifierList:Object; private static var _currentTime:Number; private static var _tweenList:Array; private static var _specialPropertyList:Object; private static var _transitionList:Object; private static var _inited:Boolean = false; private static var __tweener_controller__:MovieClip; public function Tweener(){ trace("Tweener is a static class and should not be instantiated."); } public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{ 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 9
//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 10
//BackgroundButton (drimlike.background.BackgroundButton) package drimlike.background { import flash.events.*; import flash.display.*; import drimlike.data.*; import flash.filters.*; import caurina.transitions.*; public class BackgroundButton extends Sprite { protected var outline:Sprite; public var checkbox:Sprite; protected var hitTest:Sprite; protected var graphic:Sprite; private var CheckData:Class; public function BackgroundButton(){ CheckData = BackgroundButton_CheckData; super(); init(); } protected function addCheck():void{ checkbox = (new CheckData() as Sprite); checkbox.x = 60; checkbox.y = 40; checkbox.mouseEnabled = false; checkbox.mouseChildren = false; checkbox.visible = false; addChild(checkbox); } protected function onMouseClick(_arg1:MouseEvent):void{ var _local2:BackgroundButton; for each (_local2 in Engine.getInstance().sandbox.scenesArray) { if (_local2 != this){ _local2.checkbox.visible = false; } else { _local2.checkbox.visible = true; }; }; } protected function onMouseOut(_arg1:MouseEvent):void{ Tweener.addTween(this, {scaleX:1, scaleY:1, time:0.5, transition:"easeOutExpo"}); } protected function init():void{ hitTest = new Sprite(); hitTest.graphics.beginFill(0xFFFFFF, 1); hitTest.graphics.drawRect(0, 0, 110, 80); hitTest.graphics.endFill(); addChild(hitTest); outline = new Sprite(); outline.graphics.lineStyle(1, 0); outline.graphics.drawRect(0, 0, 110, 80); outline.graphics.endFill(); outline.mouseEnabled = false; addChild(outline); hitTest.useHandCursor = true; hitTest.buttonMode = true; hitTest.addEventListener(MouseEvent.CLICK, onMouseClick); hitTest.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); hitTest.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); var _local1:DropShadowFilter = new DropShadowFilter(); _local1.alpha = 0.5; _local1.blurX = 8; _local1.blurY = 8; _local1.color = 0; _local1.distance = 0; _local1.strength = 1; this.filters = new Array(_local1); } protected function onMouseOver(_arg1:MouseEvent):void{ Tweener.addTween(this, {scaleX:1.1, scaleY:1.2, time:0.5, transition:"easeOutExpo"}); } } }//package drimlike.background
Section 11
//BackgroundButton_CheckData (drimlike.background.BackgroundButton_CheckData) package drimlike.background { import mx.core.*; public class BackgroundButton_CheckData extends SpriteAsset { } }//package drimlike.background
Section 12
//BackgroundButton1 (drimlike.background.BackgroundButton1) package drimlike.background { import flash.events.*; import flash.display.*; import drimlike.data.*; public class BackgroundButton1 extends BackgroundButton { private var BackgroundData1:Class; public function BackgroundButton1(){ BackgroundData1 = BackgroundButton1_BackgroundData1; super(); } override protected function init():void{ super.init(); graphic = (new BackgroundData1() as Sprite); graphic.width = (hitTest.width + 1); graphic.height = (hitTest.height + 1); graphic.mouseEnabled = false; graphic.mouseChildren = false; addChild(graphic); addCheck(); } override protected function onMouseClick(_arg1:MouseEvent):void{ super.onMouseClick(_arg1); Engine.getInstance().backgroundManager.changeBackground(BackgroundManager.BACKGROUND_1); } } }//package drimlike.background
Section 13
//BackgroundButton1_BackgroundData1 (drimlike.background.BackgroundButton1_BackgroundData1) package drimlike.background { import mx.core.*; public class BackgroundButton1_BackgroundData1 extends SpriteAsset { } }//package drimlike.background
Section 14
//BackgroundButton2 (drimlike.background.BackgroundButton2) package drimlike.background { import flash.events.*; import flash.display.*; import drimlike.data.*; public class BackgroundButton2 extends BackgroundButton { private var BackgroundData2:Class; public function BackgroundButton2(){ BackgroundData2 = BackgroundButton2_BackgroundData2; super(); } override protected function init():void{ super.init(); graphic = (new BackgroundData2() as Sprite); graphic.width = (hitTest.width + 1); graphic.height = (hitTest.height + 1); graphic.mouseEnabled = false; graphic.mouseChildren = false; addChild(graphic); addCheck(); } override protected function onMouseClick(_arg1:MouseEvent):void{ super.onMouseClick(_arg1); Engine.getInstance().backgroundManager.changeBackground(BackgroundManager.BACKGROUND_2); } } }//package drimlike.background
Section 15
//BackgroundButton2_BackgroundData2 (drimlike.background.BackgroundButton2_BackgroundData2) package drimlike.background { import mx.core.*; public class BackgroundButton2_BackgroundData2 extends SpriteAsset { } }//package drimlike.background
Section 16
//BackgroundButton3 (drimlike.background.BackgroundButton3) package drimlike.background { import flash.events.*; import flash.display.*; import drimlike.data.*; public class BackgroundButton3 extends BackgroundButton { private var BackgroundData3:Class; public function BackgroundButton3(){ BackgroundData3 = BackgroundButton3_BackgroundData3; super(); } override protected function init():void{ super.init(); graphic = (new BackgroundData3() as Sprite); graphic.width = (hitTest.width + 1); graphic.height = (hitTest.height + 1); graphic.mouseEnabled = false; graphic.mouseChildren = false; addChild(graphic); addCheck(); } override protected function onMouseClick(_arg1:MouseEvent):void{ super.onMouseClick(_arg1); Engine.getInstance().backgroundManager.changeBackground(BackgroundManager.BACKGROUND_3); } } }//package drimlike.background
Section 17
//BackgroundButton3_BackgroundData3 (drimlike.background.BackgroundButton3_BackgroundData3) package drimlike.background { import mx.core.*; public class BackgroundButton3_BackgroundData3 extends SpriteAsset { } }//package drimlike.background
Section 18
//BackgroundButton4 (drimlike.background.BackgroundButton4) package drimlike.background { import flash.events.*; import flash.display.*; import drimlike.data.*; public class BackgroundButton4 extends BackgroundButton { private var BackgroundData4:Class; public function BackgroundButton4(){ BackgroundData4 = BackgroundButton4_BackgroundData4; super(); } override protected function init():void{ super.init(); graphic = (new BackgroundData4() as Sprite); graphic.width = (hitTest.width + 1); graphic.height = (hitTest.height + 1); graphic.mouseEnabled = false; graphic.mouseChildren = false; addChild(graphic); addCheck(); } override protected function onMouseClick(_arg1:MouseEvent):void{ super.onMouseClick(_arg1); Engine.getInstance().backgroundManager.changeBackground(BackgroundManager.BACKGROUND_4); } } }//package drimlike.background
Section 19
//BackgroundButton4_BackgroundData4 (drimlike.background.BackgroundButton4_BackgroundData4) package drimlike.background { import mx.core.*; public class BackgroundButton4_BackgroundData4 extends SpriteAsset { } }//package drimlike.background
Section 20
//BackgroundButton5 (drimlike.background.BackgroundButton5) package drimlike.background { import flash.events.*; import flash.display.*; import drimlike.data.*; public class BackgroundButton5 extends BackgroundButton { private var BackgroundData5:Class; public function BackgroundButton5(){ BackgroundData5 = BackgroundButton5_BackgroundData5; super(); } override protected function init():void{ super.init(); graphic = (new BackgroundData5() as Sprite); graphic.width = (hitTest.width + 1); graphic.height = (hitTest.height + 1); graphic.mouseEnabled = false; graphic.mouseChildren = false; addChild(graphic); addCheck(); } override protected function onMouseClick(_arg1:MouseEvent):void{ super.onMouseClick(_arg1); Engine.getInstance().backgroundManager.changeBackground(BackgroundManager.BACKGROUND_5); } } }//package drimlike.background
Section 21
//BackgroundButton5_BackgroundData5 (drimlike.background.BackgroundButton5_BackgroundData5) package drimlike.background { import mx.core.*; public class BackgroundButton5_BackgroundData5 extends SpriteAsset { } }//package drimlike.background
Section 22
//BackgroundButton6 (drimlike.background.BackgroundButton6) package drimlike.background { import flash.events.*; import flash.display.*; import drimlike.data.*; public class BackgroundButton6 extends BackgroundButton { private var BackgroundData6:Class; public function BackgroundButton6(){ BackgroundData6 = BackgroundButton6_BackgroundData6; super(); } override protected function init():void{ super.init(); graphic = (new BackgroundData6() as Sprite); graphic.width = (hitTest.width + 1); graphic.height = (hitTest.height + 1); graphic.mouseEnabled = false; graphic.mouseChildren = false; addChild(graphic); addCheck(); } override protected function onMouseClick(_arg1:MouseEvent):void{ super.onMouseClick(_arg1); Engine.getInstance().backgroundManager.changeBackground(BackgroundManager.BACKGROUND_6); } } }//package drimlike.background
Section 23
//BackgroundButton6_BackgroundData6 (drimlike.background.BackgroundButton6_BackgroundData6) package drimlike.background { import mx.core.*; public class BackgroundButton6_BackgroundData6 extends SpriteAsset { } }//package drimlike.background
Section 24
//BackgroundManager (drimlike.background.BackgroundManager) package drimlike.background { import flash.display.*; import caurina.transitions.*; public class BackgroundManager extends Sprite { public var background1:Sprite; public var background2:Sprite; public var background3:Sprite; public var background5:Sprite; public var background4:Sprite; public var background6:Sprite; private var BackgroundData1:Class; private var BackgroundData2:Class; private var BackgroundData3:Class; private var BackgroundData4:Class; private var BackgroundData5:Class; private var BackgroundData6:Class; public var selected:Sprite; public static const BACKGROUND_1:String = "backgroundChoice1"; public static const BACKGROUND_2:String = "backgroundChoice2"; public static const BACKGROUND_4:String = "backgroundChoice4"; public static const BACKGROUND_6:String = "backgroundChoice6"; public static const BACKGROUND_3:String = "backgroundChoice3"; public static const BACKGROUND_5:String = "backgroundChoice5"; public function BackgroundManager(){ BackgroundData1 = BackgroundManager_BackgroundData1; BackgroundData2 = BackgroundManager_BackgroundData2; BackgroundData3 = BackgroundManager_BackgroundData3; BackgroundData4 = BackgroundManager_BackgroundData4; BackgroundData5 = BackgroundManager_BackgroundData5; BackgroundData6 = BackgroundManager_BackgroundData6; super(); background1 = (new BackgroundData1() as Sprite); addChild(background1); background2 = (new BackgroundData2() as Sprite); addChild(background2); background3 = (new BackgroundData3() as Sprite); addChild(background3); background5 = (new BackgroundData5() as Sprite); addChild(background5); background6 = (new BackgroundData6() as Sprite); addChild(background6); background4 = (new BackgroundData4() as Sprite); addChild(background4); selected = background4; } public function changeBackground(_arg1:String):void{ switch (_arg1){ case BACKGROUND_1: if (selected != background1){ background1.alpha = 0; setChildIndex(background1, (numChildren - 1)); Tweener.addTween(background1, {alpha:1, time:1}); selected = background1; }; break; case BACKGROUND_2: if (selected != background2){ background2.alpha = 0; setChildIndex(background2, (numChildren - 1)); Tweener.addTween(background2, {alpha:1, time:1}); selected = background2; }; break; case BACKGROUND_3: if (selected != background3){ background3.alpha = 0; setChildIndex(background3, (numChildren - 1)); Tweener.addTween(background3, {alpha:1, time:1}); selected = background3; }; break; case BACKGROUND_4: if (selected != background4){ background4.alpha = 0; setChildIndex(background4, (numChildren - 1)); Tweener.addTween(background4, {alpha:1, time:1}); selected = background4; }; break; case BACKGROUND_5: if (selected != background5){ background5.alpha = 0; setChildIndex(background5, (numChildren - 1)); Tweener.addTween(background5, {alpha:1, time:1}); selected = background5; }; break; case BACKGROUND_6: if (selected != background6){ background6.alpha = 0; setChildIndex(background6, (numChildren - 1)); Tweener.addTween(background6, {alpha:1, time:1}); selected = background6; }; break; }; } } }//package drimlike.background
Section 25
//BackgroundManager_BackgroundData1 (drimlike.background.BackgroundManager_BackgroundData1) package drimlike.background { import mx.core.*; public class BackgroundManager_BackgroundData1 extends SpriteAsset { } }//package drimlike.background
Section 26
//BackgroundManager_BackgroundData2 (drimlike.background.BackgroundManager_BackgroundData2) package drimlike.background { import mx.core.*; public class BackgroundManager_BackgroundData2 extends SpriteAsset { } }//package drimlike.background
Section 27
//BackgroundManager_BackgroundData3 (drimlike.background.BackgroundManager_BackgroundData3) package drimlike.background { import mx.core.*; public class BackgroundManager_BackgroundData3 extends SpriteAsset { } }//package drimlike.background
Section 28
//BackgroundManager_BackgroundData4 (drimlike.background.BackgroundManager_BackgroundData4) package drimlike.background { import mx.core.*; public class BackgroundManager_BackgroundData4 extends SpriteAsset { } }//package drimlike.background
Section 29
//BackgroundManager_BackgroundData5 (drimlike.background.BackgroundManager_BackgroundData5) package drimlike.background { import mx.core.*; public class BackgroundManager_BackgroundData5 extends SpriteAsset { } }//package drimlike.background
Section 30
//BackgroundManager_BackgroundData6 (drimlike.background.BackgroundManager_BackgroundData6) package drimlike.background { import mx.core.*; public class BackgroundManager_BackgroundData6 extends SpriteAsset { } }//package drimlike.background
Section 31
//Character (drimlike.character.Character) package drimlike.character { import flash.events.*; import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; public class Character extends Sprite { private var lipHit:Sprite; public var bottomAsset:Garment; public var bottomFirstRun:Boolean;// = true public var eyeFirstRun:Boolean;// = true protected var colorSwatchArray:Array; public var topAsset:Garment; public var bottomPoint:Point; public var misc1FirstRun:Boolean;// = true private var LipsData:Class; public var misc1Asset:Garment; public var hairAsset:Garment; public var topFirstRun:Boolean;// = true private var BoxerStrapData:Class; private var colorArray:Array; private var boxer:Sprite; private var PupilData:Class; public var topPoint:Point; private var CharacterColorData:Class; public var hairFirstRun:Boolean;// = true public var eyeAsset:Garment; private var lips:Sprite; public var handAsset:Garment; private var pupilHit:Sprite; private var boxerStrap:Sprite; public var misc1Point:Point; public var shoeAsset:Garment; public var shoeFirstRun:Boolean;// = true public var hairPoint:Point; private var overlay:Sprite; private var CharOverlayData:Class; public var handFirstRun:Boolean;// = true private var HairData:Class; public var eyePoint:Point; public var handPoint:Point; private var hair:Sprite; public var shoePoint:Point; private var BoxerData:Class; private var color:Sprite; private var pupil:Sprite; public function Character(){ colorArray = new Array("0xFFFFFF", "0xFBD2AB", "0xE1A87A", "0xAAAB7C"); colorSwatchArray = new Array("0xC89D64", "0x905E36", "0x673A15", "0x41281B", "0x000000", "0xFFFFFF", "0xFFEC00", "0xFBBD1A", "0xF18700", "0xED172D", "0xBD0926", "0x7D042E", "0xBEE1E6", "0x66CFDC", "0x0096A1", "0x0098D4", "0x0D30A1", "0x13235B", "0xF19DAE", "0xED007A", "0xC40066", "0xA02483", "0x622294", "0x610D68", "0xDEDA00", "0x96BD0D", "0x40A52B", "0x00632E", "0xB3B3B3", "0x4D4D4D"); CharacterColorData = Character_CharacterColorData; CharOverlayData = Character_CharOverlayData; BoxerStrapData = Character_BoxerStrapData; BoxerData = Character_BoxerData; HairData = Character_HairData; LipsData = Character_LipsData; PupilData = Character_PupilData; super(); addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ eyePoint = new Point((this.x - 34), (this.y - 180)); shoePoint = new Point((this.x + -1), (this.y + 206)); hairPoint = new Point((this.x + -2), (this.y + -108)); topPoint = new Point((this.x - 6), (this.y - 79)); bottomPoint = new Point((this.x + 3), (this.y + 82)); handPoint = new Point((this.x + 45), (this.y + 19)); color = (new CharacterColorData() as Sprite); addChild(color); boxerStrap = (new BoxerStrapData() as Sprite); boxerStrap.x = -24; boxerStrap.y = -37; addChild(boxerStrap); boxer = (new BoxerData() as Sprite); boxer.x = -20; boxer.y = -10; addChild(boxer); hair = (new HairData() as Sprite); hair.x = -35; hair.y = -198; addChild(hair); lips = (new LipsData() as Sprite); lips.x = -41; lips.y = -163; addChild(lips); lipHit = new Sprite(); lipHit.graphics.beginFill(0, 0); lipHit.graphics.drawRect(0, 0, 20, 10); lipHit.graphics.endFill(); lipHit.x = -50; lipHit.y = -170; addChild(lipHit); overlay = (new CharOverlayData() as Sprite); overlay.mouseEnabled = false; addChild(overlay); pupil = (new PupilData() as Sprite); pupil.x = -42; pupil.y = -181; addChild(pupil); pupilHit = new Sprite(); pupilHit.graphics.beginFill(0, 0); pupilHit.graphics.drawRect(0, 0, 30, 10); pupilHit.graphics.endFill(); pupilHit.x = -57; pupilHit.y = -190; addChild(pupilHit); color.useHandCursor = true; color.buttonMode = true; boxer.useHandCursor = true; boxer.buttonMode = true; boxerStrap.useHandCursor = true; boxerStrap.buttonMode = true; hair.useHandCursor = true; hair.buttonMode = true; lipHit.useHandCursor = true; lipHit.buttonMode = true; pupilHit.useHandCursor = true; pupilHit.buttonMode = true; color.addEventListener(MouseEvent.CLICK, onColorClick); boxerStrap.addEventListener(MouseEvent.CLICK, onColorSwatchClick); boxer.addEventListener(MouseEvent.CLICK, onColorSwatchClick); hair.addEventListener(MouseEvent.CLICK, onColorSwatchClick); lipHit.addEventListener(MouseEvent.CLICK, onLipSwatchClick); pupilHit.addEventListener(MouseEvent.CLICK, onPupilSwatchClick); } private function onColorClick(_arg1:MouseEvent):void{ Engine.getInstance().colorSelector.open(color, colorArray); } private function onColorSwatchClick(_arg1:MouseEvent):void{ Engine.getInstance().colorSelector.open((_arg1.target as Sprite), colorSwatchArray); } private function onPupilSwatchClick(_arg1:MouseEvent):void{ Engine.getInstance().colorSelector.open(pupil, colorSwatchArray); } private function onLipSwatchClick(_arg1:MouseEvent):void{ Engine.getInstance().colorSelector.open(lips, colorSwatchArray); } } }//package drimlike.character
Section 32
//Character_BoxerData (drimlike.character.Character_BoxerData) package drimlike.character { import mx.core.*; public class Character_BoxerData extends SpriteAsset { } }//package drimlike.character
Section 33
//Character_BoxerStrapData (drimlike.character.Character_BoxerStrapData) package drimlike.character { import mx.core.*; public class Character_BoxerStrapData extends SpriteAsset { } }//package drimlike.character
Section 34
//Character_CharacterColorData (drimlike.character.Character_CharacterColorData) package drimlike.character { import mx.core.*; public class Character_CharacterColorData extends SpriteAsset { } }//package drimlike.character
Section 35
//Character_CharOverlayData (drimlike.character.Character_CharOverlayData) package drimlike.character { import mx.core.*; public class Character_CharOverlayData extends SpriteAsset { } }//package drimlike.character
Section 36
//Character_HairData (drimlike.character.Character_HairData) package drimlike.character { import mx.core.*; public class Character_HairData extends SpriteAsset { } }//package drimlike.character
Section 37
//Character_LipsData (drimlike.character.Character_LipsData) package drimlike.character { import mx.core.*; public class Character_LipsData extends SpriteAsset { } }//package drimlike.character
Section 38
//Character_PupilData (drimlike.character.Character_PupilData) package drimlike.character { import mx.core.*; public class Character_PupilData extends SpriteAsset { } }//package drimlike.character
Section 39
//CloseButton (drimlike.color.CloseButton) package drimlike.color { import flash.events.*; import flash.display.*; import caurina.transitions.*; public class CloseButton extends Sprite { private var foreground:Sprite; private var CloseButtonFGData:Class; private var CloseButtonBGData:Class; private var background:Sprite; public function CloseButton(){ CloseButtonBGData = CloseButton_CloseButtonBGData; CloseButtonFGData = CloseButton_CloseButtonFGData; super(); background = (new CloseButtonBGData() as Sprite); addChild(background); foreground = (new CloseButtonFGData() as Sprite); addChild(foreground); this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); } private function onMouseOut(_arg1:MouseEvent):void{ Tweener.addTween(foreground, {_color:12502215, time:1, transition:"easeOutExpo"}); } private function onMouseOver(_arg1:MouseEvent):void{ Tweener.addTween(foreground, {_color:15539236, time:1, transition:"easeOutExpo"}); } } }//package drimlike.color
Section 40
//CloseButton_CloseButtonBGData (drimlike.color.CloseButton_CloseButtonBGData) package drimlike.color { import mx.core.*; public class CloseButton_CloseButtonBGData extends SpriteAsset { } }//package drimlike.color
Section 41
//CloseButton_CloseButtonFGData (drimlike.color.CloseButton_CloseButtonFGData) package drimlike.color { import mx.core.*; public class CloseButton_CloseButtonFGData extends SpriteAsset { } }//package drimlike.color
Section 42
//ColorSelector (drimlike.color.ColorSelector) package drimlike.color { import flash.events.*; import flash.display.*; import drimlike.events.*; import drimlike.data.*; import flash.filters.*; import caurina.transitions.*; public class ColorSelector extends Sprite { private var padding:int;// = 10 private var target:Sprite; private var closeButton:CloseButton; private var maxRows:int;// = 6 private var isInUse:Boolean; private var colorTiles:Array; private var canvas:Sprite; private var background:Sprite; private var tileHeight:int;// = 20 private var colorArray:Array; private var tileWidth:int;// = 20 public function ColorSelector(){ canvas = new Sprite(); canvas.alpha = 0; canvas.visible = false; addChild(canvas); background = new Sprite(); canvas.addChild(background); closeButton = new CloseButton(); closeButton.addEventListener(MouseEvent.CLICK, onCloseButtonClick); closeButton.mouseChildren = false; canvas.addChild(closeButton); addEventListener(ColorEvent.COLOR_SELECTED_EVENT, onColorSelected); } private function onColorSelected(_arg1:ColorEvent):void{ Tweener.addTween(target, {_color:_arg1.hex, time:1, transition:"easeOutExpo"}); close(); } public function open(_arg1:Sprite, _arg2:Array):void{ var _local3:int; var _local4:int; var _local5:DropShadowFilter; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:ColorTile; Engine.getInstance().tooltipCommander.closeToolTip(); if (isInUse){ } else { isInUse = true; target = _arg1; colorArray = _arg2; canvas.visible = true; background.graphics.clear(); background.graphics.beginFill(0xFFFFFF, 1); _local3 = (((maxRows * tileWidth) + (maxRows * padding)) + padding); if (_arg2.length < maxRows){ _local3 = (((_arg2.length * tileWidth) + (_arg2.length * padding)) + padding); }; _local4 = ((Math.ceil((_arg2.length / maxRows)) * 30) + padding); background.graphics.drawRoundRect(0, 0, _local3, _local4, 20, 20); background.graphics.endFill(); _local5 = new DropShadowFilter(); _local5.alpha = 0.5; _local5.angle = 25; _local5.blurX = 5; _local5.blurY = 5; _local5.color = 0; _local5.distance = 0; _local5.strength = 1; _local5.quality = BitmapFilterQuality.LOW; this.filters = new Array(_local5); closeButton.visible = true; closeButton.alpha = 0; closeButton.x = 2; closeButton.y = 2; if (_arg2.length < 5){ canvas.x = (525 - (canvas.width / 2)); canvas.y = (300 - (canvas.width / 2)); } else { canvas.x = ((728 / 2) - (canvas.width / 2)); canvas.y = ((530 / 2) - (canvas.height / 2)); }; Tweener.addTween(closeButton, {alpha:1, time:1, transition:"easeOutExpo", x:(_local3 - 2)}); Tweener.addTween(canvas, {alpha:1, time:1, x:(canvas.x + 25), transition:"easeOutExpo"}); _local6 = padding; _local7 = padding; _local8 = 0; _local9 = 0; colorTiles = new Array(); _local10 = 0; while (_local10 < _arg2.length) { if (_local8 == maxRows){ _local8 = 0; _local9++; }; _local11 = new ColorTile(uint(_arg2[_local10])); _local11.x = (((_local8 * 20) + (_local8 * padding)) + (padding * 2)); _local11.y = (((_local9 * 20) + (_local9 * padding)) + (padding * 2)); canvas.addChild(_local11); colorTiles.push(_local11); _local8++; _local10++; }; }; } private function onCloseButtonClick(_arg1:MouseEvent):void{ close(); } public function close():void{ var c:ColorTile; var cleanUp:Function; cleanUp = function ():void{ isInUse = false; colorTiles = null; canvas.visible = false; }; for each (c in colorTiles) { canvas.removeChild(c); c = null; Tweener.addTween(canvas, {alpha:0, x:(canvas.x + 25), time:0.5, transition:"easeOutExpo", onComplete:cleanUp}); }; } } }//package drimlike.color
Section 43
//ColorTile (drimlike.color.ColorTile) package drimlike.color { import flash.events.*; import flash.display.*; import drimlike.events.*; import drimlike.data.*; import caurina.transitions.*; public class ColorTile extends Sprite { private var outline:Sprite; private var _hex:uint; private var canvas:Sprite; public function ColorTile(_arg1:uint){ _hex = _arg1; init(); } public function destroy():void{ removeChild(outline); removeChild(canvas); canvas.removeEventListener(MouseEvent.MOUSE_OVER, onMouseOver); canvas.removeEventListener(MouseEvent.MOUSE_OUT, onMouseOut); canvas.removeEventListener(MouseEvent.CLICK, onMouseClick); } private function onMouseOut(_arg1:Event):void{ Tweener.addTween(outline, {_color:"0x000000", time:1}); Tweener.addTween(outline, {scaleX:1, scaleY:1, time:1, transition:"easeOutExpo"}); Tweener.addTween(canvas, {scaleX:1, scaleY:1, time:1, transition:"easeOutExpo"}); } private function init():void{ canvas = new Sprite(); canvas.graphics.beginFill(_hex, 1); canvas.graphics.drawRoundRect(-10, -10, 20, 20, 5, 5); canvas.graphics.endFill(); addChild(canvas); outline = new Sprite(); outline.graphics.lineStyle(2, 0x333333); outline.graphics.drawRoundRect(-10, -10, 20, 20, 5, 5); outline.graphics.endFill(); addChild(outline); canvas.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); canvas.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); canvas.addEventListener(MouseEvent.CLICK, onMouseClick); } private function onMouseClick(_arg1:Event):void{ Engine.getInstance().colorSelector.dispatchEvent(new ColorEvent(_hex, ColorEvent.COLOR_SELECTED_EVENT)); } private function onMouseOver(_arg1:Event):void{ Tweener.addTween(outline, {_color:"0xFF0000", time:1}); Tweener.addTween(outline, {scaleX:1.2, scaleY:1.2, time:1, transition:"easeOutExpo"}); Tweener.addTween(canvas, {scaleX:1.2, scaleY:1.2, time:1, transition:"easeOutExpo"}); } } }//package drimlike.color
Section 44
//Engine (drimlike.data.Engine) package drimlike.data { import flash.events.*; import flash.display.*; import drimlike.sounds.*; import drimlike.color.*; import drimlike.scenes.*; import drimlike.character.*; import drimlike.xml.*; import drimlike.inventory.*; import drimlike.background.*; import drimlike.tooltip.*; public class Engine extends EventDispatcher { public const TRACKING_KEY:String = "twilight"; public var container:Sprite; public var sandbox:Sandbox; public var xmlFeed:XMLFeed; public var imageFeed:XMLRotator; public var inventory:Inventory; public var soundManager:SoundManager; public var backgroundManager:BackgroundManager; public var soundButton:SoundButton; public var colorSelector:ColorSelector; public var character:Character; public var tooltipCommander:ToolTipCommander; private static var _instance:Engine; public static function getInstance():Engine{ if (_instance == null){ _instance = new (Engine); }; return (_instance); } } }//package drimlike.data
Section 45
//ColorEvent (drimlike.events.ColorEvent) package drimlike.events { import flash.events.*; public class ColorEvent extends Event { private var _hex:uint; public static const COLOR_SELECTED_EVENT:String = "colorSelectedEvent"; public function ColorEvent(_arg1:uint, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false){ _hex = _arg1; super(_arg2, _arg3, _arg4); } public function get hex():uint{ return (_hex); } override public function clone():Event{ return (new ColorEvent(_hex, type, bubbles, cancelable)); } } }//package drimlike.events
Section 46
//GarmentEvent (drimlike.events.GarmentEvent) package drimlike.events { import flash.events.*; import drimlike.garment.*; public class GarmentEvent extends Event { private var _garment:Garment; public static const GARMENT_MOUSE_DOWN_EVENT:String = "garmentMouseDownEvent"; public static const GARMENT_ROLLOUT_EVENT:String = "garmentRollOutEvent"; public static const GARMENT_MOUSE_MOVE_EVENT:String = "garmentMouseMoveEvent"; public static const GARMENT_ROLLOVER_EVENT:String = "garmentRollOverEvent"; public static const GARMENT_MOUSE_UP_EVENT:String = "garmentMouseUpEvent"; public static const GARMENT_CLICK_EVENT:String = "garmentClickEvent"; public static const GARMENT_DOUBLE_CLICK_EVENT:String = "garmentDoubleClickEvent"; public function GarmentEvent(_arg1:Garment, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false){ _garment = _arg1; super(_arg2, _arg3, _arg4); } public function get garment():Garment{ return (_garment); } override public function clone():Event{ return (new GarmentEvent(_garment, type, bubbles, cancelable)); } } }//package drimlike.events
Section 47
//InventoryEvent (drimlike.events.InventoryEvent) package drimlike.events { import flash.events.*; import drimlike.inventory.buttons.*; public class InventoryEvent extends Event { private var _targetButton:InvButton; public static const INVENTORY_BUTTON_OVER_EVENT:String = "inventoryButtonOverEvent"; public static const INVENTORY_BUTTON_CLICK_EVENT:String = "inventoryButtonClickEvent"; public static const INVENTORY_BUTTON_OUT_EVENT:String = "inventoryButtonOutEvent"; public function InventoryEvent(_arg1:InvButton, _arg2:String, _arg3:Boolean=false, _arg4:Boolean=false){ _targetButton = _arg1; super(_arg2, _arg3, _arg4); } public function get targetButton():InvButton{ return (_targetButton); } override public function clone():Event{ return (new InventoryEvent(targetButton, type, bubbles, cancelable)); } } }//package drimlike.events
Section 48
//Bottom1 (drimlike.garment.bottom.Bottom1) package drimlike.garment.bottom { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Bottom1 extends Garment { private var Overlay1Data:Class; private var Color1Data:Class; public function Bottom1(){ Color1Data = Bottom1_Color1Data; Overlay1Data = Bottom1_Overlay1Data; super(); hitWidth = 90; hitHeight = 250; itemType = BOTTOM_GARMENT; catagoryType = BOTTOM_TYPE; targetPoint = Engine.getInstance().character.bottomPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.bottomAsset); } override protected function customInit():void{ color = (new Color1Data() as Sprite); addChild(color); overlay = (new Overlay1Data() as Sprite); addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.bottomAsset = this; if (Engine.getInstance().character.bottomFirstRun){ Engine.getInstance().character.bottomFirstRun = false; _local1 = new Point((Engine.getInstance().character.bottomPoint.x - 25), (Engine.getInstance().character.bottomPoint.y - 80)); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.bottom
Section 49
//Bottom1_Color1Data (drimlike.garment.bottom.Bottom1_Color1Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom1_Color1Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 50
//Bottom1_Overlay1Data (drimlike.garment.bottom.Bottom1_Overlay1Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom1_Overlay1Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 51
//Bottom2 (drimlike.garment.bottom.Bottom2) package drimlike.garment.bottom { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Bottom2 extends Garment { private var Color2Data:Class; private var Overlay2Data:Class; public function Bottom2(){ Color2Data = Bottom2_Color2Data; Overlay2Data = Bottom2_Overlay2Data; super(); hitWidth = 90; hitHeight = 250; itemType = BOTTOM_GARMENT; catagoryType = BOTTOM_TYPE; targetPoint = Engine.getInstance().character.bottomPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.bottomAsset); } override protected function customInit():void{ color = (new Color2Data() as Sprite); addChild(color); overlay = (new Overlay2Data() as Sprite); addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.bottomAsset = this; if (Engine.getInstance().character.bottomFirstRun){ Engine.getInstance().character.bottomFirstRun = false; _local1 = new Point((Engine.getInstance().character.bottomPoint.x - 25), (Engine.getInstance().character.bottomPoint.y - 80)); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.bottom
Section 52
//Bottom2_Color2Data (drimlike.garment.bottom.Bottom2_Color2Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom2_Color2Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 53
//Bottom2_Overlay2Data (drimlike.garment.bottom.Bottom2_Overlay2Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom2_Overlay2Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 54
//Bottom3 (drimlike.garment.bottom.Bottom3) package drimlike.garment.bottom { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Bottom3 extends Garment { private var Color3Data:Class; private var Overlay3Data:Class; public function Bottom3(){ Color3Data = Bottom3_Color3Data; Overlay3Data = Bottom3_Overlay3Data; super(); hitWidth = 90; hitHeight = 150; itemType = BOTTOM_GARMENT; catagoryType = BOTTOM_TYPE; targetPoint = Engine.getInstance().character.bottomPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -20; hittest.y = -50; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.bottomAsset); } override protected function customInit():void{ color = (new Color3Data() as Sprite); color.y = -45; color.x = -16; addChild(color); overlay = (new Overlay3Data() as Sprite); overlay.y = -45; overlay.x = -16; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.bottomAsset = this; if (Engine.getInstance().character.bottomFirstRun){ Engine.getInstance().character.bottomFirstRun = false; _local1 = new Point((Engine.getInstance().character.bottomPoint.x - 25), (Engine.getInstance().character.bottomPoint.y - 80)); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.bottom
Section 55
//Bottom3_Color3Data (drimlike.garment.bottom.Bottom3_Color3Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom3_Color3Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 56
//Bottom3_Overlay3Data (drimlike.garment.bottom.Bottom3_Overlay3Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom3_Overlay3Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 57
//Bottom4 (drimlike.garment.bottom.Bottom4) package drimlike.garment.bottom { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Bottom4 extends Garment { private var Color4Data:Class; private var Overlay4Data:Class; public function Bottom4(){ Color4Data = Bottom4_Color4Data; Overlay4Data = Bottom4_Overlay4Data; super(); hitWidth = 90; hitHeight = 150; itemType = BOTTOM_GARMENT; catagoryType = BOTTOM_TYPE; targetPoint = Engine.getInstance().character.bottomPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -20; hittest.y = -50; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.bottomAsset); } override protected function customInit():void{ color = (new Color4Data() as Sprite); color.y = -55; color.x = -14; addChild(color); overlay = (new Overlay4Data() as Sprite); overlay.y = -55; overlay.x = -14; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.bottomAsset = this; if (Engine.getInstance().character.bottomFirstRun){ Engine.getInstance().character.bottomFirstRun = false; _local1 = new Point((Engine.getInstance().character.bottomPoint.x - 25), (Engine.getInstance().character.bottomPoint.y - 80)); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.bottom
Section 58
//Bottom4_Color4Data (drimlike.garment.bottom.Bottom4_Color4Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom4_Color4Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 59
//Bottom4_Overlay4Data (drimlike.garment.bottom.Bottom4_Overlay4Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom4_Overlay4Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 60
//Bottom5 (drimlike.garment.bottom.Bottom5) package drimlike.garment.bottom { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Bottom5 extends Garment { private var Asset5Data:Class; private var Overlay5Data:Class; private var Color5Data:Class; public function Bottom5(){ Color5Data = Bottom5_Color5Data; Asset5Data = Bottom5_Asset5Data; Overlay5Data = Bottom5_Overlay5Data; super(); hitWidth = 90; hitHeight = 150; itemType = BOTTOM_GARMENT; catagoryType = BOTTOM_TYPE; targetPoint = Engine.getInstance().character.bottomPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -20; hittest.y = -50; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.bottomAsset); } override protected function customInit():void{ asset = (new Asset5Data() as Sprite); asset.y = -50; asset.x = -14; addChild(asset); color = (new Color5Data() as Sprite); color.y = -50; color.x = -14; addChild(color); overlay = (new Overlay5Data() as Sprite); overlay.y = -50; overlay.x = -14; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.bottomAsset = this; if (Engine.getInstance().character.bottomFirstRun){ Engine.getInstance().character.bottomFirstRun = false; _local1 = new Point((Engine.getInstance().character.bottomPoint.x - 25), (Engine.getInstance().character.bottomPoint.y - 80)); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.bottom
Section 61
//Bottom5_Asset5Data (drimlike.garment.bottom.Bottom5_Asset5Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom5_Asset5Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 62
//Bottom5_Color5Data (drimlike.garment.bottom.Bottom5_Color5Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom5_Color5Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 63
//Bottom5_Overlay5Data (drimlike.garment.bottom.Bottom5_Overlay5Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom5_Overlay5Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 64
//Bottom6 (drimlike.garment.bottom.Bottom6) package drimlike.garment.bottom { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Bottom6 extends Garment { private var Asset6Data:Class; private var Color6Data:Class; private var Overlay6Data:Class; public function Bottom6(){ Color6Data = Bottom6_Color6Data; Asset6Data = Bottom6_Asset6Data; Overlay6Data = Bottom6_Overlay6Data; super(); hitWidth = 90; hitHeight = 150; itemType = BOTTOM_GARMENT; catagoryType = BOTTOM_TYPE; targetPoint = Engine.getInstance().character.bottomPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -20; hittest.y = -50; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.bottomAsset); } override protected function customInit():void{ asset = (new Asset6Data() as Sprite); asset.y = -43; asset.x = -15; addChild(asset); color = (new Color6Data() as Sprite); color.y = -44; color.x = -15; addChild(color); overlay = (new Overlay6Data() as Sprite); overlay.y = -43; overlay.x = -15; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.bottomAsset = this; if (Engine.getInstance().character.bottomFirstRun){ Engine.getInstance().character.bottomFirstRun = false; _local1 = new Point((Engine.getInstance().character.bottomPoint.x - 25), (Engine.getInstance().character.bottomPoint.y - 80)); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, _local1.y, "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.bottom
Section 65
//Bottom6_Asset6Data (drimlike.garment.bottom.Bottom6_Asset6Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom6_Asset6Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 66
//Bottom6_Color6Data (drimlike.garment.bottom.Bottom6_Color6Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom6_Color6Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 67
//Bottom6_Overlay6Data (drimlike.garment.bottom.Bottom6_Overlay6Data) package drimlike.garment.bottom { import mx.core.*; public class Bottom6_Overlay6Data extends SpriteAsset { } }//package drimlike.garment.bottom
Section 68
//Eyes1 (drimlike.garment.eye.Eyes1) package drimlike.garment.eye { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Eyes1 extends Garment { private var Asset1Data:Class; private var Overlay1Data:Class; private var Color1Data:Class; public function Eyes1(){ Color1Data = Eyes1_Color1Data; Asset1Data = Eyes1_Asset1Data; Overlay1Data = Eyes1_Overlay1Data; super(); hitWidth = 60; hitHeight = 40; scaleSmall = 1.5; itemType = EYE_GARMENT; catagoryType = EYE_TYPE; targetPoint = Engine.getInstance().character.eyePoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.eyeAsset); } override protected function customInit():void{ color = (new Color1Data() as Sprite); color.alpha = 0.5; addChild(color); asset = (new Asset1Data() as Sprite); addChild(asset); overlay = (new Overlay1Data() as Sprite); addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.eyeAsset = this; if (Engine.getInstance().character.eyeFirstRun){ Engine.getInstance().character.eyeFirstRun = false; _local1 = Engine.getInstance().character.eyePoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.eye
Section 69
//Eyes1_Asset1Data (drimlike.garment.eye.Eyes1_Asset1Data) package drimlike.garment.eye { import mx.core.*; public class Eyes1_Asset1Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 70
//Eyes1_Color1Data (drimlike.garment.eye.Eyes1_Color1Data) package drimlike.garment.eye { import mx.core.*; public class Eyes1_Color1Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 71
//Eyes1_Overlay1Data (drimlike.garment.eye.Eyes1_Overlay1Data) package drimlike.garment.eye { import mx.core.*; public class Eyes1_Overlay1Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 72
//Eyes2 (drimlike.garment.eye.Eyes2) package drimlike.garment.eye { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Eyes2 extends Garment { private var Color2Data:Class; private var Overlay2Data:Class; public function Eyes2(){ Color2Data = Eyes2_Color2Data; Overlay2Data = Eyes2_Overlay2Data; super(); hitWidth = 60; hitHeight = 40; scaleSmall = 1.5; itemType = EYE_GARMENT; catagoryType = EYE_TYPE; targetPoint = Engine.getInstance().character.eyePoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.eyeAsset); } override protected function customInit():void{ color = (new Color2Data() as Sprite); color.alpha = 0.5; color.x = -7; addChild(color); overlay = (new Overlay2Data() as Sprite); addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.eyeAsset = this; if (Engine.getInstance().character.eyeFirstRun){ Engine.getInstance().character.eyeFirstRun = false; _local1 = Engine.getInstance().character.eyePoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.eye
Section 73
//Eyes2_Color2Data (drimlike.garment.eye.Eyes2_Color2Data) package drimlike.garment.eye { import mx.core.*; public class Eyes2_Color2Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 74
//Eyes2_Overlay2Data (drimlike.garment.eye.Eyes2_Overlay2Data) package drimlike.garment.eye { import mx.core.*; public class Eyes2_Overlay2Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 75
//Eyes3 (drimlike.garment.eye.Eyes3) package drimlike.garment.eye { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Eyes3 extends Garment { private var Color3Data:Class; private var Overlay3Data:Class; public function Eyes3(){ Color3Data = Eyes3_Color3Data; Overlay3Data = Eyes3_Overlay3Data; super(); hitWidth = 60; hitHeight = 40; scaleSmall = 1.5; itemType = EYE_GARMENT; catagoryType = EYE_TYPE; targetPoint = Engine.getInstance().character.eyePoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.eyeAsset); } override protected function customInit():void{ color = (new Color3Data() as Sprite); color.alpha = 0.5; color.x = 0; color.y = 0; addChild(color); overlay = (new Overlay3Data() as Sprite); addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.eyeAsset = this; if (Engine.getInstance().character.eyeFirstRun){ Engine.getInstance().character.eyeFirstRun = false; _local1 = Engine.getInstance().character.eyePoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.eye
Section 76
//Eyes3_Color3Data (drimlike.garment.eye.Eyes3_Color3Data) package drimlike.garment.eye { import mx.core.*; public class Eyes3_Color3Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 77
//Eyes3_Overlay3Data (drimlike.garment.eye.Eyes3_Overlay3Data) package drimlike.garment.eye { import mx.core.*; public class Eyes3_Overlay3Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 78
//Eyes4 (drimlike.garment.eye.Eyes4) package drimlike.garment.eye { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Eyes4 extends Garment { private var Color4Data:Class; private var Overlay4Data:Class; public function Eyes4(){ Color4Data = Eyes4_Color4Data; Overlay4Data = Eyes4_Overlay4Data; super(); hitWidth = 60; hitHeight = 40; scaleSmall = 1.5; itemType = EYE_GARMENT; catagoryType = EYE_TYPE; targetPoint = Engine.getInstance().character.eyePoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.eyeAsset); } override protected function customInit():void{ color = (new Color4Data() as Sprite); color.alpha = 0.5; color.x = -7; color.y = 0; addChild(color); overlay = (new Overlay4Data() as Sprite); addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.eyeAsset = this; if (Engine.getInstance().character.eyeFirstRun){ Engine.getInstance().character.eyeFirstRun = false; _local1 = Engine.getInstance().character.eyePoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.eye
Section 79
//Eyes4_Color4Data (drimlike.garment.eye.Eyes4_Color4Data) package drimlike.garment.eye { import mx.core.*; public class Eyes4_Color4Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 80
//Eyes4_Overlay4Data (drimlike.garment.eye.Eyes4_Overlay4Data) package drimlike.garment.eye { import mx.core.*; public class Eyes4_Overlay4Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 81
//Eyes5 (drimlike.garment.eye.Eyes5) package drimlike.garment.eye { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Eyes5 extends Garment { private var Asset5Data:Class; private var Overlay5Data:Class; private var Color5Data:Class; public function Eyes5(){ Color5Data = Eyes5_Color5Data; Asset5Data = Eyes5_Asset5Data; Overlay5Data = Eyes5_Overlay5Data; super(); hitWidth = 100; hitHeight = 100; scaleSmall = 0.45; itemType = EYE_GARMENT; catagoryType = EYE_TYPE; targetPoint = Engine.getInstance().character.handPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.handAsset); } override protected function customInit():void{ color = (new Color5Data() as Sprite); color.x = -73; color.y = 70; addChild(color); asset = (new Asset5Data() as Sprite); asset.x = -73; asset.y = 70; addChild(asset); overlay = (new Overlay5Data() as Sprite); overlay.x = -73; overlay.y = 70; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.handAsset = this; if (Engine.getInstance().character.handFirstRun){ Engine.getInstance().character.handFirstRun = false; _local1 = Engine.getInstance().character.handPoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.eye
Section 82
//Eyes5_Asset5Data (drimlike.garment.eye.Eyes5_Asset5Data) package drimlike.garment.eye { import mx.core.*; public class Eyes5_Asset5Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 83
//Eyes5_Color5Data (drimlike.garment.eye.Eyes5_Color5Data) package drimlike.garment.eye { import mx.core.*; public class Eyes5_Color5Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 84
//Eyes5_Overlay5Data (drimlike.garment.eye.Eyes5_Overlay5Data) package drimlike.garment.eye { import mx.core.*; public class Eyes5_Overlay5Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 85
//Eyes6 (drimlike.garment.eye.Eyes6) package drimlike.garment.eye { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Eyes6 extends Garment { private var Asset6Data:Class; private var Color6Data:Class; private var Overlay6Data:Class; public function Eyes6(){ Color6Data = Eyes6_Color6Data; Asset6Data = Eyes6_Asset6Data; Overlay6Data = Eyes6_Overlay6Data; super(); hitWidth = 100; hitHeight = 100; scaleSmall = 0.45; itemType = EYE_GARMENT; catagoryType = EYE_TYPE; targetPoint = Engine.getInstance().character.handPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.handAsset); } override protected function customInit():void{ color = (new Color6Data() as Sprite); color.x = -25; color.y = 25; addChild(color); asset = (new Asset6Data() as Sprite); asset.x = -25; asset.y = 25; addChild(asset); overlay = (new Overlay6Data() as Sprite); overlay.x = -25; overlay.y = 25; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.handAsset = this; if (Engine.getInstance().character.handFirstRun){ Engine.getInstance().character.handFirstRun = false; _local1 = Engine.getInstance().character.handPoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 500), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.eye
Section 86
//Eyes6_Asset6Data (drimlike.garment.eye.Eyes6_Asset6Data) package drimlike.garment.eye { import mx.core.*; public class Eyes6_Asset6Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 87
//Eyes6_Color6Data (drimlike.garment.eye.Eyes6_Color6Data) package drimlike.garment.eye { import mx.core.*; public class Eyes6_Color6Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 88
//Eyes6_Overlay6Data (drimlike.garment.eye.Eyes6_Overlay6Data) package drimlike.garment.eye { import mx.core.*; public class Eyes6_Overlay6Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 89
//Eyes7 (drimlike.garment.eye.Eyes7) package drimlike.garment.eye { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Eyes7 extends Garment { private var Overlay7Data:Class; private var Color7Data:Class; public function Eyes7(){ Color7Data = Eyes7_Color7Data; Overlay7Data = Eyes7_Overlay7Data; super(); hitWidth = 100; hitHeight = 100; scaleSmall = 0.6; itemType = EYE_GARMENT; catagoryType = EYE_TYPE; targetPoint = Engine.getInstance().character.handPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = 10; hittest.y = 30; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.handAsset); } override protected function customInit():void{ color = (new Color7Data() as Sprite); color.x = 8; color.y = 57; addChild(color); overlay = (new Overlay7Data() as Sprite); overlay.x = 8; overlay.y = 57; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.handAsset = this; if (Engine.getInstance().character.handFirstRun){ Engine.getInstance().character.handFirstRun = false; _local1 = Engine.getInstance().character.handPoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip((_local1.x - 25), (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.eye
Section 90
//Eyes7_Color7Data (drimlike.garment.eye.Eyes7_Color7Data) package drimlike.garment.eye { import mx.core.*; public class Eyes7_Color7Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 91
//Eyes7_Overlay7Data (drimlike.garment.eye.Eyes7_Overlay7Data) package drimlike.garment.eye { import mx.core.*; public class Eyes7_Overlay7Data extends SpriteAsset { } }//package drimlike.garment.eye
Section 92
//Shoe1 (drimlike.garment.shoe.Shoe1) package drimlike.garment.shoe { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Shoe1 extends Garment { private var OverlayData:Class; private var AssetData:Class; private var ColorData:Class; public function Shoe1(){ ColorData = Shoe1_ColorData; AssetData = Shoe1_AssetData; OverlayData = Shoe1_OverlayData; super(); hitWidth = 170; hitHeight = 70; itemType = SHOE_GARMENT; catagoryType = SHOE_TYPE; targetPoint = Engine.getInstance().character.shoePoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 10; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.shoeAsset); } override protected function customInit():void{ color = (new ColorData() as Sprite); color.x = -0.5; color.y = -0.5; addChild(color); asset = (new AssetData() as Sprite); color.x = -0.5; color.y = -0.5; addChild(asset); overlay = (new OverlayData() as Sprite); overlay.mouseEnabled = false; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.shoeAsset = this; if (Engine.getInstance().character.shoeFirstRun){ Engine.getInstance().character.shoeFirstRun = false; _local1 = Engine.getInstance().character.shoePoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.shoe
Section 93
//Shoe1_AssetData (drimlike.garment.shoe.Shoe1_AssetData) package drimlike.garment.shoe { import mx.core.*; public class Shoe1_AssetData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 94
//Shoe1_ColorData (drimlike.garment.shoe.Shoe1_ColorData) package drimlike.garment.shoe { import mx.core.*; public class Shoe1_ColorData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 95
//Shoe1_OverlayData (drimlike.garment.shoe.Shoe1_OverlayData) package drimlike.garment.shoe { import mx.core.*; public class Shoe1_OverlayData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 96
//Shoe2 (drimlike.garment.shoe.Shoe2) package drimlike.garment.shoe { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Shoe2 extends Garment { private var OverlayData:Class; private var ColorData:Class; public function Shoe2(){ ColorData = Shoe2_ColorData; OverlayData = Shoe2_OverlayData; super(); hitWidth = 170; hitHeight = 70; itemType = SHOE_GARMENT; catagoryType = SHOE_TYPE; targetPoint = Engine.getInstance().character.shoePoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 10; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.shoeAsset); } override protected function customInit():void{ color = (new ColorData() as Sprite); color.x = 1; color.y = -1.3; addChild(color); overlay = (new OverlayData() as Sprite); overlay.mouseEnabled = false; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.shoeAsset = this; if (Engine.getInstance().character.shoeFirstRun){ Engine.getInstance().character.shoeFirstRun = false; _local1 = Engine.getInstance().character.shoePoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.shoe
Section 97
//Shoe2_ColorData (drimlike.garment.shoe.Shoe2_ColorData) package drimlike.garment.shoe { import mx.core.*; public class Shoe2_ColorData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 98
//Shoe2_OverlayData (drimlike.garment.shoe.Shoe2_OverlayData) package drimlike.garment.shoe { import mx.core.*; public class Shoe2_OverlayData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 99
//Shoe3 (drimlike.garment.shoe.Shoe3) package drimlike.garment.shoe { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Shoe3 extends Garment { private var OverlayData:Class; private var AssetData:Class; private var ColorData:Class; public function Shoe3(){ ColorData = Shoe3_ColorData; AssetData = Shoe3_AssetData; OverlayData = Shoe3_OverlayData; super(); hitWidth = 170; hitHeight = 70; itemType = SHOE_GARMENT; catagoryType = SHOE_TYPE; targetPoint = Engine.getInstance().character.shoePoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 10; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.shoeAsset); } override protected function customInit():void{ color = (new ColorData() as Sprite); color.y = -2; addChild(color); asset = (new AssetData() as Sprite); addChild(asset); overlay = (new OverlayData() as Sprite); overlay.mouseEnabled = false; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.shoeAsset = this; if (Engine.getInstance().character.shoeFirstRun){ Engine.getInstance().character.shoeFirstRun = false; _local1 = Engine.getInstance().character.shoePoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.shoe
Section 100
//Shoe3_AssetData (drimlike.garment.shoe.Shoe3_AssetData) package drimlike.garment.shoe { import mx.core.*; public class Shoe3_AssetData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 101
//Shoe3_ColorData (drimlike.garment.shoe.Shoe3_ColorData) package drimlike.garment.shoe { import mx.core.*; public class Shoe3_ColorData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 102
//Shoe3_OverlayData (drimlike.garment.shoe.Shoe3_OverlayData) package drimlike.garment.shoe { import mx.core.*; public class Shoe3_OverlayData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 103
//Shoe4 (drimlike.garment.shoe.Shoe4) package drimlike.garment.shoe { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Shoe4 extends Garment { private var OverlayData:Class; private var AssetData:Class; private var ColorData:Class; public function Shoe4(){ ColorData = Shoe4_ColorData; AssetData = Shoe4_AssetData; OverlayData = Shoe4_OverlayData; super(); hitWidth = 170; hitHeight = 70; itemType = SHOE_GARMENT; catagoryType = SHOE_TYPE; targetPoint = Engine.getInstance().character.shoePoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = 10; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.shoeAsset); } override protected function customInit():void{ color = (new ColorData() as Sprite); color.y = -2; addChild(color); asset = (new AssetData() as Sprite); asset.y = 1; addChild(asset); overlay = (new OverlayData() as Sprite); overlay.mouseEnabled = false; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.shoeAsset = this; if (Engine.getInstance().character.shoeFirstRun){ Engine.getInstance().character.shoeFirstRun = false; _local1 = Engine.getInstance().character.shoePoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.shoe
Section 104
//Shoe4_AssetData (drimlike.garment.shoe.Shoe4_AssetData) package drimlike.garment.shoe { import mx.core.*; public class Shoe4_AssetData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 105
//Shoe4_ColorData (drimlike.garment.shoe.Shoe4_ColorData) package drimlike.garment.shoe { import mx.core.*; public class Shoe4_ColorData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 106
//Shoe4_OverlayData (drimlike.garment.shoe.Shoe4_OverlayData) package drimlike.garment.shoe { import mx.core.*; public class Shoe4_OverlayData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 107
//Shoe5 (drimlike.garment.shoe.Shoe5) package drimlike.garment.shoe { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Shoe5 extends Garment { private var OverlayData:Class; private var AssetData:Class; private var ColorData:Class; public function Shoe5(){ ColorData = Shoe5_ColorData; AssetData = Shoe5_AssetData; OverlayData = Shoe5_OverlayData; super(); hitWidth = 120; hitHeight = 130; itemType = SHOE_GARMENT; catagoryType = SHOE_TYPE; targetPoint = Engine.getInstance().character.shoePoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = -5; hittest.y = -40; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.shoeAsset); } override protected function customInit():void{ asset = (new AssetData() as Sprite); asset.y = -43; asset.x = 2; addChild(asset); color = (new ColorData() as Sprite); color.y = -44; color.x = 2; addChild(color); overlay = (new OverlayData() as Sprite); overlay.y = -44; overlay.x = 2; overlay.mouseEnabled = false; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; Engine.getInstance().character.shoeAsset = this; if (Engine.getInstance().character.shoeFirstRun){ Engine.getInstance().character.shoeFirstRun = false; _local1 = Engine.getInstance().character.shoePoint; switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; } } }//package drimlike.garment.shoe
Section 108
//Shoe5_AssetData (drimlike.garment.shoe.Shoe5_AssetData) package drimlike.garment.shoe { import mx.core.*; public class Shoe5_AssetData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 109
//Shoe5_ColorData (drimlike.garment.shoe.Shoe5_ColorData) package drimlike.garment.shoe { import mx.core.*; public class Shoe5_ColorData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 110
//Shoe5_OverlayData (drimlike.garment.shoe.Shoe5_OverlayData) package drimlike.garment.shoe { import mx.core.*; public class Shoe5_OverlayData extends SpriteAsset { } }//package drimlike.garment.shoe
Section 111
//Top1 (drimlike.garment.top.Top1) package drimlike.garment.top { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Top1 extends Garment { private var Asset1Data:Class; private var Asset21Data:Class; private var Overlay1Data:Class; private var Color1Data:Class; public function Top1(){ Color1Data = Top1_Color1Data; Asset1Data = Top1_Asset1Data; Overlay1Data = Top1_Overlay1Data; Asset21Data = Top1_Asset21Data; super(); hitWidth = 100; hitHeight = 160; itemType = TOP_GARMENT; catagoryType = TOP_TYPE; targetPoint = Engine.getInstance().character.topPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = 0; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.topAsset); } override protected function customInit():void{ color = (new Color1Data() as Sprite); color.x = 5; color.y = 3; addChild(color); asset2 = (new Asset21Data() as Sprite); asset2.x = 5; asset2.y = 3; addChild(asset2); asset = (new Asset1Data() as Sprite); asset.x = 5; asset.y = 3; addChild(asset); overlay = (new Overlay1Data() as Sprite); overlay.x = 5; overlay.y = 3; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; if (Engine.getInstance().character.topFirstRun){ Engine.getInstance().character.topFirstRun = false; _local1 = new Point((Engine.getInstance().character.topPoint.x - 25), Engine.getInstance().character.topPoint.y); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; Engine.getInstance().character.topAsset = this; } } }//package drimlike.garment.top
Section 112
//Top1_Asset1Data (drimlike.garment.top.Top1_Asset1Data) package drimlike.garment.top { import mx.core.*; public class Top1_Asset1Data extends SpriteAsset { } }//package drimlike.garment.top
Section 113
//Top1_Asset21Data (drimlike.garment.top.Top1_Asset21Data) package drimlike.garment.top { import mx.core.*; public class Top1_Asset21Data extends SpriteAsset { } }//package drimlike.garment.top
Section 114
//Top1_Color1Data (drimlike.garment.top.Top1_Color1Data) package drimlike.garment.top { import mx.core.*; public class Top1_Color1Data extends SpriteAsset { } }//package drimlike.garment.top
Section 115
//Top1_Overlay1Data (drimlike.garment.top.Top1_Overlay1Data) package drimlike.garment.top { import mx.core.*; public class Top1_Overlay1Data extends SpriteAsset { } }//package drimlike.garment.top
Section 116
//Top2 (drimlike.garment.top.Top2) package drimlike.garment.top { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Top2 extends Garment { private var Color2Data:Class; private var Overlay2Data:Class; public function Top2(){ Color2Data = Top2_Color2Data; Overlay2Data = Top2_Overlay2Data; super(); hitWidth = 100; hitHeight = 160; itemType = TOP_GARMENT; catagoryType = TOP_TYPE; targetPoint = Engine.getInstance().character.topPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = 0; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.topAsset); } override protected function customInit():void{ color = (new Color2Data() as Sprite); color.x = 1; color.y = 4; addChild(color); overlay = (new Overlay2Data() as Sprite); overlay.x = 1; overlay.y = 4; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; if (Engine.getInstance().character.topFirstRun){ Engine.getInstance().character.topFirstRun = false; _local1 = new Point((Engine.getInstance().character.topPoint.x - 25), Engine.getInstance().character.topPoint.y); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; Engine.getInstance().character.topAsset = this; } } }//package drimlike.garment.top
Section 117
//Top2_Color2Data (drimlike.garment.top.Top2_Color2Data) package drimlike.garment.top { import mx.core.*; public class Top2_Color2Data extends SpriteAsset { } }//package drimlike.garment.top
Section 118
//Top2_Overlay2Data (drimlike.garment.top.Top2_Overlay2Data) package drimlike.garment.top { import mx.core.*; public class Top2_Overlay2Data extends SpriteAsset { } }//package drimlike.garment.top
Section 119
//Top3 (drimlike.garment.top.Top3) package drimlike.garment.top { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Top3 extends Garment { private var Color3Data:Class; private var Overlay3Data:Class; private var Asset3Data:Class; public function Top3(){ Color3Data = Top3_Color3Data; Asset3Data = Top3_Asset3Data; Overlay3Data = Top3_Overlay3Data; super(); hitWidth = 100; hitHeight = 160; itemType = TOP_GARMENT; catagoryType = TOP_TYPE; targetPoint = Engine.getInstance().character.topPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = 0; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.topAsset); } override protected function customInit():void{ color = (new Color3Data() as Sprite); color.x = 0; color.y = 0; addChild(color); asset = (new Asset3Data() as Sprite); asset.x = -25; asset.y = -8; addChild(asset); overlay = (new Overlay3Data() as Sprite); addChild(overlay); } override public function setToSlot():void{ var _local1:Point; if (Engine.getInstance().character.topFirstRun){ Engine.getInstance().character.topFirstRun = false; _local1 = new Point((Engine.getInstance().character.topPoint.x - 25), Engine.getInstance().character.topPoint.y); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; Engine.getInstance().character.topAsset = this; } } }//package drimlike.garment.top
Section 120
//Top3_Asset3Data (drimlike.garment.top.Top3_Asset3Data) package drimlike.garment.top { import mx.core.*; public class Top3_Asset3Data extends SpriteAsset { } }//package drimlike.garment.top
Section 121
//Top3_Color3Data (drimlike.garment.top.Top3_Color3Data) package drimlike.garment.top { import mx.core.*; public class Top3_Color3Data extends SpriteAsset { } }//package drimlike.garment.top
Section 122
//Top3_Overlay3Data (drimlike.garment.top.Top3_Overlay3Data) package drimlike.garment.top { import mx.core.*; public class Top3_Overlay3Data extends SpriteAsset { } }//package drimlike.garment.top
Section 123
//Top4 (drimlike.garment.top.Top4) package drimlike.garment.top { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Top4 extends Garment { private var Color4Data:Class; private var Overlay4Data:Class; private var Asset4Data:Class; public function Top4(){ Color4Data = Top4_Color4Data; Asset4Data = Top4_Asset4Data; Overlay4Data = Top4_Overlay4Data; super(); hitWidth = 100; hitHeight = 160; itemType = TOP_GARMENT; catagoryType = TOP_TYPE; targetPoint = Engine.getInstance().character.topPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = 0; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.topAsset); } override protected function customInit():void{ color = (new Color4Data() as Sprite); color.x = -4; color.y = -16; addChild(color); asset = (new Asset4Data() as Sprite); asset.x = -4; asset.y = -16; addChild(asset); overlay = (new Overlay4Data() as Sprite); overlay.x = -4; overlay.y = -16; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; if (Engine.getInstance().character.topFirstRun){ Engine.getInstance().character.topFirstRun = false; _local1 = new Point((Engine.getInstance().character.topPoint.x - 25), Engine.getInstance().character.topPoint.y); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; Engine.getInstance().character.topAsset = this; } } }//package drimlike.garment.top
Section 124
//Top4_Asset4Data (drimlike.garment.top.Top4_Asset4Data) package drimlike.garment.top { import mx.core.*; public class Top4_Asset4Data extends SpriteAsset { } }//package drimlike.garment.top
Section 125
//Top4_Color4Data (drimlike.garment.top.Top4_Color4Data) package drimlike.garment.top { import mx.core.*; public class Top4_Color4Data extends SpriteAsset { } }//package drimlike.garment.top
Section 126
//Top4_Overlay4Data (drimlike.garment.top.Top4_Overlay4Data) package drimlike.garment.top { import mx.core.*; public class Top4_Overlay4Data extends SpriteAsset { } }//package drimlike.garment.top
Section 127
//Top5 (drimlike.garment.top.Top5) package drimlike.garment.top { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Top5 extends Garment { private var Asset5Data:Class; private var Overlay5Data:Class; private var Color5Data:Class; private var Asset25Data:Class; public function Top5(){ Color5Data = Top5_Color5Data; Asset5Data = Top5_Asset5Data; Overlay5Data = Top5_Overlay5Data; Asset25Data = Top5_Asset25Data; super(); hitWidth = 100; hitHeight = 160; itemType = TOP_GARMENT; catagoryType = TOP_TYPE; targetPoint = Engine.getInstance().character.topPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = 0; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.topAsset); } override protected function customInit():void{ color = (new Color5Data() as Sprite); color.x = 0; color.y = 7; addChild(color); asset2 = (new Asset25Data() as Sprite); asset2.x = 0; asset2.y = 6; addChild(asset2); asset = (new Asset5Data() as Sprite); asset.x = 0; asset.y = 6; addChild(asset); overlay = (new Overlay5Data() as Sprite); overlay.x = 0; overlay.y = 6; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; if (Engine.getInstance().character.topFirstRun){ Engine.getInstance().character.topFirstRun = false; _local1 = new Point((Engine.getInstance().character.topPoint.x - 25), Engine.getInstance().character.topPoint.y); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; Engine.getInstance().character.topAsset = this; } } }//package drimlike.garment.top
Section 128
//Top5_Asset25Data (drimlike.garment.top.Top5_Asset25Data) package drimlike.garment.top { import mx.core.*; public class Top5_Asset25Data extends SpriteAsset { } }//package drimlike.garment.top
Section 129
//Top5_Asset5Data (drimlike.garment.top.Top5_Asset5Data) package drimlike.garment.top { import mx.core.*; public class Top5_Asset5Data extends SpriteAsset { } }//package drimlike.garment.top
Section 130
//Top5_Color5Data (drimlike.garment.top.Top5_Color5Data) package drimlike.garment.top { import mx.core.*; public class Top5_Color5Data extends SpriteAsset { } }//package drimlike.garment.top
Section 131
//Top5_Overlay5Data (drimlike.garment.top.Top5_Overlay5Data) package drimlike.garment.top { import mx.core.*; public class Top5_Overlay5Data extends SpriteAsset { } }//package drimlike.garment.top
Section 132
//Top6 (drimlike.garment.top.Top6) package drimlike.garment.top { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Top6 extends Garment { private var Asset6Data:Class; private var Color6Data:Class; private var Overlay6Data:Class; public function Top6(){ Color6Data = Top6_Color6Data; Asset6Data = Top6_Asset6Data; Overlay6Data = Top6_Overlay6Data; super(); hitWidth = 100; hitHeight = 160; itemType = TOP_GARMENT; catagoryType = TOP_TYPE; targetPoint = Engine.getInstance().character.topPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = 0; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.topAsset); } override protected function customInit():void{ color = (new Color6Data() as Sprite); color.x = -28; color.y = -22; addChild(color); asset = (new Asset6Data() as Sprite); asset.x = -28; asset.y = -22; addChild(asset); overlay = (new Overlay6Data() as Sprite); overlay.x = -28; overlay.y = -22; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; if (Engine.getInstance().character.topFirstRun){ Engine.getInstance().character.topFirstRun = false; _local1 = new Point((Engine.getInstance().character.topPoint.x - 25), Engine.getInstance().character.topPoint.y); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; Engine.getInstance().character.topAsset = this; } } }//package drimlike.garment.top
Section 133
//Top6_Asset6Data (drimlike.garment.top.Top6_Asset6Data) package drimlike.garment.top { import mx.core.*; public class Top6_Asset6Data extends SpriteAsset { } }//package drimlike.garment.top
Section 134
//Top6_Color6Data (drimlike.garment.top.Top6_Color6Data) package drimlike.garment.top { import mx.core.*; public class Top6_Color6Data extends SpriteAsset { } }//package drimlike.garment.top
Section 135
//Top6_Overlay6Data (drimlike.garment.top.Top6_Overlay6Data) package drimlike.garment.top { import mx.core.*; public class Top6_Overlay6Data extends SpriteAsset { } }//package drimlike.garment.top
Section 136
//Top7 (drimlike.garment.top.Top7) package drimlike.garment.top { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Top7 extends Garment { private var Asset7Data:Class; private var Overlay7Data:Class; private var Color7Data:Class; public function Top7(){ Color7Data = Top7_Color7Data; Asset7Data = Top7_Asset7Data; Overlay7Data = Top7_Overlay7Data; super(); hitWidth = 100; hitHeight = 160; itemType = TOP_GARMENT; catagoryType = TOP_TYPE; targetPoint = Engine.getInstance().character.topPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = 0; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.topAsset); } override protected function customInit():void{ color = (new Color7Data() as Sprite); color.x = -1; color.y = 8; addChild(color); asset = (new Asset7Data() as Sprite); asset.x = -1; asset.y = 8; addChild(asset); overlay = (new Overlay7Data() as Sprite); overlay.x = -1; overlay.y = 8; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; if (Engine.getInstance().character.topFirstRun){ Engine.getInstance().character.topFirstRun = false; _local1 = new Point((Engine.getInstance().character.topPoint.x - 25), Engine.getInstance().character.topPoint.y); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; Engine.getInstance().character.topAsset = this; } } }//package drimlike.garment.top
Section 137
//Top7_Asset7Data (drimlike.garment.top.Top7_Asset7Data) package drimlike.garment.top { import mx.core.*; public class Top7_Asset7Data extends SpriteAsset { } }//package drimlike.garment.top
Section 138
//Top7_Color7Data (drimlike.garment.top.Top7_Color7Data) package drimlike.garment.top { import mx.core.*; public class Top7_Color7Data extends SpriteAsset { } }//package drimlike.garment.top
Section 139
//Top7_Overlay7Data (drimlike.garment.top.Top7_Overlay7Data) package drimlike.garment.top { import mx.core.*; public class Top7_Overlay7Data extends SpriteAsset { } }//package drimlike.garment.top
Section 140
//Top8 (drimlike.garment.top.Top8) package drimlike.garment.top { import flash.display.*; import drimlike.data.*; import drimlike.garment.*; import flash.geom.*; import flash.system.*; public class Top8 extends Garment { private var Overlay8Data:Class; private var Color8Data:Class; public function Top8(){ Color8Data = Top8_Color8Data; Overlay8Data = Top8_Overlay8Data; super(); hitWidth = 100; hitHeight = 160; itemType = TOP_GARMENT; catagoryType = TOP_TYPE; targetPoint = Engine.getInstance().character.topPoint; hittest = new Sprite(); hittest.graphics.beginFill(0x333333, 0); hittest.graphics.drawRect((-(hitWidth) / 2), (-(hitHeight) / 2), hitWidth, hitHeight); hittest.graphics.endFill(); hittest.x = 0; hittest.y = 0; addChild(hittest); } override public function isSlotBusy():Garment{ return (Engine.getInstance().character.topAsset); } override protected function customInit():void{ color = (new Color8Data() as Sprite); color.x = -17; color.y = -17; addChild(color); overlay = (new Overlay8Data() as Sprite); overlay.x = -17; overlay.y = -17; addChild(overlay); } override public function setToSlot():void{ var _local1:Point; if (Engine.getInstance().character.topFirstRun){ Engine.getInstance().character.topFirstRun = false; _local1 = new Point((Engine.getInstance().character.topPoint.x - 25), Engine.getInstance().character.topPoint.y); switch (Capabilities.language){ default: Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Click on any item to change it's color", 5000); break; case "de": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Klicken auf irgend eine Sache um sie zu ändern die Farbe", 5000); break; case "es": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Haz clic en cualquier elemento para que cambie de color", 5000); break; case "fr": Engine.getInstance().tooltipCommander.openToolTip(_local1.x, (_local1.y - 50), "Clique sur les objets pour changer les couleurs", 5000); break; }; }; Engine.getInstance().character.topAsset = this; } } }//package drimlike.garment.top
Section 141
//Top8_Color8Data (drimlike.garment.top.Top8_Color8Data) package drimlike.garment.top { import mx.core.*; public class Top8_Color8Data extends SpriteAsset { } }//package drimlike.garment.top
Section 142
//Top8_Overlay8Data (drimlike.garment.top.Top8_Overlay8Data) package drimlike.garment.top { import mx.core.*; public class Top8_Overlay8Data extends SpriteAsset { } }//package drimlike.garment.top
Section 143
//Garment (drimlike.garment.Garment) package drimlike.garment { import flash.events.*; import flash.display.*; import drimlike.events.*; import drimlike.data.*; import flash.geom.*; import flash.utils.*; import caurina.transitions.*; public class Garment extends Sprite { public var isPlaced:Boolean; protected var scaleLarge:Number;// = 1 public var isDragging:Boolean; protected var colorSwatchArray:Array; private var selected:Sprite; protected var hitHeight:int; protected var hittest:Sprite; protected var asset2:Sprite; private var timer:Timer; protected var overlay:Sprite; public var catagoryType:String; public var spawnPoint:Point; private var timestamp1:int; private var timestamp2:int; public var isMouseDown:Boolean; protected var color:Sprite; protected var scaleSmall:Number;// = 0.5 public var itemType:String; protected var asset:Sprite; protected var hitWidth:int; protected var targetPoint:Point; public static const BOTTOM_GARMENT:String = "bottomGarment"; public static const TOP_TYPE:String = "topType"; public static const EYE_TYPE:String = "eyeType"; public static const SHOE_GARMENT:String = "shoeGarment"; public static const TOP_GARMENT:String = "topGarment"; public static const SHOE_TYPE:String = "shoeType"; public static const EYE_GARMENT:String = "eyeGarment"; public static const BOTTOM_TYPE:String = "bottomType"; public function Garment(){ colorSwatchArray = new Array("0xC89D64", "0x905E36", "0x673A15", "0x41281B", "0x000000", "0xFFFFFF", "0xFFEC00", "0xFBBD1A", "0xF18700", "0xED172D", "0xBD0926", "0x7D042E", "0xBEE1E6", "0x66CFDC", "0x0096A1", "0x0098D4", "0x0D30A1", "0x13235B", "0xF19DAE", "0xED007A", "0xC40066", "0xA02483", "0x622294", "0x610D68", "0xDEDA00", "0x96BD0D", "0x40A52B", "0x00632E", "0xB3B3B3", "0x4D4D4D"); super(); addEventListener(Event.ADDED_TO_STAGE, init); } private function onClickOrDrag(_arg1:TimerEvent):void{ var _local2:Sprite; timer.stop(); if (isMouseDown == false){ if (selected != hittest){ if (isPlaced){ openColorPallette(); }; }; } else { startDragging(); for each (_local2 in Engine.getInstance().sandbox.containerArray) { if (_local2 != this.parent){ _local2.mouseChildren = false; _local2.mouseEnabled = false; }; }; }; } public function shrink():void{ Tweener.addTween(this, {scaleX:scaleSmall, scaleY:scaleSmall, time:0.5, transition:"easeOutExpo"}); } public function toTargetPoint():void{ var _local1:Garment = isSlotBusy(); if (_local1 != null){ _local1.toSpawnPoint(); }; setToSlot(); isPlaced = true; Tweener.addTween(this, {x:targetPoint.x, y:targetPoint.y, time:0.5, transition:"easeOutExpo"}); } private function init(_arg1:Event):void{ timer = new Timer(150); timer.addEventListener(TimerEvent.TIMER, onClickOrDrag); customInit(); colorCheck(); assetCheck(); asset2Check(); hittest.useHandCursor = true; hittest.buttonMode = true; hittest.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); hittest.addEventListener(MouseEvent.MOUSE_UP, onMouseUp); this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); overlay.mouseEnabled = false; this.scaleX = (this.scaleY = scaleSmall); } public function grow():void{ Tweener.addTween(this, {scaleX:scaleLarge, scaleY:scaleLarge, time:0.5, transition:"easeOutExpo"}); } private function onColorClick(_arg1:MouseEvent):void{ if (isPlaced){ Engine.getInstance().colorSelector.open(Sprite(_arg1.target), colorSwatchArray); }; } protected function customInit():void{ } public function toSpawnPoint():void{ isPlaced = false; if (Engine.getInstance().inventory.selectedButton.caragoryType != catagoryType){ Tweener.addTween(this, {x:spawnPoint.x, y:spawnPoint.y, time:0.5, transition:"easeOutExpo", onComplete:shrink}); } else { Tweener.addTween(this, {x:spawnPoint.x, y:spawnPoint.y, time:0.5, transition:"easeOutExpo", onComplete:shrink}); }; } private function onAssetClick(_arg1:MouseEvent):void{ if (isPlaced){ Engine.getInstance().colorSelector.open(Sprite(_arg1.target), colorSwatchArray); }; } public function setToSlot():void{ } public function reset():void{ isPlaced = false; Tweener.addTween(this, {x:spawnPoint.x, y:spawnPoint.y, time:0.5, transition:"easeOutExpo"}); } private function startDragging():void{ isDragging = true; startDrag(true); } private function onMouseDown(_arg1:MouseEvent):void{ isMouseDown = true; selected = (_arg1.target as Sprite); timer.start(); } private function onMouseUp(_arg1:MouseEvent):void{ var _local2:Point; var _local3:Point; var _local4:Number; var _local5:int; var _local6:Sprite; isMouseDown = false; if (isDragging){ stopDrag(); isDragging = false; _local2 = new Point(stage.mouseX, stage.mouseY); _local3 = targetPoint; _local4 = Point.distance(_local2, _local3); _local5 = 100; if (_local4 < _local5){ toTargetPoint(); } else { if (isPlaced){ if (Engine.getInstance().inventory.selectedButton.caragoryType != this.catagoryType){ Tweener.addTween(this, {alpha:0, time:0.5}); }; }; toSpawnPoint(); }; for each (_local6 in Engine.getInstance().sandbox.containerArray) { _local6.mouseChildren = true; _local6.mouseEnabled = true; }; }; } public function isSlotBusy():Garment{ return (null); } private function colorCheck():void{ if (color != null){ color.mouseEnabled = true; color.useHandCursor = true; color.buttonMode = true; color.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); color.addEventListener(MouseEvent.MOUSE_UP, onMouseUp); }; } private function onMouseOut(_arg1:MouseEvent):void{ if (!isPlaced){ Engine.getInstance().sandbox.dispatchEvent(new GarmentEvent(this, GarmentEvent.GARMENT_ROLLOUT_EVENT)); }; } private function openColorPallette():void{ Engine.getInstance().colorSelector.open(selected, colorSwatchArray); } private function asset2Check():void{ if (asset2 != null){ asset2.mouseEnabled = true; asset2.useHandCursor = true; asset2.buttonMode = true; asset2.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); asset2.addEventListener(MouseEvent.MOUSE_UP, onMouseUp); }; } private function assetCheck():void{ if (asset != null){ asset.mouseEnabled = true; asset.useHandCursor = true; asset.buttonMode = true; asset.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); asset.addEventListener(MouseEvent.MOUSE_UP, onMouseUp); }; } private function onMouseOver(_arg1:MouseEvent):void{ if (!isPlaced){ Engine.getInstance().sandbox.dispatchEvent(new GarmentEvent(this, GarmentEvent.GARMENT_ROLLOVER_EVENT)); }; } } }//package drimlike.garment
Section 144
//BottomButton (drimlike.inventory.buttons.BottomButton) package drimlike.inventory.buttons { import flash.display.*; public class BottomButton extends InvButton { private var OverlayData:Class; private var ColorData:Class; public function BottomButton(){ ColorData = BottomButton_ColorData; OverlayData = BottomButton_OverlayData; super(); } override protected function init():void{ caragoryType = BOTTOM_TYPE; color = (new ColorData() as Sprite); addChild(color); overlay = (new OverlayData() as Sprite); addChild(overlay); super.init(); } } }//package drimlike.inventory.buttons
Section 145
//BottomButton_ColorData (drimlike.inventory.buttons.BottomButton_ColorData) package drimlike.inventory.buttons { import mx.core.*; public class BottomButton_ColorData extends SpriteAsset { } }//package drimlike.inventory.buttons
Section 146
//BottomButton_OverlayData (drimlike.inventory.buttons.BottomButton_OverlayData) package drimlike.inventory.buttons { import mx.core.*; public class BottomButton_OverlayData extends SpriteAsset { } }//package drimlike.inventory.buttons
Section 147
//GlassesButton (drimlike.inventory.buttons.GlassesButton) package drimlike.inventory.buttons { import flash.display.*; public class GlassesButton extends InvButton { private var OverlayData:Class; private var ColorData:Class; public function GlassesButton(){ ColorData = GlassesButton_ColorData; OverlayData = GlassesButton_OverlayData; super(); } override protected function init():void{ caragoryType = EYE_TYPE; color = (new ColorData() as Sprite); addChild(color); overlay = (new OverlayData() as Sprite); addChild(overlay); super.init(); } } }//package drimlike.inventory.buttons
Section 148
//GlassesButton_ColorData (drimlike.inventory.buttons.GlassesButton_ColorData) package drimlike.inventory.buttons { import mx.core.*; public class GlassesButton_ColorData extends SpriteAsset { } }//package drimlike.inventory.buttons
Section 149
//GlassesButton_OverlayData (drimlike.inventory.buttons.GlassesButton_OverlayData) package drimlike.inventory.buttons { import mx.core.*; public class GlassesButton_OverlayData extends SpriteAsset { } }//package drimlike.inventory.buttons
Section 150
//InvButton (drimlike.inventory.buttons.InvButton) package drimlike.inventory.buttons { import flash.events.*; import flash.display.*; import drimlike.events.*; import drimlike.data.*; import flash.media.*; import caurina.transitions.*; public class InvButton extends Sprite { protected var outline:Sprite; protected var color:Sprite; public var isSelected:Boolean; private var sound:Sound; protected var overlay:Sprite; public var caragoryType:String; private var DefaultSoundData:Class; public static var TOP_TYPE:String = "topType"; public static var SHOE_TYPE:String = "shoeType"; public static var SCENE_TYPE:String = "sceneType"; public static var BOTTOM_TYPE:String = "bottomType"; public static var EYE_TYPE:String = "eyeType"; public function InvButton(){ DefaultSoundData = InvButton_DefaultSoundData; super(); init(); } private function onMouseOver(_arg1:MouseEvent):void{ sound.play(0, 0); Engine.getInstance().sandbox.dispatchEvent(new InventoryEvent(this, InventoryEvent.INVENTORY_BUTTON_OVER_EVENT)); } public function toGreen():void{ Tweener.addTween(color, {_color:"0x960000", time:1, transition:"easeOutExpo"}); } public function shrink():void{ Tweener.addTween(color, {scaleX:1, scaleY:1, time:1, transition:"easeOutExpo"}); } public function activate():void{ isSelected = true; toGreen(); grow(); } public function toGray():void{ Tweener.addTween(color, {_color:"0x000000", time:1, transition:"easeOutExpo"}); } private function onMouseClick(_arg1:MouseEvent):void{ Engine.getInstance().sandbox.dispatchEvent(new InventoryEvent(this, InventoryEvent.INVENTORY_BUTTON_CLICK_EVENT)); } public function deactivate():void{ isSelected = false; toGray(); shrink(); } private function onMouseOut(_arg1:MouseEvent):void{ Engine.getInstance().sandbox.dispatchEvent(new InventoryEvent(this, InventoryEvent.INVENTORY_BUTTON_OUT_EVENT)); } protected function init():void{ this.buttonMode = true; this.useHandCursor = true; this.mouseChildren = false; this.addEventListener(MouseEvent.CLICK, onMouseClick); this.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); this.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); sound = (new DefaultSoundData() as Sound); } public function grow():void{ Tweener.addTween(color, {scaleX:1.35, scaleY:1.35, time:1, transition:"easeOutExpo"}); } } }//package drimlike.inventory.buttons
Section 151
//InvButton_DefaultSoundData (drimlike.inventory.buttons.InvButton_DefaultSoundData) package drimlike.inventory.buttons { import mx.core.*; public class InvButton_DefaultSoundData extends SoundAsset { } }//package drimlike.inventory.buttons
Section 152
//SceneButton (drimlike.inventory.buttons.SceneButton) package drimlike.inventory.buttons { import flash.display.*; public class SceneButton extends InvButton { private var OverlayData:Class; private var ColorData:Class; public function SceneButton(){ ColorData = SceneButton_ColorData; OverlayData = SceneButton_OverlayData; super(); } override protected function init():void{ caragoryType = SCENE_TYPE; color = (new ColorData() as Sprite); addChild(color); overlay = (new OverlayData() as Sprite); addChild(overlay); super.init(); } } }//package drimlike.inventory.buttons
Section 153
//SceneButton_ColorData (drimlike.inventory.buttons.SceneButton_ColorData) package drimlike.inventory.buttons { import mx.core.*; public class SceneButton_ColorData extends SpriteAsset { } }//package drimlike.inventory.buttons
Section 154
//SceneButton_OverlayData (drimlike.inventory.buttons.SceneButton_OverlayData) package drimlike.inventory.buttons { import mx.core.*; public class SceneButton_OverlayData extends SpriteAsset { } }//package drimlike.inventory.buttons
Section 155
//ShoeButton (drimlike.inventory.buttons.ShoeButton) package drimlike.inventory.buttons { import flash.display.*; public class ShoeButton extends InvButton { private var OverlayData:Class; private var ColorData:Class; public function ShoeButton(){ ColorData = ShoeButton_ColorData; OverlayData = ShoeButton_OverlayData; super(); } override protected function init():void{ caragoryType = SHOE_TYPE; color = (new ColorData() as Sprite); addChild(color); overlay = (new OverlayData() as Sprite); addChild(overlay); super.init(); } } }//package drimlike.inventory.buttons
Section 156
//ShoeButton_ColorData (drimlike.inventory.buttons.ShoeButton_ColorData) package drimlike.inventory.buttons { import mx.core.*; public class ShoeButton_ColorData extends SpriteAsset { } }//package drimlike.inventory.buttons
Section 157
//ShoeButton_OverlayData (drimlike.inventory.buttons.ShoeButton_OverlayData) package drimlike.inventory.buttons { import mx.core.*; public class ShoeButton_OverlayData extends SpriteAsset { } }//package drimlike.inventory.buttons
Section 158
//TopButton (drimlike.inventory.buttons.TopButton) package drimlike.inventory.buttons { import flash.display.*; public class TopButton extends InvButton { private var OverlayData:Class; private var ColorData:Class; public function TopButton(){ ColorData = TopButton_ColorData; OverlayData = TopButton_OverlayData; super(); } override protected function init():void{ caragoryType = TOP_TYPE; color = (new ColorData() as Sprite); addChild(color); overlay = (new OverlayData() as Sprite); addChild(overlay); super.init(); } } }//package drimlike.inventory.buttons
Section 159
//TopButton_ColorData (drimlike.inventory.buttons.TopButton_ColorData) package drimlike.inventory.buttons { import mx.core.*; public class TopButton_ColorData extends SpriteAsset { } }//package drimlike.inventory.buttons
Section 160
//TopButton_OverlayData (drimlike.inventory.buttons.TopButton_OverlayData) package drimlike.inventory.buttons { import mx.core.*; public class TopButton_OverlayData extends SpriteAsset { } }//package drimlike.inventory.buttons
Section 161
//Inventory (drimlike.inventory.Inventory) package drimlike.inventory { import flash.events.*; import flash.display.*; import drimlike.inventory.buttons.*; import flash.utils.*; import drimlike.garment.top.*; import drimlike.garment.eye.*; import drimlike.garment.shoe.*; import drimlike.garment.bottom.*; import drimlike.garment.mouth.*; public class Inventory extends Sprite { private var InventoryPanelData:Class; private var panel:Sprite; public var selectedButton:InvButton; public var navButtons:Array; public function Inventory(){ InventoryPanelData = Inventory_InventoryPanelData; super(); addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ panel = (new InventoryPanelData() as Sprite); addChild(panel); addInventoryButtons(); } private function addInventoryButtons():void{ var _local1:TopButton = new TopButton(); _local1.x = -123; _local1.y = -210; addChild(_local1); var _local2:BottomButton = new BottomButton(); _local2.x = -62; _local2.y = -210; addChild(_local2); var _local3:ShoeButton = new ShoeButton(); _local3.x = -1; _local3.y = -210; addChild(_local3); var _local4:GlassesButton = new GlassesButton(); _local4.x = 60; _local4.y = -210; addChild(_local4); var _local5:SceneButton = new SceneButton(); _local5.x = 120; _local5.y = -210; addChild(_local5); navButtons = new Array(_local1, _local2, _local3, _local4, _local5); selectedButton = _local1; var _local6:Timer = new Timer(500); _local6.addEventListener(TimerEvent.TIMER, autoSelect); _local6.start(); } private function autoSelect(_arg1:TimerEvent):void{ _arg1.target.stop(); _arg1.target.removeEventListener(TimerEvent.TIMER, autoSelect); selectedButton.activate(); } } }//package drimlike.inventory
Section 162
//Inventory_InventoryPanelData (drimlike.inventory.Inventory_InventoryPanelData) package drimlike.inventory { import mx.core.*; public class Inventory_InventoryPanelData extends SpriteAsset { } }//package drimlike.inventory
Section 163
//MyGamesForGirls (drimlike.scenes.sandboxItems.MyGamesForGirls) package drimlike.scenes.sandboxItems { import flash.events.*; import flash.display.*; import drimlike.data.*; 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 164
//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 165
//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 166
//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 167
//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 168
//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 169
//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 170
//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 171
//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 172
//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 173
//SandboxDone (drimlike.scenes.sandboxItems.SandboxDone) package drimlike.scenes.sandboxItems { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; public class SandboxDone extends Sprite { private var DoneDeData:Class; private var sound:Sound; private var DoneSoundData:Class; private var DoneFrData:Class; private var textSprite:Sprite; 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{ sound = (new DoneSoundData() as Sound); background = (new SandboxDoneButtonData() as Sprite); background.addEventListener(MouseEvent.ROLL_OUT, onRollOut); background.addEventListener(MouseEvent.ROLL_OVER, onRollOver); addChild(background); 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 = 65; textSprite.y = 20; textSprite.mouseChildren = false; textSprite.mouseEnabled = false; addChild(textSprite); highlight = (new SandboxDoneHighlightData() 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 174
//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 175
//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 176
//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 177
//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 178
//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 179
//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 180
//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 181
//SandboxMoreGames (drimlike.scenes.sandboxItems.SandboxMoreGames) package drimlike.scenes.sandboxItems { import flash.events.*; import flash.display.*; import drimlike.data.*; import flash.media.*; import flash.net.*; import flash.system.*; public class SandboxMoreGames extends Sprite { private var MoreGamesFrData:Class; private var urlS:String; private var SandboxPrintGlintData:Class; private var sound:Sound; private var textSprite:Sprite; private var MoreGamesSpData:Class; private var MoreGamesEnData:Class; private var SandboxPrintButtonData:Class; private var background:Sprite; private var highlight:MovieClip; private var MoreGamesDeData:Class; private var DefaultSoundData:Class; public function SandboxMoreGames(){ SandboxPrintButtonData = SandboxMoreGames_SandboxPrintButtonData; SandboxPrintGlintData = SandboxMoreGames_SandboxPrintGlintData; MoreGamesEnData = SandboxMoreGames_MoreGamesEnData; MoreGamesFrData = SandboxMoreGames_MoreGamesFrData; MoreGamesDeData = SandboxMoreGames_MoreGamesDeData; MoreGamesSpData = SandboxMoreGames_MoreGamesSpData; DefaultSoundData = SandboxMoreGames_DefaultSoundData; 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 DefaultSoundData() as Sound); background = (new SandboxPrintButtonData() 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 MoreGamesEnData() 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 MoreGamesSpData() 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 MoreGamesDeData() as Sprite); break; case "fr": textSprite = (new MoreGamesFrData() 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 SandboxPrintGlintData() as MovieClip); highlight.mouseEnabled = false; highlight.stop(); addChild(highlight); } private function onMouseClick(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(urlS), "_blank"); } 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 182
//SandboxMoreGames_DefaultSoundData (drimlike.scenes.sandboxItems.SandboxMoreGames_DefaultSoundData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxMoreGames_DefaultSoundData extends SoundAsset { } }//package drimlike.scenes.sandboxItems
Section 183
//SandboxMoreGames_MoreGamesDeData (drimlike.scenes.sandboxItems.SandboxMoreGames_MoreGamesDeData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxMoreGames_MoreGamesDeData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 184
//SandboxMoreGames_MoreGamesEnData (drimlike.scenes.sandboxItems.SandboxMoreGames_MoreGamesEnData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxMoreGames_MoreGamesEnData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 185
//SandboxMoreGames_MoreGamesFrData (drimlike.scenes.sandboxItems.SandboxMoreGames_MoreGamesFrData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxMoreGames_MoreGamesFrData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 186
//SandboxMoreGames_MoreGamesSpData (drimlike.scenes.sandboxItems.SandboxMoreGames_MoreGamesSpData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxMoreGames_MoreGamesSpData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 187
//SandboxMoreGames_SandboxPrintButtonData (drimlike.scenes.sandboxItems.SandboxMoreGames_SandboxPrintButtonData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxMoreGames_SandboxPrintButtonData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 188
//SandboxMoreGames_SandboxPrintGlintData (drimlike.scenes.sandboxItems.SandboxMoreGames_SandboxPrintGlintData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxMoreGames_SandboxPrintGlintData extends MovieClipAsset { } }//package drimlike.scenes.sandboxItems
Section 189
//SandboxPrint (drimlike.scenes.sandboxItems.SandboxPrint) package drimlike.scenes.sandboxItems { import flash.events.*; import flash.display.*; import flash.media.*; import flash.system.*; public class SandboxPrint extends Sprite { private var PrintFrData:Class; private var SandboxPrintGlintData:Class; private var sound:Sound; private var textSprite:Sprite; private var PrintSpData:Class; private var PrintEnData:Class; private var SandboxPrintButtonData:Class; private var background:Sprite; private var bitmap:Bitmap; private var highlight:MovieClip; private var PrintDeData:Class; private var bitmapData:BitmapData; private var DefaultSoundData:Class; public function SandboxPrint(){ SandboxPrintButtonData = SandboxPrint_SandboxPrintButtonData; SandboxPrintGlintData = SandboxPrint_SandboxPrintGlintData; PrintEnData = SandboxPrint_PrintEnData; PrintFrData = SandboxPrint_PrintFrData; PrintDeData = SandboxPrint_PrintDeData; PrintSpData = SandboxPrint_PrintSpData; DefaultSoundData = SandboxPrint_DefaultSoundData; super(); addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ sound = (new DefaultSoundData() as Sound); background = (new SandboxPrintButtonData() as Sprite); background.addEventListener(MouseEvent.ROLL_OUT, onRollOut); background.addEventListener(MouseEvent.ROLL_OVER, onRollOver); addChild(background); switch (Capabilities.language){ default: textSprite = (new PrintEnData() as Sprite); break; case "es": textSprite = (new PrintSpData() as Sprite); break; case "de": textSprite = (new PrintDeData() as Sprite); break; case "fr": textSprite = (new PrintFrData() as Sprite); break; }; textSprite.x = (background.width / 2); textSprite.y = (background.height / 2); textSprite.mouseChildren = false; textSprite.mouseEnabled = false; addChild(textSprite); highlight = (new SandboxPrintGlintData() as MovieClip); highlight.mouseEnabled = false; highlight.stop(); addChild(highlight); this.buttonMode = true; this.useHandCursor = true; } 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 190
//SandboxPrint_DefaultSoundData (drimlike.scenes.sandboxItems.SandboxPrint_DefaultSoundData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxPrint_DefaultSoundData extends SoundAsset { } }//package drimlike.scenes.sandboxItems
Section 191
//SandboxPrint_PrintDeData (drimlike.scenes.sandboxItems.SandboxPrint_PrintDeData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxPrint_PrintDeData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 192
//SandboxPrint_PrintEnData (drimlike.scenes.sandboxItems.SandboxPrint_PrintEnData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxPrint_PrintEnData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 193
//SandboxPrint_PrintFrData (drimlike.scenes.sandboxItems.SandboxPrint_PrintFrData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxPrint_PrintFrData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 194
//SandboxPrint_PrintSpData (drimlike.scenes.sandboxItems.SandboxPrint_PrintSpData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxPrint_PrintSpData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 195
//SandboxPrint_SandboxPrintButtonData (drimlike.scenes.sandboxItems.SandboxPrint_SandboxPrintButtonData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxPrint_SandboxPrintButtonData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 196
//SandboxPrint_SandboxPrintGlintData (drimlike.scenes.sandboxItems.SandboxPrint_SandboxPrintGlintData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxPrint_SandboxPrintGlintData extends MovieClipAsset { } }//package drimlike.scenes.sandboxItems
Section 197
//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 ReplaySpData:Class; private var sound:Sound; private var textSprite:Sprite; private var ReplayEnData:Class; private var SandboxDoneButtonData:Class; private var background:Sprite; private var highlight:MovieClip; private var SandboxDoneHighlightData:Class; private var DefaultSoundData:Class; private var ReplayDeData:Class; private var ReplayFrData:Class; public function SandboxReplay(){ SandboxDoneButtonData = SandboxReplay_SandboxDoneButtonData; SandboxDoneHighlightData = SandboxReplay_SandboxDoneHighlightData; ReplayEnData = SandboxReplay_ReplayEnData; ReplayFrData = SandboxReplay_ReplayFrData; ReplayDeData = SandboxReplay_ReplayDeData; ReplaySpData = SandboxReplay_ReplaySpData; DefaultSoundData = SandboxReplay_DefaultSoundData; super(); addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ sound = (new DefaultSoundData() as Sound); background = (new SandboxDoneButtonData() as Sprite); background.addEventListener(MouseEvent.ROLL_OUT, onRollOut); background.addEventListener(MouseEvent.ROLL_OVER, onRollOver); addChild(background); switch (Capabilities.language){ default: textSprite = (new ReplayEnData() as Sprite); break; case "es": textSprite = (new ReplaySpData() as Sprite); break; case "de": textSprite = (new ReplayDeData() as Sprite); break; case "fr": textSprite = (new ReplayFrData() as Sprite); break; }; textSprite.x = (background.width / 2); textSprite.y = (background.height / 2); textSprite.mouseChildren = false; textSprite.mouseEnabled = false; addChild(textSprite); highlight = (new SandboxDoneHighlightData() 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 198
//SandboxReplay_DefaultSoundData (drimlike.scenes.sandboxItems.SandboxReplay_DefaultSoundData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxReplay_DefaultSoundData extends SoundAsset { } }//package drimlike.scenes.sandboxItems
Section 199
//SandboxReplay_ReplayDeData (drimlike.scenes.sandboxItems.SandboxReplay_ReplayDeData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxReplay_ReplayDeData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 200
//SandboxReplay_ReplayEnData (drimlike.scenes.sandboxItems.SandboxReplay_ReplayEnData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxReplay_ReplayEnData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 201
//SandboxReplay_ReplayFrData (drimlike.scenes.sandboxItems.SandboxReplay_ReplayFrData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxReplay_ReplayFrData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 202
//SandboxReplay_ReplaySpData (drimlike.scenes.sandboxItems.SandboxReplay_ReplaySpData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxReplay_ReplaySpData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 203
//SandboxReplay_SandboxDoneButtonData (drimlike.scenes.sandboxItems.SandboxReplay_SandboxDoneButtonData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxReplay_SandboxDoneButtonData extends SpriteAsset { } }//package drimlike.scenes.sandboxItems
Section 204
//SandboxReplay_SandboxDoneHighlightData (drimlike.scenes.sandboxItems.SandboxReplay_SandboxDoneHighlightData) package drimlike.scenes.sandboxItems { import mx.core.*; public class SandboxReplay_SandboxDoneHighlightData extends MovieClipAsset { } }//package drimlike.scenes.sandboxItems
Section 205
//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 206
//Sandbox (drimlike.scenes.Sandbox) package drimlike.scenes { import flash.events.*; import flash.display.*; import drimlike.events.*; import drimlike.data.*; import drimlike.garment.*; import drimlike.inventory.buttons.*; import drimlike.color.*; import drimlike.character.*; import flash.geom.*; import drimlike.xml.*; import drimlike.inventory.*; import drimlike.background.*; import drimlike.tooltip.*; import drimlike.scenes.sandboxItems.*; import flash.utils.*; import drimlike.garment.top.*; import drimlike.garment.eye.*; import drimlike.garment.shoe.*; import drimlike.garment.bottom.*; import drimlike.garment.mouth.*; import caurina.transitions.*; import flash.system.*; import flash.printing.*; public class Sandbox extends GameScene { private var mouths:Sprite; private var sandboxReplay:SandboxReplay; private var padding:Number;// = 20 private var toolTipCommander:ToolTipCommander; private var imageFeed:XMLRotator; private var backgroundManager:BackgroundManager; private var myGamesForGirls:MyGamesForGirls; private var sandboxPrint:SandboxPrint; private var bottoms:Sprite; private var bitmap:Bitmap; public var scenesArray:Array; private var myGamesForGirlsHolder:Sprite; private var tops:Sprite; private var xmlFeed:XMLFeed; private var baby:Character; private var inventory:Inventory; public var containerArray:Array; private var eyes:Sprite; public var garmentsArray:Array; private var scenes:Sprite; private var shoes:Sprite; private var sandboxDone:SandboxDone; private var sandboxMoreGames:SandboxMoreGames; private var colorSelector:ColorSelector; private var misc:Sprite; private var bitmapData:BitmapData; private var selectedArray:Array; private function onGarmentMouseOver(_arg1:GarmentEvent):void{ if (_arg1.garment.isPlaced){ trace("placed"); } else { _arg1.garment.parent.setChildIndex(_arg1.garment, (_arg1.garment.parent.numChildren - 1)); _arg1.garment.grow(); }; } private function onSandboxDoneClick(_arg1:MouseEvent):void{ var _local2:Garment; var _local3:int; for each (_local2 in garmentsArray) { if (_local2.isPlaced == false){ _local2.visible = false; }; }; _local3 = 0; while (_local3 < scenesArray.length) { Sprite(scenesArray[_local3]).visible = false; _local3++; }; Engine.getInstance().tooltipCommander.closeToolTip(); Tweener.addTween(myGamesForGirls, {y:45, x:45, time:0.5, transition:"easeOutExpo"}); Tweener.addTween(inventory, {x:-200, time:0.5, transition:"easeOutExpo"}); Tweener.addTween(sandboxPrint, {x:58, time:1, transition:"easeOutExpo"}); Tweener.addTween(sandboxMoreGames, {x:58, time:1, delay:0.2, transition:"easeOutExpo"}); Tweener.addTween(sandboxDone, {y:600, time:1, transition:"easeOutExpo"}); Tweener.addTween(sandboxReplay, {y:480, time:1, transition:"easeOutExpo"}); Tweener.addTween(Engine.getInstance().xmlFeed, {y:(Engine.getInstance().xmlFeed.y + 200), time:0.5, transition:"easeOutExpo"}); Tweener.addTween(imageFeed, {x:158, time:1, transition:"easeOutExpo"}); } override protected function customInit():void{ trace("sandbox created"); backgroundManager = new BackgroundManager(); addChild(backgroundManager); Engine.getInstance().backgroundManager = backgroundManager; baby = new Character(); baby.x = 550; baby.y = 250; addChild(baby); Engine.getInstance().character = baby; inventory = new Inventory(); inventory.x = 180; inventory.y = 251; addChild(inventory); Engine.getInstance().inventory = inventory; mouths = new Sprite(); addChild(mouths); shoes = new Sprite(); addChild(shoes); bottoms = new Sprite(); addChild(bottoms); tops = new Sprite(); addChild(tops); misc = new Sprite(); addChild(misc); eyes = new Sprite(); addChild(eyes); containerArray = new Array(eyes, mouths, tops, shoes, bottoms, misc); scenes = new Sprite(); addChild(scenes); var _local1:BackgroundButton1 = new BackgroundButton1(); scenes.addChild(_local1); var _local2:BackgroundButton2 = new BackgroundButton2(); scenes.addChild(_local2); var _local3:BackgroundButton3 = new BackgroundButton3(); scenes.addChild(_local3); var _local4:BackgroundButton4 = new BackgroundButton4(); scenes.addChild(_local4); var _local5:BackgroundButton5 = new BackgroundButton5(); scenes.addChild(_local5); var _local6:BackgroundButton6 = new BackgroundButton6(); scenes.addChild(_local6); _local4.checkbox.visible = true; scenesArray = new Array(); scenesArray.push(_local1, _local2, _local3, _local4, _local5, _local6); addAllGarments(); toolTipCommander = new ToolTipCommander(); addChild(toolTipCommander); Engine.getInstance().tooltipCommander = toolTipCommander; xmlFeed = new XMLFeed(); addChild(xmlFeed); Engine.getInstance().xmlFeed = xmlFeed; colorSelector = new ColorSelector(); addChild(colorSelector); Engine.getInstance().colorSelector = colorSelector; addEventListener(InventoryEvent.INVENTORY_BUTTON_CLICK_EVENT, onInventoryButtonClicked); addEventListener(InventoryEvent.INVENTORY_BUTTON_OUT_EVENT, onInventoryButtonOut); addEventListener(InventoryEvent.INVENTORY_BUTTON_OVER_EVENT, onInventoryButtonOver); addEventListener(GarmentEvent.GARMENT_ROLLOVER_EVENT, onGarmentMouseOver); addEventListener(GarmentEvent.GARMENT_ROLLOUT_EVENT, onGarmentMouseOut); switch (Capabilities.language){ default: trace("english"); myGamesForGirls = new MyGamesForGirls(); sandboxDone = new SandboxDone(); sandboxPrint = new SandboxPrint(); sandboxMoreGames = new SandboxMoreGames(); sandboxReplay = new SandboxReplay(); Engine.getInstance().tooltipCommander.openToolTip((Engine.getInstance().character.x - 25), (Engine.getInstance().character.y - 100), "Click here to change color!", 10000); break; case "de": trace("german"); myGamesForGirls = new MyGamesForGirls(); sandboxDone = new SandboxDone(); sandboxPrint = new SandboxPrint(); sandboxMoreGames = new SandboxMoreGames(); sandboxReplay = new SandboxReplay(); Engine.getInstance().tooltipCommander.openToolTip((Engine.getInstance().character.x - 25), (Engine.getInstance().character.y - 100), "Hier Klicken, die Farbe zu ändern!", 10000); break; case "es": trace("spanish"); myGamesForGirls = new MyGamesForGirls(); sandboxDone = new SandboxDone(); sandboxPrint = new SandboxPrint(); sandboxMoreGames = new SandboxMoreGames(); sandboxReplay = new SandboxReplay(); Engine.getInstance().tooltipCommander.openToolTip((Engine.getInstance().character.x - 25), (Engine.getInstance().character.y - 100), "Haz clic aquí para cambiar el color!", 10000); break; case "fr": trace("french"); myGamesForGirls = new MyGamesForGirls(); sandboxDone = new SandboxDone(); sandboxPrint = new SandboxPrint(); sandboxMoreGames = new SandboxMoreGames(); sandboxReplay = new SandboxReplay(); Engine.getInstance().tooltipCommander.openToolTip((Engine.getInstance().character.x - 25), (Engine.getInstance().character.y - 100), "Clique ici pour changer la couleur!", 10000); break; }; sandboxDone.x = 588; sandboxDone.y = 480; sandboxDone.buttonMode = true; sandboxDone.useHandCursor = true; sandboxDone.addEventListener(MouseEvent.CLICK, onSandboxDoneClick); addChildAt(sandboxDone, (numChildren - 3)); sandboxPrint.x = -200; sandboxPrint.y = 120; sandboxPrint.addEventListener(MouseEvent.CLICK, onSandboxPrintClick); addChild(sandboxPrint); sandboxMoreGames.x = -200; sandboxMoreGames.y = 174; addChild(sandboxMoreGames); sandboxReplay.x = sandboxDone.x; sandboxReplay.y = 600; sandboxReplay.buttonMode = true; sandboxReplay.useHandCursor = true; sandboxReplay.addEventListener(MouseEvent.CLICK, onSandboxReplayClick); addChild(sandboxReplay); myGamesForGirls.x = 18; myGamesForGirls.y = 474; addChild(myGamesForGirls); imageFeed = new XMLRotator(); imageFeed.x = -200; imageFeed.y = 365; addChild(imageFeed); Engine.getInstance().imageFeed = imageFeed; } private function print(_arg1:TimerEvent):void{ _arg1.target.stop; _arg1.target.removeEventListener(TimerEvent.TIMER, print); var _local2:PrintJob = new PrintJob(); var _local3:PrintJobOptions = new PrintJobOptions(); _local3.printAsBitmap = true; if (_local2.start()){ if (this.width > _local2.pageWidth){ this.scaleX = (this.scaleY = 0.8); }; _local2.addPage(this, new Rectangle(0, 0, stage.stageWidth, stage.stageHeight), _local3); _local2.send(); }; this.scaleX = (this.scaleY = 1); Tweener.addTween(sandboxPrint, {x:(sandboxPrint.x + 300), time:0.5, transition:"easeOutExpo"}); Tweener.addTween(sandboxMoreGames, {x:(sandboxMoreGames.x + 300), time:0.5, transition:"easeOutExpo"}); Tweener.addTween(sandboxReplay, {x:(sandboxReplay.x - 500), time:0.5, transition:"easeOutExpo"}); if (Engine.getInstance().soundButton != null){ Tweener.addTween(Engine.getInstance().soundButton, {x:(Engine.getInstance().soundButton.x - 500), time:0.5, transition:"easeOutExpo"}); }; Tweener.addTween(imageFeed, {x:148, time:1, transition:"easeOutExpo"}); } private function onInventoryButtonOver(_arg1:InventoryEvent):void{ _arg1.targetButton.toGreen(); } private function sortNavigation():void{ var _local9:Garment; var _local10:BackgroundButton; var _local1 = 90; var _local2 = 150; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; for each (_local9 in garmentsArray) { if (_local9.catagoryType == inventory.selectedButton.caragoryType){ _local9.visible = true; switch (_local9.catagoryType){ case Garment.SHOE_TYPE: _local8 = 1; _local1 = 175; _local2 = 110; _local5 = 75; _local6 = 80; break; case Garment.BOTTOM_TYPE: _local8 = 3; _local1 = 100; _local2 = 180; _local5 = 90; _local6 = 140; break; case Garment.EYE_TYPE: _local8 = 2; _local1 = 115; _local2 = 130; _local5 = 120; _local6 = 90; break; default: _local8 = 3; _local1 = 90; _local2 = 135; _local5 = 90; _local6 = 120; break; }; if (_local3 == _local8){ _local3 = 0; _local4++; }; if (!_local9.isPlaced){ _local9.x = (_local1 + (_local3 * _local5)); _local9.y = (_local2 + (_local4 * _local6)); _local9.spawnPoint = new Point(_local9.x, _local9.y); }; Tweener.addTween(_local9, {delay:(0.05 * _local7), time:0.1, alpha:1, transition:"easeOutExpo"}); _local3++; _local7++; } else { if (_local9.isPlaced == false){ _local9.alpha = 0; _local9.visible = false; }; }; }; if (inventory.selectedButton.caragoryType == InvButton.SCENE_TYPE){ _local1 = 50; _local2 = 100; _local3 = 0; _local4 = 0; _local5 = 150; _local6 = 120; _local7 = 0; _local8 = 1; for each (_local10 in scenesArray) { _local10.alpha = 0; _local10.visible = true; _local10.x = (_local1 + (_local3 * _local5)); _local10.y = (_local2 + (_local4 * _local6)); if (_local3 == _local8){ _local3 = 0; _local4++; } else { _local3++; }; _local7++; Tweener.addTween(_local10, {alpha:1, time:0.5, delay:(_local7 * 0.05)}); }; } else { for each (_local10 in scenesArray) { _local10.visible = false; }; }; } private function addAllGarments():void{ var _local27:Garment; garmentsArray = new Array(); var _local1:Top1 = new Top1(); var _local2:Top2 = new Top2(); var _local3:Top3 = new Top3(); var _local4:Top4 = new Top4(); var _local5:Top5 = new Top5(); var _local6:Top7 = new Top7(); var _local7:Top8 = new Top8(); var _local8:Top6 = new Top6(); var _local9:Eyes1 = new Eyes1(); var _local10:Eyes2 = new Eyes2(); var _local11:Eyes3 = new Eyes3(); var _local12:Eyes4 = new Eyes4(); var _local13:Eyes5 = new Eyes5(); var _local14:Eyes6 = new Eyes6(); var _local15:Eyes7 = new Eyes7(); var _local16:Bottom3 = new Bottom3(); var _local17:Bottom4 = new Bottom4(); var _local18:Bottom5 = new Bottom5(); var _local19:Bottom1 = new Bottom1(); var _local20:Bottom2 = new Bottom2(); var _local21:Bottom6 = new Bottom6(); var _local22:Shoe1 = new Shoe1(); var _local23:Shoe2 = new Shoe2(); var _local24:Shoe3 = new Shoe3(); var _local25:Shoe4 = new Shoe4(); var _local26:Shoe5 = new Shoe5(); garmentsArray.push(_local1, _local2, _local3, _local4, _local5, _local7, _local6, _local8, _local9, _local10, _local11, _local12, _local13, _local15, _local14, _local16, _local17, _local18, _local19, _local20, _local21, _local22, _local23, _local24, _local25, _local26); for each (_local27 in garmentsArray) { _local27.x = -100; _local27.y = -100; _local27.alpha = 0; _local27.mouseEnabled = false; switch (_local27.itemType){ case Garment.EYE_GARMENT: eyes.addChild(_local27); break; case Garment.BOTTOM_GARMENT: bottoms.addChild(_local27); break; case Garment.SHOE_GARMENT: shoes.addChild(_local27); break; case Garment.TOP_GARMENT: tops.addChild(_local27); break; }; }; sortNavigation(); } private function onSandboxReplayClick(_arg1:MouseEvent):void{ var _local2:BackgroundButton; Engine.getInstance().tooltipCommander.closeToolTip(); if (Engine.getInstance().character.eyeAsset != null){ Garment(Engine.getInstance().character.eyeAsset).toSpawnPoint(); Engine.getInstance().character.eyeAsset = null; }; if (Engine.getInstance().character.bottomAsset != null){ Garment(Engine.getInstance().character.bottomAsset).toSpawnPoint(); Engine.getInstance().character.bottomAsset = null; }; if (Engine.getInstance().character.shoeAsset != null){ Garment(Engine.getInstance().character.shoeAsset).toSpawnPoint(); Engine.getInstance().character.shoeAsset = null; }; if (Engine.getInstance().character.topAsset != null){ Garment(Engine.getInstance().character.topAsset).toSpawnPoint(); Engine.getInstance().character.topAsset = null; }; if (Engine.getInstance().character.handAsset != null){ Garment(Engine.getInstance().character.handAsset).toSpawnPoint(); Engine.getInstance().character.handAsset = null; }; inventory.selectedButton.deactivate(); inventory.selectedButton = InvButton(inventory.navButtons[0]); inventory.selectedButton.activate(); sortNavigation(); Tweener.addTween(myGamesForGirls, {y:474, x:18, time:0.5, transition:"easeOutExpo"}); Tweener.addTween(inventory, {x:180, time:0.5, delay:0.1, transition:"easeOutExpo", onComplete:sortNavigation()}); Tweener.addTween(sandboxPrint, {x:-200, time:0.5, transition:"easeOutExpo"}); Tweener.addTween(sandboxMoreGames, {x:-200, time:0.5, delay:0, transition:"easeOutExpo"}); Tweener.addTween(sandboxDone, {y:480, time:1, transition:"easeOutExpo"}); Tweener.addTween(sandboxReplay, {y:600, time:1, transition:"easeOutExpo"}); Tweener.addTween(Engine.getInstance().xmlFeed, {y:(Engine.getInstance().xmlFeed.y - 200), time:0.5, transition:"easeOutExpo"}); Tweener.addTween(imageFeed, {x:-200, time:1, transition:"easeOutExpo"}); Engine.getInstance().backgroundManager.changeBackground(BackgroundManager.BACKGROUND_4); for each (_local2 in scenesArray) { _local2.checkbox.visible = false; }; BackgroundButton(scenesArray[(scenesArray.length - 3)]).checkbox.visible = true; } private function onSandboxPrintClick(_arg1:MouseEvent):void{ var _local2:Timer = new Timer(1000); _local2.addEventListener(TimerEvent.TIMER, print); _local2.start(); Tweener.addTween(sandboxPrint, {x:(sandboxPrint.x - 300), time:0.5, transition:"easeOutExpo"}); Tweener.addTween(sandboxMoreGames, {x:(sandboxMoreGames.x - 300), time:0.5, transition:"easeOutExpo"}); Tweener.addTween(sandboxReplay, {x:(sandboxReplay.x + 500), time:0.5, transition:"easeOutExpo"}); if (Engine.getInstance().soundButton != null){ Tweener.addTween(Engine.getInstance().soundButton, {x:(Engine.getInstance().soundButton.x + 500), time:0.5, transition:"easeOutExpo"}); }; Tweener.addTween(imageFeed, {x:-200, time:1, transition:"easeOutExpo"}); } private function onGarmentMouseOut(_arg1:GarmentEvent):void{ if (_arg1.garment.isPlaced == false){ _arg1.garment.shrink(); } else { _arg1.garment.grow(); }; } private function onInventoryButtonClicked(_arg1:InventoryEvent):void{ if (inventory.selectedButton != null){ inventory.selectedButton.deactivate(); }; _arg1.targetButton.activate(); inventory.selectedButton = _arg1.targetButton; sortNavigation(); } private function onInventoryButtonOut(_arg1:InventoryEvent):void{ if (_arg1.targetButton.isSelected){ } else { _arg1.targetButton.toGray(); }; } } }//package drimlike.scenes
Section 207
//SoundButton (drimlike.sounds.SoundButton) package drimlike.sounds { import flash.events.*; import flash.display.*; import drimlike.data.*; 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 208
//SoundButton_SoundOffData (drimlike.sounds.SoundButton_SoundOffData) package drimlike.sounds { import mx.core.*; public class SoundButton_SoundOffData extends SpriteAsset { } }//package drimlike.sounds
Section 209
//SoundButton_SoundOnData (drimlike.sounds.SoundButton_SoundOnData) package drimlike.sounds { import mx.core.*; public class SoundButton_SoundOnData extends SpriteAsset { } }//package drimlike.sounds
Section 210
//SoundManager (drimlike.sounds.SoundManager) package drimlike.sounds { import flash.media.*; public class SoundManager { private var tune:SoundChannel; private var TuneData:Class; private var sound:Sound; public function SoundManager(){ TuneData = SoundManager_TuneData; super(); sound = (new TuneData() 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 211
//SoundManager_TuneData (drimlike.sounds.SoundManager_TuneData) package drimlike.sounds { import mx.core.*; public class SoundManager_TuneData extends SoundAsset { } }//package drimlike.sounds
Section 212
//ToolTip (drimlike.tooltip.ToolTip) package drimlike.tooltip { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.text.*; import caurina.transitions.*; public class ToolTip extends Sprite { private var timer:Timer; private var message:String; private var ToolTipData:Class; private var padding:int;// = 3 private var tf:TextField; private var background:Sprite; private var source:Sprite; private var timeNo:Number; public function ToolTip(_arg1:String, _arg2:Number){ ToolTipData = ToolTip_ToolTipData; super(); message = _arg1; timeNo = _arg2; addEventListener(Event.ADDED_TO_STAGE, init); } private function onTimer(_arg1:TimerEvent):void{ timer.stop(); timer.removeEventListener(TimerEvent.TIMER, onTimer); close(); } private function init(_arg1:Event):void{ background = (new ToolTipData() as Sprite); background.width = 5; background.height = 5; background.alpha = 0; addChild(background); var _local2:TextFormat = new TextFormat(); _local2.align = TextFormatAlign.CENTER; _local2.font = "Trebuchet MS"; tf = new TextField(); tf.defaultTextFormat = _local2; tf.selectable = false; tf.autoSize = TextFieldAutoSize.LEFT; tf.mouseEnabled = false; tf.blendMode = BlendMode.LAYER; tf.text = message; tf.x = (-(tf.width) / 2); tf.y = 0; tf.alpha = 0; addChild(tf); source = new Sprite(); source.graphics.beginFill(0xFFFFFF, 1); source.graphics.lineTo(14, 0); source.graphics.lineTo(7, 7); source.graphics.lineTo(0, 0); source.graphics.endFill(); source.x = (-(source.width) / 2); addChild(source); source.alpha = 0; Tweener.addTween(source, {y:10, time:2, transition:"easeOutExpo"}); Tweener.addTween(source, {alpha:1, time:1}); Tweener.addTween(background, {width:(tf.width + 10), height:tf.height, time:2, transition:"easeOutElastic"}); Tweener.addTween(background, {alpha:1, time:1}); Tweener.addTween(tf, {y:-10, time:1, delay:0.5, transition:"easeOutExpo"}); Tweener.addTween(tf, {alpha:1, time:1, delay:0.5}); timer = new Timer(timeNo); timer.addEventListener(TimerEvent.TIMER, onTimer); timer.start(); } public function close():void{ var destroy:Function; destroy = function ():void{ removeChild(source); removeChild(background); removeChild(tf); parent.removeChild(this); }; Tweener.addTween(this, {alpha:0, y:(this.y - 10), time:0.5, transition:"easeOutExpo", onComplete:destroy}); } } }//package drimlike.tooltip
Section 213
//ToolTip_ToolTipData (drimlike.tooltip.ToolTip_ToolTipData) package drimlike.tooltip { import mx.core.*; public class ToolTip_ToolTipData extends SpriteAsset { } }//package drimlike.tooltip
Section 214
//ToolTipCommander (drimlike.tooltip.ToolTipCommander) package drimlike.tooltip { import flash.events.*; import flash.display.*; import flash.utils.*; public class ToolTipCommander extends Sprite { private var toolTip:ToolTip; private var timer:Timer; private var isInUse:Boolean;// = false private var ToolTipData:Class; public function ToolTipCommander(){ ToolTipData = ToolTipCommander_ToolTipData; super(); addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event):void{ } public function openToolTip(_arg1:Number, _arg2:Number, _arg3:String, _arg4:Number):void{ if (toolTip != null){ toolTip.close(); }; toolTip = new ToolTip(_arg3, _arg4); toolTip.mouseEnabled = false; toolTip.x = _arg1; toolTip.y = _arg2; addChild(toolTip); } public function closeToolTip():void{ if (toolTip){ toolTip.close(); }; } } }//package drimlike.tooltip
Section 215
//ToolTipCommander_ToolTipData (drimlike.tooltip.ToolTipCommander_ToolTipData) package drimlike.tooltip { import mx.core.*; public class ToolTipCommander_ToolTipData extends SpriteAsset { } }//package drimlike.tooltip
Section 216
//XMLFeed (drimlike.xml.XMLFeed) package drimlike.xml { import flash.events.*; import flash.display.*; import drimlike.data.*; 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 217
//XMLFeed_XMLFeedButton (drimlike.xml.XMLFeed_XMLFeedButton) package drimlike.xml { import mx.core.*; public class XMLFeed_XMLFeedButton extends SpriteAsset { } }//package drimlike.xml
Section 218
//XMLFeed_XMLFeedHighlight (drimlike.xml.XMLFeed_XMLFeedHighlight) package drimlike.xml { import mx.core.*; public class XMLFeed_XMLFeedHighlight extends MovieClipAsset { } }//package drimlike.xml
Section 219
//XMLFeed_XMLFeedIcon (drimlike.xml.XMLFeed_XMLFeedIcon) package drimlike.xml { import mx.core.*; public class XMLFeed_XMLFeedIcon extends MovieClipAsset { } }//package drimlike.xml
Section 220
//XMLFeed_XMLFeedMask (drimlike.xml.XMLFeed_XMLFeedMask) package drimlike.xml { import mx.core.*; public class XMLFeed_XMLFeedMask extends SpriteAsset { } }//package drimlike.xml
Section 221
//XMLFeedItem (drimlike.xml.XMLFeedItem) package drimlike.xml { import flash.events.*; import flash.display.*; import drimlike.data.*; 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 222
//XMLRotator (drimlike.xml.XMLRotator) package drimlike.xml { import flash.events.*; import flash.display.*; import drimlike.data.*; import flash.utils.*; import flash.net.*; import flash.filters.*; import caurina.transitions.*; 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; addEventListener(Event.ADDED_TO_STAGE, init); } 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 = 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.MEDIUM; 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.x = -95; leftButton.addEventListener(MouseEvent.CLICK, goBackOne); addChild(leftButton); rightButton = new XMLRotatorButtonRight(); rightButton.addEventListener(MouseEvent.CLICK, goForwardOne); rightButton.x = 95; addChild(rightButton); background = (new XMLRotatorBackground() as Sprite); 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(2000); timer.addEventListener(TimerEvent.TIMER, onTimer); timer.start(); }; } 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 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{ timer.stop(); counter++; if (counter == items.length){ counter = 0; }; setChildIndex(items[counter], (numChildren - 1)); XMLRotatorItem(items[counter]).DoFlash(); timer.start(); } 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 223
//XMLRotator_XMLRotatorBackground (drimlike.xml.XMLRotator_XMLRotatorBackground) package drimlike.xml { import mx.core.*; public class XMLRotator_XMLRotatorBackground extends SpriteAsset { } }//package drimlike.xml
Section 224
//XMLRotator_XMLRotatorButtonHighlight (drimlike.xml.XMLRotator_XMLRotatorButtonHighlight) package drimlike.xml { import mx.core.*; public class XMLRotator_XMLRotatorButtonHighlight extends SpriteAsset { } }//package drimlike.xml
Section 225
//XMLRotator_XMLRotatorGirls (drimlike.xml.XMLRotator_XMLRotatorGirls) package drimlike.xml { import mx.core.*; public class XMLRotator_XMLRotatorGirls extends SpriteAsset { } }//package drimlike.xml
Section 226
//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 227
//XMLRotatorButtonLeft_XMLRotatorButtonHighlight (drimlike.xml.XMLRotatorButtonLeft_XMLRotatorButtonHighlight) package drimlike.xml { import mx.core.*; public class XMLRotatorButtonLeft_XMLRotatorButtonHighlight extends SpriteAsset { } }//package drimlike.xml
Section 228
//XMLRotatorButtonLeft_XMLRotatorLeft (drimlike.xml.XMLRotatorButtonLeft_XMLRotatorLeft) package drimlike.xml { import mx.core.*; public class XMLRotatorButtonLeft_XMLRotatorLeft extends SpriteAsset { } }//package drimlike.xml
Section 229
//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 230
//XMLRotatorButtonRight_XMLRotatorButtonHighlight (drimlike.xml.XMLRotatorButtonRight_XMLRotatorButtonHighlight) package drimlike.xml { import mx.core.*; public class XMLRotatorButtonRight_XMLRotatorButtonHighlight extends SpriteAsset { } }//package drimlike.xml
Section 231
//XMLRotatorButtonRight_XMLRotatorRight (drimlike.xml.XMLRotatorButtonRight_XMLRotatorRight) package drimlike.xml { import mx.core.*; public class XMLRotatorButtonRight_XMLRotatorRight extends SpriteAsset { } }//package drimlike.xml
Section 232
//XMLRotatorItem (drimlike.xml.XMLRotatorItem) package drimlike.xml { import flash.events.*; import flash.display.*; import drimlike.data.*; import flash.net.*; import flash.filters.*; 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); var _local2:DropShadowFilter = new DropShadowFilter(); _local2.alpha = 0.2; _local2.blurX = 10; _local2.blurY = 10; _local2.color = 0; _local2.distance = 0; _local2.quality = BitmapFilterQuality.MEDIUM; image.filters = new Array(_local2); 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{ Engine.getInstance().imageFeed.isScrolling = false; maskMC.gotoAndPlay(0); } public function onMouseFlashOut(_arg1:MouseEvent):void{ Engine.getInstance().imageFeed.isScrolling = true; maskMC.gotoAndStop(0); } } }//package drimlike.xml
Section 233
//XMLRotatorItem_XMLRotatorMask (drimlike.xml.XMLRotatorItem_XMLRotatorMask) package drimlike.xml { import mx.core.*; public class XMLRotatorItem_XMLRotatorMask extends MovieClipAsset { } }//package drimlike.xml
Section 234
//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 235
//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 236
//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 237
//IBorder (mx.core.IBorder) package mx.core { public interface IBorder { function get borderMetrics():EdgeMetrics; } }//package mx.core
Section 238
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 239
//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 240
//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 241
//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 242
//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 243
//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 244
//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 245
//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 246
//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 247
//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 248
//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 249
//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 250
//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 251
//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 252
//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 253
//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 254
//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 255
//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 256
//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 257
//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 258
//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 259
//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 260
//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 261
//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 262
//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 263
//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 264
//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 265
//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 266
//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 267
//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 268
//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 269
//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 270
//SpriteRendererBase (org.flintparticles.common.renderers.SpriteRendererBase) package org.flintparticles.common.renderers { import flash.events.*; import flash.display.*; import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.common.events.*; 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 271
//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 272
//FrameUpdater (org.flintparticles.common.utils.FrameUpdater) package org.flintparticles.common.utils { import flash.events.*; import flash.display.*; import org.flintparticles.common.events.*; import flash.utils.*; 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 273
//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 274
//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 275
//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 276
//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 277
//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 278
//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 279
//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 280
//Position (org.flintparticles.twoD.initializers.Position) package org.flintparticles.twoD.initializers { import flash.geom.*; import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.twoD.zones.*; 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 281
//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 282
//Velocity (org.flintparticles.twoD.initializers.Velocity) package org.flintparticles.twoD.initializers { import flash.geom.*; import org.flintparticles.common.emitters.*; import org.flintparticles.common.particles.*; import org.flintparticles.twoD.zones.*; 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 283
//Particle2D (org.flintparticles.twoD.particles.Particle2D) package org.flintparticles.twoD.particles { import flash.geom.*; import org.flintparticles.common.particles.*; 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 284
//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 285
//DisplayObjectRenderer (org.flintparticles.twoD.renderers.DisplayObjectRenderer) package org.flintparticles.twoD.renderers { import flash.display.*; import org.flintparticles.common.particles.*; 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 286
//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 287
//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 288
//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 289
//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 290
//Main (Main) package { import flash.events.*; import flash.display.*; import drimlike.data.*; import drimlike.sounds.*; import drimlike.color.*; import drimlike.scenes.*; import drimlike.character.*; import caurina.transitions.properties.*; import flash.utils.*; import drimlike.garment.top.*; import drimlike.garment.eye.*; import drimlike.garment.shoe.*; import drimlike.garment.bottom.*; import drimlike.garment.mouth.*; public class Main extends Sprite { private var soundButton:SoundButton; private var colorSelector:ColorSelector; private var sandbox:Sandbox; private var baby:Character; private var soundManager:SoundManager; public function Main(){ addEventListener(Event.ADDED_TO_STAGE, init); } private function onTimer(_arg1:TimerEvent):void{ _arg1.target.stop(); soundButton = new SoundButton(); soundButton.x = 702; soundButton.y = 26; addChild(soundButton); Engine.getInstance().soundButton = soundButton; } private function init(_arg1:Event):void{ stage.align = StageAlign.TOP_LEFT; ColorShortcuts.init(); if (sandbox == null){ sandbox = new Sandbox(); addChild(sandbox); Engine.getInstance().sandbox = sandbox; }; Engine.getInstance().soundManager = new SoundManager(); var _local2:Timer = new Timer(500, 0); _local2.addEventListener(TimerEvent.TIMER, onTimer); _local2.start(); } } }//package
Section 291
//Preload (Preload) package { import flash.events.*; import flash.display.*; import flash.geom.*; import caurina.transitions.*; import org.flintparticles.twoD.zones.*; import org.flintparticles.common.initializers.*; import org.flintparticles.common.actions.*; import org.flintparticles.common.counters.*; import flash.utils.*; import flash.media.*; import org.flintparticles.twoD.emitters.*; import flash.text.*; import org.flintparticles.twoD.renderers.*; import org.flintparticles.twoD.initializers.*; import org.flintparticles.twoD.actions.*; import org.flintparticles.twoD.particles.*; import flash.net.*; import flash.system.*; public class Preload extends MovieClip { private const TRACKING_KEY:String = "dog"; private var PlaySPData:Class; private var channel:SoundChannel; private var emitter2:Emitter2D; private var emitter3:Emitter2D; private var loadingText:TextField; private var sound:Sound; private var MyGames4GirlsCOMData:Class; private var emitter1:Emitter2D; private var BackgroundData:Class; private var LoadingBarData:Class; private var MyGames4GirlsDEGlintData:Class; private var MyGames4GirlsCOMGlintData:Class; private var titleHittest:Sprite; private var loadText:TextField; private var background:Sprite; private var LoadingBarHolderData:Class; private var MyGames4GirlsFRData:Class; private var loadingBar:Sprite; private var MyGames4GirlsSPData:Class; private var PlayDEData:Class; private var loadingBarHolder:Sprite; private var PlayENData:Class; private var MyGames4GirlsFRGlintData:Class; private var MyGames4GirlsSPGlintData:Class; private var Glint:Class; private var girls:Sprite; private var title:Sprite; private var BurstData:Class; private var render1:DisplayObjectRenderer; private var urlString:String; private var render2:DisplayObjectRenderer; private var Stars1Data:Class; private var glint:MovieClip; private var GirlsHeadsData:Class; private var PlayFRData:Class; private var titleGlint:MovieClip; private var MyGames4GirlsDEData:Class; 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; MyGames4GirlsCOMData = Preload_MyGames4GirlsCOMData; MyGames4GirlsDEData = Preload_MyGames4GirlsDEData; MyGames4GirlsFRData = Preload_MyGames4GirlsFRData; MyGames4GirlsSPData = Preload_MyGames4GirlsSPData; MyGames4GirlsCOMGlintData = Preload_MyGames4GirlsCOMGlintData; MyGames4GirlsDEGlintData = Preload_MyGames4GirlsDEGlintData; MyGames4GirlsFRGlintData = Preload_MyGames4GirlsFRGlintData; MyGames4GirlsSPGlintData = Preload_MyGames4GirlsSPGlintData; BackgroundData = Preload_BackgroundData; GirlsHeadsData = Preload_GirlsHeadsData; LoadingBarHolderData = Preload_LoadingBarHolderData; LoadingBarData = Preload_LoadingBarData; PlayDEData = Preload_PlayDEData; PlayENData = Preload_PlayENData; PlayFRData = Preload_PlayFRData; PlaySPData = Preload_PlaySPData; Glint = Preload_Glint; BurstData = Preload_BurstData; Stars1Data = Preload_Stars1Data; super(); stop(); stage.scaleMode = StageScaleMode.SHOW_ALL; stage.align = StageAlign.TOP_LEFT; background = (new BackgroundData() as Sprite); addChild(background); emitter1 = new Emitter2D(); emitter1.counter = new Steady(20); emitter1.addInitializer(new ImageClass(Stars1Data)); 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(Stars1Data)); 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(Stars1Data)); _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 MyGames4GirlsFRData() 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 MyGames4GirlsFRGlintData() as MovieClip); buttonText = (new PlayFRData() as Sprite); break; case "es": title = (new MyGames4GirlsSPData() 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 MyGames4GirlsSPGlintData() as MovieClip); buttonText = (new PlaySPData() as Sprite); break; case "de": title = (new MyGames4GirlsDEData() 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 MyGames4GirlsDEGlintData() as MovieClip); buttonText = (new PlayDEData() as Sprite); break; default: title = (new MyGames4GirlsCOMData() 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 MyGames4GirlsCOMGlintData() as MovieClip); buttonText = (new PlayENData() 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 GirlsHeadsData() 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 LoadingBarHolderData() as Sprite); loadingBarHolder.x = 194; loadingBarHolder.y = 363; addChild(loadingBarHolder); loadingBar = (new LoadingBarData() 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 BurstData() as Sound); channel = sound.play(0); channel.stop(); addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function onTitleRollOut(_arg1:MouseEvent):void{ Tweener.addTween(title, {scaleX:1, scaleY:1, time:0.5, transition:"easeOutExpo"}); } private function onButtonMouseOver(_arg1:MouseEvent):void{ glint.gotoAndPlay(1); } 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); 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; } 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 onTitleRollOver(_arg1:MouseEvent):void{ Tweener.addTween(title, {scaleX:1.1, scaleY:1.1, time:0.5, transition:"easeOutExpo"}); } private function onTitleClick(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest(urlString); navigateToURL(_local2, "_blank"); } 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 onButtonMouseOut(_arg1:MouseEvent):void{ if (glint != null){ glint.gotoAndStop(0); }; } } }//package
Section 292
//Preload_BackgroundData (Preload_BackgroundData) package { import mx.core.*; public class Preload_BackgroundData extends SpriteAsset { } }//package
Section 293
//Preload_BurstData (Preload_BurstData) package { import mx.core.*; public class Preload_BurstData extends SoundAsset { } }//package
Section 294
//Preload_GirlsHeadsData (Preload_GirlsHeadsData) package { import mx.core.*; public class Preload_GirlsHeadsData extends SpriteAsset { } }//package
Section 295
//Preload_Glint (Preload_Glint) package { import mx.core.*; public class Preload_Glint extends MovieClipAsset { } }//package
Section 296
//Preload_LoadingBarData (Preload_LoadingBarData) package { import mx.core.*; public class Preload_LoadingBarData extends SpriteAsset { } }//package
Section 297
//Preload_LoadingBarHolderData (Preload_LoadingBarHolderData) package { import mx.core.*; public class Preload_LoadingBarHolderData extends SpriteAsset { } }//package
Section 298
//Preload_MyGames4GirlsCOMData (Preload_MyGames4GirlsCOMData) package { import mx.core.*; public class Preload_MyGames4GirlsCOMData extends SpriteAsset { } }//package
Section 299
//Preload_MyGames4GirlsCOMGlintData (Preload_MyGames4GirlsCOMGlintData) package { import mx.core.*; public class Preload_MyGames4GirlsCOMGlintData extends MovieClipAsset { } }//package
Section 300
//Preload_MyGames4GirlsDEData (Preload_MyGames4GirlsDEData) package { import mx.core.*; public class Preload_MyGames4GirlsDEData extends SpriteAsset { } }//package
Section 301
//Preload_MyGames4GirlsDEGlintData (Preload_MyGames4GirlsDEGlintData) package { import mx.core.*; public class Preload_MyGames4GirlsDEGlintData extends MovieClipAsset { } }//package
Section 302
//Preload_MyGames4GirlsFRData (Preload_MyGames4GirlsFRData) package { import mx.core.*; public class Preload_MyGames4GirlsFRData extends SpriteAsset { } }//package
Section 303
//Preload_MyGames4GirlsFRGlintData (Preload_MyGames4GirlsFRGlintData) package { import mx.core.*; public class Preload_MyGames4GirlsFRGlintData extends MovieClipAsset { } }//package
Section 304
//Preload_MyGames4GirlsSPData (Preload_MyGames4GirlsSPData) package { import mx.core.*; public class Preload_MyGames4GirlsSPData extends SpriteAsset { } }//package
Section 305
//Preload_MyGames4GirlsSPGlintData (Preload_MyGames4GirlsSPGlintData) package { import mx.core.*; public class Preload_MyGames4GirlsSPGlintData extends MovieClipAsset { } }//package
Section 306
//Preload_PlayDEData (Preload_PlayDEData) package { import mx.core.*; public class Preload_PlayDEData extends SpriteAsset { } }//package
Section 307
//Preload_PlayENData (Preload_PlayENData) package { import mx.core.*; public class Preload_PlayENData extends SpriteAsset { } }//package
Section 308
//Preload_PlayFRData (Preload_PlayFRData) package { import mx.core.*; public class Preload_PlayFRData extends SpriteAsset { } }//package
Section 309
//Preload_PlaySPData (Preload_PlaySPData) package { import mx.core.*; public class Preload_PlaySPData extends SpriteAsset { } }//package
Section 310
//Preload_Stars1Data (Preload_Stars1Data) package { import mx.core.*; public class Preload_Stars1Data extends SpriteAsset { } }//package

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip {Preload_LoadingBarHolderData} [LoadingBarHolder]Uses:1
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip {Preload_PlayFRData} [PlayFR]Uses:3
Symbol 5 GraphicUsed by:8
Symbol 6 GraphicUsed by:7 20 46 50 61
Symbol 7 MovieClipUses:6Used by:8
Symbol 8 MovieClip {Preload_Glint} [Glint]Uses:5 7
Symbol 9 GraphicUsed by:16
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:16
Symbol 12 GraphicUsed by:16
Symbol 13 GraphicUsed by:14 54
Symbol 14 MovieClipUses:13Used by:16
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip {Preload_MyGames4GirlsSPData} [MyGames4GirlsSP]Uses:9 11 12 14 15
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClip {Preload_GirlsHeadsData} [GirlsHeads]Uses:17
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClip {Preload_MyGames4GirlsSPGlintData} [MyGames4GirlsSPGlint]Uses:19 6
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:25
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:25
Symbol 25 MovieClip {Preload_Stars1Data} [Stars2]Uses:22 24
Symbol 26 GraphicUsed by:33
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClipUses:27Used by:33
Symbol 29 GraphicUsed by:33
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:33
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClip {Preload_MyGames4GirlsDEData} [MyGames4GirlsDE]Uses:26 28 29 31 32
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClip {Preload_BackgroundData} [background]Uses:34
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClip {Preload_PlayDEData} [PlayDE]Uses:36
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClip {Preload_PlaySPData} [PlaySP]Uses:38
Symbol 40 GraphicUsed by:44
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:44
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClip {Preload_MyGames4GirlsFRData} [MyGames4GirlsFR]Uses:40 42 43
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClip {Preload_MyGames4GirlsFRGlintData} [MyGames4GirlsFRGlint]Uses:45 6
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClip {Preload_LoadingBarData} [LoadingBar]Uses:47
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClip {Preload_MyGames4GirlsCOMGlintData} [MyGames4GirlsCOMGlint]Uses:49 6
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClip {Preload_PlayENData} [PlayEN]Uses:51
Symbol 53 GraphicUsed by:59
Symbol 54 MovieClipUses:13Used by:59
Symbol 55 GraphicUsed by:59
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:59
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClip {Preload_MyGames4GirlsCOMData} [MyGames4GirlsCOM]Uses:53 54 55 57 58
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClip {Preload_MyGames4GirlsDEGlintData} [MyGames4GirlsDEGlint]Uses:60 6
Symbol 62 Sound {Preload_BurstData} [Burst.mp3]
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClip {drimlike.sounds.SoundButton_SoundOnData} [SoundOn]Uses:63
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClip {drimlike.sounds.SoundButton_SoundOffData} [SoundOff]Uses:65
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClip {drimlike.character.Character_LipsData} [Lips]Uses:67
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClip {drimlike.character.Character_PupilData} [Pupil]Uses:69
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClip {drimlike.character.Character_CharacterColorData} [CharacterColor]Uses:71
Symbol 73 GraphicUsed by:86
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:86
Symbol 76 GraphicUsed by:86
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:86
Symbol 79 GraphicUsed by:86
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:86
Symbol 82 GraphicUsed by:86
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:86
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClip {drimlike.character.Character_CharOverlayData} [charoverlay]Uses:73 75 76 78 79 81 82 84 85
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClip {drimlike.character.Character_HairData} [Hair]Uses:87
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClip {drimlike.character.Character_BoxerData} [Boxer]Uses:89
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClip {drimlike.character.Character_BoxerStrapData} [BoxerStrap]Uses:91
Symbol 93 Sound {drimlike.sounds.SoundManager_TuneData} [tune.mp3]
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClip {drimlike.color.CloseButton_CloseButtonBGData} [CloseButtonBG]Uses:94
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClip {drimlike.color.CloseButton_CloseButtonFGData} [CloseButtonFG]Uses:96
Symbol 98 ShapeTweeningUsed by:101
Symbol 99 ShapeTweeningUsed by:101
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClip {drimlike.xml.XMLFeed_XMLFeedHighlight} [XMLFeedHighlight]Uses:98 99 100
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClip {drimlike.xml.XMLFeed_XMLFeedMask} [XMLFeedMask]Uses:102
Symbol 104 GraphicUsed by:109
Symbol 105 GraphicUsed by:109
Symbol 106 GraphicUsed by:109
Symbol 107 GraphicUsed by:109
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClip {drimlike.xml.XMLFeed_XMLFeedIcon} [XMLFeedIcon]Uses:104 105 106 107 108
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClip {drimlike.xml.XMLFeed_XMLFeedButton} [XMLFeedButton]Uses:110
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClip {drimlike.xml.XMLRotator_XMLRotatorBackground} [XMLRotatorBackground]Uses:112
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClip {drimlike.xml.XMLRotator_XMLRotatorGirls} [XMLRotatorGirls]Uses:114
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClip {drimlike.inventory.Inventory_InventoryPanelData} [InventoryPanel]Uses:116
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClip {drimlike.garment.top.Top3_Asset3Data} [T3Asset]Uses:118
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClip {drimlike.garment.top.Top3_Overlay3Data} [T3Overlay]Uses:120
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClip {drimlike.garment.top.Top3_Color3Data} [T3Color]Uses:122
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClip {drimlike.garment.eye.Eyes5_Color5Data} [Sword1Color]Uses:124
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClip {drimlike.garment.eye.Eyes5_Overlay5Data} [Sword1Overlay]Uses:126
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClip {drimlike.garment.eye.Eyes5_Asset5Data} [Sword1Asset]Uses:128
Symbol 130 GraphicUsed by:133
Symbol 131 FontUsed by:132 135 138 141 299 302 309 312 315 318 322 325
Symbol 132 TextUses:131Used by:133
Symbol 133 MovieClip {drimlike.scenes.sandboxItems.SandboxMoreGames_MoreGamesEnData} [MoreGamesEn]Uses:130 132
Symbol 134 GraphicUsed by:136
Symbol 135 TextUses:131Used by:136
Symbol 136 MovieClip {drimlike.scenes.sandboxItems.SandboxMoreGames_MoreGamesFrData} [MoreGamesFr]Uses:134 135
Symbol 137 GraphicUsed by:139
Symbol 138 TextUses:131Used by:139
Symbol 139 MovieClip {drimlike.scenes.sandboxItems.SandboxMoreGames_MoreGamesSpData} [MoreGamesSp]Uses:137 138
Symbol 140 GraphicUsed by:142
Symbol 141 TextUses:131Used by:142
Symbol 142 MovieClip {drimlike.scenes.sandboxItems.SandboxMoreGames_MoreGamesDeData} [MoreGamesDe]Uses:140 141
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClip {drimlike.garment.shoe.Shoe5_ColorData} [Shoe5Color]Uses:143
Symbol 145 GraphicUsed by:146
Symbol 146 MovieClip {drimlike.garment.shoe.Shoe5_AssetData} [Shoe5Asset]Uses:145
Symbol 147 GraphicUsed by:148
Symbol 148 MovieClip {drimlike.garment.shoe.Shoe5_OverlayData} [Shoe5Overlay]Uses:147
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClip {drimlike.garment.top.Top2_Color2Data} [T2Color]Uses:149
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClip {drimlike.garment.top.Top2_Overlay2Data} [T2Overlay]Uses:151
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClip {drimlike.garment.shoe.Shoe2_OverlayData} [Shoe2Overlay]Uses:153
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClip {drimlike.garment.shoe.Shoe2_ColorData} [Shoe2Color]Uses:155
Symbol 157 GraphicUsed by:158
Symbol 158 MovieClip {drimlike.garment.bottom.Bottom6_Overlay6Data} [Bottom6Overlay]Uses:157
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClip {drimlike.garment.bottom.Bottom6_Color6Data} [Bottom6Color]Uses:159
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClip {drimlike.garment.bottom.Bottom6_Asset6Data} [Bottom6Asset]Uses:161
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClip {drimlike.garment.eye.Eyes7_Color7Data} [Bag1Color]Uses:163
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClip {drimlike.garment.eye.Eyes7_Overlay7Data} [Bag1Overlay]Uses:165
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClip {drimlike.background.BackgroundButton_CheckData} [CheckBox]Uses:167
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClip {drimlike.background.BackgroundButton3_BackgroundData3} [Background3]Uses:169
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClip {drimlike.garment.bottom.Bottom5_Overlay5Data} [Bottom5Overlay]Uses:171
Symbol 173 GraphicUsed by:174
Symbol 174 MovieClip {drimlike.garment.bottom.Bottom5_Asset5Data} [Bottom5Asset]Uses:173
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClip {drimlike.garment.bottom.Bottom5_Color5Data} [Bottom5Color]Uses:175
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClip {drimlike.garment.shoe.Shoe4_OverlayData} [Shoe4Overlay]Uses:177
Symbol 179 GraphicUsed by:180
Symbol 180 MovieClip {drimlike.garment.shoe.Shoe4_AssetData} [Shoe4Asset]Uses:179
Symbol 181 GraphicUsed by:182
Symbol 182 MovieClip {drimlike.garment.shoe.Shoe4_ColorData} [Shoe4Color]Uses:181
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClip {drimlike.background.BackgroundButton4_BackgroundData4} [Background4]Uses:183
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClip {drimlike.garment.shoe.Shoe1_ColorData} [Shoe1Color]Uses:185
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClip {drimlike.garment.shoe.Shoe1_AssetData} [Shoe1Asset]Uses:187
Symbol 189 GraphicUsed by:190
Symbol 190 MovieClip {drimlike.garment.shoe.Shoe1_OverlayData} [Shoe1Overlay]Uses:189
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClip {drimlike.garment.bottom.Bottom3_Overlay3Data} [Bottom3Overlay]Uses:191
Symbol 193 GraphicUsed by:194
Symbol 194 MovieClip {drimlike.garment.bottom.Bottom3_Color3Data} [Bottom3Color]Uses:193
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClip {drimlike.garment.eye.Eyes4_Overlay4Data} [Eye4Overlay]Uses:195
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClip {drimlike.garment.eye.Eyes4_Color4Data} [Eye4Color]Uses:197
Symbol 199 GraphicUsed by:203
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClipUses:200Used by:203
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClip {drimlike.background.BackgroundManager_BackgroundData2} [Background2]Uses:199 201 202
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClip {drimlike.garment.eye.Eyes3_Color3Data} [Eye3Color]Uses:204
Symbol 206 GraphicUsed by:207
Symbol 207 MovieClip {drimlike.garment.eye.Eyes3_Overlay3Data} [Eye3Overlay]Uses:206
Symbol 208 GraphicUsed by:209
Symbol 209 MovieClip {drimlike.garment.top.Top1_Color1Data} [T1Color]Uses:208
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClip {drimlike.garment.top.Top1_Overlay1Data} [T1Overlay]Uses:210
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClip {drimlike.garment.top.Top1_Asset1Data} [T1Asset1]Uses:212
Symbol 214 GraphicUsed by:215
Symbol 215 MovieClip {drimlike.garment.top.Top1_Asset21Data} [T1Asset2]Uses:214
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClip {drimlike.garment.eye.Eyes2_Color2Data} [Eye2Color]Uses:216
Symbol 218 GraphicUsed by:219
Symbol 219 MovieClip {drimlike.garment.eye.Eyes2_Overlay2Data} [Eye2Overlay]Uses:218
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClip {drimlike.garment.top.Top4_Asset4Data} [T4Asset]Uses:220
Symbol 222 GraphicUsed by:223
Symbol 223 MovieClip {drimlike.garment.top.Top4_Color4Data} [T4Color]Uses:222
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClip {drimlike.garment.top.Top4_Overlay4Data} [T4Overlay]Uses:224
Symbol 226 GraphicUsed by:232
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:232
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:232
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClip {drimlike.background.BackgroundButton6_BackgroundData6} [Background6]Uses:226 228 230 231
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClip {drimlike.background.BackgroundManager_BackgroundData1} [Background1]Uses:233
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClip {drimlike.garment.top.Top5_Color5Data} [T5Color]Uses:235
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClip {drimlike.garment.top.Top5_Asset25Data} [T5Asset2]Uses:237
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClip {drimlike.garment.top.Top5_Asset5Data} [T5Asset1]Uses:239
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClip {drimlike.garment.top.Top5_Overlay5Data} [T5Overlay]Uses:241
Symbol 243 GraphicUsed by:250
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:244Used by:250
Symbol 246 GraphicUsed by:250
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:250
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsSPData} [MyGamesForGirlsSP]Uses:243 245 246 248 249
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsComData} [MyGamesForGirlsCOM]Uses:251
Symbol 253 GraphicUsed by:255
Symbol 254 GraphicUsed by:255 261 263 265 305 331 358
Symbol 255 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsComGlintData} [MyGamesForGirlsCOMGlint]Uses:253 254
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsDEData} [MyGamesForGirlsDE]Uses:256
Symbol 258 GraphicUsed by:259
Symbol 259 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsFRData} [MyGamesForGirlsFR]Uses:258
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsDEGlintData} [MyGamesForGirlsDEGlint]Uses:260 254
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsSPGlintData} [MyGamesForGirlsSPGlint]Uses:262 254
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClip {drimlike.scenes.sandboxItems.MyGamesForGirls_MyGamesForGirlsFRGlintData} [MyGamesForGirlsFRGlint]Uses:264 254
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClip {drimlike.garment.top.Top6_Color6Data} [T6Color]Uses:266
Symbol 268 GraphicUsed by:269
Symbol 269 MovieClip {drimlike.garment.top.Top6_Overlay6Data} [T6Overlay]Uses:268
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClip {drimlike.garment.top.Top6_Asset6Data} [T6Asset]Uses:270
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClip {drimlike.garment.shoe.Shoe3_OverlayData} [Shoe3Overlay]Uses:272
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClip {drimlike.garment.shoe.Shoe3_ColorData} [Shoe3Color]Uses:274
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClip {drimlike.garment.shoe.Shoe3_AssetData} [Shoe3Asset]Uses:276
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClip {drimlike.garment.eye.Eyes6_Asset6Data} [Bat1Asset]Uses:278
Symbol 280 GraphicUsed by:281
Symbol 281 MovieClip {drimlike.garment.eye.Eyes6_Overlay6Data} [Bat1Overlay]Uses:280
Symbol 282 GraphicUsed by:283
Symbol 283 MovieClip {drimlike.garment.eye.Eyes6_Color6Data} [Bat1Color]Uses:282
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClip {drimlike.garment.bottom.Bottom2_Color2Data} [Bottom2Color]Uses:284
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClip {drimlike.garment.bottom.Bottom2_Overlay2Data} [Bottom2Overlay]Uses:286
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClip {drimlike.garment.top.Top8_Overlay8Data} [T8Overlay]Uses:288
Symbol 290 GraphicUsed by:291
Symbol 291 MovieClip {drimlike.garment.top.Top8_Color8Data} [T8Color]Uses:290
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClip {drimlike.garment.eye.Eyes1_Asset1Data} [Eye1Asset]Uses:292
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClip {drimlike.garment.eye.Eyes1_Color1Data} [Eye1Color]Uses:294
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClip {drimlike.garment.eye.Eyes1_Overlay1Data} [Eye1Overlay]Uses:296
Symbol 298 GraphicUsed by:300
Symbol 299 TextUses:131Used by:300
Symbol 300 MovieClip {drimlike.scenes.sandboxItems.SandboxPrint_PrintFrData} [PrintFr]Uses:298 299
Symbol 301 GraphicUsed by:303
Symbol 302 TextUses:131Used by:303
Symbol 303 MovieClip {drimlike.scenes.sandboxItems.SandboxPrint_PrintEnData} [PrintEn]Uses:301 302
Symbol 304 GraphicUsed by:305
Symbol 305 MovieClip {drimlike.scenes.sandboxItems.SandboxPrint_SandboxPrintGlintData} [SandboxPrintGlint]Uses:304 254
Symbol 306 GraphicUsed by:307
Symbol 307 MovieClip {drimlike.scenes.sandboxItems.SandboxPrint_SandboxPrintButtonData} [SandboxPrintButton]Uses:306
Symbol 308 GraphicUsed by:310
Symbol 309 TextUses:131Used by:310
Symbol 310 MovieClip {drimlike.scenes.sandboxItems.SandboxPrint_PrintDeData} [PrintDe]Uses:308 309
Symbol 311 GraphicUsed by:313
Symbol 312 TextUses:131Used by:313
Symbol 313 MovieClip {drimlike.scenes.sandboxItems.SandboxPrint_PrintSpData} [PrintSp]Uses:311 312
Symbol 314 GraphicUsed by:316
Symbol 315 TextUses:131Used by:316
Symbol 316 MovieClip {drimlike.scenes.sandboxItems.SandboxReplay_ReplayFrData} [ReplayFr]Uses:314 315
Symbol 317 GraphicUsed by:319
Symbol 318 TextUses:131Used by:319
Symbol 319 MovieClip {drimlike.scenes.sandboxItems.SandboxReplay_ReplayEnData} [ReplayEn]Uses:317 318
Symbol 320 Sound {drimlike.scenes.sandboxItems.SandboxMoreGames_DefaultSoundData} [DefaultButton.mp3]
Symbol 321 GraphicUsed by:323
Symbol 322 TextUses:131Used by:323
Symbol 323 MovieClip {drimlike.scenes.sandboxItems.SandboxReplay_ReplaySpData} [ReplaySp]Uses:321 322
Symbol 324 GraphicUsed by:326
Symbol 325 TextUses:131Used by:326
Symbol 326 MovieClip {drimlike.scenes.sandboxItems.SandboxReplay_ReplayDeData} [ReplayDe]Uses:324 325
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClip {drimlike.background.BackgroundButton5_BackgroundData5} [Background5]Uses:327
Symbol 329 GraphicUsed by:330
Symbol 330 MovieClip {drimlike.scenes.sandboxItems.SandboxReplay_SandboxDoneButtonData} [SandboxDoneButton]Uses:329Used by:331
Symbol 331 MovieClip {drimlike.scenes.sandboxItems.SandboxDone_SandboxDoneHighlightData} [SandboxDoneHighlight]Uses:330 254
Symbol 332 GraphicUsed by:333
Symbol 333 MovieClip {drimlike.scenes.sandboxItems.SandboxDone_DoneFrData} [DoneFr]Uses:332
Symbol 334 GraphicUsed by:335
Symbol 335 MovieClip {drimlike.scenes.sandboxItems.SandboxDone_DoneSpData} [DoneSp]Uses:334
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClip {drimlike.scenes.sandboxItems.SandboxDone_DoneDeData} [DoneDe]Uses:336
Symbol 338 Sound {drimlike.scenes.sandboxItems.SandboxDone_DoneSoundData} [DoneSound.mp3]
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClip {drimlike.scenes.sandboxItems.SandboxDone_DoneEnData} [DoneEn]Uses:339
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClip {drimlike.garment.bottom.Bottom4_Overlay4Data} [Bottom4Overlay]Uses:341
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClip {drimlike.garment.bottom.Bottom4_Color4Data} [Bottom4Color]Uses:343
Symbol 345 GraphicUsed by:346
Symbol 346 MovieClip {drimlike.garment.top.Top7_Color7Data} [T7Color]Uses:345
Symbol 347 GraphicUsed by:348
Symbol 348 MovieClip {drimlike.garment.top.Top7_Overlay7Data} [T7Overlay]Uses:347
Symbol 349 GraphicUsed by:350
Symbol 350 MovieClip {drimlike.garment.top.Top7_Asset7Data} [T7Asset]Uses:349
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClip {drimlike.garment.bottom.Bottom1_Color1Data} [Bottom1Color]Uses:351
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClip {drimlike.garment.bottom.Bottom1_Overlay1Data} [Bottom1Overlay]Uses:353
Symbol 355 GraphicUsed by:356
Symbol 356 MovieClip {drimlike.xml.XMLRotatorButtonLeft_XMLRotatorLeft} [XMLRotatorLeft]Uses:355
Symbol 357 GraphicUsed by:358
Symbol 358 MovieClip {drimlike.xml.XMLRotatorItem_XMLRotatorMask} [XMLRotatorMask]Uses:357 254
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClip {drimlike.xml.XMLRotatorButtonLeft_XMLRotatorButtonHighlight} [XMLRotatorButtonHighlight]Uses:359
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClip {drimlike.xml.XMLRotatorButtonRight_XMLRotatorRight} [XMLRotatorRight]Uses:361
Symbol 363 GraphicUsed by:364
Symbol 364 MovieClip {drimlike.tooltip.ToolTipCommander_ToolTipData} [ToolTip]Uses:363
Symbol 365 GraphicUsed by:366
Symbol 366 MovieClip {drimlike.inventory.buttons.GlassesButton_OverlayData} [GlassesButton]Uses:365
Symbol 367 GraphicUsed by:368
Symbol 368 MovieClip {drimlike.inventory.buttons.ShoeButton_OverlayData} [ShoeButton]Uses:367
Symbol 369 GraphicUsed by:370
Symbol 370 MovieClip {drimlike.inventory.buttons.TopButton_OverlayData} [TopButton]Uses:369
Symbol 371 GraphicUsed by:372
Symbol 372 MovieClip {drimlike.inventory.buttons.SceneButton_OverlayData} [SceneryButton]Uses:371
Symbol 373 GraphicUsed by:374
Symbol 374 MovieClip {drimlike.inventory.buttons.TopButton_ColorData} [ColorButton]Uses:373
Symbol 375 GraphicUsed by:376
Symbol 376 MovieClip {drimlike.inventory.buttons.BottomButton_OverlayData} [BottomButton]Uses:375

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 2 as "LoadingBarHolder"
ExportAssets (56)Timeline Frame 1Symbol 4 as "PlayFR"
ExportAssets (56)Timeline Frame 1Symbol 8 as "Glint"
ExportAssets (56)Timeline Frame 1Symbol 16 as "MyGames4GirlsSP"
ExportAssets (56)Timeline Frame 1Symbol 18 as "GirlsHeads"
ExportAssets (56)Timeline Frame 1Symbol 20 as "MyGames4GirlsSPGlint"
ExportAssets (56)Timeline Frame 1Symbol 25 as "Stars2"
ExportAssets (56)Timeline Frame 1Symbol 33 as "MyGames4GirlsDE"
ExportAssets (56)Timeline Frame 1Symbol 35 as "background"
ExportAssets (56)Timeline Frame 1Symbol 37 as "PlayDE"
ExportAssets (56)Timeline Frame 1Symbol 39 as "PlaySP"
ExportAssets (56)Timeline Frame 1Symbol 44 as "MyGames4GirlsFR"
ExportAssets (56)Timeline Frame 1Symbol 46 as "MyGames4GirlsFRGlint"
ExportAssets (56)Timeline Frame 1Symbol 48 as "LoadingBar"
ExportAssets (56)Timeline Frame 1Symbol 50 as "MyGames4GirlsCOMGlint"
ExportAssets (56)Timeline Frame 1Symbol 52 as "PlayEN"
ExportAssets (56)Timeline Frame 1Symbol 59 as "MyGames4GirlsCOM"
ExportAssets (56)Timeline Frame 1Symbol 61 as "MyGames4GirlsDEGlint"
ExportAssets (56)Timeline Frame 1Symbol 62 as "Burst.mp3"
ExportAssets (56)Timeline Frame 2Symbol 64 as "SoundOn"
ExportAssets (56)Timeline Frame 2Symbol 66 as "SoundOff"
ExportAssets (56)Timeline Frame 2Symbol 68 as "Lips"
ExportAssets (56)Timeline Frame 2Symbol 70 as "Pupil"
ExportAssets (56)Timeline Frame 2Symbol 72 as "CharacterColor"
ExportAssets (56)Timeline Frame 2Symbol 86 as "charoverlay"
ExportAssets (56)Timeline Frame 2Symbol 88 as "Hair"
ExportAssets (56)Timeline Frame 2Symbol 90 as "Boxer"
ExportAssets (56)Timeline Frame 2Symbol 92 as "BoxerStrap"
ExportAssets (56)Timeline Frame 2Symbol 93 as "tune.mp3"
ExportAssets (56)Timeline Frame 2Symbol 95 as "CloseButtonBG"
ExportAssets (56)Timeline Frame 2Symbol 97 as "CloseButtonFG"
ExportAssets (56)Timeline Frame 2Symbol 101 as "XMLFeedHighlight"
ExportAssets (56)Timeline Frame 2Symbol 103 as "XMLFeedMask"
ExportAssets (56)Timeline Frame 2Symbol 109 as "XMLFeedIcon"
ExportAssets (56)Timeline Frame 2Symbol 111 as "XMLFeedButton"
ExportAssets (56)Timeline Frame 2Symbol 113 as "XMLRotatorBackground"
ExportAssets (56)Timeline Frame 2Symbol 115 as "XMLRotatorGirls"
ExportAssets (56)Timeline Frame 2Symbol 117 as "InventoryPanel"
ExportAssets (56)Timeline Frame 2Symbol 119 as "T3Asset"
ExportAssets (56)Timeline Frame 2Symbol 121 as "T3Overlay"
ExportAssets (56)Timeline Frame 2Symbol 123 as "T3Color"
ExportAssets (56)Timeline Frame 2Symbol 125 as "Sword1Color"
ExportAssets (56)Timeline Frame 2Symbol 127 as "Sword1Overlay"
ExportAssets (56)Timeline Frame 2Symbol 129 as "Sword1Asset"
ExportAssets (56)Timeline Frame 2Symbol 133 as "MoreGamesEn"
ExportAssets (56)Timeline Frame 2Symbol 136 as "MoreGamesFr"
ExportAssets (56)Timeline Frame 2Symbol 139 as "MoreGamesSp"
ExportAssets (56)Timeline Frame 2Symbol 142 as "MoreGamesDe"
ExportAssets (56)Timeline Frame 2Symbol 144 as "Shoe5Color"
ExportAssets (56)Timeline Frame 2Symbol 146 as "Shoe5Asset"
ExportAssets (56)Timeline Frame 2Symbol 148 as "Shoe5Overlay"
ExportAssets (56)Timeline Frame 2Symbol 150 as "T2Color"
ExportAssets (56)Timeline Frame 2Symbol 152 as "T2Overlay"
ExportAssets (56)Timeline Frame 2Symbol 154 as "Shoe2Overlay"
ExportAssets (56)Timeline Frame 2Symbol 156 as "Shoe2Color"
ExportAssets (56)Timeline Frame 2Symbol 158 as "Bottom6Overlay"
ExportAssets (56)Timeline Frame 2Symbol 160 as "Bottom6Color"
ExportAssets (56)Timeline Frame 2Symbol 162 as "Bottom6Asset"
ExportAssets (56)Timeline Frame 2Symbol 164 as "Bag1Color"
ExportAssets (56)Timeline Frame 2Symbol 166 as "Bag1Overlay"
ExportAssets (56)Timeline Frame 2Symbol 168 as "CheckBox"
ExportAssets (56)Timeline Frame 2Symbol 170 as "Background3"
ExportAssets (56)Timeline Frame 2Symbol 172 as "Bottom5Overlay"
ExportAssets (56)Timeline Frame 2Symbol 174 as "Bottom5Asset"
ExportAssets (56)Timeline Frame 2Symbol 176 as "Bottom5Color"
ExportAssets (56)Timeline Frame 2Symbol 178 as "Shoe4Overlay"
ExportAssets (56)Timeline Frame 2Symbol 180 as "Shoe4Asset"
ExportAssets (56)Timeline Frame 2Symbol 182 as "Shoe4Color"
ExportAssets (56)Timeline Frame 2Symbol 184 as "Background4"
ExportAssets (56)Timeline Frame 2Symbol 186 as "Shoe1Color"
ExportAssets (56)Timeline Frame 2Symbol 188 as "Shoe1Asset"
ExportAssets (56)Timeline Frame 2Symbol 190 as "Shoe1Overlay"
ExportAssets (56)Timeline Frame 2Symbol 192 as "Bottom3Overlay"
ExportAssets (56)Timeline Frame 2Symbol 194 as "Bottom3Color"
ExportAssets (56)Timeline Frame 2Symbol 196 as "Eye4Overlay"
ExportAssets (56)Timeline Frame 2Symbol 198 as "Eye4Color"
ExportAssets (56)Timeline Frame 2Symbol 203 as "Background2"
ExportAssets (56)Timeline Frame 2Symbol 205 as "Eye3Color"
ExportAssets (56)Timeline Frame 2Symbol 207 as "Eye3Overlay"
ExportAssets (56)Timeline Frame 2Symbol 209 as "T1Color"
ExportAssets (56)Timeline Frame 2Symbol 211 as "T1Overlay"
ExportAssets (56)Timeline Frame 2Symbol 213 as "T1Asset1"
ExportAssets (56)Timeline Frame 2Symbol 215 as "T1Asset2"
ExportAssets (56)Timeline Frame 2Symbol 217 as "Eye2Color"
ExportAssets (56)Timeline Frame 2Symbol 219 as "Eye2Overlay"
ExportAssets (56)Timeline Frame 2Symbol 221 as "T4Asset"
ExportAssets (56)Timeline Frame 2Symbol 223 as "T4Color"
ExportAssets (56)Timeline Frame 2Symbol 225 as "T4Overlay"
ExportAssets (56)Timeline Frame 2Symbol 232 as "Background6"
ExportAssets (56)Timeline Frame 2Symbol 234 as "Background1"
ExportAssets (56)Timeline Frame 2Symbol 236 as "T5Color"
ExportAssets (56)Timeline Frame 2Symbol 238 as "T5Asset2"
ExportAssets (56)Timeline Frame 2Symbol 240 as "T5Asset1"
ExportAssets (56)Timeline Frame 2Symbol 242 as "T5Overlay"
ExportAssets (56)Timeline Frame 2Symbol 250 as "MyGamesForGirlsSP"
ExportAssets (56)Timeline Frame 2Symbol 252 as "MyGamesForGirlsCOM"
ExportAssets (56)Timeline Frame 2Symbol 255 as "MyGamesForGirlsCOMGlint"
ExportAssets (56)Timeline Frame 2Symbol 257 as "MyGamesForGirlsDE"
ExportAssets (56)Timeline Frame 2Symbol 259 as "MyGamesForGirlsFR"
ExportAssets (56)Timeline Frame 2Symbol 261 as "MyGamesForGirlsDEGlint"
ExportAssets (56)Timeline Frame 2Symbol 263 as "MyGamesForGirlsSPGlint"
ExportAssets (56)Timeline Frame 2Symbol 265 as "MyGamesForGirlsFRGlint"
ExportAssets (56)Timeline Frame 2Symbol 267 as "T6Color"
ExportAssets (56)Timeline Frame 2Symbol 269 as "T6Overlay"
ExportAssets (56)Timeline Frame 2Symbol 271 as "T6Asset"
ExportAssets (56)Timeline Frame 2Symbol 273 as "Shoe3Overlay"
ExportAssets (56)Timeline Frame 2Symbol 275 as "Shoe3Color"
ExportAssets (56)Timeline Frame 2Symbol 277 as "Shoe3Asset"
ExportAssets (56)Timeline Frame 2Symbol 279 as "Bat1Asset"
ExportAssets (56)Timeline Frame 2Symbol 281 as "Bat1Overlay"
ExportAssets (56)Timeline Frame 2Symbol 283 as "Bat1Color"
ExportAssets (56)Timeline Frame 2Symbol 285 as "Bottom2Color"
ExportAssets (56)Timeline Frame 2Symbol 287 as "Bottom2Overlay"
ExportAssets (56)Timeline Frame 2Symbol 289 as "T8Overlay"
ExportAssets (56)Timeline Frame 2Symbol 291 as "T8Color"
ExportAssets (56)Timeline Frame 2Symbol 293 as "Eye1Asset"
ExportAssets (56)Timeline Frame 2Symbol 295 as "Eye1Color"
ExportAssets (56)Timeline Frame 2Symbol 297 as "Eye1Overlay"
ExportAssets (56)Timeline Frame 2Symbol 300 as "PrintFr"
ExportAssets (56)Timeline Frame 2Symbol 303 as "PrintEn"
ExportAssets (56)Timeline Frame 2Symbol 305 as "SandboxPrintGlint"
ExportAssets (56)Timeline Frame 2Symbol 307 as "SandboxPrintButton"
ExportAssets (56)Timeline Frame 2Symbol 310 as "PrintDe"
ExportAssets (56)Timeline Frame 2Symbol 313 as "PrintSp"
ExportAssets (56)Timeline Frame 2Symbol 316 as "ReplayFr"
ExportAssets (56)Timeline Frame 2Symbol 319 as "ReplayEn"
ExportAssets (56)Timeline Frame 2Symbol 320 as "DefaultButton.mp3"
ExportAssets (56)Timeline Frame 2Symbol 323 as "ReplaySp"
ExportAssets (56)Timeline Frame 2Symbol 326 as "ReplayDe"
ExportAssets (56)Timeline Frame 2Symbol 328 as "Background5"
ExportAssets (56)Timeline Frame 2Symbol 331 as "SandboxDoneHighlight"
ExportAssets (56)Timeline Frame 2Symbol 333 as "DoneFr"
ExportAssets (56)Timeline Frame 2Symbol 335 as "DoneSp"
ExportAssets (56)Timeline Frame 2Symbol 337 as "DoneDe"
ExportAssets (56)Timeline Frame 2Symbol 338 as "DoneSound.mp3"
ExportAssets (56)Timeline Frame 2Symbol 340 as "DoneEn"
ExportAssets (56)Timeline Frame 2Symbol 330 as "SandboxDoneButton"
ExportAssets (56)Timeline Frame 2Symbol 342 as "Bottom4Overlay"
ExportAssets (56)Timeline Frame 2Symbol 344 as "Bottom4Color"
ExportAssets (56)Timeline Frame 2Symbol 346 as "T7Color"
ExportAssets (56)Timeline Frame 2Symbol 348 as "T7Overlay"
ExportAssets (56)Timeline Frame 2Symbol 350 as "T7Asset"
ExportAssets (56)Timeline Frame 2Symbol 352 as "Bottom1Color"
ExportAssets (56)Timeline Frame 2Symbol 354 as "Bottom1Overlay"
ExportAssets (56)Timeline Frame 2Symbol 356 as "XMLRotatorLeft"
ExportAssets (56)Timeline Frame 2Symbol 358 as "XMLRotatorMask"
ExportAssets (56)Timeline Frame 2Symbol 360 as "XMLRotatorButtonHighlight"
ExportAssets (56)Timeline Frame 2Symbol 362 as "XMLRotatorRight"
ExportAssets (56)Timeline Frame 2Symbol 364 as "ToolTip"
ExportAssets (56)Timeline Frame 2Symbol 366 as "GlassesButton"
ExportAssets (56)Timeline Frame 2Symbol 368 as "ShoeButton"
ExportAssets (56)Timeline Frame 2Symbol 370 as "TopButton"
ExportAssets (56)Timeline Frame 2Symbol 372 as "SceneryButton"
ExportAssets (56)Timeline Frame 2Symbol 374 as "ColorButton"
ExportAssets (56)Timeline Frame 2Symbol 376 as "BottomButton"
SerialNumber (41)Timeline Frame 1

Labels

"Preload"Frame 1
"two"Frame 2




http://swfchan.com/25/122565/info.shtml
Created: 3/3 -2019 22:38:30 Last modified: 3/3 -2019 22:38:30 Server time: 05/11 -2024 10:51:55