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

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

cake-factory.swf

This is the info page for
Flash #126682

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


Text
Click for more games...

Start

Send Score

Quit & Save

Play Again

Your Score:

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

score:

<p align="left"></p>

<p align="center"></p>

<p align="center"></p>

<p align="center"></p>

<p align="left"></p>

ActionScript [AS3]

Section 1
//chefAngry_46 (Cake_Factory_sa_fla.chefAngry_46) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class chefAngry_46 extends MovieClip { public var head:MovieClip; public function chefAngry_46(){ addFrameScript(0, frame1, 65, frame66); } function frame1(){ stop(); } function frame66(){ stop(); } } }//package Cake_Factory_sa_fla
Section 2
//chefOk_54 (Cake_Factory_sa_fla.chefOk_54) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class chefOk_54 extends MovieClip { public var head:MovieClip; public function chefOk_54(){ addFrameScript(0, frame1, 64, frame65); } function frame65(){ stop(); } function frame1(){ stop(); } } }//package Cake_Factory_sa_fla
Section 3
//frig_69 (Cake_Factory_sa_fla.frig_69) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class frig_69 extends MovieClip { public var insideFrig:MovieClip; public var frigGlow:MovieClip; } }//package Cake_Factory_sa_fla
Section 4
//glassFill1_7 (Cake_Factory_sa_fla.glassFill1_7) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class glassFill1_7 extends MovieClip { public function glassFill1_7(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package Cake_Factory_sa_fla
Section 5
//glassFill2_9 (Cake_Factory_sa_fla.glassFill2_9) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class glassFill2_9 extends MovieClip { public function glassFill2_9(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package Cake_Factory_sa_fla
Section 6
//glassFill3_11 (Cake_Factory_sa_fla.glassFill3_11) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class glassFill3_11 extends MovieClip { public function glassFill3_11(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7); } function frame3(){ stop(); } function frame6(){ stop(); } function frame7(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package Cake_Factory_sa_fla
Section 7
//glassTransFill1_6 (Cake_Factory_sa_fla.glassTransFill1_6) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class glassTransFill1_6 extends MovieClip { public function glassTransFill1_6(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); } function frame3(){ stop(); } function frame6(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package Cake_Factory_sa_fla
Section 8
//glassTransFill2_8 (Cake_Factory_sa_fla.glassTransFill2_8) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class glassTransFill2_8 extends MovieClip { public function glassTransFill2_8(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); } function frame3(){ stop(); } function frame6(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package Cake_Factory_sa_fla
Section 9
//glassTransFill3_10 (Cake_Factory_sa_fla.glassTransFill3_10) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class glassTransFill3_10 extends MovieClip { public function glassTransFill3_10(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); } function frame3(){ stop(); } function frame6(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package Cake_Factory_sa_fla
Section 10
//insideFrig_70 (Cake_Factory_sa_fla.insideFrig_70) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class insideFrig_70 extends MovieClip { public var layerStockIns5:layer5; public var layerStockIns4:layer4; public var fil1:SimpleButton; public var fil5:SimpleButton; public var fil2:SimpleButton; public var fil7:SimpleButton; public var fil4:SimpleButton; public var fil8:SimpleButton; public var fil3:SimpleButton; public var fil6:SimpleButton; public var layerStockIns1:layer1; public var layerStockIns2:layer2; public var layerStockIns6:layer6; public var layerStockIns7:layer7; public var layerStockIns8:glass; public var layerStockIns3:layer3; } }//package Cake_Factory_sa_fla
Section 11
//musta2_94 (Cake_Factory_sa_fla.musta2_94) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class musta2_94 extends MovieClip { public function musta2_94(){ addFrameScript(53, frame54); } function frame54(){ stop(); } } }//package Cake_Factory_sa_fla
Section 12
//prohead1_87 (Cake_Factory_sa_fla.prohead1_87) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class prohead1_87 extends MovieClip { public function prohead1_87(){ addFrameScript(45, frame46); } function frame46(){ stop(); } } }//package Cake_Factory_sa_fla
Section 13
//refrigerator_72 (Cake_Factory_sa_fla.refrigerator_72) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class refrigerator_72 extends MovieClip { public function refrigerator_72(){ addFrameScript(0, frame1, 49, frame50); } function frame1(){ stop(); } function frame50(){ gotoAndPlay(2); } } }//package Cake_Factory_sa_fla
Section 14
//timer_64 (Cake_Factory_sa_fla.timer_64) package Cake_Factory_sa_fla { import flash.display.*; public dynamic class timer_64 extends MovieClip { public var timerHand:MovieClip; } }//package Cake_Factory_sa_fla
Section 15
//ColorShortcuts (caurina.transitions.properties.ColorShortcuts) package caurina.transitions.properties { import flash.geom.*; import caurina.transitions.*; import flash.filters.*; public class ColorShortcuts { private static var LUMINANCE_B:Number = 0.072169; private static var LUMINANCE_G:Number = 0.71516; private static var LUMINANCE_R:Number = 0.212671; public function ColorShortcuts(){ trace("This is an static class and should not be instantiated."); } public static function _color_splitter(_arg1, _arg2:Array):Array{ var _local3:Array; _local3 = 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; var _local7:ColorTransform; _local5 = (_arg2 + 1); _local6 = Math.round((_arg2 * -128)); _local7 = 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; var _local5:ColorTransform; var _local6:Number; var _local7:Number; _local4 = _arg2[0]; _local5 = _arg1.transform.colorTransform; _local6 = (1 - (((_local5.redMultiplier + _local5.greenMultiplier) + _local5.blueMultiplier) / 3)); _local7 = (((_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; var _local5:Boolean; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; _local4 = getObjectMatrix(_arg1); _local5 = _arg2[0]; _local6 = (_local5) ? (1 / 3) : LUMINANCE_R; _local7 = (_local5) ? (1 / 3) : LUMINANCE_G; _local8 = (_local5) ? (1 / 3) : LUMINANCE_B; _local9 = (((((_local4[0] - _local6) / (1 - _local6)) + ((_local4[6] - _local7) / (1 - _local7))) + ((_local4[12] - _local8) / (1 - _local8))) / 3); _local10 = (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 _local5:Boolean; var _local6:Number; var _local7:Number; var _local8:ColorTransform; _local5 = _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)); }; _local8 = 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; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Array; _local5 = _arg3[0]; _local6 = (_local5) ? (1 / 3) : LUMINANCE_R; _local7 = (_local5) ? (1 / 3) : LUMINANCE_G; _local8 = (_local5) ? (1 / 3) : LUMINANCE_B; _local9 = _arg2; _local10 = (1 - _local9); _local11 = (_local6 * _local10); _local12 = (_local7 * _local10); _local13 = (_local8 * _local10); _local14 = [(_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; _local2 = 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 _local4:Array; var _local5:Array; var _local6:Number; var _local7:Number; var _local8:Number; _local4 = getObjectMatrix(_arg1); _local5 = []; _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++; }; _local7 = 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; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Array; _local2 = ((_arg1 * Math.PI) / 180); _local3 = LUMINANCE_R; _local4 = LUMINANCE_G; _local5 = LUMINANCE_B; _local6 = Math.cos(_local2); _local7 = Math.sin(_local2); _local8 = [((_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 _local3:Array; var _local4:Boolean; var _local5:Number; var _local6:ColorMatrixFilter; _local3 = _arg1.filters.concat(); _local4 = false; _local5 = 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; _local5 = _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; _local5 = _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 _local4:ColorTransform; var _local5:Number; var _local6:Number; _local4 = _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; _local3 = 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 16
//DisplayShortcuts (caurina.transitions.properties.DisplayShortcuts) package caurina.transitions.properties { import flash.geom.*; import caurina.transitions.*; public class DisplayShortcuts { public function DisplayShortcuts(){ trace("This is an static class and should not be instantiated."); } public static function init():void{ Tweener.registerSpecialProperty("_frame", _frame_get, _frame_set); Tweener.registerSpecialProperty("_autoAlpha", _autoAlpha_get, _autoAlpha_set); Tweener.registerSpecialPropertySplitter("_scale", _scale_splitter); Tweener.registerSpecialPropertySplitter("_scrollRect", _scrollRect_splitter); Tweener.registerSpecialProperty("_scrollRect_x", _scrollRect_property_get, _scrollRect_property_set, ["x"]); Tweener.registerSpecialProperty("_scrollRect_y", _scrollRect_property_get, _scrollRect_property_set, ["y"]); Tweener.registerSpecialProperty("_scrollRect_left", _scrollRect_property_get, _scrollRect_property_set, ["left"]); Tweener.registerSpecialProperty("_scrollRect_right", _scrollRect_property_get, _scrollRect_property_set, ["right"]); Tweener.registerSpecialProperty("_scrollRect_top", _scrollRect_property_get, _scrollRect_property_set, ["top"]); Tweener.registerSpecialProperty("_scrollRect_bottom", _scrollRect_property_get, _scrollRect_property_set, ["bottom"]); Tweener.registerSpecialProperty("_scrollRect_width", _scrollRect_property_get, _scrollRect_property_set, ["width"]); Tweener.registerSpecialProperty("_scrollRect_height", _scrollRect_property_get, _scrollRect_property_set, ["height"]); } public static function _frame_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ _arg1.gotoAndStop(Math.round(_arg2)); } public static function _autoAlpha_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ _arg1.alpha = _arg2; _arg1.visible = (_arg2 > 0); } public static function _frame_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ return (_arg1.currentFrame); } public static function _scrollRect_splitter(_arg1:Rectangle, _arg2:Array, _arg3:Object=null):Array{ var _local4:Array; _local4 = new Array(); if (_arg1 == null){ _local4.push({name:"_scrollRect_x", value:0}); _local4.push({name:"_scrollRect_y", value:0}); _local4.push({name:"_scrollRect_width", value:100}); _local4.push({name:"_scrollRect_height", value:100}); } else { _local4.push({name:"_scrollRect_x", value:_arg1.x}); _local4.push({name:"_scrollRect_y", value:_arg1.y}); _local4.push({name:"_scrollRect_width", value:_arg1.width}); _local4.push({name:"_scrollRect_height", value:_arg1.height}); }; return (_local4); } public static function _autoAlpha_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ return (_arg1.alpha); } public static function _scrollRect_property_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ return (_arg1.scrollRect[_arg2[0]]); } public static function _scale_splitter(_arg1:Number, _arg2:Array):Array{ var _local3:Array; _local3 = new Array(); _local3.push({name:"scaleX", value:_arg1}); _local3.push({name:"scaleY", value:_arg1}); return (_local3); } public static function _scrollRect_property_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local5:Rectangle; _local5 = _arg1.scrollRect; _local5[_arg3[0]] = Math.round(_arg2); _arg1.scrollRect = _local5; } } }//package caurina.transitions.properties
Section 17
//FilterShortcuts (caurina.transitions.properties.FilterShortcuts) package caurina.transitions.properties { import flash.geom.*; import caurina.transitions.*; import flash.filters.*; import flash.display.*; public class FilterShortcuts { public function FilterShortcuts(){ trace("This is an static class and should not be instantiated."); } public static function init():void{ Tweener.registerSpecialPropertySplitter("_filter", _filter_splitter); Tweener.registerSpecialProperty("_Bevel_angle", _filter_property_get, _filter_property_set, [BevelFilter, "angle"]); Tweener.registerSpecialProperty("_Bevel_blurX", _filter_property_get, _filter_property_set, [BevelFilter, "blurX"]); Tweener.registerSpecialProperty("_Bevel_blurY", _filter_property_get, _filter_property_set, [BevelFilter, "blurY"]); Tweener.registerSpecialProperty("_Bevel_distance", _filter_property_get, _filter_property_set, [BevelFilter, "distance"]); Tweener.registerSpecialProperty("_Bevel_highlightAlpha", _filter_property_get, _filter_property_set, [BevelFilter, "highlightAlpha"]); Tweener.registerSpecialPropertySplitter("_Bevel_highlightColor", _generic_color_splitter, ["_Bevel_highlightColor_r", "_Bevel_highlightColor_g", "_Bevel_highlightColor_b"]); Tweener.registerSpecialProperty("_Bevel_highlightColor_r", _filter_property_get, _filter_property_set, [BevelFilter, "highlightColor", "color", "r"]); Tweener.registerSpecialProperty("_Bevel_highlightColor_g", _filter_property_get, _filter_property_set, [BevelFilter, "highlightColor", "color", "g"]); Tweener.registerSpecialProperty("_Bevel_highlightColor_b", _filter_property_get, _filter_property_set, [BevelFilter, "highlightColor", "color", "b"]); Tweener.registerSpecialProperty("_Bevel_knockout", _filter_property_get, _filter_property_set, [BevelFilter, "knockout"]); Tweener.registerSpecialProperty("_Bevel_quality", _filter_property_get, _filter_property_set, [BevelFilter, "quality"]); Tweener.registerSpecialProperty("_Bevel_shadowAlpha", _filter_property_get, _filter_property_set, [BevelFilter, "shadowAlpha"]); Tweener.registerSpecialPropertySplitter("_Bevel_shadowColor", _generic_color_splitter, ["_Bevel_shadowColor_r", "_Bevel_shadowColor_g", "_Bevel_shadowColor_b"]); Tweener.registerSpecialProperty("_Bevel_shadowColor_r", _filter_property_get, _filter_property_set, [BevelFilter, "shadowColor", "color", "r"]); Tweener.registerSpecialProperty("_Bevel_shadowColor_g", _filter_property_get, _filter_property_set, [BevelFilter, "shadowColor", "color", "g"]); Tweener.registerSpecialProperty("_Bevel_shadowColor_b", _filter_property_get, _filter_property_set, [BevelFilter, "shadowColor", "color", "b"]); Tweener.registerSpecialProperty("_Bevel_strength", _filter_property_get, _filter_property_set, [BevelFilter, "strength"]); Tweener.registerSpecialProperty("_Bevel_type", _filter_property_get, _filter_property_set, [BevelFilter, "type"]); Tweener.registerSpecialProperty("_Blur_blurX", _filter_property_get, _filter_property_set, [BlurFilter, "blurX"]); Tweener.registerSpecialProperty("_Blur_blurY", _filter_property_get, _filter_property_set, [BlurFilter, "blurY"]); Tweener.registerSpecialProperty("_Blur_quality", _filter_property_get, _filter_property_set, [BlurFilter, "quality"]); Tweener.registerSpecialPropertySplitter("_ColorMatrix_matrix", _generic_matrix_splitter, [[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], ["_ColorMatrix_matrix_rr", "_ColorMatrix_matrix_rg", "_ColorMatrix_matrix_rb", "_ColorMatrix_matrix_ra", "_ColorMatrix_matrix_ro", "_ColorMatrix_matrix_gr", "_ColorMatrix_matrix_gg", "_ColorMatrix_matrix_gb", "_ColorMatrix_matrix_ga", "_ColorMatrix_matrix_go", "_ColorMatrix_matrix_br", "_ColorMatrix_matrix_bg", "_ColorMatrix_matrix_bb", "_ColorMatrix_matrix_ba", "_ColorMatrix_matrix_bo", "_ColorMatrix_matrix_ar", "_ColorMatrix_matrix_ag", "_ColorMatrix_matrix_ab", "_ColorMatrix_matrix_aa", "_ColorMatrix_matrix_ao"]]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_rr", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 0]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_rg", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 1]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_rb", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 2]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ra", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 3]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ro", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 4]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_gr", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 5]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_gg", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 6]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_gb", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 7]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ga", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 8]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_go", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 9]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_br", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 10]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_bg", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 11]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_bb", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 12]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ba", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 13]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_bo", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 14]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ar", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 15]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ag", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 16]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ab", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 17]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_aa", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 18]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ao", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 19]); Tweener.registerSpecialProperty("_Convolution_alpha", _filter_property_get, _filter_property_set, [ConvolutionFilter, "alpha"]); Tweener.registerSpecialProperty("_Convolution_bias", _filter_property_get, _filter_property_set, [ConvolutionFilter, "bias"]); Tweener.registerSpecialProperty("_Convolution_clamp", _filter_property_get, _filter_property_set, [ConvolutionFilter, "clamp"]); Tweener.registerSpecialPropertySplitter("_Convolution_color", _generic_color_splitter, ["_Convolution_color_r", "_Convolution_color_g", "_Convolution_color_b"]); Tweener.registerSpecialProperty("_Convolution_color_r", _filter_property_get, _filter_property_set, [ConvolutionFilter, "color", "color", "r"]); Tweener.registerSpecialProperty("_Convolution_color_g", _filter_property_get, _filter_property_set, [ConvolutionFilter, "color", "color", "g"]); Tweener.registerSpecialProperty("_Convolution_color_b", _filter_property_get, _filter_property_set, [ConvolutionFilter, "color", "color", "b"]); Tweener.registerSpecialProperty("_Convolution_divisor", _filter_property_get, _filter_property_set, [ConvolutionFilter, "divisor"]); Tweener.registerSpecialProperty("_Convolution_matrixX", _filter_property_get, _filter_property_set, [ConvolutionFilter, "matrixX"]); Tweener.registerSpecialProperty("_Convolution_matrixY", _filter_property_get, _filter_property_set, [ConvolutionFilter, "matrixY"]); Tweener.registerSpecialProperty("_Convolution_preserveAlpha", _filter_property_get, _filter_property_set, [ConvolutionFilter, "preserveAlpha"]); Tweener.registerSpecialProperty("_DisplacementMap_alpha", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "alpha"]); Tweener.registerSpecialPropertySplitter("_DisplacementMap_color", _generic_color_splitter, ["_DisplacementMap_color_r", "_DisplacementMap_color_r", "_DisplacementMap_color_r"]); Tweener.registerSpecialProperty("_DisplacementMap_color_r", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "color", "color", "r"]); Tweener.registerSpecialProperty("_DisplacementMap_color_g", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "color", "color", "g"]); Tweener.registerSpecialProperty("_DisplacementMap_color_b", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "color", "color", "b"]); Tweener.registerSpecialProperty("_DisplacementMap_componentX", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "componentX"]); Tweener.registerSpecialProperty("_DisplacementMap_componentY", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "componentY"]); Tweener.registerSpecialProperty("_DisplacementMap_mapBitmap", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mapBitmap"]); Tweener.registerSpecialPropertySplitter("_DisplacementMap_mapPoint", _generic_point_splitter, ["_DisplacementMap_mapPoint_x", "_DisplacementMap_mapPoint_y"]); Tweener.registerSpecialProperty("_DisplacementMap_mapPoint_x", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mapPoint", "point", "x"]); Tweener.registerSpecialProperty("_DisplacementMap_mapPoint_y", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mapPoint", "point", "y"]); Tweener.registerSpecialProperty("_DisplacementMap_mode", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mode"]); Tweener.registerSpecialProperty("_DisplacementMap_scaleX", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "scaleX"]); Tweener.registerSpecialProperty("_DisplacementMap_scaleY", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "scaleY"]); Tweener.registerSpecialProperty("_DropShadow_alpha", _filter_property_get, _filter_property_set, [DropShadowFilter, "alpha"]); Tweener.registerSpecialProperty("_DropShadow_angle", _filter_property_get, _filter_property_set, [DropShadowFilter, "angle"]); Tweener.registerSpecialProperty("_DropShadow_blurX", _filter_property_get, _filter_property_set, [DropShadowFilter, "blurX"]); Tweener.registerSpecialProperty("_DropShadow_blurY", _filter_property_get, _filter_property_set, [DropShadowFilter, "blurY"]); Tweener.registerSpecialPropertySplitter("_DropShadow_color", _generic_color_splitter, ["_DropShadow_color_r", "_DropShadow_color_g", "_DropShadow_color_b"]); Tweener.registerSpecialProperty("_DropShadow_color_r", _filter_property_get, _filter_property_set, [DropShadowFilter, "color", "color", "r"]); Tweener.registerSpecialProperty("_DropShadow_color_g", _filter_property_get, _filter_property_set, [DropShadowFilter, "color", "color", "g"]); Tweener.registerSpecialProperty("_DropShadow_color_b", _filter_property_get, _filter_property_set, [DropShadowFilter, "color", "color", "b"]); Tweener.registerSpecialProperty("_DropShadow_distance", _filter_property_get, _filter_property_set, [DropShadowFilter, "distance"]); Tweener.registerSpecialProperty("_DropShadow_hideObject", _filter_property_get, _filter_property_set, [DropShadowFilter, "hideObject"]); Tweener.registerSpecialProperty("_DropShadow_inner", _filter_property_get, _filter_property_set, [DropShadowFilter, "inner"]); Tweener.registerSpecialProperty("_DropShadow_knockout", _filter_property_get, _filter_property_set, [DropShadowFilter, "knockout"]); Tweener.registerSpecialProperty("_DropShadow_quality", _filter_property_get, _filter_property_set, [DropShadowFilter, "quality"]); Tweener.registerSpecialProperty("_DropShadow_strength", _filter_property_get, _filter_property_set, [DropShadowFilter, "strength"]); Tweener.registerSpecialProperty("_Glow_alpha", _filter_property_get, _filter_property_set, [GlowFilter, "alpha"]); Tweener.registerSpecialProperty("_Glow_blurX", _filter_property_get, _filter_property_set, [GlowFilter, "blurX"]); Tweener.registerSpecialProperty("_Glow_blurY", _filter_property_get, _filter_property_set, [GlowFilter, "blurY"]); Tweener.registerSpecialPropertySplitter("_Glow_color", _generic_color_splitter, ["_Glow_color_r", "_Glow_color_g", "_Glow_color_b"]); Tweener.registerSpecialProperty("_Glow_color_r", _filter_property_get, _filter_property_set, [GlowFilter, "color", "color", "r"]); Tweener.registerSpecialProperty("_Glow_color_g", _filter_property_get, _filter_property_set, [GlowFilter, "color", "color", "g"]); Tweener.registerSpecialProperty("_Glow_color_b", _filter_property_get, _filter_property_set, [GlowFilter, "color", "color", "b"]); Tweener.registerSpecialProperty("_Glow_inner", _filter_property_get, _filter_property_set, [GlowFilter, "inner"]); Tweener.registerSpecialProperty("_Glow_knockout", _filter_property_get, _filter_property_set, [GlowFilter, "knockout"]); Tweener.registerSpecialProperty("_Glow_quality", _filter_property_get, _filter_property_set, [GlowFilter, "quality"]); Tweener.registerSpecialProperty("_Glow_strength", _filter_property_get, _filter_property_set, [GlowFilter, "strength"]); Tweener.registerSpecialProperty("_GradientBevel_angle", _filter_property_get, _filter_property_set, [GradientBevelFilter, "angle"]); Tweener.registerSpecialProperty("_GradientBevel_blurX", _filter_property_get, _filter_property_set, [GradientBevelFilter, "blurX"]); Tweener.registerSpecialProperty("_GradientBevel_blurY", _filter_property_get, _filter_property_set, [GradientBevelFilter, "blurY"]); Tweener.registerSpecialProperty("_GradientBevel_distance", _filter_property_get, _filter_property_set, [GradientBevelFilter, "distance"]); Tweener.registerSpecialProperty("_GradientBevel_quality", _filter_property_get, _filter_property_set, [GradientBevelFilter, "quality"]); Tweener.registerSpecialProperty("_GradientBevel_strength", _filter_property_get, _filter_property_set, [GradientBevelFilter, "strength"]); Tweener.registerSpecialProperty("_GradientBevel_type", _filter_property_get, _filter_property_set, [GradientBevelFilter, "type"]); Tweener.registerSpecialProperty("_GradientGlow_angle", _filter_property_get, _filter_property_set, [GradientGlowFilter, "angle"]); Tweener.registerSpecialProperty("_GradientGlow_blurX", _filter_property_get, _filter_property_set, [GradientGlowFilter, "blurX"]); Tweener.registerSpecialProperty("_GradientGlow_blurY", _filter_property_get, _filter_property_set, [GradientGlowFilter, "blurY"]); Tweener.registerSpecialProperty("_GradientGlow_distance", _filter_property_get, _filter_property_set, [GradientGlowFilter, "distance"]); Tweener.registerSpecialProperty("_GradientGlow_knockout", _filter_property_get, _filter_property_set, [GradientGlowFilter, "knockout"]); Tweener.registerSpecialProperty("_GradientGlow_quality", _filter_property_get, _filter_property_set, [GradientGlowFilter, "quality"]); Tweener.registerSpecialProperty("_GradientGlow_strength", _filter_property_get, _filter_property_set, [GradientGlowFilter, "strength"]); Tweener.registerSpecialProperty("_GradientGlow_type", _filter_property_get, _filter_property_set, [GradientGlowFilter, "type"]); } public static function _filter_property_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ var _local4:Array; var _local5:Number; var _local6:Object; var _local7:String; var _local8:String; var _local9:Object; var _local10:String; _local4 = _arg1.filters; _local6 = _arg2[0]; _local7 = _arg2[1]; _local8 = _arg2[2]; _local5 = 0; while (_local5 < _local4.length) { if ((_local4[_local5] is Class(_local6))){ if (_local8 == "color"){ _local10 = _arg2[3]; if (_local10 == "r"){ return (AuxFunctions.numberToR(_local4[_local5][_local7])); }; if (_local10 == "g"){ return (AuxFunctions.numberToG(_local4[_local5][_local7])); }; if (_local10 == "b"){ return (AuxFunctions.numberToB(_local4[_local5][_local7])); }; } else { if (_local8 == "matrix"){ return (_local4[_local5][_local7][_arg2[3]]); }; if (_local8 == "point"){ return (_local4[_local5][_local7][_arg2[3]]); }; return (_local4[_local5][_local7]); }; }; _local5++; }; switch (_local6){ case BevelFilter: _local9 = {angle:NaN, blurX:0, blurY:0, distance:0, highlightAlpha:1, highlightColor:NaN, knockout:null, quality:NaN, shadowAlpha:1, shadowColor:NaN, strength:2, type:null}; break; case BlurFilter: _local9 = {blurX:0, blurY:0, quality:NaN}; break; case ColorMatrixFilter: _local9 = {matrix:[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]}; break; case ConvolutionFilter: _local9 = {alpha:0, bias:0, clamp:null, color:NaN, divisor:1, matrix:[1], matrixX:1, matrixY:1, preserveAlpha:null}; break; case DisplacementMapFilter: _local9 = {alpha:0, color:NaN, componentX:null, componentY:null, mapBitmap:null, mapPoint:null, mode:null, scaleX:0, scaleY:0}; break; case DropShadowFilter: _local9 = {distance:0, angle:NaN, color:NaN, alpha:1, blurX:0, blurY:0, strength:1, quality:NaN, inner:null, knockout:null, hideObject:null}; break; case GlowFilter: _local9 = {alpha:1, blurX:0, blurY:0, color:NaN, inner:null, knockout:null, quality:NaN, strength:2}; break; case GradientBevelFilter: _local9 = {alphas:null, angle:NaN, blurX:0, blurY:0, colors:null, distance:0, knockout:null, quality:NaN, ratios:NaN, strength:1, type:null}; break; case GradientGlowFilter: _local9 = {alphas:null, angle:NaN, blurX:0, blurY:0, colors:null, distance:0, knockout:null, quality:NaN, ratios:NaN, strength:1, type:null}; break; }; if (_local8 == "color"){ return (NaN); }; if (_local8 == "matrix"){ return (_local9[_local7][_arg2[3]]); }; if (_local8 == "point"){ return (_local9[_local7][_arg2[3]]); }; return (_local9[_local7]); } public static function _filter_property_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local5:Array; var _local6:Number; var _local7:Object; var _local8:String; var _local9:String; var _local10:BitmapFilter; var _local11:String; var _local12:Array; var _local13:Point; _local5 = _arg1.filters; _local7 = _arg3[0]; _local8 = _arg3[1]; _local9 = _arg3[2]; _local6 = 0; while (_local6 < _local5.length) { if ((_local5[_local6] is Class(_local7))){ if (_local9 == "color"){ _local11 = _arg3[3]; if (_local11 == "r"){ _local5[_local6][_local8] = ((_local5[_local6][_local8] & 0xFFFF) | (_arg2 << 16)); }; if (_local11 == "g"){ _local5[_local6][_local8] = ((_local5[_local6][_local8] & 0xFF00FF) | (_arg2 << 8)); }; if (_local11 == "b"){ _local5[_local6][_local8] = ((_local5[_local6][_local8] & 0xFFFF00) | _arg2); }; } else { if (_local9 == "matrix"){ _local12 = _local5[_local6][_local8]; _local12[_arg3[3]] = _arg2; _local5[_local6][_local8] = _local12; } else { if (_local9 == "point"){ _local13 = Point(_local5[_local6][_local8]); _local13[_arg3[3]] = _arg2; _local5[_local6][_local8] = _local13; } else { _local5[_local6][_local8] = _arg2; }; }; }; _arg1.filters = _local5; return; }; _local6++; }; if (_local5 == null){ _local5 = new Array(); }; switch (_local7){ case BevelFilter: _local10 = new BevelFilter(0, 45, 0xFFFFFF, 1, 0, 1, 0, 0); break; case BlurFilter: _local10 = new BlurFilter(0, 0); break; case ColorMatrixFilter: _local10 = new ColorMatrixFilter([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]); break; case ConvolutionFilter: _local10 = new ConvolutionFilter(1, 1, [1], 1, 0, true, true, 0, 0); break; case DisplacementMapFilter: _local10 = new DisplacementMapFilter(new BitmapData(10, 10), new Point(0, 0), 0, 1, 0, 0); break; case DropShadowFilter: _local10 = new DropShadowFilter(0, 45, 0, 1, 0, 0); break; case GlowFilter: _local10 = new GlowFilter(0xFF0000, 1, 0, 0); break; case GradientBevelFilter: _local10 = new GradientBevelFilter(0, 45, [0xFFFFFF, 0], [1, 1], [32, 223], 0, 0); break; case GradientGlowFilter: _local10 = new GradientGlowFilter(0, 45, [0xFFFFFF, 0], [1, 1], [32, 223], 0, 0); break; }; _local5.push(_local10); _arg1.filters = _local5; _filter_property_set(_arg1, _arg2, _arg3); } public static function _generic_color_splitter(_arg1:Number, _arg2:Array):Array{ var _local3:Array; _local3 = new Array(); _local3.push({name:_arg2[0], value:AuxFunctions.numberToR(_arg1)}); _local3.push({name:_arg2[1], value:AuxFunctions.numberToG(_arg1)}); _local3.push({name:_arg2[2], value:AuxFunctions.numberToB(_arg1)}); return (_local3); } public static function _generic_point_splitter(_arg1:Point, _arg2:Array):Array{ var _local3:Array; _local3 = new Array(); _local3.push({name:_arg2[0], value:_arg1.x}); _local3.push({name:_arg2[1], value:_arg1.y}); return (_local3); } public static function _generic_matrix_splitter(_arg1:Array, _arg2:Array):Array{ var _local3:Array; var _local4:Number; if (_arg1 == null){ _arg1 = _arg2[0].concat(); }; _local3 = new Array(); _local4 = 0; while (_local4 < _arg1.length) { _local3.push({name:_arg2[1][_local4], value:_arg1[_local4]}); _local4++; }; return (_local3); } public static function _filter_splitter(_arg1:BitmapFilter, _arg2:Array, _arg3:Object=null):Array{ var _local4:Array; _local4 = new Array(); if ((_arg1 is BevelFilter)){ _local4.push({name:"_Bevel_angle", value:BevelFilter(_arg1).angle}); _local4.push({name:"_Bevel_blurX", value:BevelFilter(_arg1).blurX}); _local4.push({name:"_Bevel_blurY", value:BevelFilter(_arg1).blurY}); _local4.push({name:"_Bevel_distance", value:BevelFilter(_arg1).distance}); _local4.push({name:"_Bevel_highlightAlpha", value:BevelFilter(_arg1).highlightAlpha}); _local4.push({name:"_Bevel_highlightColor", value:BevelFilter(_arg1).highlightColor}); _local4.push({name:"_Bevel_knockout", value:BevelFilter(_arg1).knockout}); _local4.push({name:"_Bevel_quality", value:BevelFilter(_arg1).quality}); _local4.push({name:"_Bevel_shadowAlpha", value:BevelFilter(_arg1).shadowAlpha}); _local4.push({name:"_Bevel_shadowColor", value:BevelFilter(_arg1).shadowColor}); _local4.push({name:"_Bevel_strength", value:BevelFilter(_arg1).strength}); _local4.push({name:"_Bevel_type", value:BevelFilter(_arg1).type}); } else { if ((_arg1 is BlurFilter)){ _local4.push({name:"_Blur_blurX", value:BlurFilter(_arg1).blurX}); _local4.push({name:"_Blur_blurY", value:BlurFilter(_arg1).blurY}); _local4.push({name:"_Blur_quality", value:BlurFilter(_arg1).quality}); } else { if ((_arg1 is ColorMatrixFilter)){ _local4.push({name:"_ColorMatrix_matrix", value:ColorMatrixFilter(_arg1).matrix}); } else { if ((_arg1 is ConvolutionFilter)){ _local4.push({name:"_Convolution_alpha", value:ConvolutionFilter(_arg1).alpha}); _local4.push({name:"_Convolution_bias", value:ConvolutionFilter(_arg1).bias}); _local4.push({name:"_Convolution_clamp", value:ConvolutionFilter(_arg1).clamp}); _local4.push({name:"_Convolution_color", value:ConvolutionFilter(_arg1).color}); _local4.push({name:"_Convolution_divisor", value:ConvolutionFilter(_arg1).divisor}); _local4.push({name:"_Convolution_matrixX", value:ConvolutionFilter(_arg1).matrixX}); _local4.push({name:"_Convolution_matrixY", value:ConvolutionFilter(_arg1).matrixY}); _local4.push({name:"_Convolution_preserveAlpha", value:ConvolutionFilter(_arg1).preserveAlpha}); } else { if ((_arg1 is DisplacementMapFilter)){ _local4.push({name:"_DisplacementMap_alpha", value:DisplacementMapFilter(_arg1).alpha}); _local4.push({name:"_DisplacementMap_color", value:DisplacementMapFilter(_arg1).color}); _local4.push({name:"_DisplacementMap_componentX", value:DisplacementMapFilter(_arg1).componentX}); _local4.push({name:"_DisplacementMap_componentY", value:DisplacementMapFilter(_arg1).componentY}); _local4.push({name:"_DisplacementMap_mapBitmap", value:DisplacementMapFilter(_arg1).mapBitmap}); _local4.push({name:"_DisplacementMap_mapPoint", value:DisplacementMapFilter(_arg1).mapPoint}); _local4.push({name:"_DisplacementMap_mode", value:DisplacementMapFilter(_arg1).mode}); _local4.push({name:"_DisplacementMap_scaleX", value:DisplacementMapFilter(_arg1).scaleX}); _local4.push({name:"_DisplacementMap_scaleY", value:DisplacementMapFilter(_arg1).scaleY}); } else { if ((_arg1 is DropShadowFilter)){ _local4.push({name:"_DropShadow_alpha", value:DropShadowFilter(_arg1).alpha}); _local4.push({name:"_DropShadow_angle", value:DropShadowFilter(_arg1).angle}); _local4.push({name:"_DropShadow_blurX", value:DropShadowFilter(_arg1).blurX}); _local4.push({name:"_DropShadow_blurY", value:DropShadowFilter(_arg1).blurY}); _local4.push({name:"_DropShadow_color", value:DropShadowFilter(_arg1).color}); _local4.push({name:"_DropShadow_distance", value:DropShadowFilter(_arg1).distance}); _local4.push({name:"_DropShadow_hideObject", value:DropShadowFilter(_arg1).hideObject}); _local4.push({name:"_DropShadow_inner", value:DropShadowFilter(_arg1).inner}); _local4.push({name:"_DropShadow_knockout", value:DropShadowFilter(_arg1).knockout}); _local4.push({name:"_DropShadow_quality", value:DropShadowFilter(_arg1).quality}); _local4.push({name:"_DropShadow_strength", value:DropShadowFilter(_arg1).strength}); } else { if ((_arg1 is GlowFilter)){ _local4.push({name:"_Glow_alpha", value:GlowFilter(_arg1).alpha}); _local4.push({name:"_Glow_blurX", value:GlowFilter(_arg1).blurX}); _local4.push({name:"_Glow_blurY", value:GlowFilter(_arg1).blurY}); _local4.push({name:"_Glow_color", value:GlowFilter(_arg1).color}); _local4.push({name:"_Glow_inner", value:GlowFilter(_arg1).inner}); _local4.push({name:"_Glow_knockout", value:GlowFilter(_arg1).knockout}); _local4.push({name:"_Glow_quality", value:GlowFilter(_arg1).quality}); _local4.push({name:"_Glow_strength", value:GlowFilter(_arg1).strength}); } else { if ((_arg1 is GradientBevelFilter)){ _local4.push({name:"_GradientBevel_angle", value:GradientBevelFilter(_arg1).strength}); _local4.push({name:"_GradientBevel_blurX", value:GradientBevelFilter(_arg1).blurX}); _local4.push({name:"_GradientBevel_blurY", value:GradientBevelFilter(_arg1).blurY}); _local4.push({name:"_GradientBevel_distance", value:GradientBevelFilter(_arg1).distance}); _local4.push({name:"_GradientBevel_quality", value:GradientBevelFilter(_arg1).quality}); _local4.push({name:"_GradientBevel_strength", value:GradientBevelFilter(_arg1).strength}); _local4.push({name:"_GradientBevel_type", value:GradientBevelFilter(_arg1).type}); } else { if ((_arg1 is GradientGlowFilter)){ _local4.push({name:"_GradientGlow_angle", value:GradientGlowFilter(_arg1).strength}); _local4.push({name:"_GradientGlow_blurX", value:GradientGlowFilter(_arg1).blurX}); _local4.push({name:"_GradientGlow_blurY", value:GradientGlowFilter(_arg1).blurY}); _local4.push({name:"_GradientGlow_distance", value:GradientGlowFilter(_arg1).distance}); _local4.push({name:"_GradientGlow_knockout", value:GradientGlowFilter(_arg1).knockout}); _local4.push({name:"_GradientGlow_quality", value:GradientGlowFilter(_arg1).quality}); _local4.push({name:"_GradientGlow_strength", value:GradientGlowFilter(_arg1).strength}); _local4.push({name:"_GradientGlow_type", value:GradientGlowFilter(_arg1).type}); } else { trace("Tweener FilterShortcuts Error :: Unknown filter class used"); }; }; }; }; }; }; }; }; }; return (_local4); } } }//package caurina.transitions.properties
Section 18
//AuxFunctions (caurina.transitions.AuxFunctions) package caurina.transitions { public class AuxFunctions { public static function concatObjects(... _args):Object{ var _local2:Object; var _local3:Object; var _local4:int; var _local5:String; _local2 = {}; _local4 = 0; while (_local4 < _args.length) { _local3 = _args[_local4]; for (_local5 in _local3) { if (_local3[_local5] == null){ delete _local2[_local5]; } else { _local2[_local5] = _local3[_local5]; }; }; _local4++; }; return (_local2); } public static function numberToG(_arg1:Number):Number{ return (((_arg1 & 0xFF00) >> 8)); } public static function numberToR(_arg1:Number):Number{ return (((_arg1 & 0xFF0000) >> 16)); } public static function isInArray(_arg1:String, _arg2:Array):Boolean{ var _local3:uint; var _local4:uint; _local3 = _arg2.length; _local4 = 0; while (_local4 < _local3) { if (_arg2[_local4] == _arg1){ return (true); }; _local4++; }; return (false); } public static function getObjectLength(_arg1:Object):uint{ var _local2:uint; var _local3:String; _local2 = 0; for (_local3 in _arg1) { _local2++; }; return (_local2); } public static function numberToB(_arg1:Number):Number{ return ((_arg1 & 0xFF)); } } }//package caurina.transitions
Section 19
//Equations (caurina.transitions.Equations) package caurina.transitions { public class Equations { public function Equations(){ trace("Equations is a static class and should not be instantiated."); } public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); if (_arg1 < (1 / 2.75)){ return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2)); }; if (_arg1 < (2 / 2.75)){ _arg1 = (_arg1 - (1.5 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2)); }; if (_arg1 < (2.5 / 2.75)){ _arg1 = (_arg1 - (2.25 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2)); }; _arg1 = (_arg1 - (2.625 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2)); } public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period; _local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; if (_arg1 < 1){ --_arg1; return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); }; --_arg1; return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2)); } public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2)); }; --_arg1; return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2)); } public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2)); }; return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2)); } public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2)); }; _arg1 = (_arg1 - 2); _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2)); } public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2)); } public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2)); } public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2)); } public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function init():void{ Tweener.registerTransition("easenone", easeNone); Tweener.registerTransition("linear", easeNone); Tweener.registerTransition("easeinquad", easeInQuad); Tweener.registerTransition("easeoutquad", easeOutQuad); Tweener.registerTransition("easeinoutquad", easeInOutQuad); Tweener.registerTransition("easeoutinquad", easeOutInQuad); Tweener.registerTransition("easeincubic", easeInCubic); Tweener.registerTransition("easeoutcubic", easeOutCubic); Tweener.registerTransition("easeinoutcubic", easeInOutCubic); Tweener.registerTransition("easeoutincubic", easeOutInCubic); Tweener.registerTransition("easeinquart", easeInQuart); Tweener.registerTransition("easeoutquart", easeOutQuart); Tweener.registerTransition("easeinoutquart", easeInOutQuart); Tweener.registerTransition("easeoutinquart", easeOutInQuart); Tweener.registerTransition("easeinquint", easeInQuint); Tweener.registerTransition("easeoutquint", easeOutQuint); Tweener.registerTransition("easeinoutquint", easeInOutQuint); Tweener.registerTransition("easeoutinquint", easeOutInQuint); Tweener.registerTransition("easeinsine", easeInSine); Tweener.registerTransition("easeoutsine", easeOutSine); Tweener.registerTransition("easeinoutsine", easeInOutSine); Tweener.registerTransition("easeoutinsine", easeOutInSine); Tweener.registerTransition("easeincirc", easeInCirc); Tweener.registerTransition("easeoutcirc", easeOutCirc); Tweener.registerTransition("easeinoutcirc", easeInOutCirc); Tweener.registerTransition("easeoutincirc", easeOutInCirc); Tweener.registerTransition("easeinexpo", easeInExpo); Tweener.registerTransition("easeoutexpo", easeOutExpo); Tweener.registerTransition("easeinoutexpo", easeInOutExpo); Tweener.registerTransition("easeoutinexpo", easeOutInExpo); Tweener.registerTransition("easeinelastic", easeInElastic); Tweener.registerTransition("easeoutelastic", easeOutElastic); Tweener.registerTransition("easeinoutelastic", easeInOutElastic); Tweener.registerTransition("easeoutinelastic", easeOutInElastic); Tweener.registerTransition("easeinback", easeInBack); Tweener.registerTransition("easeoutback", easeOutBack); Tweener.registerTransition("easeinoutback", easeInOutBack); Tweener.registerTransition("easeoutinback", easeOutInBack); Tweener.registerTransition("easeinbounce", easeInBounce); Tweener.registerTransition("easeoutbounce", easeOutBounce); Tweener.registerTransition("easeinoutbounce", easeInOutBounce); Tweener.registerTransition("easeoutinbounce", easeOutInBounce); } public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2)); } public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001))); } public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2)); } public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((_arg3 * _arg1) * _arg1) + _arg2)); } public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2)); } public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2)); } public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2)); } public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2)); } public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; _local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; --_arg1; return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); } public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2)); } public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); } public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 == 0){ return (_arg2); }; if (_arg1 == _arg4){ return ((_arg2 + _arg3)); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005))); }; --_arg1; return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2)); } public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; _local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2)); } public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2)); } public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } } }//package caurina.transitions
Section 20
//PropertyInfoObj (caurina.transitions.PropertyInfoObj) package caurina.transitions { public class PropertyInfoObj { public var originalValueComplete:Object; public var modifierParameters:Array; public var isSpecialProperty:Boolean; public var hasModifier:Boolean; public var valueComplete:Number; public var extra:Object; public var valueStart:Number; public var modifierFunction:Function; public var arrayIndex:Number; public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){ valueStart = _arg1; valueComplete = _arg2; originalValueComplete = _arg3; arrayIndex = _arg4; extra = _arg5; isSpecialProperty = _arg6; hasModifier = Boolean(_arg7); modifierFunction = _arg7; modifierParameters = _arg8; } public function toString():String{ var _local1:String; _local1 = "\n[PropertyInfoObj "; _local1 = (_local1 + ("valueStart:" + String(valueStart))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("valueComplete:" + String(valueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("arrayIndex:" + String(arrayIndex))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("extra:" + String(extra))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("hasModifier:" + String(hasModifier))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierFunction:" + String(modifierFunction))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierParameters:" + String(modifierParameters))); _local1 = (_local1 + "]\n"); return (_local1); } public function clone():PropertyInfoObj{ var _local1:PropertyInfoObj; _local1 = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters); return (_local1); } } }//package caurina.transitions
Section 21
//SpecialProperty (caurina.transitions.SpecialProperty) package caurina.transitions { public class SpecialProperty { public var parameters:Array; public var preProcess:Function; public var setValue:Function; public var getValue:Function; public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){ getValue = _arg1; setValue = _arg2; parameters = _arg3; preProcess = _arg4; } public function toString():String{ var _local1:String; _local1 = ""; _local1 = (_local1 + "[SpecialProperty "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("setValue:" + String(setValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("preProcess:" + String(preProcess))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 22
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier) package caurina.transitions { public class SpecialPropertyModifier { public var getValue:Function; public var modifyValues:Function; public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){ modifyValues = _arg1; getValue = _arg2; } public function toString():String{ var _local1:String; _local1 = ""; _local1 = (_local1 + "[SpecialPropertyModifier "); _local1 = (_local1 + ("modifyValues:" + String(modifyValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 23
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter) package caurina.transitions { public class SpecialPropertySplitter { public var parameters:Array; public var splitValues:Function; public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){ splitValues = _arg1; parameters = _arg2; } public function toString():String{ var _local1:String; _local1 = ""; _local1 = (_local1 + "[SpecialPropertySplitter "); _local1 = (_local1 + ("splitValues:" + String(splitValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 24
//Tweener (caurina.transitions.Tweener) package caurina.transitions { import flash.events.*; import flash.display.*; import flash.utils.*; public class Tweener { private static var _timeScale:Number = 1; private static var _currentTimeFrame:Number; private static var _specialPropertySplitterList:Object; private static var _engineExists:Boolean = false; private static var _specialPropertyModifierList:Object; private static var _currentTime:Number; private static var _tweenList:Array; private static var _specialPropertyList:Object; private static var _transitionList:Object; private static var _inited:Boolean = false; private static var __tweener_controller__:MovieClip; public function Tweener(){ trace("Tweener is a static class and should not be instantiated."); } public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{ var _local4:SpecialPropertyModifier; if (!_inited){ init(); }; _local4 = new SpecialPropertyModifier(_arg2, _arg3); _specialPropertyModifierList[_arg1] = _local4; } public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{ var _local6:SpecialProperty; if (!_inited){ init(); }; _local6 = new SpecialProperty(_arg2, _arg3, _arg4, _arg5); _specialPropertyList[_arg1] = _local6; } public static function init(... _args):void{ _inited = true; _transitionList = new Object(); Equations.init(); _specialPropertyList = new Object(); _specialPropertyModifierList = new Object(); _specialPropertySplitterList = new Object(); } private static function updateTweens():Boolean{ var _local1:int; if (_tweenList.length == 0){ return (false); }; _local1 = 0; while (_local1 < _tweenList.length) { if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){ if (!updateTweenByIndex(_local1)){ removeTweenByIndex(_local1); }; if (_tweenList[_local1] == null){ removeTweenByIndex(_local1, true); _local1--; }; }; _local1++; }; return (true); } public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Array; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Function; var _local9:TweenListObj; var _local10:Number; var _local11:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local4 = _arg1.concat(); } else { _local4 = [_arg1]; }; _local5 = _arg2; if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; _local6 = (isNaN(_local5.time)) ? 0 : _local5.time; _local7 = (isNaN(_local5.delay)) ? 0 : _local5.delay; if (typeof(_local5.transition) == "string"){ _local11 = _local5.transition.toLowerCase(); _local8 = _transitionList[_local11]; } else { _local8 = _local5.transition; }; if (!Boolean(_local8)){ _local8 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local4.length) { if (_local5.useFrames == true){ _local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams); } else { _local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams); }; _local9.properties = null; _local9.onStart = _local5.onStart; _local9.onUpdate = _local5.onUpdate; _local9.onComplete = _local5.onComplete; _local9.onOverwrite = _local5.onOverwrite; _local9.onStartParams = _local5.onStartParams; _local9.onUpdateParams = _local5.onUpdateParams; _local9.onCompleteParams = _local5.onCompleteParams; _local9.onOverwriteParams = _local5.onOverwriteParams; _local9.onStartScope = _local5.onStartScope; _local9.onUpdateScope = _local5.onUpdateScope; _local9.onCompleteScope = _local5.onCompleteScope; _local9.onOverwriteScope = _local5.onOverwriteScope; _local9.onErrorScope = _local5.onErrorScope; _local9.isCaller = true; _local9.count = _local5.count; _local9.waitFrames = _local5.waitFrames; _tweenList.push(_local9); if ((((_local6 == 0)) && ((_local7 == 0)))){ _local10 = (_tweenList.length - 1); updateTweenByIndex(_local10); removeTweenByIndex(_local10); }; _local3++; }; return (true); } public static function pauseAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { pauseTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function removeTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(removeTweenByIndex, _arg1, _local3)); } public static function splitTweens(_arg1:Number, _arg2:Array):uint{ var _local3:TweenListObj; var _local4:TweenListObj; var _local5:uint; var _local6:String; var _local7:Boolean; _local3 = _tweenList[_arg1]; _local4 = _local3.clone(false); _local5 = 0; while (_local5 < _arg2.length) { _local6 = _arg2[_local5]; if (Boolean(_local3.properties[_local6])){ _local3.properties[_local6] = undefined; delete _local3.properties[_local6]; }; _local5++; }; for (_local6 in _local4.properties) { _local7 = false; _local5 = 0; while (_local5 < _arg2.length) { if (_arg2[_local5] == _local6){ _local7 = true; break; }; _local5++; }; if (!_local7){ _local4.properties[_local6] = undefined; delete _local4.properties[_local6]; }; }; _tweenList.push(_local4); return ((_tweenList.length - 1)); } public static function updateFrame():void{ _currentTimeFrame++; } public static function resumeTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj; var _local3:Number; _local2 = _tweenList[_arg1]; if ((((_local2 == null)) || (!(_local2.isPaused)))){ return (false); }; _local3 = getCurrentTweeningTime(_local2); _local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused)); _local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused)); _local2.timePaused = undefined; _local2.isPaused = false; return (true); } public static function getVersion():String{ return ("AS3 1.31.71"); } public static function onEnterFrame(_arg1:Event):void{ var _local2:Boolean; updateTime(); updateFrame(); _local2 = false; _local2 = updateTweens(); if (!_local2){ stopEngine(); }; } public static function updateTime():void{ _currentTime = getTimer(); } private static function updateTweenByIndex(_arg1:Number):Boolean{ var tTweening:TweenListObj; var isOver:Boolean; var mustUpdate:Boolean; var nv:Number; var t:Number; var b:Number; var c:Number; var d:Number; var pName:String; var eventScope:Object; var tScope:Object; var cTime:Number; var tProperty:Object; var pv:Number; var i = _arg1; tTweening = _tweenList[i]; if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){ return (false); }; isOver = false; cTime = getCurrentTweeningTime(tTweening); if (cTime >= tTweening.timeStart){ tScope = tTweening.scope; if (tTweening.isCaller){ do { t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1)); b = tTweening.timeStart; c = (tTweening.timeComplete - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d); } while (!(cTime >= nv)); } else { mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates))); if (cTime >= tTweening.timeComplete){ isOver = true; mustUpdate = true; }; if (!tTweening.hasStarted){ if (Boolean(tTweening.onStart)){ eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope; try { tTweening.onStart.apply(eventScope, tTweening.onStartParams); } catch(e:Error) { handleError(tTweening, e, "onStart"); }; }; for (pName in tTweening.properties) { if (tTweening.properties[pName].isSpecialProperty){ if (Boolean(_specialPropertyList[pName].preProcess)){ tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra); }; pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { pv = tScope[pName]; }; tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv; }; mustUpdate = true; tTweening.hasStarted = true; }; if (mustUpdate){ for (pName in tTweening.properties) { tProperty = tTweening.properties[pName]; if (isOver){ nv = tProperty.valueComplete; } else { if (tProperty.hasModifier){ t = (cTime - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams); nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters); } else { t = (cTime - tTweening.timeStart); b = tProperty.valueStart; c = (tProperty.valueComplete - tProperty.valueStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d, tTweening.transitionParams); }; }; if (tTweening.rounded){ nv = Math.round(nv); }; if (tProperty.isSpecialProperty){ _specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { tScope[pName] = nv; }; }; tTweening.updatesSkipped = 0; if (Boolean(tTweening.onUpdate)){ eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope; try { tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams); } catch(e:Error) { handleError(tTweening, e, "onUpdate"); }; }; } else { tTweening.updatesSkipped++; }; }; if (((isOver) && (Boolean(tTweening.onComplete)))){ eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope; try { tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams); } catch(e:Error) { handleError(tTweening, e, "onComplete"); }; }; return (!(isOver)); }; return (true); } public static function setTimeScale(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (isNaN(_arg1)){ _arg1 = 1; }; if (_arg1 < 1E-5){ _arg1 = 1E-5; }; if (_arg1 != _timeScale){ if (_tweenList != null){ _local2 = 0; while (_local2 < _tweenList.length) { _local3 = getCurrentTweeningTime(_tweenList[_local2]); _tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1)); _tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1)); if (_tweenList[_local2].timePaused != undefined){ _tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1)); }; _local2++; }; }; _timeScale = _arg1; }; } public static function resumeAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { resumeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{ var eventScope:Object; var pTweening = _arg1; var pError = _arg2; var pCallBackName = _arg3; if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){ eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope; try { pTweening.onError.apply(eventScope, [pTweening.scope, pError]); } catch(metaError:Error) { printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace())); }; } else { if (!Boolean(pTweening.onError)){ printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace())); }; }; } private static function startEngine():void{ _engineExists = true; _tweenList = new Array(); __tweener_controller__ = new MovieClip(); __tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); _currentTimeFrame = 0; updateTime(); } public static function removeAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { removeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Number; var _local5:String; var _local6:Array; var _local7:Object; var _local8:Number; var _local9:Number; var _local10:Array; var _local11:Object; var _local12:Object; var _local13:Function; var _local14:Object; var _local15:TweenListObj; var _local16:Number; var _local17:Array; var _local18:Array; var _local19:Array; var _local20:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local6 = _arg1.concat(); } else { _local6 = [_arg1]; }; _local7 = TweenListObj.makePropertiesChain(_arg2); if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; _local8 = (isNaN(_local7.time)) ? 0 : _local7.time; _local9 = (isNaN(_local7.delay)) ? 0 : _local7.delay; _local10 = new Array(); _local11 = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true}; _local12 = new Object(); for (_local5 in _local7) { if (!_local11[_local5]){ if (_specialPropertySplitterList[_local5]){ _local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters); _local3 = 0; while (_local3 < _local17.length) { if (_specialPropertySplitterList[_local17[_local3].name]){ _local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters); _local4 = 0; while (_local4 < _local18.length) { _local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false}; _local4++; }; } else { _local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false}; }; _local3++; }; } else { if (_specialPropertyModifierList[_local5] != undefined){ _local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]); _local3 = 0; while (_local3 < _local19.length) { _local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue}; _local3++; }; } else { _local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]}; }; }; }; }; for (_local5 in _local10) { if (_specialPropertyList[_local5] != undefined){ _local10[_local5].isSpecialProperty = true; } else { if (_local6[0][_local5] == undefined){ printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property.")); }; }; }; for (_local5 in _local12) { if (_local10[_local5] != undefined){ _local10[_local5].modifierParameters = _local12[_local5].modifierParameters; _local10[_local5].modifierFunction = _local12[_local5].modifierFunction; }; }; if (typeof(_local7.transition) == "string"){ _local20 = _local7.transition.toLowerCase(); _local13 = _transitionList[_local20]; } else { _local13 = _local7.transition; }; if (!Boolean(_local13)){ _local13 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local6.length) { _local14 = new Object(); for (_local5 in _local10) { _local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters); }; if (_local7.useFrames == true){ _local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams); } else { _local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams); }; _local15.properties = _local14; _local15.onStart = _local7.onStart; _local15.onUpdate = _local7.onUpdate; _local15.onComplete = _local7.onComplete; _local15.onOverwrite = _local7.onOverwrite; _local15.onError = _local7.onError; _local15.onStartParams = _local7.onStartParams; _local15.onUpdateParams = _local7.onUpdateParams; _local15.onCompleteParams = _local7.onCompleteParams; _local15.onOverwriteParams = _local7.onOverwriteParams; _local15.onStartScope = _local7.onStartScope; _local15.onUpdateScope = _local7.onUpdateScope; _local15.onCompleteScope = _local7.onCompleteScope; _local15.onOverwriteScope = _local7.onOverwriteScope; _local15.onErrorScope = _local7.onErrorScope; _local15.rounded = _local7.rounded; _local15.skipUpdates = _local7.skipUpdates; removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete); _tweenList.push(_local15); if ((((_local8 == 0)) && ((_local9 == 0)))){ _local16 = (_tweenList.length - 1); updateTweenByIndex(_local16); removeTweenByIndex(_local16); }; _local3++; }; return (true); } public static function registerTransition(_arg1:String, _arg2:Function):void{ if (!_inited){ init(); }; _transitionList[_arg1] = _arg2; } public static function printError(_arg1:String):void{ trace(("## [Tweener] Error: " + _arg1)); } private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{ var _local4:Boolean; var _local5:uint; var _local6:Array; var _local7:uint; var _local8:uint; var _local9:uint; _local4 = false; if (!Boolean(_tweenList)){ return (false); }; _local5 = 0; while (_local5 < _tweenList.length) { if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){ if (_arg3.length == 0){ _arg1(_local5); _local4 = true; } else { _local6 = new Array(); _local7 = 0; while (_local7 < _arg3.length) { if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){ _local6.push(_arg3[_local7]); }; _local7++; }; if (_local6.length > 0){ _local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties); if (_local8 == _local6.length){ _arg1(_local5); _local4 = true; } else { _local9 = splitTweens(_local5, _local6); _arg1(_local9); _local4 = true; }; }; }; }; _local5++; }; return (_local4); } public static function getTweens(_arg1:Object):Array{ var _local2:uint; var _local3:String; var _local4:Array; if (!Boolean(_tweenList)){ return ([]); }; _local4 = new Array(); _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ for (_local3 in _tweenList[_local2].properties) { _local4.push(_local3); }; }; _local2++; }; return (_local4); } public static function isTweening(_arg1:Object):Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ return (true); }; _local2++; }; return (false); } public static function pauseTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj; _local2 = _tweenList[_arg1]; if ((((_local2 == null)) || (_local2.isPaused))){ return (false); }; _local2.timePaused = getCurrentTweeningTime(_local2); _local2.isPaused = true; return (true); } public static function getCurrentTweeningTime(_arg1:Object):Number{ return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime); } public static function getTweenCount(_arg1:Object):Number{ var _local2:uint; var _local3:Number; if (!Boolean(_tweenList)){ return (0); }; _local3 = 0; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ _local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties)); }; _local2++; }; return (_local3); } private static function stopEngine():void{ _engineExists = false; _tweenList = null; _currentTime = 0; _currentTimeFrame = 0; __tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); __tweener_controller__ = null; } public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{ var removed:Boolean; var removedLocally:Boolean; var i:uint; var tl:uint; var pName:String; var eventScope:Object; var p_scope = _arg1; var p_properties = _arg2; var p_timeStart = _arg3; var p_timeComplete = _arg4; removed = false; tl = _tweenList.length; i = 0; while (i < tl) { if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){ if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){ removedLocally = false; for (pName in _tweenList[i].properties) { if (Boolean(p_properties[pName])){ if (Boolean(_tweenList[i].onOverwrite)){ eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope; try { _tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams); } catch(e:Error) { handleError(_tweenList[i], e, "onOverwrite"); }; }; _tweenList[i].properties[pName] = undefined; delete _tweenList[i].properties[pName]; removedLocally = true; removed = true; }; }; if (removedLocally){ if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){ removeTweenByIndex(i); }; }; }; }; i = (i + 1); }; return (removed); } public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{ var _local4:SpecialPropertySplitter; if (!_inited){ init(); }; _local4 = new SpecialPropertySplitter(_arg2, _arg3); _specialPropertySplitterList[_arg1] = _local4; } public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{ _tweenList[_arg1] = null; if (_arg2){ _tweenList.splice(_arg1, 1); }; return (true); } public static function resumeTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(resumeTweenByIndex, _arg1, _local3)); } public static function pauseTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(pauseTweenByIndex, _arg1, _local3)); } } }//package caurina.transitions
Section 25
//TweenListObj (caurina.transitions.TweenListObj) package caurina.transitions { public class TweenListObj { public var onUpdate:Function; public var useFrames:Boolean; public var hasStarted:Boolean; public var onOverwriteParams:Array; public var timeStart:Number; public var count:Number; public var timeComplete:Number; public var onStartParams:Array; public var onUpdateScope:Object; public var rounded:Boolean; public var onUpdateParams:Array; public var properties:Object; public var onComplete:Function; public var transitionParams:Object; public var updatesSkipped:Number; public var onStart:Function; public var onOverwriteScope:Object; public var skipUpdates:Number; public var onStartScope:Object; public var scope:Object; public var transition:Function; public var timePaused:Number; public var onCompleteParams:Array; public var timesCalled:Number; public var isCaller:Boolean; public var onError:Function; public var onErrorScope:Object; public var onOverwrite:Function; public var isPaused:Boolean; public var waitFrames:Boolean; public var onCompleteScope:Object; public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){ scope = _arg1; timeStart = _arg2; timeComplete = _arg3; useFrames = _arg4; transition = _arg5; transitionParams = _arg6; properties = new Object(); isPaused = false; timePaused = undefined; isCaller = false; updatesSkipped = 0; timesCalled = 0; skipUpdates = 0; hasStarted = false; } public function clone(_arg1:Boolean):TweenListObj{ var _local2:TweenListObj; var _local3:String; _local2 = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams); _local2.properties = new Array(); for (_local3 in properties) { _local2.properties[_local3] = properties[_local3].clone(); }; _local2.skipUpdates = skipUpdates; _local2.updatesSkipped = updatesSkipped; if (!_arg1){ _local2.onStart = onStart; _local2.onUpdate = onUpdate; _local2.onComplete = onComplete; _local2.onOverwrite = onOverwrite; _local2.onError = onError; _local2.onStartParams = onStartParams; _local2.onUpdateParams = onUpdateParams; _local2.onCompleteParams = onCompleteParams; _local2.onOverwriteParams = onOverwriteParams; _local2.onStartScope = onStartScope; _local2.onUpdateScope = onUpdateScope; _local2.onCompleteScope = onCompleteScope; _local2.onOverwriteScope = onOverwriteScope; _local2.onErrorScope = onErrorScope; }; _local2.rounded = rounded; _local2.isPaused = isPaused; _local2.timePaused = timePaused; _local2.isCaller = isCaller; _local2.count = count; _local2.timesCalled = timesCalled; _local2.waitFrames = waitFrames; _local2.hasStarted = hasStarted; return (_local2); } public function toString():String{ var _local1:String; var _local2:Boolean; var _local3:String; _local1 = "\n[TweenListObj "; _local1 = (_local1 + ("scope:" + String(scope))); _local1 = (_local1 + ", properties:"); _local2 = true; for (_local3 in properties) { if (!_local2){ _local1 = (_local1 + ","); }; _local1 = (_local1 + ("[name:" + properties[_local3].name)); _local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart)); _local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete)); _local1 = (_local1 + "]"); _local2 = false; }; _local1 = (_local1 + (", timeStart:" + String(timeStart))); _local1 = (_local1 + (", timeComplete:" + String(timeComplete))); _local1 = (_local1 + (", useFrames:" + String(useFrames))); _local1 = (_local1 + (", transition:" + String(transition))); _local1 = (_local1 + (", transitionParams:" + String(transitionParams))); if (skipUpdates){ _local1 = (_local1 + (", skipUpdates:" + String(skipUpdates))); }; if (updatesSkipped){ _local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped))); }; if (Boolean(onStart)){ _local1 = (_local1 + (", onStart:" + String(onStart))); }; if (Boolean(onUpdate)){ _local1 = (_local1 + (", onUpdate:" + String(onUpdate))); }; if (Boolean(onComplete)){ _local1 = (_local1 + (", onComplete:" + String(onComplete))); }; if (Boolean(onOverwrite)){ _local1 = (_local1 + (", onOverwrite:" + String(onOverwrite))); }; if (Boolean(onError)){ _local1 = (_local1 + (", onError:" + String(onError))); }; if (onStartParams){ _local1 = (_local1 + (", onStartParams:" + String(onStartParams))); }; if (onUpdateParams){ _local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams))); }; if (onCompleteParams){ _local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams))); }; if (onOverwriteParams){ _local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams))); }; if (onStartScope){ _local1 = (_local1 + (", onStartScope:" + String(onStartScope))); }; if (onUpdateScope){ _local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope))); }; if (onCompleteScope){ _local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope))); }; if (onOverwriteScope){ _local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope))); }; if (onErrorScope){ _local1 = (_local1 + (", onErrorScope:" + String(onErrorScope))); }; if (rounded){ _local1 = (_local1 + (", rounded:" + String(rounded))); }; if (isPaused){ _local1 = (_local1 + (", isPaused:" + String(isPaused))); }; if (timePaused){ _local1 = (_local1 + (", timePaused:" + String(timePaused))); }; if (isCaller){ _local1 = (_local1 + (", isCaller:" + String(isCaller))); }; if (count){ _local1 = (_local1 + (", count:" + String(count))); }; if (timesCalled){ _local1 = (_local1 + (", timesCalled:" + String(timesCalled))); }; if (waitFrames){ _local1 = (_local1 + (", waitFrames:" + String(waitFrames))); }; if (hasStarted){ _local1 = (_local1 + (", hasStarted:" + String(hasStarted))); }; _local1 = (_local1 + "]\n"); return (_local1); } public static function makePropertiesChain(_arg1:Object):Object{ var _local2:Object; var _local3:Object; var _local4:Object; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Number; _local2 = _arg1.base; if (_local2){ _local3 = {}; if ((_local2 is Array)){ _local4 = []; _local8 = 0; while (_local8 < _local2.length) { _local4.push(_local2[_local8]); _local8++; }; } else { _local4 = [_local2]; }; _local4.push(_arg1); _local6 = _local4.length; _local7 = 0; while (_local7 < _local6) { if (_local4[_local7]["base"]){ _local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]); } else { _local5 = _local4[_local7]; }; _local3 = AuxFunctions.concatObjects(_local3, _local5); _local7++; }; if (_local3["base"]){ delete _local3["base"]; }; return (_local3); //unresolved jump }; return (_arg1); } } }//package caurina.transitions
Section 26
//EventWrapper (com.tweegee.utils.EventWrapper) package com.tweegee.utils { import flash.events.*; public class EventWrapper extends EventDispatcher { private var _args:Object; private var _retFunction:Function; public function EventWrapper(_arg1:String, _arg2:EventDispatcher, _arg3:Function, _arg4:Object){ _args = _arg4; _arg2.addEventListener(_arg1, handleEventDispatched); _retFunction = _arg3; } private function handleEventDispatched(_arg1:Event){ _retFunction.call(this, _arg1, _args); } public function get args():Object{ return (_args); } } }//package com.tweegee.utils
Section 27
//GameSoundManager (com.tweegee.utils.GameSoundManager) package com.tweegee.utils { import flash.media.*; import flash.events.*; import flash.utils.*; import flash.errors.*; public class GameSoundManager { private static var currentlyPlaying:Array = []; private static var _muteAll:Boolean; private static var _muteFX:Boolean; private static var _backgroundLoopVolume:Number; private static var _backgroundLoop:SoundChannel; private static var _secondaryLoopSound:Sound; private static var _playlists:Array; private static var _secondaryLoop:SoundChannel; private static var _backgroundLoopSound:Sound; private static var _mute:Boolean; public function GameSoundManager():void{ throw (new IllegalOperationError("GameSoundManager is an abstract class and cannot be instantiated.")); } public static function isMutedAll():Boolean{ return (_muteAll); } public static function unmute():void{ _mute = false; if (_backgroundLoop != null){ _backgroundLoop.soundTransform = new SoundTransform(1); }; if (_secondaryLoop != null){ _secondaryLoop.soundTransform = new SoundTransform(1); }; } public static function stopLoop():void{ if (_backgroundLoop != null){ _backgroundLoop.removeEventListener(Event.SOUND_COMPLETE, handleLoopSoundComplete); _backgroundLoop.stop(); }; } public static function playSoundDelay(_arg1:Sound, _arg2:Number=1, _arg3:Number=0):void{ var sound = _arg1; var volume = _arg2; var delay = _arg3; try { if (!_muteAll){ setTimeout(playSound, delay, sound, volume); }; } catch(err:Error) { }; } public static function unmuteFX():void{ _muteFX = false; } private static function handleSoundPlayOnceComplete(_arg1:Event):void{ var _local2:String; for (_local2 in currentlyPlaying) { if (currentlyPlaying[_local2] == _arg1.target){ currentlyPlaying[_local2] = null; break; }; }; } public static function muteAll():void{ _muteAll = true; if (_backgroundLoop != null){ _backgroundLoop.soundTransform = new SoundTransform(0); }; if (_secondaryLoop != null){ _secondaryLoop.soundTransform = new SoundTransform(0); }; } private static function handleSecondaryLoopSoundComplete(_arg1:Event):void{ if (_secondaryLoopSound != null){ _secondaryLoopSound.play(); }; } public static function mute():void{ _mute = true; if (_backgroundLoop != null){ _backgroundLoop.soundTransform = new SoundTransform(0); }; if (_secondaryLoop != null){ _secondaryLoop.soundTransform = new SoundTransform(0); }; } private static function handleLoopSoundComplete(_arg1:Event):void{ if (_backgroundLoopSound != null){ _backgroundLoopSound.play(); }; } public static function unmuteAll():void{ _muteAll = false; _mute = false; if (_backgroundLoop != null){ _backgroundLoop.soundTransform = new SoundTransform(1); }; if (_secondaryLoop != null){ _secondaryLoop.soundTransform = new SoundTransform(1); }; } public static function playSounds(... _args):void{ var sound:Sound; var volume:Number; var soundChannel:SoundChannel; var args = _args; try { if (((!(_muteAll)) && (!(_muteFX)))){ if ((args[0] is Sound)){ volume = 1; sound = args[0]; } else { volume = args[0].volume; sound = args[0].sound; }; if (_playlists == null){ _playlists = new Array(); }; _playlists[_playlists.length] = {length:args.length, currentIndex:0, sounds:args}; soundChannel = Sound(sound).play(0, 0, new SoundTransform(volume)); if (soundChannel != null){ new EventWrapper(Event.SOUND_COMPLETE, soundChannel, handleSoundComplete, _playlists[(_playlists.length - 1)]); }; }; } catch(err:Error) { }; } public static function setLoopVolume(_arg1:Number):void{ if (((((!(_mute)) && (!(_muteAll)))) && (!((_backgroundLoop == null))))){ _backgroundLoop.soundTransform = new SoundTransform(_arg1); }; } public static function playSoundOnce(_arg1:Sound, _arg2:Number=1):void{ var soundChannel:SoundChannel; var sound = _arg1; var volume = _arg2; try { if (((((!(_muteAll)) && (!(_muteFX)))) && ((currentlyPlaying[typeof(sound)] == null)))){ soundChannel = sound.play(0, 0, new SoundTransform(volume)); if (soundChannel != null){ currentlyPlaying[typeof(sound)] = soundChannel; soundChannel.addEventListener(Event.SOUND_COMPLETE, handleSoundPlayOnceComplete); }; }; } catch(err:Error) { }; } public static function playSecondaryLoop(_arg1:Sound, _arg2:Number=0.7, _arg3:Boolean=true):void{ var sound = _arg1; var volume = _arg2; var stopPrimary = _arg3; try { if (((!(_mute)) && (!(_muteAll)))){ if (sound != null){ _secondaryLoopSound = sound; if (((!((_backgroundLoop == null))) && (stopPrimary))){ stopLoop(); }; _secondaryLoop = _secondaryLoopSound.play(0, 0xFFFFFF, new SoundTransform(volume)); _secondaryLoop.addEventListener(Event.SOUND_COMPLETE, handleSecondaryLoopSoundComplete); }; }; } catch(err:Error) { }; } public static function stopSecondaryLoop(_arg1:Boolean=true):void{ var returnToMainLoop = _arg1; try { if (_secondaryLoop != null){ if (returnToMainLoop){ playLoop(null, _backgroundLoopVolume); } else { _secondaryLoop.removeEventListener(Event.SOUND_COMPLETE, handleSecondaryLoopSoundComplete); _secondaryLoop.stop(); }; }; } catch(err:Error) { }; } private static function handleSoundComplete(_arg1:Event, _arg2:Object):void{ var _local3:Sound; var _local4:Number; var _local5:Object; var _local6:SoundChannel; _arg1.target.removeEventListener(Event.SOUND_COMPLETE, handleSoundComplete); if (((((!(_muteAll)) && (!(_muteFX)))) && (((_arg2.currentIndex + 1) < _arg2.length)))){ _arg2.currentIndex++; _local5 = _arg2.sounds[_arg2.currentIndex]; if ((_local5 is Sound)){ _local4 = 1; _local3 = Sound(_local5); } else { _local4 = _local5.volume; _local3 = Sound(_local5.sound); }; _local6 = Sound(_local3).play(); if (_local6 != null){ new EventWrapper(Event.SOUND_COMPLETE, _local6, handleSoundComplete, _arg2); }; }; } public static function isMute():Boolean{ return (((_mute) || (_muteAll))); } public static function muteFX():void{ _muteFX = true; } public static function playLoop(_arg1:Sound=null, _arg2:Number=0.7):void{ var sound = _arg1; var volume = _arg2; try { if (((!(_mute)) && (!(_muteAll)))){ _backgroundLoopVolume = volume; if (sound != null){ _backgroundLoopSound = sound; }; if (_backgroundLoopSound != null){ if (_backgroundLoop != null){ stopLoop(); }; _backgroundLoop = _backgroundLoopSound.play(0, 0xFFFFFF, new SoundTransform(_backgroundLoopVolume)); _backgroundLoop.addEventListener(Event.SOUND_COMPLETE, handleLoopSoundComplete); }; }; } catch(err:Error) { }; } public static function playSound(_arg1:Sound, _arg2:Number=1):void{ var sound = _arg1; var volume = _arg2; try { if (((!(_muteAll)) && (!(_muteFX)))){ sound.play(0, 0, new SoundTransform(volume)); }; } catch(err:Error) { }; } } }//package com.tweegee.utils
Section 28
//bell (bell) package { import flash.media.*; public dynamic class bell extends Sound { } }//package
Section 29
//botGlaze (botGlaze) package { import flash.display.*; public dynamic class botGlaze extends MovieClip { } }//package
Section 30
//breakPlate (breakPlate) package { import flash.media.*; public dynamic class breakPlate extends Sound { } }//package
Section 31
//btnSound (btnSound) package { import flash.media.*; public dynamic class btnSound extends Sound { } }//package
Section 32
//cakeGlaze (cakeGlaze) package { import flash.display.*; public dynamic class cakeGlaze extends MovieClip { } }//package
Section 33
//congSound1 (congSound1) package { import flash.media.*; public dynamic class congSound1 extends Sound { } }//package
Section 34
//congSound2 (congSound2) package { import flash.media.*; public dynamic class congSound2 extends Sound { } }//package
Section 35
//congSound3 (congSound3) package { import flash.media.*; public dynamic class congSound3 extends Sound { } }//package
Section 36
//congSound4 (congSound4) package { import flash.media.*; public dynamic class congSound4 extends Sound { } }//package
Section 37
//drinkSound (drinkSound) package { import flash.media.*; public dynamic class drinkSound extends Sound { } }//package
Section 38
//fillStock (fillStock) package { import flash.media.*; public dynamic class fillStock extends Sound { } }//package
Section 39
//frigOpen (frigOpen) package { import flash.media.*; public dynamic class frigOpen extends Sound { } }//package
Section 40
//gameLoop (gameLoop) package { import flash.media.*; public dynamic class gameLoop extends Sound { } }//package
Section 41
//GameOverScreen (GameOverScreen) package { import flash.events.*; import flash.display.*; import caurina.transitions.properties.*; import com.tweegee.utils.*; import flash.text.*; import flash.utils.*; public class GameOverScreen extends MovieClip { public var playAgain_btn:MovieClip; private var _saveScore_btn:MovieClip; private var _isLogin:String; private var _gameResult:String; public var totalScore_txt:TextField; private var _glassThemeSize:Array; private var _themeArray:Array; private var _drinkArray:Array; private var _scrollTimer; private var _cakeDisplay:Sprite; private var _completeCakesMat:Array; public static const SAVE_SCORE:String = "save score"; public static const RESTART_GAME:String = "restart game"; public function GameOverScreen(_arg1:String, _arg2:Array, _arg3:Array, _arg4:Array, _arg5:String){ _glassThemeSize = [[30, 50], [30, 50], [30, 50]]; _cakeDisplay = new Sprite(); _scrollTimer = new Timer(10); super(); DisplayShortcuts.init(); _isLogin = _arg1; _completeCakesMat = _arg2; _drinkArray = _arg3; _themeArray = _arg4; _gameResult = _arg5; this.handleButtons(); } private function makeScrollable():void{ var scrollBtns:*; var bounds_obj:Object; var scrollWindow:Sprite; var moveRight:Function; var moveLeft:Function; var timerScrollRight:Function; var timerScrollLeft:Function; var stopMoveRight:Function; var stopMoveLeft:Function; moveRight = function (_arg1:MouseEvent):void{ _scrollTimer.addEventListener("timer", timerScrollRight); _scrollTimer.start(); }; moveLeft = function (_arg1:MouseEvent):void{ _scrollTimer.addEventListener("timer", timerScrollLeft); _scrollTimer.start(); }; timerScrollRight = function (_arg1:TimerEvent):void{ bounds_obj = _cakeDisplay.getBounds(_cakeDisplay.parent); if (bounds_obj.right > 335){ _cakeDisplay.x = (_cakeDisplay.x - 10); }; }; timerScrollLeft = function (_arg1:TimerEvent):void{ bounds_obj = _cakeDisplay.getBounds(_cakeDisplay.parent); if (bounds_obj.left < -423){ _cakeDisplay.x = (_cakeDisplay.x + 10); } else { _cakeDisplay.x = -340; }; }; stopMoveRight = function (_arg1:MouseEvent):void{ _scrollTimer.stop(); _scrollTimer.removeEventListener("timer", timerScrollRight); }; stopMoveLeft = function (_arg1:MouseEvent):void{ _scrollTimer.stop(); _scrollTimer.removeEventListener("timer", timerScrollLeft); }; scrollBtns = new scroll(); addChild(scrollBtns); scrollBtns.x = -40; scrollBtns.y = 130; scrollWindow = new scrollWin(); scrollWindow.x = -47; scrollWindow.y = 65; scrollWindow.alpha = 0; addChild(scrollWindow); _cakeDisplay.mask = scrollWindow; scrollBtns["scrollRight"].buttonMode = true; scrollBtns["scrollLeft"].buttonMode = true; scrollBtns["scrollRight"].addEventListener(MouseEvent.ROLL_OVER, moveRight); scrollBtns["scrollRight"].addEventListener(MouseEvent.ROLL_OUT, stopMoveRight); scrollBtns["scrollLeft"].addEventListener(MouseEvent.ROLL_OVER, moveLeft); scrollBtns["scrollLeft"].addEventListener(MouseEvent.ROLL_OUT, stopMoveLeft); } private function handleButtons():void{ this["playAgain_btn"].addEventListener(MouseEvent.CLICK, dispatchRestartGame); this["playAgain_btn"].buttonMode = true; if ((((_isLogin == "login")) && ((Main._totalScore > 0)))){ _saveScore_btn = new saveScore(); _saveScore_btn.addEventListener(MouseEvent.CLICK, dispatchSaveScore); _saveScore_btn.buttonMode = true; _saveScore_btn.x = 90; _saveScore_btn.y = 135; addChild(_saveScore_btn); }; this["totalScore_txt"].text = String(Main._totalScore); this.showChef(); } private function showChef():void{ var _local1:MovieClip; var _local2:String; var _local3:Class; _local1 = new MovieClip(); _local2 = (_gameResult + "Sound"); _local3 = (getDefinitionByName(_local2) as Class); if (_gameResult == "lose"){ _local1 = new loseChef(); } else { _local1 = new winChef(); }; addChildAt(_local1, 3); _local1.x = -240; _local1.y = -100; GameSoundManager.playSound(new (_local3), 2); _local1.gotoAndPlay(2); this.buildDisplay(); } private function buildDisplay():void{ var _local1:Sprite; var _local2:Sprite; var _local3:MovieClip; var _local4:String; var _local5:Class; var _local6:Sprite; var _local7:uint; var _local8:Number; var _local9:Number; var _local10:uint; var _local11:uint; var _local12:uint; var _local13:cakeGlaze; var _local14:uint; var _local15:*; _local7 = 105; _local8 = 0; _local9 = 0; _local11 = 0; while (_local11 < _completeCakesMat.length) { _local10 = 0; _local1 = new Sprite(); _local2 = new plate(); _local2.width = 130; _local2.height = 30; _local1.addChild(_local2); _local2.x = (_local2.x + 17); _local8 = (_local1.getChildAt((_local1.numChildren - 1)).y - 18); _local12 = 0; while (_local12 < _completeCakesMat[_local11].length) { _local4 = ("layer" + String(_completeCakesMat[_local11][_local12])); _local5 = (getDefinitionByName(_local4) as Class); _local6 = new (_local5); _local6.height = 30; _local6.width = 88; if (_local12 == (_completeCakesMat[_local11].length - 1)){ _local6.width = 90; }; _local1.addChild(_local6); if (_local1.numChildren > 2){ _local8 = (_local1.getChildAt((_local1.numChildren - 2)).y - (_local1.getChildAt((_local1.numChildren - 2))["layerExtraHeight"].height + _local1.getChildAt((_local1.numChildren - 2))["layerHeight"].height)); _local8 = (_local8 + _local1.getChildAt((_local1.numChildren - 1))["layerExtraHeight"].height); }; _local1.getChildAt((_local1.numChildren - 1)).y = _local8; _local10++; _local12++; }; if (_drinkArray[_local11] != null){ _local3 = new glass(); _local3.width = _glassThemeSize[(_themeArray[_local11] - 1)][0]; _local3.height = _glassThemeSize[(_themeArray[_local11] - 1)][1]; _local3[("fill" + _themeArray[_local11])].gotoAndStop(_drinkArray[_local11]); _local1.addChild(_local3); _local1.getChildAt((_local1.numChildren - 1)).x = (_local1.getChildAt((_local1.numChildren - 1)).x + 85); _local1.getChildAt((_local1.numChildren - 1)).y = (_local1.getChildAt((_local1.numChildren - 1)).y - 13); }; if (_themeArray[_local11] != 1){ _local14 = 1; while (_local14 < _local1.numChildren) { MovieClip(_local1.getChildAt(_local14)).gotoAndStop(_themeArray[_local11]); _local14++; }; if (_themeArray[_local11] == 2){ _local15 = new botGlaze(); _local15.x = _local1.getChildAt(1).x; _local15.y = (_local1.getChildAt(1).y - 5); _local15.width = (_local1.getChildAt(1).width - 0.1); _local15.alpha = 0.6; _local1.addChild(_local15); }; }; _local13 = new cakeGlaze(); _local13.width = _local1.getChildAt(2).width; _local13.height = (_local10 * 16); _local13.y = (_local13.y - 18); _local13.x = (_local13.x - 1.5); _local1.addChild(_local13); _cakeDisplay.addChild(_local1); _cakeDisplay.getChildAt((_cakeDisplay.numChildren - 1)).x = _local9; _local9 = ((_cakeDisplay.getChildAt((_cakeDisplay.numChildren - 1)).x + (_cakeDisplay.getChildAt((_cakeDisplay.numChildren - 1)).width / 2)) + _local7); _local11++; }; _cakeDisplay.x = -340; _cakeDisplay.y = 65; addChild(_cakeDisplay); if (_cakeDisplay.width > 760){ this.makeScrollable(); }; } private function dispatchSaveScore(_arg1:MouseEvent):void{ this.dissableBtns(); GameSoundManager.playSound(new btnSound(), 1); dispatchEvent(new Event(GameOverScreen.SAVE_SCORE)); } private function dissableBtns(){ this["playAgain_btn"].removeEventListener(MouseEvent.CLICK, dispatchRestartGame); this["playAgain_btn"].buttonMode = false; if (_saveScore_btn != null){ _saveScore_btn.removeEventListener(MouseEvent.CLICK, dispatchSaveScore); _saveScore_btn.buttonMode = false; }; } private function dispatchRestartGame(_arg1:MouseEvent):void{ this.dissableBtns(); GameSoundManager.playSound(new btnSound(), 1); dispatchEvent(new Event(GameOverScreen.RESTART_GAME)); } } }//package
Section 42
//GameScreen (GameScreen) package { import flash.events.*; import caurina.transitions.*; import flash.display.*; import caurina.transitions.properties.*; import com.tweegee.utils.*; import flash.text.*; import flash.utils.*; public class GameScreen extends MovieClip { public var layer_txt4:TextField; private var _points:Number; private var _rightTxt; private var _plate:Sprite; public var chefRight:MovieClip; private var _maxTheme:uint;// = 3 private var _minTheme:uint;// = 2 private var _timer:Timer; private var _gameScore:int; private var _displayCake:Sprite; public var _gameResult:String; private var _drinkArray:Array; private var _quitBtn; private var _drinkFilled:Boolean; private var _layerCurrStockNum:Array; private var _glass:MovieClip; private var _matchTime:Number; private var _currLayer:uint; private var _cakeMat:Array; private var _wrongTxt; public var frig:MovieClip; private var _themeRandomLayerNums:Array; public var layerIns2:layer2; public var layerIns3:layer3; public var layerIns4:layer4; public var layerIns5:layer5; public var layerIns6:layer6; public var layerIns7:layer7; public var layerIns1:layer1; private var _strikeNum:uint;// = 0 public var layerIns8:glass; private var _cake:Sprite; private var _previousTheme;// = 1 private var _isLogin:String; public var _completeCakesThemes:Array; private var _isAfterThemeLevel:Boolean; private var _layerStockNum:Array; private var _currMatch:Number; public var score_txt:TextField; public var timer:MovieClip; private var _lastTheme:uint; public var btn1:SimpleButton; public var btn2:SimpleButton; public var btn3:SimpleButton; public var btn4:SimpleButton; public var btn6:SimpleButton; public var btn7:SimpleButton; public var btn8:SimpleButton; public var btn5:SimpleButton; public var displayPlate:MovieClip; private var _glassThemeSize:Array; private var _layersNum:uint;// = 2 public var _completeCakes:Array; public var chefWrong:MovieClip; public var _completeDrinks:Array; private var _congTextArray:Array; private var _ranGlassFill:Number; private var _isWithDrink:Boolean; private var _cakeFilled:Boolean; private var _themeArray:Array; private var _currentTheme:uint;// = 1 private var _displayGlass:MovieClip; private var _isThemeLevel:Boolean; public var layer_txt3:TextField; public var layer_txt5:TextField; public var layer_txt6:TextField; public var layer_txt7:TextField; public var layer_txt2:TextField; public var layer_txt8:TextField; public var layer_txt1:TextField; public static const SAVE_SCORE:String = "save score"; public static const END_GAME:String = "end game"; public function GameScreen(_arg1):void{ _displayCake = new Sprite(); _quitBtn = new quitAndSave(); _rightTxt = new rightTxt(); _wrongTxt = new wrongTxt(); _cakeMat = new Array(); _themeArray = new Array(); _drinkArray = new Array(); _layersNum = 2; _strikeNum = 0; _maxTheme = 3; _minTheme = 2; _currentTheme = 1; _previousTheme = 1; _lastTheme = _maxTheme; _layerStockNum = [5, 5, 5, 5, 5, 5, 5, 15]; _layerCurrStockNum = [5, 5, 5, 5, 5, 5, 5, 15]; _glassThemeSize = [[42, 60, 50, 70], [42, 100, 55, 125], [25, 80, 30, 90]]; _themeRandomLayerNums = [[6, 1], [4, 3], [6, 1]]; _congTextArray = ["Nice!", "Excellent!", "Good Work!", "Well Done!"]; super(); DisplayShortcuts.init(); ColorShortcuts.init(); FilterShortcuts.init(); _currMatch = 1; _timer = new Timer(100); _rightTxt.x = 280; _rightTxt.y = 50; _wrongTxt.x = 60; _wrongTxt.y = 70; TextField(_wrongTxt["lose_txt"]).autoSize = TextFieldAutoSize.CENTER; addChild(_rightTxt); addChild(_wrongTxt); _isLogin = _arg1; this["layerIns8"][("fill" + _currentTheme)].gotoAndStop(6); this["frig"]["insideFrig"]["layerStockIns8"][("fill" + _currentTheme)].gotoAndStop(6); this["frig"]["insideFrig"]["layerStockIns8"][("fill" + _currentTheme)].gotoAndStop(6); this.prepareStockBtns(); } private function handleResetMatch(_arg1:String):void{ Tweener.removeTweens(_plate); Tweener.removeTweens(this["timer"]); GameSoundManager.stopSecondaryLoop(false); Tweener.addTween(this["timer"]["timerHand"], {rotation:0}); _matchTime = _timer.currentCount; _timer.reset(); _isThemeLevel = false; _previousTheme = _currentTheme; _currentTheme = 1; if (_arg1 == "win"){ this.removeCompletedCake(); } else { this.handleLoseMatch(); }; } private function fillLayerStock(_arg1:MouseEvent):void{ var _local2:uint; var _local3:Boolean; var _local4:uint; _local2 = Number(_arg1.currentTarget.name.charAt(3)); if (_layerCurrStockNum[(_local2 - 1)] < _layerStockNum[(_local2 - 1)]){ var _local5 = _layerCurrStockNum; var _local6 = (_local2 - 1); var _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; this[("layer_txt" + _local2)].text = String(_layerCurrStockNum[(_local2 - 1)]); GameSoundManager.playSound(new fillStock(), 0.6); if (_layerCurrStockNum[(_local2 - 1)] == 1){ this[("btn" + _local2)].removeEventListener(MouseEvent.CLICK, playNoStockSound); if (_local2 < 8){ this[("btn" + _local2)].addEventListener(MouseEvent.CLICK, attachCakeLayer); } else { this[("btn" + _local2)].addEventListener(MouseEvent.CLICK, addDrinkLayer); }; this[("layer_txt" + _local2)].textColor = 16777113; Tweener.addTween(this[("layerIns" + _local2)], {_tintBrightness:0}); _local3 = true; _local4 = 0; while (_local4 < _layerCurrStockNum.length) { if (_layerCurrStockNum[_local4] == 0){ _local3 = false; }; _local4++; }; if (_local3){ MovieClip(this["frig"]["frigGlow"].gotoAndStop(1)); }; }; } else { GameSoundManager.playSound(new stockFull(), 1); }; } private function handleEndGame(_arg1:String):void{ _cakeMat.pop(); if (_isWithDrink){ _drinkArray.pop(); }; _completeCakes = _cakeMat; _completeDrinks = _drinkArray; _completeCakesThemes = _themeArray; _gameResult = _arg1; _timer.stop(); _timer = null; Main._totalScore = _gameScore; dispatchEvent(new Event(GameScreen.END_GAME)); } private function hideFillings(_arg1:MouseEvent):void{ GameSoundManager.playSound(new frigOpen(), 2); Tweener.addTween(this["frig"]["insideFrig"], {x:200, y:-5, width:280, height:50, time:0.3, transition:"easeInBack"}); } private function showLoseMatchGraphic():void{ var _local1:Number; var _local2:String; var _local3:Class; var _local4:Number; var _local5:Number; Tweener.removeTweens(this["chefWrong"]); Tweener.addTween(this["chefWrong"], {_frame:1, x:58, y:410}); Tweener.addTween(this["chefWrong"], {x:58, y:-10, time:0.3, transition:"linear"}); this["chefWrong"].gotoAndPlay(2); this["chefWrong"]["head"].gotoAndPlay(1); Tweener.addTween(this["chefWrong"], {x:58, y:410, time:0.3, delay:1.8, transition:"linear"}); _local1 = Math.floor(((Math.random() * 3) + 1)); _local2 = String(("wrongSound" + _local1)); _local3 = (getDefinitionByName(_local2) as Class); GameSoundManager.playSound(new (_local3), 1.5); Tweener.removeTweens(_wrongTxt); _wrongTxt.lose_txt.text = "Too Bad..."; _local4 = _wrongTxt.width; _local5 = _wrongTxt.height; _wrongTxt.alpha = 0; _wrongTxt.width = 0; _wrongTxt.height = 0; Tweener.addTween(_wrongTxt, {_Blur_blurY:0, _Blur_blurX:0}); Tweener.addTween(_wrongTxt, {width:_local4, height:_local5, alpha:1, time:0.2, transition:"linear"}); Tweener.addTween(_wrongTxt, {width:(_local4 + 50), height:_local5, alpha:1, time:0.2, delay:0.2, transition:"linear"}); Tweener.addTween(_wrongTxt, {width:_local4, height:_local5, time:0.2, delay:0.4, transition:"easeInOutBounce"}); Tweener.addTween(_wrongTxt, {alpha:0, _Blur_blurY:13, _Blur_blurX:5, time:0.2, delay:1.3, transition:"linear"}); } private function handleLoseMatch():void{ this.removeObjects(); _strikeNum++; if (_strikeNum < 3){ this.setMatch(); } else { removeChild(this["displayPlate"]); Tweener.addTween(this, {delay:2, onComplete:handleEndGame, onCompleteParams:["lose"]}); }; } private function setMatch():void{ _points = 0; _ranGlassFill = 0; _displayCake = new Sprite(); _displayCake.x = -183; _displayCake.y = 25; _cake = new Sprite(); _currLayer = 0; _themeArray[(_currMatch - 1)] = _currentTheme; _isWithDrink = false; _drinkFilled = true; _cakeFilled = false; if (((((!((_quitBtn.parent == this))) && ((_gameScore > 0)))) && ((_isLogin == "login")))){ _quitBtn.x = 250; _quitBtn.y = -180; _quitBtn.addEventListener(MouseEvent.CLICK, handleSaveAndQuit); _quitBtn.buttonMode = true; addChild(_quitBtn); }; this["score_txt"].text = String(Math.floor(_gameScore)); if ((((Math.random() < 0.5)) || (_isThemeLevel))){ _isWithDrink = true; _drinkFilled = false; this.buildDisplayGlass(); }; this.buildDisplayCake(); } private function prepareStockBtns():void{ var _local1:uint; _local1 = 1; while (_local1 < 9) { this[("layer_txt" + _local1)].text = String(_layerCurrStockNum[(_local1 - 1)]); this["frig"]["insideFrig"][("fil" + _local1)].addEventListener(MouseEvent.CLICK, fillLayerStock); this[("layerIns" + _local1)].mouseEnabled = false; this[("layerIns" + _local1)].mouseChildren = false; this["frig"]["insideFrig"][("layerStockIns" + _local1)].mouseEnabled = false; this["frig"]["insideFrig"][("layerStockIns" + _local1)].mouseChildren = false; _local1++; }; this["frig"].addEventListener(MouseEvent.ROLL_OVER, revealFillings); this["frig"].addEventListener(MouseEvent.ROLL_OUT, hideFillings); this.setMatch(); } private function showWinMatchGraphic():void{ var _local1:Number; var _local2:Number; var _local3:String; var _local4:Class; Tweener.removeTweens(this["chefRight"]); Tweener.addTween(this["chefRight"], {_frame:1, x:575, y:176}); Tweener.addTween(this["chefRight"], {x:426, y:9, time:0.3, transition:"linear"}); this["chefRight"].gotoAndPlay(2); this["chefRight"]["head"].gotoAndPlay(1); Tweener.addTween(this["chefRight"], {x:575, y:176, time:0.3, delay:1.2, transition:"linear"}); Tweener.removeTweens(_rightTxt); _local1 = Math.floor((Math.random() * 4)); _rightTxt.cong_txt.text = _congTextArray[_local1]; _local2 = (_matchTime / 10); _rightTxt.time_txt.text = String(_local2); if (Math.floor(_local2) == _local2){ _rightTxt.time_txt.text = String((_local2 + ".0")); }; _rightTxt.score_txt.text = String(("+ " + _points)); _rightTxt.alpha = 0; _rightTxt.width = 0; _rightTxt.height = 0; _local3 = ("congSound" + String((_local1 + 1))); _local4 = (getDefinitionByName(_local3) as Class); GameSoundManager.playSound(new (_local4), 1.5); Tweener.addTween(_rightTxt, {_Blur_blurY:0, _Blur_blurX:0}); Tweener.addTween(_rightTxt, {width:220, height:80, alpha:1, time:0.5, transition:"easeInOutBack"}); Tweener.addTween(_rightTxt, {alpha:0, _Blur_blurY:13, _Blur_blurX:5, time:0.3, delay:1.5, transition:"easeOutSine"}); } private function callResetMatch():void{ this.handleResetMatch("lose"); } private function buildDisplayCake():void{ var ranLayer:Number; var layerName:String; var layerRef:Class; var currLayer:Sprite; var layerSpace:Number; var currYpos:Number; var maskCake:*; var i:uint; var attachLayer:Function; var glaze:cakeGlaze; var bottomGlaze:*; attachLayer = function (_arg1:uint, _arg2:uint, _arg3:uint){ layerName = ("layer" + String(_arg1)); layerRef = (getDefinitionByName(layerName) as Class); currLayer = new layerRef(); currLayer.width = _arg2; currLayer.height = _arg3; _displayCake.addChild(currLayer); if (_displayCake.numChildren > 1){ currYpos = (_displayCake.getChildAt((_displayCake.numChildren - 2)).y - (_displayCake.getChildAt((_displayCake.numChildren - 2))["layerExtraHeight"].height + _displayCake.getChildAt((_displayCake.numChildren - 2))["layerHeight"].height)); currYpos = (currYpos + _displayCake.getChildAt((_displayCake.numChildren - 1))["layerExtraHeight"].height); _displayCake.getChildAt((_displayCake.numChildren - 1)).y = currYpos; }; _cakeMat[(_currMatch - 1)].push(_arg1); }; layerSpace = 16; maskCake = new Sprite(); _cakeMat[(_currMatch - 1)] = new Array(); ranLayer = (Math.floor((Math.random() * 2)) + 1); attachLayer(ranLayer, 85, 30); i = 0; while (i < _layersNum) { ranLayer = (Math.floor((Math.random() * _themeRandomLayerNums[(_currentTheme - 1)][0])) + _themeRandomLayerNums[(_currentTheme - 1)][1]); attachLayer(ranLayer, 85, 30); i = (i + 1); }; attachLayer(7, 87, 34); if (_isThemeLevel){ _isAfterThemeLevel = true; this.changeLayerTheme(_currentTheme); } else { if (_isAfterThemeLevel){ _isAfterThemeLevel = false; this.changeLayerTheme(1); }; }; glaze = new cakeGlaze(); glaze.width = _displayCake.getChildAt(1).width; glaze.height = ((_displayCake.height - _displayCake.getChildAt((_displayCake.numChildren - 1)).height) + _displayCake.getChildAt((_displayCake.numChildren - 1))["layerHeight"].height); glaze.y = (glaze.y - 1); glaze.x = (glaze.x - 1.5); _displayCake.addChild(glaze); if (_currentTheme == 2){ bottomGlaze = new botGlaze(); bottomGlaze.x = _displayCake.getChildAt(0).x; bottomGlaze.y = (_displayCake.getChildAt(0).y - 5); bottomGlaze.width = _displayCake.getChildAt(0).width; bottomGlaze.alpha = 0.7; _displayCake.addChild(bottomGlaze); }; _displayCake.alpha = 0; addChildAt(_displayCake, 43); GameSoundManager.playSound(new bell(), 0.7); _displayCake.blendMode = BlendMode.LAYER; Tweener.addTween(_displayCake, {time:1, alpha:1}); this.startPlateMove(); } private function changeLayerTheme(_arg1:uint):void{ var _local2:uint; var _local3:uint; _local2 = 1; while (_local2 < 9) { this[("layerIns" + _local2)].gotoAndStop(_arg1); this["frig"]["insideFrig"][("layerStockIns" + _local2)].gotoAndStop(_arg1); _local2++; }; _local3 = 0; while (_local3 < _displayCake.numChildren) { MovieClip(_displayCake.getChildAt(_local3)).gotoAndStop(_arg1); _local3++; }; this["layerIns8"][("fill" + _currentTheme)].gotoAndStop(6); this["frig"]["insideFrig"]["layerStockIns8"][("fill" + _currentTheme)].gotoAndStop(6); this["layerIns8"][("fill" + _previousTheme)].gotoAndStop(1); this["frig"]["insideFrig"]["layerStockIns8"][("fill" + _previousTheme)].gotoAndStop(1); } private function makeBtnsPressable():void{ var _local1:uint; _displayCake.blendMode = BlendMode.NORMAL; _local1 = 1; while (_local1 < 8) { if (_layerCurrStockNum[(_local1 - 1)] > 0){ this[("btn" + _local1)].addEventListener(MouseEvent.CLICK, attachCakeLayer); }; _local1++; }; if (_layerCurrStockNum[7] > 0){ this["btn8"].addEventListener(MouseEvent.CLICK, addDrinkLayer); }; } private function addDrinkLayer(_arg1:MouseEvent):void{ if (_layerCurrStockNum[7] > 0){ var _local2 = _layerCurrStockNum; var _local3 = 7; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; this["layer_txt8"].text = String(_layerCurrStockNum[7]); if (_layerCurrStockNum[7] == 0){ this["btn8"].removeEventListener(MouseEvent.CLICK, addDrinkLayer); this["layer_txt8"].textColor = 0xFF0000; Tweener.addTween(this["layerIns8"], {_tintBrightness:-0.5}); }; }; if (_glass[("fill" + _currentTheme)].currentFrame < 6){ _glass[("fill" + _currentTheme)].nextFrame(); GameSoundManager.playSound(new drinkSound(), 0.6); if (_glass[("fill" + _currentTheme)].currentFrame == _glass[("transFill" + _currentTheme)].currentFrame){ _drinkFilled = true; this.checkIfMatchOver(); }; } else { _glass[("fill" + _currentTheme)].nextFrame(); GameSoundManager.playSound(new spillDrink(), 2); this.showLoseMatchGraphic(); Tweener.addTween(this, {time:0.5, onComplete:handleResetMatch, onCompleteParams:["lose"]}); }; } private function removeCompletedCake():void{ var _local1:Number; var _local2:*; var _local3:*; GameSoundManager.playSound(new tzing(), 2); _points = Math.floor(((((_layersNum * 50) * 1.5) + (_ranGlassFill * 5)) / (_matchTime / 10))); _local1 = (((_layersNum * 50) * 1.5) + (_ranGlassFill * 5)); this.showWinMatchGraphic(); _local2 = new cakeGlaze(); _local2.width = _cake.getChildAt(1).width; _local2.height = ((_cake.height - _cake.getChildAt((_cake.numChildren - 1)).height) + _cake.getChildAt((_cake.numChildren - 1))["layerHeight"].height); _local2.y = (_local2.y - 2); _local2.x = (_local2.x - 1.5); _cake.addChild(_local2); if (_previousTheme == 2){ _local3 = new botGlaze(); _local3.x = _cake.getChildAt(0).x; _local3.y = (_cake.getChildAt(0).y - 5); _local3.width = (_cake.getChildAt(0).width - 2); _local3.alpha = 0.7; _cake.addChild(_local3); }; Tweener.addTween(_plate, {delay:0.5, time:0.3, width:(_plate.width + 20), height:(_plate.height - 20), transition:"easeOutExpo"}); Tweener.addTween(_plate, {delay:0.8, time:0.3, width:(_plate.width - 20), height:(_plate.height + 40), alpha:0, transition:"easeInExpo", onComplete:handleWinMatch}); } private function handleSaveAndQuit(_arg1:MouseEvent):void{ _quitBtn.removeEventListener(MouseEvent.CLICK, handleSaveAndQuit); _quitBtn.buttonMode = false; GameSoundManager.playSound(new btnSound(), 1); Main._totalScore = _gameScore; _timer.stop(); _timer = null; Tweener.removeAllTweens(); dispatchEvent(new Event(GameScreen.SAVE_SCORE)); } private function attachCakeLayer(_arg1:MouseEvent):void{ var _local2:Number; var _local3:uint; var _local4:String; var _local5:Class; var _local6:Sprite; _local2 = 0; _local3 = _arg1.currentTarget.name.charAt(3); if (_layerCurrStockNum[(_local3 - 1)] > 0){ var _local7 = _layerCurrStockNum; var _local8 = (_local3 - 1); var _local9 = (_local7[_local8] - 1); _local7[_local8] = _local9; this[("layer_txt" + _local3)].text = String(_layerCurrStockNum[(_local3 - 1)]); if (_layerCurrStockNum[(_local3 - 1)] == 0){ this[("btn" + _local3)].removeEventListener(MouseEvent.CLICK, attachCakeLayer); this[("btn" + _local3)].addEventListener(MouseEvent.CLICK, playNoStockSound); this[("layer_txt" + _local3)].textColor = 0xFF0000; Tweener.addTween(this[("layerIns" + _local3)], {_tintBrightness:-0.5}); MovieClip(this["frig"]["frigGlow"]).gotoAndPlay(2); }; }; _local4 = ("layer" + String(_local3)); _local5 = (getDefinitionByName(_local4) as Class); _local6 = new (_local5); _local6.height = 35; if (_isThemeLevel){ MovieClip(_local6).gotoAndStop(_currentTheme); }; _cake.addChild(_local6); _cake.width = 107; if (_cake.numChildren > 1){ _local2 = (_cake.getChildAt((_cake.numChildren - 2)).y - (_cake.getChildAt((_cake.numChildren - 2))["layerExtraHeight"].height + _cake.getChildAt((_cake.numChildren - 2))["layerHeight"].height)); _local2 = (_local2 + _cake.getChildAt((_cake.numChildren - 1))["layerExtraHeight"].height); }; _cake.getChildAt((_cake.numChildren - 1)).y = _local2; GameSoundManager.playSound(new splat(), 0.5); _currLayer++; if (_local3 == _cakeMat[(_currMatch - 1)][(_currLayer - 1)]){ if (_currLayer == _cakeMat[(_currMatch - 1)].length){ _cakeFilled = true; this.checkIfMatchOver(); }; } else { this.makeBtnsUnpressable(); this.showLoseMatchGraphic(); Tweener.addTween(_plate, {_Blur_blurY:13, _Blur_blurX:5, transition:"easeOutQuart", time:0.3, onComplete:callResetMatch}); }; } private function buildDisplayGlass():void{ _displayGlass = new glass(); _ranGlassFill = (Math.floor((Math.random() * 4)) + 2); if (_isThemeLevel){ MovieClip(_displayGlass).gotoAndStop(_currentTheme); }; _displayGlass[("fill" + _currentTheme)].gotoAndStop(_ranGlassFill); _displayGlass.alpha = 0; addChild(_displayGlass); _displayGlass.width = _glassThemeSize[(_currentTheme - 1)][0]; _displayGlass.height = _glassThemeSize[(_currentTheme - 1)][1]; _displayGlass.x = -267; _displayGlass.y = 25; Tweener.addTween(_displayGlass, {time:1, alpha:1}); _drinkArray[(_currMatch - 1)] = _ranGlassFill; } private function playNoStockSound(_arg1:MouseEvent):void{ GameSoundManager.playSound(new outOfStock()); } private function handleWinMatch():void{ this.removeObjects(); _gameScore = (_gameScore + _points); if ((_currMatch % 3) == 0){ _layersNum++; _isThemeLevel = true; if (_lastTheme < _maxTheme){ _lastTheme++; } else { _lastTheme = _minTheme; }; _currentTheme = _lastTheme; }; _currMatch++; if (_layersNum < 10){ this.setMatch(); } else { this.showWinMatchGraphic(); Tweener.addTween(this, {delay:2, onComplete:handleEndGame, onCompleteParams:["win"]}); }; } private function checkIfMatchOver():void{ if (((_drinkFilled) && (_cakeFilled))){ this.makeBtnsUnpressable(); this.handleResetMatch("win"); }; } private function revealFillings(_arg1:MouseEvent):void{ this.setChildIndex(this["frig"], (this.numChildren - 1)); GameSoundManager.playSound(new frigOpen(), 2); Tweener.addTween(this["frig"]["insideFrig"], {x:-310, y:6, width:678, height:172, time:0.4, transition:"easeOutBack"}); } private function startPlateMove():void{ var playTickSound:Function; playTickSound = function (){ GameSoundManager.playSecondaryLoop(new tick(), 8, false); }; _plate = new plate(); _plate.addChild(_cake); _cake.x = -23; _cake.y = -20; if (_isWithDrink){ _glass = new glass(); if (_isThemeLevel){ MovieClip(_glass).gotoAndStop(_currentTheme); }; _glass[("fill" + _currentTheme)].gotoAndStop(1); _glass[("transFill" + _currentTheme)].gotoAndStop(_ranGlassFill); _plate.addChild(_glass); _glass.width = _glassThemeSize[(_currentTheme - 1)][2]; _glass.height = _glassThemeSize[(_currentTheme - 1)][3]; _glass.x = -140; _glass.y = -15; }; addChildAt(_plate, 8); _timer.start(); Tweener.addTween(this["timer"], {delay:8, onComplete:playTickSound}); Tweener.addTween(this["timer"]["timerHand"], {rotation:360, time:11, transition:"linear"}); Tweener.addTween(this, {delay:0.2, onComplete:makeBtnsPressable}); Tweener.addTween(_plate, {x:(-250 - (_plate.width / 2)), y:135}); Tweener.addTween(_plate, {x:430, time:11, transition:"linear", onComplete:dropCake, onCompleteParams:[_plate]}); } private function dropCake(_arg1:Sprite):void{ this.makeBtnsUnpressable(); this.showLoseMatchGraphic(); GameSoundManager.stopSecondaryLoop(false); GameSoundManager.playSoundDelay(new breakPlate(), 1.5, 1600); Tweener.addTween(_arg1, {time:1, rotation:(_arg1.rotation + 45), transition:"easeInCirc"}); Tweener.addTween(_arg1, {x:490, y:230, delay:1, time:0.5, transition:"easeInQuint", onComplete:handleResetMatch, onCompleteParams:["lose"]}); } private function makeBtnsUnpressable(){ var _local1:uint; _local1 = 1; while (_local1 < 8) { this[("btn" + _local1)].removeEventListener(MouseEvent.CLICK, attachCakeLayer); _local1++; }; this["btn8"].removeEventListener(MouseEvent.CLICK, addDrinkLayer); } private function removeObjects():void{ var _local1:int; var _local2:DisplayObject; removeChild(_displayCake); removeChild(_plate); _local1 = _cake.numChildren; while (_local1--) { _local2 = DisplayObject(_cake.getChildAt(0)); _cake.removeChild(_local2); _local2 = null; }; _local1 = _displayCake.numChildren; while (_local1--) { _local2 = DisplayObject(_displayCake.getChildAt(0)); _displayCake.removeChild(_local2); _local2 = null; }; _local1 = _plate.numChildren; while (_local1--) { _local2 = DisplayObject(_plate.getChildAt(0)); _plate.removeChild(_local2); _local2 = null; }; if (_isWithDrink){ removeChild(_displayGlass); }; _cake = null; _displayCake = null; _plate = null; _displayGlass = null; } } }//package
Section 43
//glass (glass) package { import flash.display.*; public dynamic class glass extends MovieClip { public var fill1:MovieClip; public var fill3:MovieClip; public var fill2:MovieClip; public var transFill3:MovieClip; public var transFill2:MovieClip; public var transFill1:MovieClip; public function glass(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 44
//layer1 (layer1) package { import flash.display.*; public dynamic class layer1 extends MovieClip { public var layerHeight:MovieClip; public var layerExtraHeight:MovieClip; public function layer1(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 45
//layer2 (layer2) package { import flash.display.*; public dynamic class layer2 extends MovieClip { public var layerHeight:MovieClip; public var layerExtraHeight:MovieClip; public function layer2(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 46
//layer3 (layer3) package { import flash.display.*; public dynamic class layer3 extends MovieClip { public var layerHeight:MovieClip; public var layerExtraHeight:MovieClip; public function layer3(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 47
//layer4 (layer4) package { import flash.display.*; public dynamic class layer4 extends MovieClip { public var layerHeight:MovieClip; public var layerExtraHeight:MovieClip; public function layer4(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 48
//layer5 (layer5) package { import flash.display.*; public dynamic class layer5 extends MovieClip { public var layerHeight:MovieClip; public var layerExtraHeight:MovieClip; public function layer5(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 49
//layer6 (layer6) package { import flash.display.*; public dynamic class layer6 extends MovieClip { public var layerHeight:MovieClip; public var layerExtraHeight:MovieClip; public function layer6(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 50
//layer7 (layer7) package { import flash.display.*; public dynamic class layer7 extends MovieClip { public var layerHeight:MovieClip; public var layerExtraHeight:MovieClip; public function layer7(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 51
//loseChef (loseChef) package { import flash.display.*; public dynamic class loseChef extends MovieClip { public function loseChef(){ addFrameScript(0, frame1, 99, frame100); } function frame1(){ stop(); } function frame100(){ stop(); } } }//package
Section 52
//loseSound (loseSound) package { import flash.media.*; public dynamic class loseSound extends Sound { } }//package
Section 53
//Main (Main) package { import flash.events.*; import caurina.transitions.*; import flash.display.*; import caurina.transitions.properties.*; import com.tweegee.utils.*; import flash.net.*; public class Main extends MovieClip { private var _gameOverScreen:MovieClip; private var _isLogin:String; private var _loopMute:Boolean; private var _muteBtn:MovieClip; private var _gameResult:String; private var _saveScore:Function; private var logoMc:Sprite; private var _gameScreen:MovieClip; private var _themeArray:Array; private var _drinkArray:Array; private var _cakeMat:Array; private var _startScreen:MovieClip; public static var _totalScore:uint; public static var _stage:Stage; public function Main():void{ FilterShortcuts.init(); DisplayShortcuts.init(); initGame(stage, savescorefunc, "logout"); } private function HandleShowGame(){ removeChild(_startScreen); _startScreen = null; _gameScreen = new GameScreen(_isLogin); MovieClip(_gameScreen).name = "_gameScreen"; _gameScreen.addEventListener(GameScreen.END_GAME, handleEndGame); _gameScreen.addEventListener(GameScreen.SAVE_SCORE, handleSaveScore); _gameScreen.x = 320; _gameScreen.y = 210; addChildAt(_gameScreen, 0); } private function handleEndGame(_arg1:Event):void{ _cakeMat = _gameScreen._completeCakes; _drinkArray = _gameScreen._completeDrinks; _themeArray = _gameScreen._completeCakesThemes; _gameResult = _gameScreen._gameResult; _gameScreen.blendMode = BlendMode.LAYER; Tweener.addTween(_gameScreen, {alpha:0, _Blur_blurY:13, _Blur_blurX:5, time:0.3, onComplete:handleShowGameOver, transition:"easeInOutBounce"}); } public function initGame(_arg1:Stage, _arg2:Function, _arg3:String):void{ _stage = _arg1; _saveScore = _arg2; _isLogin = _arg3; GameSoundManager.playLoop(new gameLoop()); _muteBtn = new mute_btn(); _muteBtn.buttonMode = true; _muteBtn.mouseChildren = false; _muteBtn.addEventListener(MouseEvent.CLICK, handleMuteClick); addChild(_muteBtn); _muteBtn.x = 728; _muteBtn.y = 425; logoMc = new tweegeeLogo(); logoMc.x = ((_arg1.stageWidth - logoMc.width) - 60); logoMc.y = 0; logoMc.addEventListener(MouseEvent.CLICK, handleLogoClick); logoMc.buttonMode = true; addChild(logoMc); this.setGame(); } private function handleStartGame(_arg1:MouseEvent){ _startScreen.start_btn.removeEventListener(MouseEvent.CLICK, handleStartGame); _startScreen.start_btn.buttonMode = false; GameSoundManager.playSound(new btnSound(), 1); Tweener.addTween(_startScreen, {alpha:0, _Blur_blurY:13, _Blur_blurX:5, time:0.3, onComplete:HandleShowGame, transition:"easeInOutBounce"}); } private function handleShowGameOver():void{ _gameScreen.blendMode = BlendMode.NORMAL; removeChild(_gameScreen); _gameScreen = null; _gameOverScreen = new GameOverScreen(_isLogin, _cakeMat, _drinkArray, _themeArray, _gameResult); _gameOverScreen.x = 420; _gameOverScreen.y = 260; _gameOverScreen.addEventListener(GameOverScreen.SAVE_SCORE, handleSaveScore); _gameOverScreen.addEventListener(GameOverScreen.RESTART_GAME, handleRestartGame); addChildAt(_gameOverScreen, 0); } private function handleRestartGame(_arg1:Event){ this.restartGame(); } private function handleLogoClick(_arg1:MouseEvent):void{ var url:String; var request:URLRequest; var e = _arg1; url = "http://www.tweegee.com/ch/main/Affiliation.aspx?AffCamId=a4633bd1-1357-4135-b305-fcb80087518f"; request = new URLRequest(url); try { navigateToURL(request, "_blank"); } catch(e:Error) { }; } private function setGame():void{ _totalScore = 0; _startScreen = new startScreen(); addChildAt(_startScreen, 0); _startScreen.x = 350; _startScreen.y = 245; _startScreen.start_btn.addEventListener(MouseEvent.CLICK, handleStartGame); _startScreen.start_btn.buttonMode = true; } private function savescorefunc():void{ } private function handleMuteClick(_arg1:MouseEvent):void{ if (_loopMute){ GameSoundManager.playLoop(new gameLoop()); _muteBtn.gotoAndStop(1); _loopMute = false; } else { GameSoundManager.stopLoop(); _muteBtn.gotoAndStop(2); _loopMute = true; }; } public function restartGame():void{ var _local1:DisplayObject; _local1 = this.getChildAt(0); this.removeChild(_local1); _local1 = null; this.setGame(); } private function handleSaveScore(_arg1:Event):void{ _saveScore.call(this, _totalScore); } } }//package
Section 54
//mute_btn (mute_btn) package { import flash.display.*; public dynamic class mute_btn extends MovieClip { public function mute_btn(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 55
//outOfStock (outOfStock) package { import flash.media.*; public dynamic class outOfStock extends Sound { } }//package
Section 56
//plate (plate) package { import flash.display.*; public dynamic class plate extends MovieClip { } }//package
Section 57
//quitAndSave (quitAndSave) package { import flash.display.*; public dynamic class quitAndSave extends MovieClip { } }//package
Section 58
//rightTxt (rightTxt) package { import flash.display.*; import flash.text.*; public dynamic class rightTxt extends MovieClip { public var time_txt:TextField; public var score_txt:TextField; public var cong_txt:TextField; } }//package
Section 59
//saveScore (saveScore) package { import flash.display.*; public dynamic class saveScore extends MovieClip { } }//package
Section 60
//scroll (scroll) package { import flash.display.*; public dynamic class scroll extends MovieClip { public var scrollRight:MovieClip; public var scrollLeft:MovieClip; } }//package
Section 61
//scrollWin (scrollWin) package { import flash.display.*; public dynamic class scrollWin extends MovieClip { } }//package
Section 62
//spillDrink (spillDrink) package { import flash.media.*; public dynamic class spillDrink extends Sound { } }//package
Section 63
//splat (splat) package { import flash.media.*; public dynamic class splat extends Sound { } }//package
Section 64
//startScreen (startScreen) package { import flash.display.*; public dynamic class startScreen extends MovieClip { public var start_btn:MovieClip; } }//package
Section 65
//stockFull (stockFull) package { import flash.media.*; public dynamic class stockFull extends Sound { } }//package
Section 66
//tick (tick) package { import flash.media.*; public dynamic class tick extends Sound { } }//package
Section 67
//tweegeeLogo (tweegeeLogo) package { import flash.display.*; public dynamic class tweegeeLogo extends MovieClip { } }//package
Section 68
//tzing (tzing) package { import flash.media.*; public dynamic class tzing extends Sound { } }//package
Section 69
//winChef (winChef) package { import flash.display.*; public dynamic class winChef extends MovieClip { public function winChef(){ addFrameScript(0, frame1, 19, frame20); } function frame1(){ stop(); } function frame20(){ stop(); } } }//package
Section 70
//winSound (winSound) package { import flash.media.*; public dynamic class winSound extends Sound { } }//package
Section 71
//wrongSound1 (wrongSound1) package { import flash.media.*; public dynamic class wrongSound1 extends Sound { } }//package
Section 72
//wrongSound2 (wrongSound2) package { import flash.media.*; public dynamic class wrongSound2 extends Sound { } }//package
Section 73
//wrongSound3 (wrongSound3) package { import flash.media.*; public dynamic class wrongSound3 extends Sound { } }//package
Section 74
//wrongTxt (wrongTxt) package { import flash.display.*; import flash.text.*; public dynamic class wrongTxt extends MovieClip { public var lose_txt:TextField; } }//package

Library Items

Symbol 1 Sound {loseSound}
Symbol 2 Sound {wrongSound1}
Symbol 3 Sound {congSound2}
Symbol 4 Sound {tick}
Symbol 5 Sound {tzing}
Symbol 6 Sound {wrongSound3}
Symbol 7 Sound {btnSound}
Symbol 8 Sound {fillStock}
Symbol 9 Sound {outOfStock}
Symbol 10 Sound {wrongSound2}
Symbol 11 Sound {congSound4}
Symbol 12 Sound {congSound3}
Symbol 13 Sound {winSound}
Symbol 14 Sound {congSound1}
Symbol 15 Sound {splat}
Symbol 16 Sound {frigOpen}
Symbol 17 Sound {spillDrink}
Symbol 18 Sound {stockFull}
Symbol 19 Sound {bell}
Symbol 20 Sound {breakPlate}
Symbol 21 Sound {drinkSound}
Symbol 22 Sound {gameLoop}
Symbol 23 GraphicUsed by:30
Symbol 24 FontUsed by:25
Symbol 25 TextUses:24Used by:30
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:30
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:30
Symbol 30 MovieClip {tweegeeLogo}Uses:23 25 27 29
Symbol 31 GraphicUsed by:32 112
Symbol 32 MovieClipUses:31Used by:35
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:35
Symbol 35 MovieClipUses:32 34Used by:58 129
Symbol 36 GraphicUsed by:58 68 127 129
Symbol 37 GraphicUsed by:56
Symbol 38 GraphicUsed by:40 126
Symbol 39 GraphicUsed by:40 126
Symbol 40 MovieClipUses:38 39Used by:56 67
Symbol 41 GraphicUsed by:53
Symbol 42 GraphicUsed by:53
Symbol 43 GraphicUsed by:53
Symbol 44 GraphicUsed by:53
Symbol 45 GraphicUsed by:53
Symbol 46 GraphicUsed by:53
Symbol 47 GraphicUsed by:53
Symbol 48 GraphicUsed by:53
Symbol 49 GraphicUsed by:53
Symbol 50 GraphicUsed by:53
Symbol 51 GraphicUsed by:53
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClip {Cake_Factory_sa_fla.musta2_94}Uses:41 42 43 44 45 46 47 48 49 50 51 52Used by:55
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:53 54Used by:56
Symbol 56 MovieClipUses:37 40 55Used by:58
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClip {winChef}Uses:35 36 56 57
Symbol 59 GraphicUsed by:67
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:66 67
Symbol 62 GraphicUsed by:67
Symbol 63 GraphicUsed by:67
Symbol 64 GraphicUsed by:67
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:61 65Used by:67
Symbol 67 MovieClip {Cake_Factory_sa_fla.prohead1_87}Uses:59 40 61 62 63 64 66Used by:68
Symbol 68 MovieClip {loseChef}Uses:36 67
Symbol 69 GraphicUsed by:81
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:70Used by:81
Symbol 72 GraphicUsed by:76
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:76
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:72 74 75Used by:81
Symbol 77 GraphicUsed by:80
Symbol 78 FontUsed by:79 107 253
Symbol 79 TextUses:78Used by:80
Symbol 80 MovieClipUses:77 79Used by:81
Symbol 81 MovieClip {startScreen}Uses:69 71 76 80
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:86
Symbol 84 FontUsed by:85 90 105
Symbol 85 TextUses:84Used by:86
Symbol 86 MovieClipUses:83 85Used by:87
Symbol 87 MovieClip {saveScore}Uses:86
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:91
Symbol 90 TextUses:84Used by:91
Symbol 91 MovieClip {quitAndSave}Uses:89 90
Symbol 92 GraphicUsed by:110
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:100
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:100
Symbol 97 GraphicUsed by:100
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:100
Symbol 100 MovieClipUses:94 96 97 99Used by:110 263
Symbol 101 GraphicUsed by:110
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:110 263
Symbol 104 GraphicUsed by:106
Symbol 105 TextUses:84Used by:106
Symbol 106 MovieClipUses:104 105Used by:110
Symbol 107 TextUses:78Used by:110
Symbol 108 FontUsed by:109 254
Symbol 109 EditableTextUses:108Used by:110
Symbol 110 MovieClip {GameOverScreen}Uses:92 100 101 103 106 107 109
Symbol 111 GraphicUsed by:263
Symbol 112 MovieClipUses:31Used by:115
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:113Used by:115
Symbol 115 MovieClipUses:112 114Used by:127
Symbol 116 GraphicUsed by:126
Symbol 117 GraphicUsed by:121
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:121
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:117 119 120Used by:126
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClipUses:122Used by:126
Symbol 124 GraphicUsed by:126
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:116 121 123 124 125 38 39Used by:127 129
Symbol 127 MovieClip {Cake_Factory_sa_fla.chefAngry_46}Uses:115 36 126Used by:263
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClip {Cake_Factory_sa_fla.chefOk_54}Uses:35 36 126 128Used by:263
Symbol 130 GraphicUsed by:263
Symbol 131 MovieClipUsed by:263
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:263
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:134Used by:252 263
Symbol 136 GraphicUsed by:138 140 252 264
Symbol 137 GraphicUsed by:138
Symbol 138 ButtonUses:136 137Used by:263
Symbol 139 GraphicUsed by:140
Symbol 140 ButtonUses:136 139Used by:263
Symbol 141 GraphicUsed by:150
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:150 165 172 176 187 231 235
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:150 165 172 176 187 231 235
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:150
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:150
Symbol 150 MovieClip {layer5}Uses:141 143 145 147 149Used by:258 263
Symbol 151 GraphicUsed by:165
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:163 165 187
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:163 165 187
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClipUses:156Used by:163 165 187
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:158Used by:163 165 187
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClipUses:160Used by:163 165 187
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClipUses:162 153 155 157 159 161Used by:165
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClip {layer4}Uses:151 153 155 157 159 161 143 145 163 164Used by:258 263
Symbol 166 GraphicUsed by:172
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClipUses:167Used by:170 187 231
Symbol 169 GraphicUsed by:170 231
Symbol 170 MovieClipUses:168 169Used by:172
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClip {layer2}Uses:166 143 145 170 171Used by:258 263
Symbol 173 GraphicUsed by:176
Symbol 174 GraphicUsed by:176
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClip {layer6}Uses:173 143 145 174 175Used by:258 263
Symbol 177 GraphicUsed by:187
Symbol 178 GraphicUsed by:187
Symbol 179 GraphicUsed by:180
Symbol 180 MovieClipUses:179Used by:187
Symbol 181 GraphicUsed by:187
Symbol 182 GraphicUsed by:187
Symbol 183 GraphicUsed by:187
Symbol 184 GraphicUsed by:187
Symbol 185 GraphicUsed by:187
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClip {layer7}Uses:177 143 145 178 157 159 161 153 155 180 181 182 183 184 185 168 186Used by:258 263
Symbol 188 GraphicUsed by:228
Symbol 189 GraphicUsed by:194 200
Symbol 190 GraphicUsed by:194
Symbol 191 GraphicUsed by:194
Symbol 192 GraphicUsed by:194
Symbol 193 GraphicUsed by:194
Symbol 194 MovieClip {Cake_Factory_sa_fla.glassTransFill1_6}Uses:189 190 191 192 193Used by:228
Symbol 195 GraphicUsed by:200
Symbol 196 GraphicUsed by:200
Symbol 197 GraphicUsed by:200
Symbol 198 GraphicUsed by:200
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClip {Cake_Factory_sa_fla.glassFill1_7}Uses:189 195 196 197 198 199Used by:228
Symbol 201 GraphicUsed by:206 208
Symbol 202 GraphicUsed by:206 208
Symbol 203 GraphicUsed by:206 208
Symbol 204 GraphicUsed by:206 208
Symbol 205 GraphicUsed by:206 208
Symbol 206 MovieClip {Cake_Factory_sa_fla.glassTransFill2_8}Uses:201 202 203 204 205Used by:228
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClip {Cake_Factory_sa_fla.glassFill2_9}Uses:201 202 203 204 205 207Used by:228
Symbol 209 GraphicUsed by:214 220
Symbol 210 GraphicUsed by:214
Symbol 211 GraphicUsed by:214
Symbol 212 GraphicUsed by:214
Symbol 213 GraphicUsed by:214
Symbol 214 MovieClip {Cake_Factory_sa_fla.glassTransFill3_10}Uses:209 210 211 212 213Used by:228
Symbol 215 GraphicUsed by:220
Symbol 216 GraphicUsed by:220
Symbol 217 GraphicUsed by:220
Symbol 218 GraphicUsed by:220
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClip {Cake_Factory_sa_fla.glassFill3_11}Uses:209 215 216 217 218 219Used by:228
Symbol 221 GraphicUsed by:228
Symbol 222 GraphicUsed by:228
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClipUses:223Used by:228
Symbol 225 GraphicUsed by:228
Symbol 226 GraphicUsed by:228
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClip {glass}Uses:188 194 200 206 208 214 220 221 222 224 225 226 227Used by:258 263
Symbol 229 GraphicUsed by:231
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClip {layer1}Uses:229 143 145 168 169 230Used by:258 263
Symbol 232 GraphicUsed by:233 235
Symbol 233 MovieClipUses:232Used by:235
Symbol 234 GraphicUsed by:235
Symbol 235 MovieClip {layer3}Uses:232 143 145 233 234Used by:258 263
Symbol 236 GraphicUsed by:240
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:237Used by:239
Symbol 239 MovieClipUses:238Used by:240
Symbol 240 MovieClip {Cake_Factory_sa_fla.timer_64}Uses:236 239Used by:263
Symbol 241 FontUsed by:242 243 244 245 246 247 248 249
Symbol 242 EditableTextUses:241Used by:263
Symbol 243 EditableTextUses:241Used by:263
Symbol 244 EditableTextUses:241Used by:263
Symbol 245 EditableTextUses:241Used by:263
Symbol 246 EditableTextUses:241Used by:263
Symbol 247 EditableTextUses:241Used by:263
Symbol 248 EditableTextUses:241Used by:263
Symbol 249 EditableTextUses:241Used by:263
Symbol 250 GraphicUsed by:251
Symbol 251 MovieClipUses:250Used by:263
Symbol 252 MovieClipUses:135 136Used by:263
Symbol 253 TextUses:78Used by:263
Symbol 254 EditableTextUses:108Used by:263
Symbol 255 GraphicUsed by:258
Symbol 256 GraphicUsed by:257
Symbol 257 ButtonUses:256Used by:258
Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70}Uses:255 150 165 172 176 187 228 231 235 257Used by:262
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClipUses:259Used by:261
Symbol 261 MovieClip {Cake_Factory_sa_fla.refrigerator_72}Uses:260Used by:262
Symbol 262 MovieClip {Cake_Factory_sa_fla.frig_69}Uses:258 261Used by:263
Symbol 263 MovieClip {GameScreen}Uses:100 111 127 129 130 131 103 133 135 138 140 150 165 172 176 187 228 231 235 240 242 243 244 245 246 247 248 249 251 252 253 254 262
Symbol 264 MovieClip {plate}Uses:136
Symbol 265 GraphicUsed by:266
Symbol 266 MovieClipUses:265Used by:267
Symbol 267 MovieClip {scroll}Uses:266
Symbol 268 GraphicUsed by:269
Symbol 269 MovieClip {scrollWin}Uses:268
Symbol 270 FontUsed by:271 272 273 275
Symbol 271 EditableTextUses:270Used by:274
Symbol 272 EditableTextUses:270Used by:274
Symbol 273 EditableTextUses:270Used by:274
Symbol 274 MovieClip {rightTxt}Uses:271 272 273
Symbol 275 EditableTextUses:270Used by:276
Symbol 276 MovieClip {wrongTxt}Uses:275
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClip {cakeGlaze}Uses:277
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClip {botGlaze}Uses:279
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClipUses:281Used by:284 285
Symbol 283 GraphicUsed by:284
Symbol 284 MovieClipUses:282 283Used by:285
Symbol 285 MovieClip {mute_btn}Uses:284 282

Instance Names

"start_btn"Symbol 81 MovieClip {startScreen} Frame 1Symbol 80 MovieClip
"playAgain_btn"Symbol 110 MovieClip {GameOverScreen} Frame 1Symbol 106 MovieClip
"totalScore_txt"Symbol 110 MovieClip {GameOverScreen} Frame 1Symbol 109 EditableText
"head"Symbol 127 MovieClip {Cake_Factory_sa_fla.chefAngry_46} Frame 1Symbol 126 MovieClip
"head"Symbol 129 MovieClip {Cake_Factory_sa_fla.chefOk_54} Frame 1Symbol 126 MovieClip
"layerExtraHeight"Symbol 150 MovieClip {layer5} Frame 1Symbol 143 MovieClip
"layerHeight"Symbol 150 MovieClip {layer5} Frame 1Symbol 145 MovieClip
"layerExtraHeight"Symbol 165 MovieClip {layer4} Frame 1Symbol 143 MovieClip
"layerHeight"Symbol 165 MovieClip {layer4} Frame 1Symbol 145 MovieClip
"layerExtraHeight"Symbol 172 MovieClip {layer2} Frame 1Symbol 143 MovieClip
"layerHeight"Symbol 172 MovieClip {layer2} Frame 1Symbol 145 MovieClip
"layerExtraHeight"Symbol 176 MovieClip {layer6} Frame 1Symbol 143 MovieClip
"layerHeight"Symbol 176 MovieClip {layer6} Frame 1Symbol 145 MovieClip
"layerExtraHeight"Symbol 187 MovieClip {layer7} Frame 1Symbol 143 MovieClip
"layerHeight"Symbol 187 MovieClip {layer7} Frame 1Symbol 145 MovieClip
"transFill1"Symbol 228 MovieClip {glass} Frame 1Symbol 194 MovieClip {Cake_Factory_sa_fla.glassTransFill1_6}
"fill1"Symbol 228 MovieClip {glass} Frame 1Symbol 200 MovieClip {Cake_Factory_sa_fla.glassFill1_7}
"transFill2"Symbol 228 MovieClip {glass} Frame 1Symbol 206 MovieClip {Cake_Factory_sa_fla.glassTransFill2_8}
"fill2"Symbol 228 MovieClip {glass} Frame 1Symbol 208 MovieClip {Cake_Factory_sa_fla.glassFill2_9}
"transFill3"Symbol 228 MovieClip {glass} Frame 1Symbol 214 MovieClip {Cake_Factory_sa_fla.glassTransFill3_10}
"fill3"Symbol 228 MovieClip {glass} Frame 1Symbol 220 MovieClip {Cake_Factory_sa_fla.glassFill3_11}
"layerExtraHeight"Symbol 231 MovieClip {layer1} Frame 1Symbol 143 MovieClip
"layerHeight"Symbol 231 MovieClip {layer1} Frame 1Symbol 145 MovieClip
"layerExtraHeight"Symbol 235 MovieClip {layer3} Frame 1Symbol 143 MovieClip
"layerHeight"Symbol 235 MovieClip {layer3} Frame 1Symbol 145 MovieClip
"timerHand"Symbol 240 MovieClip {Cake_Factory_sa_fla.timer_64} Frame 1Symbol 239 MovieClip
"layerStockIns5"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 150 MovieClip {layer5}
"layerStockIns4"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 165 MovieClip {layer4}
"layerStockIns2"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 172 MovieClip {layer2}
"layerStockIns6"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 176 MovieClip {layer6}
"layerStockIns7"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 187 MovieClip {layer7}
"layerStockIns8"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 228 MovieClip {glass}
"layerStockIns1"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 231 MovieClip {layer1}
"layerStockIns3"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 235 MovieClip {layer3}
"fil1"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 257 Button
"fil2"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 257 Button
"fil3"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 257 Button
"fil4"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 257 Button
"fil5"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 257 Button
"fil6"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 257 Button
"fil7"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 257 Button
"fil8"Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70} Frame 1Symbol 257 Button
"insideFrig"Symbol 262 MovieClip {Cake_Factory_sa_fla.frig_69} Frame 1Symbol 258 MovieClip {Cake_Factory_sa_fla.insideFrig_70}
"frigGlow"Symbol 262 MovieClip {Cake_Factory_sa_fla.frig_69} Frame 1Symbol 261 MovieClip {Cake_Factory_sa_fla.refrigerator_72}
"chefWrong"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 127 MovieClip {Cake_Factory_sa_fla.chefAngry_46}
"chefRight"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 129 MovieClip {Cake_Factory_sa_fla.chefOk_54}
"btn2"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 138 Button
"btn3"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 138 Button
"btn4"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 138 Button
"btn5"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 138 Button
"btn6"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 138 Button
"btn7"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 138 Button
"btn8"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 140 Button
"btn1"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 138 Button
"layerIns5"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 150 MovieClip {layer5}
"layerIns4"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 165 MovieClip {layer4}
"layerIns2"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 172 MovieClip {layer2}
"layerIns6"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 176 MovieClip {layer6}
"layerIns7"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 187 MovieClip {layer7}
"layerIns8"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 228 MovieClip {glass}
"layerIns1"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 231 MovieClip {layer1}
"layerIns3"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 235 MovieClip {layer3}
"timer"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 240 MovieClip {Cake_Factory_sa_fla.timer_64}
"layer_txt1"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 242 EditableText
"layer_txt2"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 243 EditableText
"layer_txt3"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 244 EditableText
"layer_txt4"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 245 EditableText
"layer_txt5"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 246 EditableText
"layer_txt6"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 247 EditableText
"layer_txt7"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 248 EditableText
"layer_txt8"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 249 EditableText
"displayPlate"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 252 MovieClip
"score_txt"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 254 EditableText
"frig"Symbol 263 MovieClip {GameScreen} Frame 1Symbol 262 MovieClip {Cake_Factory_sa_fla.frig_69}
"scrollRight"Symbol 267 MovieClip {scroll} Frame 1Symbol 266 MovieClip
"scrollLeft"Symbol 267 MovieClip {scroll} Frame 1Symbol 266 MovieClip
"cong_txt"Symbol 274 MovieClip {rightTxt} Frame 1Symbol 271 EditableText
"time_txt"Symbol 274 MovieClip {rightTxt} Frame 1Symbol 272 EditableText
"score_txt"Symbol 274 MovieClip {rightTxt} Frame 1Symbol 273 EditableText
"lose_txt"Symbol 276 MovieClip {wrongTxt} Frame 1Symbol 275 EditableText

Special Tags

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




http://swfchan.com/26/126682/info.shtml
Created: 25/2 -2019 20:01:09 Last modified: 25/2 -2019 20:01:09 Server time: 22/12 -2024 09:37:31