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

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

Jelly-Candles.swf

This is the info page for
Flash #115093

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


Text
This game can't be played on an
offline computer. But it doesn't site-
locked, so feel free to add it on your
website or other websites.

Toggle Music (M)

off

on

PLAY GAME

MORE GAMES

to do list

Add gel wax

Add liquid gel

Stir by direction

Set off at 200C

Add essential oil

Turn on the stove

off

on

Recipe

add gel wax

add liquid gel

set off

200

stir by direction

set on

add essential

Put the wax into a stainless steel or glass pot and turn the heat on medium.
Maintain a temperature of 200 degrees F until the gel is smooth and syrupy.
Add 1/4 teaspoon of essential oil or candle scent to the melted gel.
Pull the wick up straight and center it.
Use anything that is not flammable:
glass beads, marbles, glitter, sand, shells, colored aquarium gravel.

Recipe

pause

resume game

main menu

you lose

TRY AGAIN

Glue the base

Add sands

Add coral toy

Add jelly wax

Pull the stick

Use zinc wick

GOAL

SCORE

MAX ITEM
PRESS DONE TO
CHECK YOUR SCORE

Reset

<p align="center"><font face="Hobo Std" size="25" color="#ffd91f" letterSpacing="0.000000" kerning="1">1000</font></p>

<p align="center"><font face="Hobo Std" size="25" color="#ffd91f" letterSpacing="0.000000" kerning="1">1000</font></p>

ADJUSTMENT
BUTTONS

DECORATE
LIKE EXAMPLE

decorate like the example

NEXT

EXAMPLE

OK

OF 3

<p align="center"><font face="Wanted M54" size="28" color="#ffd91f" letterSpacing="0.000000" kerning="1">1 </font></p>

<p align="center"><font face="Arial Black" size="25" color="#00cc00" letterSpacing="0.000000" kerning="1">+1000</font></p>

now time to yourself

DECORATE IT AS YOU LIKE

DECORATE IT
AS YOU LIKE

Nice!

Play Again

print

lit it

More Games

ActionScript [AS3]

Section 1
//AuxFunctions (caurina.transitions.AuxFunctions) package caurina.transitions { public class AuxFunctions { public static function getObjectLength(_arg1:Object):uint{ var _local3:String; var _local2:uint; for (_local3 in _arg1) { _local2++; }; return (_local2); } public static function numberToG(_arg1:Number):Number{ return (((_arg1 & 0xFF00) >> 8)); } public static function numberToB(_arg1:Number):Number{ return ((_arg1 & 0xFF)); } public static function numberToR(_arg1:Number):Number{ return (((_arg1 & 0xFF0000) >> 16)); } public static function concatObjects(... _args):Object{ var _local3:Object; var _local5:String; var _local2:Object = {}; var _local4:int; while (_local4 < _args.length) { _local3 = _args[_local4]; for (_local5 in _local3) { if (_local3[_local5] == null){ delete _local2[_local5]; } else { _local2[_local5] = _local3[_local5]; }; }; _local4++; }; return (_local2); } } }//package caurina.transitions
Section 2
//Equations (caurina.transitions.Equations) package caurina.transitions { public class Equations { public function Equations(){ trace("Equations is a static class and should not be instantiated."); } public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); if (_arg1 < (1 / 2.75)){ return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2)); }; if (_arg1 < (2 / 2.75)){ _arg1 = (_arg1 - (1.5 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2)); }; if (_arg1 < (2.5 / 2.75)){ _arg1 = (_arg1 - (2.25 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2)); }; _arg1 = (_arg1 - (2.625 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2)); } public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; if (_arg1 < 1){ --_arg1; return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); }; --_arg1; return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2)); } public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2)); }; --_arg1; return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2)); } public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2)); }; return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2)); } public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2)); }; _arg1 = (_arg1 - 2); _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2)); } public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2)); } public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2)); } public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2)); } public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function init():void{ Tweener.registerTransition("easenone", easeNone); Tweener.registerTransition("linear", easeNone); Tweener.registerTransition("easeinquad", easeInQuad); Tweener.registerTransition("easeoutquad", easeOutQuad); Tweener.registerTransition("easeinoutquad", easeInOutQuad); Tweener.registerTransition("easeoutinquad", easeOutInQuad); Tweener.registerTransition("easeincubic", easeInCubic); Tweener.registerTransition("easeoutcubic", easeOutCubic); Tweener.registerTransition("easeinoutcubic", easeInOutCubic); Tweener.registerTransition("easeoutincubic", easeOutInCubic); Tweener.registerTransition("easeinquart", easeInQuart); Tweener.registerTransition("easeoutquart", easeOutQuart); Tweener.registerTransition("easeinoutquart", easeInOutQuart); Tweener.registerTransition("easeoutinquart", easeOutInQuart); Tweener.registerTransition("easeinquint", easeInQuint); Tweener.registerTransition("easeoutquint", easeOutQuint); Tweener.registerTransition("easeinoutquint", easeInOutQuint); Tweener.registerTransition("easeoutinquint", easeOutInQuint); Tweener.registerTransition("easeinsine", easeInSine); Tweener.registerTransition("easeoutsine", easeOutSine); Tweener.registerTransition("easeinoutsine", easeInOutSine); Tweener.registerTransition("easeoutinsine", easeOutInSine); Tweener.registerTransition("easeincirc", easeInCirc); Tweener.registerTransition("easeoutcirc", easeOutCirc); Tweener.registerTransition("easeinoutcirc", easeInOutCirc); Tweener.registerTransition("easeoutincirc", easeOutInCirc); Tweener.registerTransition("easeinexpo", easeInExpo); Tweener.registerTransition("easeoutexpo", easeOutExpo); Tweener.registerTransition("easeinoutexpo", easeInOutExpo); Tweener.registerTransition("easeoutinexpo", easeOutInExpo); Tweener.registerTransition("easeinelastic", easeInElastic); Tweener.registerTransition("easeoutelastic", easeOutElastic); Tweener.registerTransition("easeinoutelastic", easeInOutElastic); Tweener.registerTransition("easeoutinelastic", easeOutInElastic); Tweener.registerTransition("easeinback", easeInBack); Tweener.registerTransition("easeoutback", easeOutBack); Tweener.registerTransition("easeinoutback", easeInOutBack); Tweener.registerTransition("easeoutinback", easeOutInBack); Tweener.registerTransition("easeinbounce", easeInBounce); Tweener.registerTransition("easeoutbounce", easeOutBounce); Tweener.registerTransition("easeinoutbounce", easeInOutBounce); Tweener.registerTransition("easeoutinbounce", easeOutInBounce); } public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2)); } public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001))); } public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2)); } public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((_arg3 * _arg1) * _arg1) + _arg2)); } public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2)); } public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2)); } public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2)); } public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2)); } public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; --_arg1; return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); } public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2)); } public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); } public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 == 0){ return (_arg2); }; if (_arg1 == _arg4){ return ((_arg2 + _arg3)); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005))); }; --_arg1; return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2)); } public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2)); } public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2)); } public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } } }//package caurina.transitions
Section 3
//PropertyInfoObj (caurina.transitions.PropertyInfoObj) package caurina.transitions { public class PropertyInfoObj { public var modifierParameters:Array; public var isSpecialProperty:Boolean; public var valueComplete:Number; public var modifierFunction:Function; public var extra:Object; public var valueStart:Number; public var hasModifier:Boolean; public var arrayIndex:Number; public var originalValueComplete:Object; public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){ valueStart = _arg1; valueComplete = _arg2; originalValueComplete = _arg3; arrayIndex = _arg4; extra = _arg5; isSpecialProperty = _arg6; hasModifier = Boolean(_arg7); modifierFunction = _arg7; modifierParameters = _arg8; } public function toString():String{ var _local1 = "\n[PropertyInfoObj "; _local1 = (_local1 + ("valueStart:" + String(valueStart))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("valueComplete:" + String(valueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("arrayIndex:" + String(arrayIndex))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("extra:" + String(extra))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("hasModifier:" + String(hasModifier))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierFunction:" + String(modifierFunction))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierParameters:" + String(modifierParameters))); _local1 = (_local1 + "]\n"); return (_local1); } public function clone():PropertyInfoObj{ var _local1:PropertyInfoObj = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters); return (_local1); } } }//package caurina.transitions
Section 4
//SpecialProperty (caurina.transitions.SpecialProperty) package caurina.transitions { public class SpecialProperty { public var parameters:Array; public var getValue:Function; public var preProcess:Function; public var setValue:Function; public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){ getValue = _arg1; setValue = _arg2; parameters = _arg3; preProcess = _arg4; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialProperty "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("setValue:" + String(setValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("preProcess:" + String(preProcess))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 5
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier) package caurina.transitions { public class SpecialPropertyModifier { public var getValue:Function; public var modifyValues:Function; public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){ modifyValues = _arg1; getValue = _arg2; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialPropertyModifier "); _local1 = (_local1 + ("modifyValues:" + String(modifyValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 6
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter) package caurina.transitions { public class SpecialPropertySplitter { public var parameters:Array; public var splitValues:Function; public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){ splitValues = _arg1; parameters = _arg2; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialPropertySplitter "); _local1 = (_local1 + ("splitValues:" + String(splitValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 7
//Tweener (caurina.transitions.Tweener) package caurina.transitions { import flash.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; public static var autoOverwrite:Boolean = true; private static var _engineExists:Boolean = false; private static var _currentTime:Number; private static var _tweenList:Array; private static var _specialPropertyModifierList:Object; private static var _specialPropertyList:Object; private static var _transitionList:Object; private static var _inited:Boolean = false; private static var __tweener_controller__:MovieClip; public function Tweener(){ trace("Tweener is a static class and should not be instantiated."); } public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{ if (!_inited){ init(); }; var _local4:SpecialPropertyModifier = new SpecialPropertyModifier(_arg2, _arg3); _specialPropertyModifierList[_arg1] = _local4; } public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{ if (!_inited){ init(); }; var _local6:SpecialProperty = new SpecialProperty(_arg2, _arg3, _arg4, _arg5); _specialPropertyList[_arg1] = _local6; } public static function init(... _args):void{ _inited = true; _transitionList = new Object(); Equations.init(); _specialPropertyList = new Object(); _specialPropertyModifierList = new Object(); _specialPropertySplitterList = new Object(); } private static function updateTweens():Boolean{ var _local1:int; if (_tweenList.length == 0){ return (false); }; _local1 = 0; while (_local1 < _tweenList.length) { if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){ if (!updateTweenByIndex(_local1)){ removeTweenByIndex(_local1); }; if (_tweenList[_local1] == null){ removeTweenByIndex(_local1, true); _local1--; }; }; _local1++; }; return (true); } public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Array; var _local8:Function; var _local9:TweenListObj; var _local10:Number; var _local11:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local4 = _arg1.concat(); } else { _local4 = [_arg1]; }; var _local5:Object = _arg2; if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; var _local6:Number = (isNaN(_local5.time)) ? 0 : _local5.time; var _local7:Number = (isNaN(_local5.delay)) ? 0 : _local5.delay; if (typeof(_local5.transition) == "string"){ _local11 = _local5.transition.toLowerCase(); _local8 = _transitionList[_local11]; } else { _local8 = _local5.transition; }; if (!Boolean(_local8)){ _local8 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local4.length) { if (_local5.useFrames == true){ _local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams); } else { _local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams); }; _local9.properties = null; _local9.onStart = _local5.onStart; _local9.onUpdate = _local5.onUpdate; _local9.onComplete = _local5.onComplete; _local9.onOverwrite = _local5.onOverwrite; _local9.onStartParams = _local5.onStartParams; _local9.onUpdateParams = _local5.onUpdateParams; _local9.onCompleteParams = _local5.onCompleteParams; _local9.onOverwriteParams = _local5.onOverwriteParams; _local9.onStartScope = _local5.onStartScope; _local9.onUpdateScope = _local5.onUpdateScope; _local9.onCompleteScope = _local5.onCompleteScope; _local9.onOverwriteScope = _local5.onOverwriteScope; _local9.onErrorScope = _local5.onErrorScope; _local9.isCaller = true; _local9.count = _local5.count; _local9.waitFrames = _local5.waitFrames; _tweenList.push(_local9); if ((((_local6 == 0)) && ((_local7 == 0)))){ _local10 = (_tweenList.length - 1); updateTweenByIndex(_local10); removeTweenByIndex(_local10); }; _local3++; }; return (true); } public static function pauseAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { pauseTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function removeTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local5:SpecialPropertySplitter; var _local6:Array; var _local7:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ if (_specialPropertySplitterList[_args[_local4]]){ _local5 = _specialPropertySplitterList[_args[_local4]]; _local6 = _local5.splitValues(_arg1, null); _local7 = 0; while (_local7 < _local6.length) { _local3.push(_local6[_local7].name); _local7++; }; } else { _local3.push(_args[_local4]); }; }; _local4++; }; return (affectTweens(removeTweenByIndex, _arg1, _local3)); } public static function updateFrame():void{ _currentTimeFrame++; } public static function splitTweens(_arg1:Number, _arg2:Array):uint{ var _local5:uint; var _local6:String; var _local7:Boolean; var _local3:TweenListObj = _tweenList[_arg1]; var _local4:TweenListObj = _local3.clone(false); _local5 = 0; while (_local5 < _arg2.length) { _local6 = _arg2[_local5]; if (Boolean(_local3.properties[_local6])){ _local3.properties[_local6] = undefined; delete _local3.properties[_local6]; }; _local5++; }; for (_local6 in _local4.properties) { _local7 = false; _local5 = 0; while (_local5 < _arg2.length) { if (_arg2[_local5] == _local6){ _local7 = true; break; }; _local5++; }; if (!_local7){ _local4.properties[_local6] = undefined; delete _local4.properties[_local6]; }; }; _tweenList.push(_local4); return ((_tweenList.length - 1)); } public static function resumeTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj = _tweenList[_arg1]; if ((((_local2 == null)) || (!(_local2.isPaused)))){ return (false); }; var _local3:Number = getCurrentTweeningTime(_local2); _local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused)); _local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused)); _local2.timePaused = undefined; _local2.isPaused = false; return (true); } public static function getVersion():String{ return ("AS3 1.33.74"); } public static function onEnterFrame(_arg1:Event):void{ updateTime(); updateFrame(); var _local2:Boolean; _local2 = updateTweens(); if (!_local2){ stopEngine(); }; } public static function updateTime():void{ _currentTime = getTimer(); } private static function updateTweenByIndex(_arg1:Number):Boolean{ var tTweening:TweenListObj; var mustUpdate:Boolean; var nv:Number; var t:Number; var b:Number; var c:Number; var d:Number; var pName:String; var eventScope:Object; var tScope:Object; var tProperty:Object; var pv:Number; var i = _arg1; tTweening = _tweenList[i]; if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){ return (false); }; var isOver:Boolean; var cTime:Number = getCurrentTweeningTime(tTweening); if (cTime >= tTweening.timeStart){ tScope = tTweening.scope; if (tTweening.isCaller){ do { t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1)); b = tTweening.timeStart; c = (tTweening.timeComplete - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d); } while (!(cTime >= nv)); } else { mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates))); if (cTime >= tTweening.timeComplete){ isOver = true; mustUpdate = true; }; if (!tTweening.hasStarted){ if (Boolean(tTweening.onStart)){ eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope; try { tTweening.onStart.apply(eventScope, tTweening.onStartParams); } catch(e2:Error) { handleError(tTweening, e2, "onStart"); }; }; for (pName in tTweening.properties) { if (tTweening.properties[pName].isSpecialProperty){ if (Boolean(_specialPropertyList[pName].preProcess)){ tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra); }; pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { pv = tScope[pName]; }; tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv; }; mustUpdate = true; tTweening.hasStarted = true; }; if (mustUpdate){ for (pName in tTweening.properties) { tProperty = tTweening.properties[pName]; if (isOver){ nv = tProperty.valueComplete; } else { if (tProperty.hasModifier){ t = (cTime - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams); nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters); } else { t = (cTime - tTweening.timeStart); b = tProperty.valueStart; c = (tProperty.valueComplete - tProperty.valueStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d, tTweening.transitionParams); }; }; if (tTweening.rounded){ nv = Math.round(nv); }; if (tProperty.isSpecialProperty){ _specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { tScope[pName] = nv; }; }; tTweening.updatesSkipped = 0; if (Boolean(tTweening.onUpdate)){ eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope; try { tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams); } catch(e3:Error) { handleError(tTweening, e3, "onUpdate"); }; }; } else { tTweening.updatesSkipped++; }; }; if (((isOver) && (Boolean(tTweening.onComplete)))){ eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope; try { tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams); } catch(e4:Error) { handleError(tTweening, e4, "onComplete"); }; }; return (!(isOver)); }; return (true); } public static function setTimeScale(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (isNaN(_arg1)){ _arg1 = 1; }; if (_arg1 < 1E-5){ _arg1 = 1E-5; }; if (_arg1 != _timeScale){ if (_tweenList != null){ _local2 = 0; while (_local2 < _tweenList.length) { _local3 = getCurrentTweeningTime(_tweenList[_local2]); _tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1)); _tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1)); if (_tweenList[_local2].timePaused != undefined){ _tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1)); }; _local2++; }; }; _timeScale = _arg1; }; } public static function resumeAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { resumeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{ var eventScope:Object; var pTweening = _arg1; var pError = _arg2; var pCallBackName = _arg3; if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){ eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope; try { pTweening.onError.apply(eventScope, [pTweening.scope, pError]); } catch(metaError:Error) { printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace())); }; } else { if (!Boolean(pTweening.onError)){ printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace())); }; }; } private static function startEngine():void{ _engineExists = true; _tweenList = new Array(); __tweener_controller__ = new MovieClip(); __tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); _currentTimeFrame = 0; updateTime(); } public static function removeAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { removeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Number; var _local5:String; var _local6:Array; var _local13:Function; var _local14:Object; var _local15:TweenListObj; var _local16:Number; var _local17:Array; var _local18:Array; var _local19:Array; var _local20:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local6 = _arg1.concat(); } else { _local6 = [_arg1]; }; var _local7:Object = TweenListObj.makePropertiesChain(_arg2); if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; var _local8:Number = (isNaN(_local7.time)) ? 0 : _local7.time; var _local9:Number = (isNaN(_local7.delay)) ? 0 : _local7.delay; var _local10:Array = new Array(); var _local11:Object = {overwrite:true, time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true}; var _local12:Object = new Object(); for (_local5 in _local7) { if (!_local11[_local5]){ if (_specialPropertySplitterList[_local5]){ _local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters); _local3 = 0; while (_local3 < _local17.length) { if (_specialPropertySplitterList[_local17[_local3].name]){ _local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters); _local4 = 0; while (_local4 < _local18.length) { _local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false}; _local4++; }; } else { _local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false}; }; _local3++; }; } else { if (_specialPropertyModifierList[_local5] != undefined){ _local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]); _local3 = 0; while (_local3 < _local19.length) { _local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue}; _local3++; }; } else { _local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]}; }; }; }; }; for (_local5 in _local10) { if (_specialPropertyList[_local5] != undefined){ _local10[_local5].isSpecialProperty = true; } else { if (_local6[0][_local5] == undefined){ printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property.")); }; }; }; for (_local5 in _local12) { if (_local10[_local5] != undefined){ _local10[_local5].modifierParameters = _local12[_local5].modifierParameters; _local10[_local5].modifierFunction = _local12[_local5].modifierFunction; }; }; if (typeof(_local7.transition) == "string"){ _local20 = _local7.transition.toLowerCase(); _local13 = _transitionList[_local20]; } else { _local13 = _local7.transition; }; if (!Boolean(_local13)){ _local13 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local6.length) { _local14 = new Object(); for (_local5 in _local10) { _local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters); }; if (_local7.useFrames == true){ _local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams); } else { _local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams); }; _local15.properties = _local14; _local15.onStart = _local7.onStart; _local15.onUpdate = _local7.onUpdate; _local15.onComplete = _local7.onComplete; _local15.onOverwrite = _local7.onOverwrite; _local15.onError = _local7.onError; _local15.onStartParams = _local7.onStartParams; _local15.onUpdateParams = _local7.onUpdateParams; _local15.onCompleteParams = _local7.onCompleteParams; _local15.onOverwriteParams = _local7.onOverwriteParams; _local15.onStartScope = _local7.onStartScope; _local15.onUpdateScope = _local7.onUpdateScope; _local15.onCompleteScope = _local7.onCompleteScope; _local15.onOverwriteScope = _local7.onOverwriteScope; _local15.onErrorScope = _local7.onErrorScope; _local15.rounded = _local7.rounded; _local15.skipUpdates = _local7.skipUpdates; if (((_local7.overwrite == undefined)) ? autoOverwrite : _local7.overwrite){ removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete); }; _tweenList.push(_local15); if ((((_local8 == 0)) && ((_local9 == 0)))){ _local16 = (_tweenList.length - 1); updateTweenByIndex(_local16); removeTweenByIndex(_local16); }; _local3++; }; return (true); } public static function registerTransition(_arg1:String, _arg2:Function):void{ if (!_inited){ init(); }; _transitionList[_arg1] = _arg2; } public static function printError(_arg1:String):void{ trace(("## [Tweener] Error: " + _arg1)); } private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{ var _local5:uint; var _local6:Array; var _local7:uint; var _local8:uint; var _local9:uint; var _local4:Boolean; if (!Boolean(_tweenList)){ return (false); }; _local5 = 0; while (_local5 < _tweenList.length) { if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){ if (_arg3.length == 0){ _arg1(_local5); _local4 = true; } else { _local6 = new Array(); _local7 = 0; while (_local7 < _arg3.length) { if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){ _local6.push(_arg3[_local7]); }; _local7++; }; if (_local6.length > 0){ _local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties); if (_local8 == _local6.length){ _arg1(_local5); _local4 = true; } else { _local9 = splitTweens(_local5, _local6); _arg1(_local9); _local4 = true; }; }; }; }; _local5++; }; return (_local4); } public static function getTweens(_arg1:Object):Array{ var _local2:uint; var _local3:String; if (!Boolean(_tweenList)){ return ([]); }; var _local4:Array = new Array(); _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ for (_local3 in _tweenList[_local2].properties) { _local4.push(_local3); }; }; _local2++; }; return (_local4); } public static function isTweening(_arg1:Object):Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ return (true); }; _local2++; }; return (false); } public static function pauseTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj = _tweenList[_arg1]; if ((((_local2 == null)) || (_local2.isPaused))){ return (false); }; _local2.timePaused = getCurrentTweeningTime(_local2); _local2.isPaused = true; return (true); } public static function getCurrentTweeningTime(_arg1:Object):Number{ return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime); } public static function getTweenCount(_arg1:Object):Number{ var _local2:uint; if (!Boolean(_tweenList)){ return (0); }; var _local3:Number = 0; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ _local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties)); }; _local2++; }; return (_local3); } private static function stopEngine():void{ _engineExists = false; _tweenList = null; _currentTime = 0; _currentTimeFrame = 0; __tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); __tweener_controller__ = null; } public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{ var removedLocally:Boolean; var i:uint; var pName:String; var eventScope:Object; var p_scope = _arg1; var p_properties = _arg2; var p_timeStart = _arg3; var p_timeComplete = _arg4; var removed:Boolean; var tl:uint = _tweenList.length; i = 0; while (i < tl) { if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){ if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){ removedLocally = false; for (pName in _tweenList[i].properties) { if (Boolean(p_properties[pName])){ if (Boolean(_tweenList[i].onOverwrite)){ eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope; try { _tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams); } catch(e:Error) { handleError(_tweenList[i], e, "onOverwrite"); }; }; _tweenList[i].properties[pName] = undefined; delete _tweenList[i].properties[pName]; removedLocally = true; removed = true; }; }; if (removedLocally){ if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){ removeTweenByIndex(i); }; }; }; }; i = (i + 1); }; return (removed); } public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{ if (!_inited){ init(); }; var _local4:SpecialPropertySplitter = new SpecialPropertySplitter(_arg2, _arg3); _specialPropertySplitterList[_arg1] = _local4; } public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{ _tweenList[_arg1] = null; if (_arg2){ _tweenList.splice(_arg1, 1); }; return (true); } public static function resumeTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(resumeTweenByIndex, _arg1, _local3)); } public static function pauseTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(pauseTweenByIndex, _arg1, _local3)); } } }//package caurina.transitions
Section 8
//TweenListObj (caurina.transitions.TweenListObj) package caurina.transitions { public class TweenListObj { public var hasStarted:Boolean; public var onUpdate:Function; public var useFrames:Boolean; public var count:Number; public var onOverwriteParams:Array; public var timeStart:Number; public var timeComplete:Number; public var onStartParams:Array; public var onUpdateScope:Object; public var rounded:Boolean; public var onUpdateParams:Array; public var properties:Object; public var onComplete:Function; public var transitionParams:Object; public var updatesSkipped:Number; public var onStart:Function; public var onOverwriteScope:Object; public var skipUpdates:Number; public var onStartScope:Object; public var scope:Object; public var isCaller:Boolean; public var timePaused:Number; public var transition:Function; public var onCompleteParams:Array; public var onError:Function; public var timesCalled:Number; public var onErrorScope:Object; public var onOverwrite:Function; public var isPaused:Boolean; public var waitFrames:Boolean; public var onCompleteScope:Object; public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){ scope = _arg1; timeStart = _arg2; timeComplete = _arg3; useFrames = _arg4; transition = _arg5; transitionParams = _arg6; properties = new Object(); isPaused = false; timePaused = undefined; isCaller = false; updatesSkipped = 0; timesCalled = 0; skipUpdates = 0; hasStarted = false; } public function clone(_arg1:Boolean):TweenListObj{ var _local3:String; var _local2:TweenListObj = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams); _local2.properties = new Array(); for (_local3 in properties) { _local2.properties[_local3] = properties[_local3].clone(); }; _local2.skipUpdates = skipUpdates; _local2.updatesSkipped = updatesSkipped; if (!_arg1){ _local2.onStart = onStart; _local2.onUpdate = onUpdate; _local2.onComplete = onComplete; _local2.onOverwrite = onOverwrite; _local2.onError = onError; _local2.onStartParams = onStartParams; _local2.onUpdateParams = onUpdateParams; _local2.onCompleteParams = onCompleteParams; _local2.onOverwriteParams = onOverwriteParams; _local2.onStartScope = onStartScope; _local2.onUpdateScope = onUpdateScope; _local2.onCompleteScope = onCompleteScope; _local2.onOverwriteScope = onOverwriteScope; _local2.onErrorScope = onErrorScope; }; _local2.rounded = rounded; _local2.isPaused = isPaused; _local2.timePaused = timePaused; _local2.isCaller = isCaller; _local2.count = count; _local2.timesCalled = timesCalled; _local2.waitFrames = waitFrames; _local2.hasStarted = hasStarted; return (_local2); } public function toString():String{ var _local3:String; var _local1 = "\n[TweenListObj "; _local1 = (_local1 + ("scope:" + String(scope))); _local1 = (_local1 + ", properties:"); var _local2:Boolean; for (_local3 in properties) { if (!_local2){ _local1 = (_local1 + ","); }; _local1 = (_local1 + ("[name:" + properties[_local3].name)); _local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart)); _local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete)); _local1 = (_local1 + "]"); _local2 = false; }; _local1 = (_local1 + (", timeStart:" + String(timeStart))); _local1 = (_local1 + (", timeComplete:" + String(timeComplete))); _local1 = (_local1 + (", useFrames:" + String(useFrames))); _local1 = (_local1 + (", transition:" + String(transition))); _local1 = (_local1 + (", transitionParams:" + String(transitionParams))); if (skipUpdates){ _local1 = (_local1 + (", skipUpdates:" + String(skipUpdates))); }; if (updatesSkipped){ _local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped))); }; if (Boolean(onStart)){ _local1 = (_local1 + (", onStart:" + String(onStart))); }; if (Boolean(onUpdate)){ _local1 = (_local1 + (", onUpdate:" + String(onUpdate))); }; if (Boolean(onComplete)){ _local1 = (_local1 + (", onComplete:" + String(onComplete))); }; if (Boolean(onOverwrite)){ _local1 = (_local1 + (", onOverwrite:" + String(onOverwrite))); }; if (Boolean(onError)){ _local1 = (_local1 + (", onError:" + String(onError))); }; if (onStartParams){ _local1 = (_local1 + (", onStartParams:" + String(onStartParams))); }; if (onUpdateParams){ _local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams))); }; if (onCompleteParams){ _local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams))); }; if (onOverwriteParams){ _local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams))); }; if (onStartScope){ _local1 = (_local1 + (", onStartScope:" + String(onStartScope))); }; if (onUpdateScope){ _local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope))); }; if (onCompleteScope){ _local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope))); }; if (onOverwriteScope){ _local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope))); }; if (onErrorScope){ _local1 = (_local1 + (", onErrorScope:" + String(onErrorScope))); }; if (rounded){ _local1 = (_local1 + (", rounded:" + String(rounded))); }; if (isPaused){ _local1 = (_local1 + (", isPaused:" + String(isPaused))); }; if (timePaused){ _local1 = (_local1 + (", timePaused:" + String(timePaused))); }; if (isCaller){ _local1 = (_local1 + (", isCaller:" + String(isCaller))); }; if (count){ _local1 = (_local1 + (", count:" + String(count))); }; if (timesCalled){ _local1 = (_local1 + (", timesCalled:" + String(timesCalled))); }; if (waitFrames){ _local1 = (_local1 + (", waitFrames:" + String(waitFrames))); }; if (hasStarted){ _local1 = (_local1 + (", hasStarted:" + String(hasStarted))); }; _local1 = (_local1 + "]\n"); return (_local1); } public static function makePropertiesChain(_arg1:Object):Object{ var _local3:Object; var _local4:Object; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Number; var _local2:Object = _arg1.base; if (_local2){ _local3 = {}; if ((_local2 is Array)){ _local4 = []; _local8 = 0; while (_local8 < _local2.length) { _local4.push(_local2[_local8]); _local8++; }; } else { _local4 = [_local2]; }; _local4.push(_arg1); _local6 = _local4.length; _local7 = 0; while (_local7 < _local6) { if (_local4[_local7]["base"]){ _local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]); } else { _local5 = _local4[_local7]; }; _local3 = AuxFunctions.concatObjects(_local3, _local5); _local7++; }; if (_local3["base"]){ delete _local3["base"]; }; return (_local3); //unresolved jump }; return (_arg1); } } }//package caurina.transitions
Section 9
//PM_PRNG (de.polygonal.math.PM_PRNG) package de.polygonal.math { public class PM_PRNG { public static var seed:uint = now.getTime(); public static var now:Date = new Date(); public function PM_PRNG(){ var _local1:Date = new Date(); } public static function nextDoubleRange(_arg1:Number, _arg2:Number):Number{ return ((_arg1 + ((_arg2 - _arg1) * nextDouble()))); } public static function nextDouble():Number{ return ((gen() / 2147483647)); } private static function gen():uint{ return ((seed = ((seed * 16807) % 2147483647))); } public static function nextIntRange(_arg1:Number, _arg2:Number):uint{ _arg1 = (_arg1 - 0.4999); _arg2 = (_arg2 + 0.4999); return (Math.round((_arg1 + ((_arg2 - _arg1) * nextDouble())))); } public static function nextInt():uint{ return (gen()); } } }//package de.polygonal.math
Section 10
//ARROW1AREA_106 (JellyCandle_fla.ARROW1AREA_106) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class ARROW1AREA_106 extends MovieClip { public function ARROW1AREA_106(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 11
//ARROW2AREA_108 (JellyCandle_fla.ARROW2AREA_108) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class ARROW2AREA_108 extends MovieClip { public function ARROW2AREA_108(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 12
//ARROW2AREA_81 (JellyCandle_fla.ARROW2AREA_81) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class ARROW2AREA_81 extends MovieClip { public function ARROW2AREA_81(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 13
//BUTTONDONE_62 (JellyCandle_fla.BUTTONDONE_62) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class BUTTONDONE_62 extends MovieClip { public function BUTTONDONE_62(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 14
//CANDLE_99 (JellyCandle_fla.CANDLE_99) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class CANDLE_99 extends MovieClip { public function CANDLE_99(){ addFrameScript(0, frame1, 41, frame42, 143, frame144, 174, frame175, 277, frame278, 308, frame309, 402, frame403); } function frame175(){ stop(); CGame2.GetInstance().endAnimasi(); } function frame144(){ stop(); CGame2.GetInstance().endAnimasi(); } function frame1(){ stop(); } function frame278(){ stop(); CGame2.GetInstance().endAnimasi(); } function frame403(){ stop(); CGame2.GetInstance().endAnimasi(); } function frame42(){ stop(); CGame2.GetInstance().endAnimasi(); } function frame309(){ stop(); CGame2.GetInstance().endAnimasi(); } } }//package JellyCandle_fla
Section 15
//CANDLECOLOR_140 (JellyCandle_fla.CANDLECOLOR_140) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class CANDLECOLOR_140 extends MovieClip { public function CANDLECOLOR_140(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 16
//CANDLERIBBON_141 (JellyCandle_fla.CANDLERIBBON_141) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class CANDLERIBBON_141 extends MovieClip { public function CANDLERIBBON_141(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 17
//CORAL1_110 (JellyCandle_fla.CORAL1_110) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class CORAL1_110 extends MovieClip { public function CORAL1_110(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 18
//CORAL2_103 (JellyCandle_fla.CORAL2_103) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class CORAL2_103 extends MovieClip { public function CORAL2_103(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 19
//didi_logo_32 (JellyCandle_fla.didi_logo_32) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class didi_logo_32 extends MovieClip { public var fButton:MovieClip; public function didi_logo_32(){ addFrameScript(0, frame1); } function frame1(){ fButton.addEventListener(MouseEvent.CLICK, fButtonClicked); } public function fButtonClicked(_arg1:MouseEvent){ var urlRequest:URLRequest; var e = _arg1; try { urlRequest = new URLRequest("http://www.didigames.com/"); navigateToURL(urlRequest, "_blank"); } catch(e:Error) { }; } } }//package JellyCandle_fla
Section 20
//didi_source_backfds_5 (JellyCandle_fla.didi_source_backfds_5) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class didi_source_backfds_5 extends MovieClip { public var fButton:SimpleButton; public function didi_source_backfds_5(){ addFrameScript(0, frame1); } function frame1(){ fButton.addEventListener(MouseEvent.CLICK, fButtonClicked); } public function fButtonClicked(_arg1:MouseEvent){ var urlRequest:URLRequest; var e = _arg1; try { urlRequest = new URLRequest("http://www.didigames.com/"); navigateToURL(urlRequest, "_blank"); } catch(e:Error) { }; } } }//package JellyCandle_fla
Section 21
//ESSENTIAL1_77 (JellyCandle_fla.ESSENTIAL1_77) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class ESSENTIAL1_77 extends MovieClip { public function ESSENTIAL1_77(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 22
//EXAMPLE_139 (JellyCandle_fla.EXAMPLE_139) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class EXAMPLE_139 extends MovieClip { public var mItem11:MovieClip; public var mItem0:MovieClip; public var mItem1:MovieClip; public var mItem2:MovieClip; public var mItem3:MovieClip; public var mItem4:MovieClip; public var mItem5:MovieClip; public var mItem6:MovieClip; public var mItem7:MovieClip; public var mItem8:MovieClip; public var mItem9:MovieClip; public var mRibbon:MovieClip; public var mColor:MovieClip; public var mItem10:MovieClip; public function EXAMPLE_139(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 23
//GELWAX1_76 (JellyCandle_fla.GELWAX1_76) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class GELWAX1_76 extends MovieClip { public function GELWAX1_76(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 24
//ITEMLIST_114 (JellyCandle_fla.ITEMLIST_114) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class ITEMLIST_114 extends MovieClip { public var mItem1:MovieClip; public var mItem2:MovieClip; public var mItem3:MovieClip; public var mItem4:MovieClip; public var mItem5:MovieClip; public var mItem6:MovieClip; public var mItem7:MovieClip; public var mItem8:MovieClip; public var mItem9:MovieClip; public var mItem0:MovieClip; public function ITEMLIST_114(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 25
//LIQUIDGEL1_78 (JellyCandle_fla.LIQUIDGEL1_78) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class LIQUIDGEL1_78 extends MovieClip { public function LIQUIDGEL1_78(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 26
//Lloadingy_2 (JellyCandle_fla.Lloadingy_2) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class Lloadingy_2 extends MovieClip { public var a:int; public var bar:MovieClip; public var mc:MovieClip; public function Lloadingy_2(){ addFrameScript(0, frame1, 88, frame89, 90, frame91, 264, frame265); } public function myover(_arg1:Event):void{ this.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, myloadmovie); mc.play(); play(); } function frame1(){ stop(); this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, myloadmovie); this.loaderInfo.addEventListener(Event.COMPLETE, myover); } function frame91(){ a = 1; } function frame265(){ stop(); (parent as MovieClip).gotoAndStop(2); } function frame89(){ a = 1; trace(a); } public function myloadmovie(_arg1:ProgressEvent):void{ var _local2:Number = (_arg1.bytesLoaded / _arg1.bytesTotal); var _local3:Number = Math.round((_local2 * 100)); trace(_local3); bar.loading_animation.gotoAndStop(int(_local3)); } } }//package JellyCandle_fla
Section 27
//MusicBtn_41 (JellyCandle_fla.MusicBtn_41) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class MusicBtn_41 extends MovieClip { public function MusicBtn_41(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 28
//PAN_73 (JellyCandle_fla.PAN_73) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class PAN_73 extends MovieClip { public function PAN_73(){ addFrameScript(0, frame1, 32, frame33, 95, frame96, 258, frame259, 319, frame320); } function frame320(){ stop(); CGame1.GetInstance().endAnimasi(); } function frame259(){ stop(); CGame1.GetInstance().endAnimasi(); } function frame96(){ stop(); CGame1.GetInstance().endAnimasi(); } function frame1(){ stop(); } function frame33(){ stop(); CGame1.GetInstance().endAnimasi(); } } }//package JellyCandle_fla
Section 29
//PRELOADERDIDI_1 (JellyCandle_fla.PRELOADERDIDI_1) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import caurina.transitions.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class PRELOADERDIDI_1 extends MovieClip { public function PRELOADERDIDI_1(){ addFrameScript(0, frame1, 1, frame2); } public function gotoMainMenu(){ Main.GetInstance().gotoAndStop("mainMenu"); } function frame1(){ buttonMode = true; useHandCursor = true; addEventListener(MouseEvent.CLICK, Global.moreGames); stop(); } function frame2(){ Tweener.addTween(this, {time:4, transition:"linear", onComplete:gotoMainMenu}); } } }//package JellyCandle_fla
Section 30
//QualityBtn_42 (JellyCandle_fla.QualityBtn_42) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class QualityBtn_42 extends MovieClip { public function QualityBtn_42(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 31
//SAND1_109 (JellyCandle_fla.SAND1_109) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class SAND1_109 extends MovieClip { public function SAND1_109(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 32
//SFXBtn_43 (JellyCandle_fla.SFXBtn_43) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class SFXBtn_43 extends MovieClip { public function SFXBtn_43(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame1(){ stop(); } function frame2(){ stop(); } function frame3(){ stop(); } function frame4(){ stop(); } } }//package JellyCandle_fla
Section 33
//STOVESWITCH_85 (JellyCandle_fla.STOVESWITCH_85) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class STOVESWITCH_85 extends MovieClip { public function STOVESWITCH_85(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 34
//Timeline_7 (JellyCandle_fla.Timeline_7) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class Timeline_7 extends MovieClip { public var fButton:MovieClip; public function Timeline_7(){ addFrameScript(0, frame1, 59, frame60); } function frame1(){ if ((parent as MovieClip).a == 1){ play(); } else { stop(); }; fButton.addEventListener(MouseEvent.CLICK, fButtonClicked); } function frame60(){ stop(); } public function fButtonClicked(_arg1:MouseEvent){ var urlRequest:URLRequest; var e = _arg1; try { urlRequest = new URLRequest("http://www.didigames.com/"); navigateToURL(urlRequest, "_blank"); } catch(e:Error) { }; } } }//package JellyCandle_fla
Section 35
//TODOLIST_98 (JellyCandle_fla.TODOLIST_98) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class TODOLIST_98 extends MovieClip { public function TODOLIST_98(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 36
//TODOLIST1_60 (JellyCandle_fla.TODOLIST1_60) package JellyCandle_fla { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class TODOLIST1_60 extends MovieClip { public function TODOLIST1_60(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package JellyCandle_fla
Section 37
//bgm (bgm) package { import flash.media.*; public dynamic class bgm extends Sound { } }//package
Section 38
//button (button) package { import flash.media.*; public dynamic class button extends Sound { } }//package
Section 39
//CBannedWin (CBannedWin) package { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class CBannedWin extends MovieClip { public var mBtn:SimpleButton; public function CBannedWin(){ addFrameScript(0, frame1); } public function GotoSapi(_arg1:MouseEvent){ var _local2:URLRequest = new URLRequest("http://www.lazybanana.com"); navigateToURL(_local2); } function frame1(){ mBtn.addEventListener(MouseEvent.MOUSE_DOWN, GotoSapi); } } }//package
Section 40
//CBaseMovieClip (CBaseMovieClip) package { import flash.events.*; import flash.display.*; public class CBaseMovieClip extends MovieClip { public var mEventType:String; public function CBaseMovieClip(_arg1:String){ mEventType = _arg1; } public function AddDispatcher():void{ Main.GetInstance().addEventListener(mEventType, Update, false, 0, true); } public function Update(_arg1:Event){ } public function RemoveDispatcher(){ Main.GetInstance().removeEventListener(mEventType, Update); } } }//package
Section 41
//CChallenge (CChallenge) package { import flash.display.*; public dynamic class CChallenge extends MovieClip { public var mNext:MovieClip; } }//package
Section 42
//CCongratulations (CCongratulations) package { import flash.display.*; public dynamic class CCongratulations extends MovieClip { public var mPrint:MovieClip; public var mLit:MovieClip; public var mLitIT:MovieClip; public var mPlayAgain:MovieClip; public var mMoreGames:MovieClip; } }//package
Section 43
//CDecorate (CDecorate) package { import flash.display.*; public dynamic class CDecorate extends MovieClip { public var mNext:MovieClip; } }//package
Section 44
//CExample (CExample) package { import flash.display.*; import flash.text.*; public dynamic class CExample extends MovieClip { public var mExample:MovieClip; public var mOK:MovieClip; public var tCtrExample:TextField; } }//package
Section 45
//CGame1 (CGame1) package { import flash.events.*; import flash.display.*; public class CGame1 extends CBaseMovieClip { public const ESSENTIAL = 2; public const LIQUID_GEL = 1; public const GEL_WAX = 0; public const SPEED_TERMOMETER = 0.25; public var mSwitch:MovieClip; public var mArrowStir:MovieClip; public var mPause:MovieClip; public var mDone:MovieClip; public var mItem0:MovieClip; public var mItem1:MovieClip; public var mItem2:MovieClip; public var mSound:MovieClip; public var mCursor:MovieClip; public var mSpoon:MovieClip; public var mToDoList:MovieClip; public var mTermometer:MovieClip; public var isAnimasi:Boolean; public var mWindow:MovieClip; public var mFire:MovieClip; public var mRecipe:MovieClip; public var mItemPick:MovieClip; public var mPan:MovieClip; private static var CGameGlobal:CGame1; public function CGame1(){ super("update"); CGameGlobal = this; mTermometer.mBar.x = -(mTermometer.mBar.width); mArrowStir.visible = false; mArrowStir.useHandCursor = true; mArrowStir.buttonMode = true; mCursor.alpha = 0; Global.setMouseEnabled(mCursor, false); setEventListener(); mFire.visible = false; Global.setMouseEnabled(this[("mItem" + GEL_WAX)], true); Global.setMouseEnabled(mSwitch, false); Global.setMouseEnabled(mDone, false); if (Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(1); } else { if (!Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(2); }; }; } private function nextGame(_arg1:MouseEvent){ Main.GetInstance().changeWindowFromTo("Game1", "Game2"); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function pauseGame(_arg1:MouseEvent){ Main.GetInstance().mState = Main.STATE_PAUSED; if (isAnimasi){ mPan.stop(); }; if (_arg1){ mWindow = new CPause(); addChild(mWindow); Global.setButton(mWindow.mResume); Global.setButton(mWindow.mMainMenu); Global.setButton(mWindow.mMoreGames); mWindow.mResume.addEventListener(MouseEvent.MOUSE_DOWN, resumeGame, false, 0, true); mWindow.mMainMenu.addEventListener(MouseEvent.MOUSE_DOWN, backMainMenu, false, 0, true); mWindow.mMoreGames.addEventListener(MouseEvent.MOUSE_DOWN, Global.moreGames, false, 0, true); Main.GetInstance().mOptionBar.PlaySFX("button"); }; } private function updateTermometer(){ mTermometer.mBar.x = (mTermometer.mBar.x + SPEED_TERMOMETER); if (mTermometer.mBar.x > 0){ mTermometer.mBar.x = 0; Main.GetInstance().mState = Main.STATE_PAUSED; }; if (((((((mTermometer.mBar.hitTestObject(mTermometer.mArea2)) && (this[("mItem" + GEL_WAX)].isAdd))) && ((mSwitch.currentFrame == 1)))) && (!(mItemPick)))){ mSwitch.gotoAndStop(2); Global.setMouseEnabled(mSwitch, true); } else { if (((((((mTermometer.mBar.hitTestObject(mTermometer.mArea3)) && (this[("mItem" + GEL_WAX)].isAdd))) && (!(this[("mItem" + LIQUID_GEL)].isAdd)))) && (!(mItemPick)))){ this[("mItem" + LIQUID_GEL)].gotoAndStop(2); Global.setMouseEnabled(this[("mItem" + LIQUID_GEL)], true); } else { if (((((mTermometer.mBar.hitTestObject(mTermometer.mArea4)) && (this[("mItem" + LIQUID_GEL)].isAdd))) && (!(mArrowStir.visible)))){ mArrowStir.visible = true; } else { if (((((mTermometer.mBar.hitTestObject(mTermometer.mArea5)) && (!(mArrowStir.parent)))) && ((mSwitch.currentFrame == 3)))){ mSwitch.gotoAndStop(4); Global.setMouseEnabled(mSwitch, true); } else { if (((((((mTermometer.mBar.hitTestObject(mTermometer.mArea6)) && ((mSwitch.currentFrame == 5)))) && (!(this[("mItem" + ESSENTIAL)].isAdd)))) && (!(mItemPick)))){ this[("mItem" + ESSENTIAL)].gotoAndStop(2); Global.setMouseEnabled(this[("mItem" + ESSENTIAL)], true); }; }; }; }; }; if (((mTermometer.mBar.hitTestObject(mTermometer.mArea2)) && (!(this[("mItem" + GEL_WAX)].isAdd)))){ gameOver(); } else { if (((mTermometer.mBar.hitTestObject(mTermometer.mArea3)) && ((mSwitch.currentFrame == 2)))){ gameOver(); } else { if (((mTermometer.mBar.hitTestObject(mTermometer.mArea4)) && (!(this[("mItem" + LIQUID_GEL)].isAdd)))){ gameOver(); } else { if (((mTermometer.mBar.hitTestObject(mTermometer.mArea5)) && (mArrowStir.parent))){ gameOver(); } else { if (((mTermometer.mBar.hitTestObject(mTermometer.mArea6)) && ((mSwitch.currentFrame == 4)))){ gameOver(); }; }; }; }; }; } private function closeRecipe(_arg1:MouseEvent){ resumeGame(null); mWindow.parent.removeChild(mWindow); mWindow = null; Main.GetInstance().mOptionBar.PlaySFX("button"); } private function setEventListener(){ Global.setButton(mRecipe); Global.setButton(mPause); Global.setButton(mSound); Global.setButton(mDone); mRecipe.addEventListener(MouseEvent.MOUSE_DOWN, showRecipe, false, 0, true); mPause.addEventListener(MouseEvent.MOUSE_DOWN, pauseGame, false, 0, true); mSound.addEventListener(MouseEvent.MOUSE_DOWN, toggleMusic, false, 0, true); mDone.addEventListener(MouseEvent.MOUSE_DOWN, nextGame, false, 0, true); var _local1:int; while (_local1 <= 2) { this[("mItem" + _local1)].isAdd = false; Global.setButton(this[("mItem" + _local1)]); Global.setMouseEnabled(this[("mItem" + _local1)], false); this[("mItem" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, pickItem, false, 0, true); _local1++; }; addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove, false, 0, true); Global.setButton(mSwitch); Global.setButton(mPan); mPan.addEventListener(MouseEvent.MOUSE_DOWN, onDownPan, false, 0, true); mSwitch.addEventListener(MouseEvent.MOUSE_DOWN, onDownSwitch, false, 0, true); } private function onDownSwitch(_arg1:MouseEvent){ if (!mFire.visible){ mFire.visible = true; } else { if (mFire.visible){ mFire.visible = false; }; }; mSwitch.nextFrame(); mToDoList.nextFrame(); Global.setMouseEnabled(mSwitch, false); } private function toggleMusic(_arg1:MouseEvent){ Main.GetInstance().mOptionBar.ToggleMusic(); Main.GetInstance().mOptionBar.ToggleSFX(); if (Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(1); } else { if (!Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(2); }; }; } private function checkItem(_arg1:int){ if (((!(mTermometer.mBar.hitTestObject(mTermometer.mArea1))) && ((_arg1 == GEL_WAX)))){ return (false); }; if (((!(mTermometer.mBar.hitTestObject(mTermometer.mArea3))) && ((_arg1 == LIQUID_GEL)))){ return (false); }; if (((!(mTermometer.mBar.hitTestObject(mTermometer.mArea6))) && ((_arg1 == ESSENTIAL)))){ return (false); }; return (true); } private function backMainMenu(_arg1:MouseEvent){ Main.GetInstance().changeWindowFromTo("Game1", "MainMenu"); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function onDownPan(_arg1:MouseEvent){ if (((!(mItemPick)) || (isAnimasi))){ return; }; if (!checkItem(mItemPick.name.substr(5, 1))){ gameOver(); } else { mPan.play(); isAnimasi = true; }; mItemPick.isAdd = true; mItemPick.visible = false; mToDoList.nextFrame(); } private function resumeGame(_arg1:MouseEvent){ Main.GetInstance().mState = Main.STATE_GAME; if (isAnimasi){ mPan.play(); }; if (_arg1){ mWindow.parent.removeChild(mWindow); mWindow = null; Main.GetInstance().mOptionBar.PlaySFX("button"); }; } private function pickItem(_arg1:MouseEvent){ mItemPick = _arg1.currentTarget; mItemPick.tempX = mItemPick.x; mItemPick.tempY = mItemPick.y; mItemPick.x = _arg1.stageX; mItemPick.y = _arg1.stageY; mItemPick.nextFrame(); mPan.nextFrame(); addChild(mItemPick); Global.setMouseEnabled(mItemPick, false); } private function tryAgain(_arg1:MouseEvent){ Main.GetInstance().changeWindowFromTo("Game1", "Game1"); Main.GetInstance().mOptionBar.PlaySFX("button"); } override public function Update(_arg1:Event){ updateTermometer(); } private function showRecipe(_arg1:MouseEvent){ pauseGame(null); mWindow = new CRecipe(); addChild(mWindow); Global.setButton(mWindow.mClose); mWindow.mClose.addEventListener(MouseEvent.MOUSE_DOWN, closeRecipe, false, 0, true); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function gameOver(){ pauseGame(null); mWindow = new CGameOver(); addChild(mWindow); Global.setButton(mWindow.mTryAgain); mWindow.mTryAgain.addEventListener(MouseEvent.MOUSE_DOWN, tryAgain, false, 0, true); } public function endAnimasi(){ isAnimasi = false; if (mItemPick){ mItemPick.visible = true; mItemPick.x = mItemPick.tempX; mItemPick.y = mItemPick.tempY; mItemPick.gotoAndStop(4); mItemPick = null; }; if (!mSpoon.visible){ mSpoon.visible = true; }; if (mPan.currentFrame == mPan.totalFrames){ Main.GetInstance().mState = Main.STATE_PAUSED; mDone.gotoAndStop(2); Global.setMouseEnabled(mDone, true); }; } private function onMouseMove(_arg1:MouseEvent){ if (mItemPick){ mItemPick.x = _arg1.stageX; mItemPick.y = _arg1.stageY; }; if (((((mArrowStir.visible) && (mArrowStir.parent))) && (!(isAnimasi)))){ if (mArrowStir.mArea.currentFrame == mArrowStir.mArea.totalFrames){ mPan.play(); isAnimasi = true; mArrowStir.visible = false; mSpoon.visible = false; mToDoList.nextFrame(); mArrowStir.parent.removeChild(mArrowStir); } else { if (mArrowStir.mArea.hitTestObject(mCursor)){ mArrowStir.mArea.nextFrame(); }; }; }; mCursor.x = _arg1.stageX; mCursor.y = _arg1.stageY; } public static function GetInstance():CGame1{ return (CGameGlobal); } } }//package
Section 46
//CGame2 (CGame2) package { import flash.events.*; import flash.display.*; public class CGame2 extends CBaseMovieClip { public const ADD_SAND = 4; public const USE_ZINK_WICK = 3; public const ADD_JELLY_WAX = 6; public const GLUE_THE_BASE = 2; public const ADD_CORAL_TOY = 5; public const PULL_STICK = 7; public var mPause:MovieClip; public var mDone:MovieClip; public var mSand:MovieClip; public var mArrow3:MovieClip; public var mArrow1:MovieClip; public var mArrow2:MovieClip; public var mSound:MovieClip; public var mCursor:MovieClip; public var mToDoList:MovieClip; public var isAnimasi:Boolean; public var mWindow:MovieClip; public var mGlue:MovieClip; public var mCoral:MovieClip; public var mCandle:MovieClip; public var mRecipe:MovieClip; public var mItemPick:MovieClip; private static var CGameGlobal:CGame2; public function CGame2(){ super("update"); CGameGlobal = this; mCursor.alpha = 0; mArrow2.visible = false; mArrow3.visible = false; Global.setMouseEnabled(mCursor, false); Global.setMouseEnabled(mCandle, false); Global.setMouseEnabled(mCoral, false); Global.setMouseEnabled(mSand, false); Global.setMouseEnabled(mDone, false); setEventListener(); if (Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(1); } else { if (!Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(2); }; }; } private function nextGame(_arg1:MouseEvent){ Main.GetInstance().changeWindowFromTo("Game2", "Game3"); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function onDownCandle(_arg1:MouseEvent){ if (((!(mItemPick)) || (isAnimasi))){ return; }; mCandle.play(); mItemPick.visible = false; mItemPick.x = mItemPick.tempX; mItemPick.y = mItemPick.tempY; mItemPick.gotoAndStop(mItemPick.totalFrames); mItemPick = null; mToDoList.nextFrame(); Global.setMouseEnabled(mCandle, false); } private function pauseGame(_arg1:MouseEvent){ Main.GetInstance().mState = Main.STATE_PAUSED; if (isAnimasi){ mCandle.stop(); }; if (_arg1){ mWindow = new CPause(); addChild(mWindow); Global.setButton(mWindow.mResume); Global.setButton(mWindow.mMainMenu); Global.setButton(mWindow.mMoreGames); mWindow.mResume.addEventListener(MouseEvent.MOUSE_DOWN, resumeGame, false, 0, true); mWindow.mMainMenu.addEventListener(MouseEvent.MOUSE_DOWN, backMainMenu, false, 0, true); mWindow.mMoreGames.addEventListener(MouseEvent.MOUSE_DOWN, Global.moreGames, false, 0, true); Main.GetInstance().mOptionBar.PlaySFX("button"); }; } private function closeRecipe(_arg1:MouseEvent){ resumeGame(null); mWindow.parent.removeChild(mWindow); mWindow = null; Main.GetInstance().mOptionBar.PlaySFX("button"); } private function setEventListener(){ Global.setButton(mRecipe); Global.setButton(mPause); Global.setButton(mSound); Global.setButton(mDone); mRecipe.addEventListener(MouseEvent.MOUSE_DOWN, showRecipe, false, 0, true); mPause.addEventListener(MouseEvent.MOUSE_DOWN, pauseGame, false, 0, true); mSound.addEventListener(MouseEvent.MOUSE_DOWN, toggleMusic, false, 0, true); mDone.addEventListener(MouseEvent.MOUSE_DOWN, showChallenge, false, 0, true); Global.setButton(mCandle); Global.setButton(mSand); Global.setButton(mCoral); mCandle.addEventListener(MouseEvent.MOUSE_DOWN, onDownCandle, false, 0, true); mSand.addEventListener(MouseEvent.MOUSE_DOWN, pickItem, false, 0, true); mCoral.addEventListener(MouseEvent.MOUSE_DOWN, pickItem, false, 0, true); addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove, false, 0, true); } private function toggleMusic(_arg1:MouseEvent){ Main.GetInstance().mOptionBar.ToggleMusic(); Main.GetInstance().mOptionBar.ToggleSFX(); if (Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(1); } else { if (!Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(2); }; }; } private function backMainMenu(_arg1:MouseEvent){ Main.GetInstance().changeWindowFromTo("Game2", "MainMenu"); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function resumeGame(_arg1:MouseEvent){ Main.GetInstance().mState = Main.STATE_GAME; if (isAnimasi){ mCandle.play(); }; if (_arg1){ mWindow.parent.removeChild(mWindow); mWindow = null; Main.GetInstance().mOptionBar.PlaySFX("button"); }; } private function pickItem(_arg1:MouseEvent){ mItemPick = _arg1.currentTarget; mItemPick.tempX = mItemPick.x; mItemPick.tempY = mItemPick.y; mItemPick.x = _arg1.stageX; mItemPick.y = _arg1.stageY; mItemPick.nextFrame(); mCandle.nextFrame(); addChild(mItemPick); Global.setMouseEnabled(mItemPick, false); Global.setMouseEnabled(mCandle, true); } private function showChallenge(_arg1:MouseEvent){ mWindow = new CChallenge(); addChild(mWindow); Global.setButton(mWindow.mNext); mWindow.mNext.addEventListener(MouseEvent.MOUSE_DOWN, nextGame, false, 0, true); } override public function Update(_arg1:Event){ } private function showRecipe(_arg1:MouseEvent){ pauseGame(null); mWindow = new CRecipe(); addChild(mWindow); Global.setButton(mWindow.mClose); mWindow.mClose.addEventListener(MouseEvent.MOUSE_DOWN, closeRecipe, false, 0, true); Main.GetInstance().mOptionBar.PlaySFX("button"); } public function endAnimasi(){ isAnimasi = false; switch (mToDoList.currentFrame){ case GLUE_THE_BASE: mArrow2.visible = true; break; case USE_ZINK_WICK: mSand.gotoAndStop(2); Global.setMouseEnabled(mSand, true); break; case ADD_SAND: mSand.visible = true; mCoral.gotoAndStop(2); Global.setMouseEnabled(mCoral, true); break; case ADD_CORAL_TOY: mArrow2.mArea.gotoAndStop(1); mArrow2.visible = true; break; case ADD_JELLY_WAX: mArrow3.visible = true; break; }; if (mCandle.currentFrame == mCandle.totalFrames){ mDone.gotoAndStop(2); Global.setMouseEnabled(mDone, true); }; } private function onMouseMove(_arg1:MouseEvent){ if (mItemPick){ mItemPick.x = _arg1.stageX; mItemPick.y = _arg1.stageY; }; if (mArrow1.visible){ if (mArrow1.mArea.currentFrame == mArrow1.mArea.totalFrames){ mCandle.play(); isAnimasi = true; mArrow1.visible = false; mGlue.visible = false; mToDoList.nextFrame(); } else { if (mArrow1.mArea.hitTestObject(mCursor)){ mArrow1.mArea.nextFrame(); }; }; } else { if (mArrow2.visible){ if (mArrow2.mArea.currentFrame == mArrow2.mArea.totalFrames){ mCandle.play(); isAnimasi = true; mArrow2.visible = false; mToDoList.nextFrame(); } else { if (mArrow2.mArea.hitTestObject(mCursor)){ mArrow2.mArea.nextFrame(); }; }; } else { if (mArrow3.visible){ if (mArrow3.mArea.currentFrame == mArrow3.mArea.totalFrames){ mCandle.play(); isAnimasi = true; mArrow3.visible = false; mToDoList.nextFrame(); } else { if (mArrow3.mArea.hitTestObject(mCursor)){ mArrow3.mArea.nextFrame(); }; }; }; }; }; mCursor.x = _arg1.stageX; mCursor.y = _arg1.stageY; } public static function GetInstance():CGame2{ return (CGameGlobal); } } }//package
Section 47
//CGame3 (CGame3) package { import flash.events.*; import flash.display.*; import caurina.transitions.*; import de.polygonal.math.*; import flash.text.*; import flash.filters.*; public class CGame3 extends CBaseMovieClip { public var mPause:MovieClip; public var mDone:MovieClip; public var ctrExample:int; public var item:Array; public var mExample2:MovieClip; public var goal:int; public var mItem:MovieClip; public var score:int; public var mSound:MovieClip; public var mSetting:MovieClip; public var mScore:MovieClip; public var tGoal:TextField; public var exampleList:Array; public var mItemSelect:MovieClip; public var mWindow:MovieClip; public var mExample:MovieClip; public var scoreList:Array; public var mCandle:MovieClip; public var mRecipe:MovieClip; public var mItemPick:MovieClip; public var example:int; public var tScore:TextField; private static var CGameGlobal:CGame3; public function CGame3(){ item = new Array(); exampleList = [0, 1, 2, 3, 4, 5, 6, 7]; scoreList = new Array(); super("update"); CGameGlobal = this; score = 0; goal = 2500; tScore.text = 0; tGoal.text = goal; randomExample(); mExample.alpha = 0; setEventListener(); Global.setMouseEnabled(mCandle.mColor, false); Global.setMouseEnabled(mExample, false); Global.setMouseEnabled(mDone, false); showExample(); if (Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(1); } else { if (!Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(2); }; }; } private function nextGame(_arg1:MouseEvent){ Main.GetInstance().changeWindowFromTo("Game3", "Game4"); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function onOverItem(_arg1:MouseEvent){ _arg1.currentTarget.filters = [new GlowFilter(5457729, (alpha = 1), (blurX = 5), (blurY = 5), (strength = 5))]; } private function pauseGame(_arg1:MouseEvent){ Main.GetInstance().mState = Main.STATE_PAUSED; if (_arg1){ mWindow = new CPause(); addChild(mWindow); Global.setButton(mWindow.mResume); Global.setButton(mWindow.mMainMenu); Global.setButton(mWindow.mMoreGames); mWindow.mResume.addEventListener(MouseEvent.MOUSE_DOWN, resumeGame, false, 0, true); mWindow.mMainMenu.addEventListener(MouseEvent.MOUSE_DOWN, backMainMenu, false, 0, true); mWindow.mMoreGames.addEventListener(MouseEvent.MOUSE_DOWN, Global.moreGames, false, 0, true); Main.GetInstance().mOptionBar.PlaySFX("button"); }; } private function onDownCandle(_arg1:MouseEvent){ if (!mItemPick){ return; }; mItemSelect = mItemPick; mItemPick = null; mCandle.addChild(mItemSelect); mItemSelect.x = (mItemSelect.x - mCandle.x); mItemSelect.y = (mItemSelect.y - mCandle.y); mItemSelect.filters = [new GlowFilter(5457729, (alpha = 1), (blurX = 5), (blurY = 5), (strength = 5))]; mCandle.setChildIndex(mItemSelect, (mCandle.numChildren - 3)); var _local2:int; while (_local2 < item.length) { Global.setMouseEnabled(item[_local2], true); _local2++; }; item.push(mItemSelect); if (item.length == (Data.example[example].length - 2)){ mItem.gotoAndStop(2); Global.setMouseEnabled(mItem, false); Global.setMouseEnabled(mDone, true); }; } private function showScore(){ if (mScore){ mScore.parent.removeChild(mScore); mScore = null; scoreList.splice(0, 1); }; if (!scoreList.length){ if (ctrExample < 3){ nextExample(); } else { if (score >= goal){ showDecorate(); } else { if (score < goal){ gameOver(); }; }; }; return; }; mScore = new CScore(); mScore.tValue.text = ("+" + String(scoreList[0].value)); mScore.x = (mCandle.x + scoreList[0].x); mScore.y = (mCandle.y + scoreList[0].y); score = (score + scoreList[0].value); tScore.text = score; addChild(mScore); Tweener.addTween(mScore, {time:0.5, y:(mScore.y - 20), transition:"linear", onComplete:showScore}); Main.GetInstance().mOptionBar.PlaySFX("score"); } private function onOutItem(_arg1:MouseEvent){ _arg1.currentTarget.filters = []; } private function setEventListener(){ var _local1:int; Global.setButton(mRecipe); Global.setButton(mPause); Global.setButton(mSound); Global.setButton(mDone); mRecipe.addEventListener(MouseEvent.MOUSE_DOWN, showRecipe, false, 0, true); mPause.addEventListener(MouseEvent.MOUSE_DOWN, pauseGame, false, 0, true); mSound.addEventListener(MouseEvent.MOUSE_DOWN, toggleMusic, false, 0, true); mDone.addEventListener(MouseEvent.MOUSE_DOWN, checkScore, false, 0, true); mCandle.addEventListener(MouseEvent.MOUSE_DOWN, onDownCandle, false, 0, true); _local1 = 0; while (_local1 < mItem.numChildren) { Global.setButton(mItem[("mItem" + _local1)]); mItem[("mItem" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, pickItem, false, 0, true); _local1++; }; _local1 = 0; while (_local1 < mSetting.numChildren) { Global.setButton(mSetting[("mB" + _local1)]); mSetting[("mB" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, editItem, false, 0, true); _local1++; }; addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove, false, 0, true); } private function showExample(){ mWindow = new CExample(); mWindow.tCtrExample.text = ctrExample; mWindow.mExample.gotoAndStop((example + 1)); mWindow.mExample.mRibbon.gotoAndStop(Data.example[example][(Data.example[example].length - 2)]); mWindow.mExample.mColor.gotoAndStop(Data.example[example][(Data.example[example].length - 1)]); addChild(mWindow); Global.setButton(mWindow.mOK); mWindow.mOK.addEventListener(MouseEvent.MOUSE_DOWN, closeExample, false, 0, true); } private function randomExample(){ var _local1:int = PM_PRNG.nextIntRange(0, (exampleList.length - 1)); example = exampleList[_local1]; exampleList.splice(_local1, 1); ctrExample++; mExample.gotoAndStop((example + 1)); mExample.mRibbon.gotoAndStop(Data.example[example][(Data.example[example].length - 2)]); mExample.mColor.gotoAndStop(Data.example[example][(Data.example[example].length - 1)]); mExample2.gotoAndStop((example + 1)); mExample2.mRibbon.gotoAndStop(Data.example[example][(Data.example[example].length - 2)]); mExample2.mColor.gotoAndStop(Data.example[example][(Data.example[example].length - 1)]); } private function onMouseMove(_arg1:MouseEvent){ if (mItemPick){ mItemPick.x = _arg1.stageX; mItemPick.y = _arg1.stageY; }; } private function showDecorate(){ mWindow = new CDecorate(); addChild(mWindow); Global.setButton(mWindow.mNext); mWindow.mNext.addEventListener(MouseEvent.MOUSE_DOWN, nextGame, false, 0, true); } private function toggleMusic(_arg1:MouseEvent){ Main.GetInstance().mOptionBar.ToggleMusic(); Main.GetInstance().mOptionBar.ToggleSFX(); if (Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(1); } else { if (!Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(2); }; }; } private function selectItem(_arg1:MouseEvent){ if (mItemSelect){ mItemSelect.filters = []; mItemSelect.addEventListener(MouseEvent.MOUSE_OUT, onOutItem, false, 0, true); Global.setMouseEnabled(mItemSelect, true); }; mItemSelect = _arg1.currentTarget; Global.setMouseEnabled(mItemSelect, false); mItemSelect.removeEventListener(MouseEvent.MOUSE_OUT, onOutItem); } private function backMainMenu(_arg1:MouseEvent){ Main.GetInstance().changeWindowFromTo("Game3", "MainMenu"); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function closeRecipe(_arg1:MouseEvent){ resumeGame(null); mWindow.parent.removeChild(mWindow); mWindow = null; Main.GetInstance().mOptionBar.PlaySFX("button"); } private function editItem(_arg1:MouseEvent){ var _local3:int; if (mItemPick){ return; }; var _local2:int = _arg1.currentTarget.name.substr(2, (_arg1.currentTarget.name.length - 2)); switch (_local2){ case Data.ZOOM_IN: if (!mItemSelect){ return; }; if (mItemSelect.scaleX < 0){ mItemSelect.scaleX = -(mItemSelect.scaleX); if (mItemSelect.scaleX <= 2){ mItemSelect.scaleX = (mItemSelect.scaleX + 0.05); mItemSelect.scaleY = (mItemSelect.scaleY + 0.05); }; mItemSelect.scaleX = -(mItemSelect.scaleX); } else { if (mItemSelect.scaleX <= 2){ mItemSelect.scaleX = (mItemSelect.scaleX + 0.05); mItemSelect.scaleY = (mItemSelect.scaleY + 0.05); }; }; break; case Data.ZOOM_OUT: if (!mItemSelect){ return; }; if (mItemSelect.scaleX < 0){ mItemSelect.scaleX = -(mItemSelect.scaleX); if (mItemSelect.scaleX >= 0.5){ mItemSelect.scaleX = (mItemSelect.scaleX - 0.05); mItemSelect.scaleY = (mItemSelect.scaleY - 0.05); }; mItemSelect.scaleX = -(mItemSelect.scaleX); } else { if (mItemSelect.scaleX >= 0.5){ mItemSelect.scaleX = (mItemSelect.scaleX - 0.05); mItemSelect.scaleY = (mItemSelect.scaleY - 0.05); }; }; break; case Data.ROTATE_RIGHT: if (!mItemSelect){ return; }; mItemSelect.rotation = (mItemSelect.rotation + 5); break; case Data.ROTATE_LEFT: if (!mItemSelect){ return; }; mItemSelect.rotation = (mItemSelect.rotation - 5); break; case Data.FORWARD: if (!mItemSelect){ return; }; if (mCandle.getChildIndex(mItemSelect) < (mCandle.numChildren - 3)){ mCandle.setChildIndex(mItemSelect, (mCandle.getChildIndex(mItemSelect) + 1)); }; break; case Data.BACKWARD: if (!mItemSelect){ return; }; if (mCandle.getChildIndex(mItemSelect) > 1){ mCandle.setChildIndex(mItemSelect, (mCandle.getChildIndex(mItemSelect) - 1)); }; break; case Data.FIRST_LAYER: if (!mItemSelect){ return; }; mCandle.setChildIndex(mItemSelect, (mCandle.numChildren - 3)); break; case Data.LAST_LAYER: if (!mItemSelect){ return; }; mCandle.setChildIndex(mItemSelect, 1); break; case Data.FLIP: if (!mItemSelect){ return; }; mItemSelect.scaleX = -(mItemSelect.scaleX); break; case Data.COLOR: if (mCandle.mColor.currentFrame < mCandle.mColor.totalFrames){ mCandle.mColor.nextFrame(); } else { mCandle.mColor.gotoAndStop(1); }; break; case Data.RIBBON: if (mCandle.mRibbon.currentFrame < mCandle.mRibbon.totalFrames){ mCandle.mRibbon.nextFrame(); } else { mCandle.mRibbon.gotoAndStop(1); }; break; case Data.DELETE: mItem.gotoAndStop(1); Global.setMouseEnabled(mItem, true); mItemSelect.parent.removeChild(mItemSelect); item.splice(item.indexOf(mItemSelect), 1); mItemSelect = null; break; case Data.RESET: mItem.gotoAndStop(1); Global.setMouseEnabled(mItem, true); _local3 = 0; while (_local3 < item.length) { item[_local3].parent.removeChild(item[_local3]); _local3++; }; item.splice(0, item.length); mItemSelect = null; break; }; Main.GetInstance().mOptionBar.PlaySFX("button"); } private function closeExample(_arg1:MouseEvent){ mWindow.parent.removeChild(mWindow); mWindow = null; Main.GetInstance().mOptionBar.PlaySFX("button"); } private function pickItem(_arg1:MouseEvent){ if (mItemPick){ mItemPick.parent.removeChild(mItemPick); }; if (mItemSelect){ mItemSelect.filters = []; mItemSelect.addEventListener(MouseEvent.MOUSE_OUT, onOutItem, false, 0, true); Global.setMouseEnabled(mItemSelect, true); }; mItemPick = new CItem(); mItemPick.x = _arg1.stageX; mItemPick.y = _arg1.stageY; mItemPick.gotoAndStop((int(_arg1.currentTarget.name.substr(5, 1)) + 1)); addChild(mItemPick); mItemPick.useHandCursor = true; mItemPick.buttonMode = true; mItemPick.addEventListener(MouseEvent.MOUSE_OVER, onOverItem, false, 0, true); mItemPick.addEventListener(MouseEvent.MOUSE_OUT, onOutItem, false, 0, true); mItemPick.addEventListener(MouseEvent.MOUSE_DOWN, selectItem, false, 0, true); Global.setMouseEnabled(mItemPick, false); var _local2:int; while (_local2 < item.length) { Global.setMouseEnabled(item[_local2], false); _local2++; }; } private function tryAgain(_arg1:MouseEvent){ Main.GetInstance().changeWindowFromTo("Game3", "Game3"); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function gameOver(){ mWindow = new CGameOver(); addChild(mWindow); Global.setButton(mWindow.mTryAgain); mWindow.mTryAgain.addEventListener(MouseEvent.MOUSE_DOWN, tryAgain, false, 0, true); } override public function Update(_arg1:Event){ } private function showRecipe(_arg1:MouseEvent){ pauseGame(null); mWindow = new CRecipe(); addChild(mWindow); Global.setButton(mWindow.mClose); mWindow.mClose.addEventListener(MouseEvent.MOUSE_DOWN, closeRecipe, false, 0, true); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function resumeGame(_arg1:MouseEvent){ Main.GetInstance().mState = Main.STATE_GAME; if (_arg1){ mWindow.parent.removeChild(mWindow); mWindow = null; Main.GetInstance().mOptionBar.PlaySFX("button"); }; } private function checkScore(_arg1:MouseEvent){ var _local4:int; var _local5:int; var _local6:int; var _local7:int; Global.setMouseEnabled(mDone, false); Global.setMouseEnabled(mSetting, false); if (mItemSelect){ mItemSelect.filters = []; mItemSelect = null; Global.setMouseEnabled(mCandle, false); }; var _local2:Array = new Array(); var _local3:Object = new Object(); _local6 = 0; while (_local6 < (Data.example[example].length - 2)) { _local2.push(false); _local6++; }; _local6 = 0; while (_local6 < item.length) { _local4 = 50; _local7 = 0; while (_local7 < (Data.example[example].length - 2)) { if (_local2[_local7]){ } else { if ((((((item[_local6].currentFrame == Data.example[example][_local7])) && ((_local4 > Global.Distance(item[_local6].x, item[_local6].y, mExample[("mItem" + _local7)].x, mExample[("mItem" + _local7)].y))))) && (item[_local6].hitTestObject(mExample[("mItem" + _local7)])))){ _local4 = Global.Distance(item[_local6].x, item[_local6].y, mExample[("mItem" + _local7)].x, mExample[("mItem" + _local7)].y); _local5 = _local7; }; }; _local7++; }; if (_local4 < 50){ _local2[_local5] = true; }; _local3 = new Object(); _local3.value = ((50 - _local4) * 2); _local3.x = item[_local6].x; _local3.y = item[_local6].y; scoreList.push(_local3); _local6++; }; _local3 = new Object(); _local3.value = ((mCandle.mRibbon.currentFrame == mExample.mRibbon.currentFrame)) ? 100 : 0; _local3.x = mCandle.mRibbon.x; _local3.y = mCandle.mRibbon.y; scoreList.push(_local3); _local3 = new Object(); _local3.value = ((mCandle.mColor.currentFrame == mExample.mColor.currentFrame)) ? 100 : 0; _local3.x = mCandle.mColor.x; _local3.y = mCandle.mColor.y; scoreList.push(_local3); showScore(); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function nextExample(){ var _local1:int; while (_local1 < item.length) { item[_local1].parent.removeChild(item[_local1]); _local1++; }; item.splice(0, item.length); mItem.gotoAndStop(1); Global.setMouseEnabled(mItem, true); Global.setMouseEnabled(mCandle, true); Global.setMouseEnabled(mSetting, true); randomExample(); showExample(); } public static function GetInstance():CGame3{ return (CGameGlobal); } } }//package
Section 48
//CGame4 (CGame4) package { import flash.events.*; import flash.display.*; import flash.filters.*; public class CGame4 extends CBaseMovieClip { public var mPause:MovieClip; public var mWindow:MovieClip; public var mDone:MovieClip; public var item:Array; public var mCandle:MovieClip; public var mRecipe:MovieClip; public var mItem:MovieClip; public var mItemPick:MovieClip; public var mSound:MovieClip; public var mSetting:MovieClip; public var mItemSelect:MovieClip; private static var CGameGlobal:CGame4; public function CGame4(){ item = new Array(); super("update"); CGameGlobal = this; setEventListener(); Global.setMouseEnabled(mCandle.mColor, false); if (Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(1); } else { if (!Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(2); }; }; } private function print(_arg1:MouseEvent){ mWindow.mPlayAgain.visible = false; mWindow.mPrint.visible = false; mWindow.mLitIT.visible = false; mWindow.mMoreGames.visible = false; Main.GetInstance().print(this); mWindow.mPlayAgain.visible = true; mWindow.mPrint.visible = true; mWindow.mLitIT.visible = true; mWindow.mMoreGames.visible = true; Main.GetInstance().mOptionBar.PlaySFX("button"); } private function pauseGame(_arg1:MouseEvent){ Main.GetInstance().mState = Main.STATE_PAUSED; if (_arg1){ mWindow = new CPause(); addChild(mWindow); Global.setButton(mWindow.mResume); Global.setButton(mWindow.mMainMenu); Global.setButton(mWindow.mMoreGames); mWindow.mResume.addEventListener(MouseEvent.MOUSE_DOWN, resumeGame, false, 0, true); mWindow.mMainMenu.addEventListener(MouseEvent.MOUSE_DOWN, backMainMenu, false, 0, true); mWindow.mMoreGames.addEventListener(MouseEvent.MOUSE_DOWN, Global.moreGames, false, 0, true); Main.GetInstance().mOptionBar.PlaySFX("button"); }; } private function onOverItem(_arg1:MouseEvent){ _arg1.currentTarget.filters = [new GlowFilter(5457729, (alpha = 1), (blurX = 5), (blurY = 5), (strength = 5))]; } private function onDownCandle(_arg1:MouseEvent){ if (!mItemPick){ return; }; mItemSelect = mItemPick; mItemPick = null; mCandle.addChild(mItemSelect); mItemSelect.x = (mItemSelect.x - mCandle.x); mItemSelect.y = (mItemSelect.y - mCandle.y); mItemSelect.filters = [new GlowFilter(5457729, (alpha = 1), (blurX = 5), (blurY = 5), (strength = 5))]; mCandle.setChildIndex(mItemSelect, (mCandle.numChildren - 3)); var _local2:int; while (_local2 < item.length) { Global.setMouseEnabled(item[_local2], true); _local2++; }; item.push(mItemSelect); } private function pickItem(_arg1:MouseEvent){ if (mItemPick){ mItemPick.parent.removeChild(mItemPick); }; if (mItemSelect){ mItemSelect.filters = []; mItemSelect.addEventListener(MouseEvent.MOUSE_OUT, onOutItem, false, 0, true); Global.setMouseEnabled(mItemSelect, true); }; mItemPick = new CItem(); mItemPick.x = _arg1.stageX; mItemPick.y = _arg1.stageY; mItemPick.gotoAndStop((int(_arg1.currentTarget.name.substr(5, 1)) + 1)); addChild(mItemPick); mItemPick.useHandCursor = true; mItemPick.buttonMode = true; mItemPick.addEventListener(MouseEvent.MOUSE_OVER, onOverItem, false, 0, true); mItemPick.addEventListener(MouseEvent.MOUSE_OUT, onOutItem, false, 0, true); mItemPick.addEventListener(MouseEvent.MOUSE_DOWN, selectItem, false, 0, true); Global.setMouseEnabled(mItemPick, false); var _local2:int; while (_local2 < item.length) { Global.setMouseEnabled(item[_local2], false); _local2++; }; } private function resumeGame(_arg1:MouseEvent){ Main.GetInstance().mState = Main.STATE_GAME; if (_arg1){ mWindow.parent.removeChild(mWindow); mWindow = null; }; } private function showCongratulations(_arg1:MouseEvent){ mWindow = new CCongratulations(); addChild(mWindow); mWindow.mLit.visible = false; Global.setButton(mWindow.mPlayAgain); Global.setButton(mWindow.mPrint); Global.setButton(mWindow.mLitIT); Global.setButton(mWindow.mMoreGames); mWindow.mPlayAgain.addEventListener(MouseEvent.MOUSE_DOWN, playAgain, false, 0, true); mWindow.mPrint.addEventListener(MouseEvent.MOUSE_DOWN, print, false, 0, true); mWindow.mLitIT.addEventListener(MouseEvent.MOUSE_DOWN, lit, false, 0, true); mWindow.mMoreGames.addEventListener(MouseEvent.MOUSE_DOWN, Global.moreGames, false, 0, true); addChild(mCandle); addChild(mWindow.mLit); mCandle.x = 633.95; mCandle.y = 408.25; mCandle.scaleX = 0.9; mCandle.scaleY = 0.9; } private function playAgain(_arg1:MouseEvent){ Main.GetInstance().changeWindowFromTo("Game4", "Game1"); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function onOutItem(_arg1:MouseEvent){ _arg1.currentTarget.filters = []; } private function showRecipe(_arg1:MouseEvent){ pauseGame(null); mWindow = new CRecipe(); addChild(mWindow); Global.setButton(mWindow.mClose); mWindow.mClose.addEventListener(MouseEvent.MOUSE_DOWN, closeRecipe, false, 0, true); Main.GetInstance().mOptionBar.PlaySFX("button"); } private function setEventListener(){ var _local1:int; Global.setButton(mRecipe); Global.setButton(mPause); Global.setButton(mSound); Global.setButton(mDone); mRecipe.addEventListener(MouseEvent.MOUSE_DOWN, showRecipe, false, 0, true); mPause.addEventListener(MouseEvent.MOUSE_DOWN, pauseGame, false, 0, true); mSound.addEventListener(MouseEvent.MOUSE_DOWN, toggleMusic, false, 0, true); mDone.addEventListener(MouseEvent.MOUSE_DOWN, showCongratulations, false, 0, true); mCandle.addEventListener(MouseEvent.MOUSE_DOWN, onDownCandle, false, 0, true); _local1 = 0; while (_local1 < mItem.numChildren) { Global.setButton(mItem[("mItem" + _local1)]); mItem[("mItem" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, pickItem, false, 0, true); _local1++; }; _local1 = 0; while (_local1 < mSetting.numChildren) { Global.setButton(mSetting[("mB" + _local1)]); mSetting[("mB" + _local1)].addEventListener(MouseEvent.MOUSE_DOWN, editItem, false, 0, true); _local1++; }; addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove, false, 0, true); } private function closeRecipe(_arg1:MouseEvent){ resumeGame(null); mWindow.parent.removeChild(mWindow); mWindow = null; Main.GetInstance().mOptionBar.PlaySFX("button"); } private function selectItem(_arg1:MouseEvent){ if (mItemSelect){ mItemSelect.filters = []; mItemSelect.addEventListener(MouseEvent.MOUSE_OUT, onOutItem, false, 0, true); Global.setMouseEnabled(mItemSelect, true); }; mItemSelect = _arg1.currentTarget; Global.setMouseEnabled(mItemSelect, false); mItemSelect.removeEventListener(MouseEvent.MOUSE_OUT, onOutItem); } override public function Update(_arg1:Event){ } private function toggleMusic(_arg1:MouseEvent){ Main.GetInstance().mOptionBar.ToggleMusic(); Main.GetInstance().mOptionBar.ToggleSFX(); if (Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(1); } else { if (!Main.GetInstance().mOptionBar.mBgmFlag){ mSound.gotoAndStop(2); }; }; } private function onMouseMove(_arg1:MouseEvent){ if (mItemPick){ mItemPick.x = _arg1.stageX; mItemPick.y = _arg1.stageY; }; } private function lit(_arg1:MouseEvent){ mWindow.mLit.visible = true; Main.GetInstance().mOptionBar.PlaySFX("button"); } private function editItem(_arg1:MouseEvent){ var _local3:int; if (mItemPick){ return; }; var _local2:int = _arg1.currentTarget.name.substr(2, (_arg1.currentTarget.name.length - 2)); switch (_local2){ case Data.ZOOM_IN: if (!mItemSelect){ return; }; if (mItemSelect.scaleX < 0){ mItemSelect.scaleX = -(mItemSelect.scaleX); if (mItemSelect.scaleX <= 1.5){ mItemSelect.scaleX = (mItemSelect.scaleX + 0.05); mItemSelect.scaleY = (mItemSelect.scaleY + 0.05); }; mItemSelect.scaleX = -(mItemSelect.scaleX); } else { if (mItemSelect.scaleX <= 1.5){ mItemSelect.scaleX = (mItemSelect.scaleX + 0.05); mItemSelect.scaleY = (mItemSelect.scaleY + 0.05); }; }; break; case Data.ZOOM_OUT: if (!mItemSelect){ return; }; if (mItemSelect.scaleX < 0){ mItemSelect.scaleX = -(mItemSelect.scaleX); if (mItemSelect.scaleX >= 0.5){ mItemSelect.scaleX = (mItemSelect.scaleX - 0.05); mItemSelect.scaleY = (mItemSelect.scaleY - 0.05); }; mItemSelect.scaleX = -(mItemSelect.scaleX); } else { if (mItemSelect.scaleX >= 0.5){ mItemSelect.scaleX = (mItemSelect.scaleX - 0.05); mItemSelect.scaleY = (mItemSelect.scaleY - 0.05); }; }; break; case Data.ROTATE_RIGHT: if (!mItemSelect){ return; }; mItemSelect.rotation = (mItemSelect.rotation + 5); break; case Data.ROTATE_LEFT: if (!mItemSelect){ return; }; mItemSelect.rotation = (mItemSelect.rotation - 5); break; case Data.FORWARD: if (!mItemSelect){ return; }; if (mCandle.getChildIndex(mItemSelect) < (mCandle.numChildren - 3)){ mCandle.setChildIndex(mItemSelect, (mCandle.getChildIndex(mItemSelect) + 1)); }; break; case Data.BACKWARD: if (!mItemSelect){ return; }; if (mCandle.getChildIndex(mItemSelect) > 1){ mCandle.setChildIndex(mItemSelect, (mCandle.getChildIndex(mItemSelect) - 1)); }; break; case Data.FIRST_LAYER: if (!mItemSelect){ return; }; mCandle.setChildIndex(mItemSelect, (mCandle.numChildren - 3)); break; case Data.LAST_LAYER: if (!mItemSelect){ return; }; mCandle.setChildIndex(mItemSelect, 1); break; case Data.FLIP: if (!mItemSelect){ return; }; mItemSelect.scaleX = -(mItemSelect.scaleX); break; case Data.COLOR: if (mCandle.mColor.currentFrame < mCandle.mColor.totalFrames){ mCandle.mColor.nextFrame(); } else { mCandle.mColor.gotoAndStop(1); }; break; case Data.RIBBON: if (mCandle.mRibbon.currentFrame < mCandle.mRibbon.totalFrames){ mCandle.mRibbon.nextFrame(); } else { mCandle.mRibbon.gotoAndStop(1); }; break; case Data.DELETE: mItemSelect.parent.removeChild(mItemSelect); item.splice(item.indexOf(mItemSelect), 1); mItemSelect = null; break; case Data.RESET: _local3 = 0; while (_local3 < item.length) { item[_local3].parent.removeChild(item[_local3]); _local3++; }; item.splice(0, item.length); mItemSelect = null; break; }; Main.GetInstance().mOptionBar.PlaySFX("button"); } private function backMainMenu(_arg1:MouseEvent){ Main.GetInstance().changeWindowFromTo("Game3", "MainMenu"); Main.GetInstance().mOptionBar.PlaySFX("button"); } public static function GetInstance():CGame4{ return (CGameGlobal); } } }//package
Section 49
//CGameOver (CGameOver) package { import flash.display.*; public dynamic class CGameOver extends MovieClip { public var mTryAgain:MovieClip; } }//package
Section 50
//CItem (CItem) package { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class CItem extends MovieClip { public function CItem(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 51
//CMainMenu (CMainMenu) package { import flash.events.*; import flash.display.*; public class CMainMenu extends MovieClip { public var mPlayGame:MovieClip; public var mMoreGames:MovieClip; public function CMainMenu(){ Global.setButton(mPlayGame); Global.setButton(mMoreGames); mPlayGame.addEventListener(MouseEvent.MOUSE_UP, playGame, false, 0, true); mMoreGames.addEventListener(MouseEvent.MOUSE_UP, Global.moreGames, false, 0, true); } private function playGame(_arg1:MouseEvent){ Main.GetInstance().changeWindowFromTo("MainMenu", "Game1"); Main.GetInstance().mOptionBar.PlaySFX("button"); } } }//package
Section 52
//COptionBar (COptionBar) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.utils.*; public class COptionBar extends MovieClip { public var mMusic:MovieClip; private var mSfxChannel:Array; public var mQuality:MovieClip; public var mSFX:MovieClip; private var mBgm:Sound; public var mPopUp:MovieClip; public var mBgmFlag:Boolean; private var mBgmChannel:SoundChannel; private var mSfxFlag:Boolean;// = true private var mBgmVol:Number;// = 1 public static var Global:COptionBar; public function COptionBar(_arg1:int=0, _arg2:int=0, _arg3:String=null, _arg4:Number=0.5){ var _local5:Class; super(); Global = this; mBgmVol = _arg4; this.x = _arg1; this.y = _arg2; if (_arg3){ _local5 = (getDefinitionByName(_arg3) as Class); if (_local5){ mBgm = new (_local5); }; }; mPopUp.mouseEnabled = false; mMusic.buttonMode = true; mMusic.useHandCursor = true; mSFX.buttonMode = true; mSFX.useHandCursor = true; mQuality.buttonMode = true; mQuality.useHandCursor = true; mMusic.addEventListener(MouseEvent.MOUSE_OVER, MusicOver, false, 0, true); mMusic.addEventListener(MouseEvent.MOUSE_OUT, MusicOut, false, 0, true); mMusic.addEventListener(MouseEvent.MOUSE_UP, ToggleMusic, false, 0, true); mSFX.addEventListener(MouseEvent.MOUSE_OVER, SFXOver, false, 0, true); mSFX.addEventListener(MouseEvent.MOUSE_OUT, SFXOut, false, 0, true); mSFX.addEventListener(MouseEvent.MOUSE_UP, ToggleSFX, false, 0, true); mQuality.addEventListener(MouseEvent.MOUSE_OVER, QualityOver, false, 0, true); mQuality.addEventListener(MouseEvent.MOUSE_OUT, QualityOut, false, 0, true); mQuality.addEventListener(MouseEvent.MOUSE_UP, ToggleQuality, false, 0, true); if (((mBgm) && (!((Main.GetInstance().mState == Main.STATE_PRELOADER))))){ StartBGM(); }; mSfxChannel = new Array(); MusicOut(null); SFXOut(null); trace("init option bar"); } public function ToggleSFX_OFF():void{ var _local1:int; if (Main.GetInstance().mState == Main.STATE_PRELOADER){ return; }; if (mSfxFlag){ mSfxFlag = false; if (mSfxChannel){ _local1 = 0; while (_local1 < mSfxChannel.length) { mSfxChannel[_local1].stop(); _local1++; }; }; }; mSfxFlag = false; } public function StopSFX(_arg1:int){ mSfxChannel[_arg1].stop(); } private function MusicOut(_arg1:MouseEvent):void{ if (!mBgmFlag){ mMusic.gotoAndStop(2); } else { mMusic.gotoAndStop(1); }; HidePopUp(); } private function HidePopUp(){ mPopUp.alpha = 0; } public function ToggleMusic_ON(_arg1:MouseEvent=null):void{ if (Main.GetInstance().mState == Main.STATE_PRELOADER){ return; }; StartBGM(); } public function PlaySFX(_arg1:String, _arg2:Number=0.5):int{ if (!mSfxFlag){ return; }; var _local3:Class = (getDefinitionByName(_arg1) as Class); var _local4:Sound = new (_local3); var _local5:SoundTransform = new SoundTransform(_arg2, 0); var _local6:SoundChannel = _local4.play(0, 1, _local5); mSfxChannel.push(_local6); return ((mSfxChannel.length - 1)); } private function QualityOver(_arg1:MouseEvent):void{ mQuality.gotoAndStop(2); ShowPopUp((("Quality: " + Main.GetInstance().stage.quality) + " (B)")); } private function SFXOver(_arg1:MouseEvent):void{ if (!mSfxFlag){ mSFX.gotoAndStop(4); } else { mSFX.gotoAndStop(3); }; ShowPopUp("Toggle SFX (N)"); } public function ToggleMusic(_arg1:MouseEvent=null):void{ if (Main.GetInstance().mState == Main.STATE_PRELOADER){ return; }; trace("toggle Music"); if (((mBgmFlag) && (mBgmChannel))){ mBgmFlag = false; mBgmChannel.stop(); } else { StartBGM(); }; if (_arg1 != null){ MusicOver(null); } else { MusicOut(null); }; } public function ToggleMusic_OFF(_arg1:MouseEvent=null):void{ if (Main.GetInstance().mState == Main.STATE_PRELOADER){ return; }; mBgmFlag = false; mBgmChannel.stop(); } public function ChangeBGMVol(_arg1:Number){ mBgmVol = _arg1; mBgmChannel.soundTransform = new SoundTransform(mBgmVol, 0); } private function StartBGM(){ trace(("start bgm : " + mBgm)); if (!mBgm){ return; }; mBgmFlag = true; var _local1:SoundTransform = new SoundTransform(mBgmVol, 0); mBgmChannel = mBgm.play(0, 999, _local1); MusicOut(null); } private function SFXOut(_arg1:MouseEvent):void{ if (!mSfxFlag){ mSFX.gotoAndStop(2); } else { mSFX.gotoAndStop(1); }; HidePopUp(); } public function ToggleSFX_ON():void{ if (Main.GetInstance().mState == Main.STATE_PRELOADER){ return; }; mSfxFlag = true; } private function ShowPopUp(_arg1:String){ if ((this.y - 50) <= 0){ mPopUp.y = 40; } else { mPopUp.y = -30; }; mPopUp.alpha = 1; mPopUp.mText.text = _arg1; } public function ToggleSFX(_arg1:MouseEvent=null):void{ var _local2:int; if (Main.GetInstance().mState == Main.STATE_PRELOADER){ return; }; if (mSfxFlag){ mSfxFlag = false; if (mSfxChannel){ _local2 = 0; while (_local2 < mSfxChannel.length) { mSfxChannel[_local2].stop(); _local2++; }; }; } else { mSfxFlag = true; }; if (_arg1 != null){ SFXOver(null); } else { SFXOut(null); }; } public function ToggleQuality(_arg1:MouseEvent=null):void{ switch (Main.GetInstance().stage.quality){ case "LOW": Main.GetInstance().stage.quality = StageQuality.MEDIUM; break; case "MEDIUM": Main.GetInstance().stage.quality = StageQuality.HIGH; break; case "HIGH": Main.GetInstance().stage.quality = StageQuality.BEST; break; case "BEST": Main.GetInstance().stage.quality = StageQuality.LOW; break; }; ShowPopUp((("Quality: " + Main.GetInstance().stage.quality) + " (B)")); } private function QualityOut(_arg1:MouseEvent):void{ mQuality.gotoAndStop(1); HidePopUp(); } private function MusicOver(_arg1:MouseEvent):void{ if (!mBgmFlag){ mMusic.gotoAndStop(4); } else { mMusic.gotoAndStop(3); }; ShowPopUp("Toggle Music (M)"); } public function ChangeBGM(_arg1:String=null){ var _local2:Class; if (!_arg1){ return; }; if (_arg1){ _local2 = (getDefinitionByName(_arg1) as Class); mBgm = new (_local2); }; if (((mBgmFlag) && (mBgmChannel))){ mBgmChannel.stop(); }; trace(("bgm flag : " + mBgmFlag)); if (mBgmFlag){ StartBGM(); }; } } }//package
Section 53
//CPause (CPause) package { import flash.display.*; public dynamic class CPause extends MovieClip { public var mResume:MovieClip; public var mMainMenu:MovieClip; public var mMoreGames:MovieClip; } }//package
Section 54
//CRecipe (CRecipe) package { import flash.display.*; public dynamic class CRecipe extends MovieClip { public var mClose:MovieClip; } }//package
Section 55
//CScore (CScore) package { import flash.display.*; import flash.text.*; public dynamic class CScore extends MovieClip { public var tValue:TextField; } }//package
Section 56
//CTransisiScreen (CTransisiScreen) package { import flash.display.*; public dynamic class CTransisiScreen extends MovieClip { } }//package
Section 57
//Data (Data) package { public class Data { public static const ZOOM_IN = 0; public static const MARBLE1 = 1; public static const MARBLE2 = 2; public static const MARBLE3 = 3; public static const ROTATE_RIGHT = 2; public static const RIBBON1 = 1; public static const RIBBON2 = 2; public static const RIBBON3 = 3; public static const RIBBON4 = 4; public static const FORWARD = 4; public static const DELETE = 11; public static const RESET = 12; public static const STARFISH = 8; public static const TURTLE = 9; public static const DOLPHIN = 4; public static const SEASHELL = 6; public static const FIRST_LAYER = 6; public static const COLOR = 9; public static const SNAILSHELL = 7; public static const LAST_LAYER = 7; public static const ZOOM_OUT = 1; public static const COLOR1 = 1; public static const COLOR2 = 2; public static const COLOR3 = 3; public static const FISH = 5; public static const COLOR4 = 4; public static const BACKWARD = 5; public static const RIBBON = 10; public static const ROTATE_LEFT = 3; public static const FISHHORSE = 10; public static const FLIP = 8; public static var example:Array = [[MARBLE3, MARBLE3, MARBLE3, MARBLE3, MARBLE2, MARBLE2, MARBLE2, DOLPHIN, DOLPHIN, SEASHELL, STARFISH, STARFISH, RIBBON1, COLOR1], [MARBLE1, MARBLE3, MARBLE3, MARBLE3, MARBLE1, MARBLE1, SNAILSHELL, FISHHORSE, FISHHORSE, RIBBON2, COLOR2], [MARBLE2, MARBLE2, MARBLE1, MARBLE1, SEASHELL, SEASHELL, TURTLE, TURTLE, RIBBON3, COLOR3], [MARBLE2, MARBLE2, MARBLE3, MARBLE3, FISH, FISH, SEASHELL, STARFISH, SNAILSHELL, RIBBON4, COLOR4], [MARBLE3, MARBLE3, MARBLE3, MARBLE3, MARBLE3, MARBLE3, FISH, DOLPHIN, SEASHELL, STARFISH, STARFISH, STARFISH, RIBBON1, COLOR1], [MARBLE1, MARBLE1, MARBLE1, MARBLE3, MARBLE3, MARBLE3, FISH, FISHHORSE, SNAILSHELL, SNAILSHELL, SNAILSHELL, RIBBON2, COLOR2], [MARBLE1, MARBLE2, MARBLE2, SEASHELL, SEASHELL, FISH, TURTLE, FISHHORSE, RIBBON3, COLOR3], [MARBLE2, MARBLE2, MARBLE3, FISH, FISH, SEASHELL, STARFISH, SNAILSHELL, TURTLE, FISHHORSE, RIBBON4, COLOR4]]; } }//package
Section 58
//FPS (FPS) package { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.filters.*; import flash.accessibility.*; import flash.errors.*; import flash.printing.*; import flash.system.*; public dynamic class FPS extends MovieClip { public var secondTime:Number; public var prevSecondTime:Number; public var frames:Number; public var prevFrameTime:Number; public var frameTime:Number; public var iBar:MovieClip; public var time:Number; public var fps:String; public var tf:TextField; public function FPS(){ addFrameScript(1, frame2); } function frame2(){ stop(); prevFrameTime = getTimer(); prevSecondTime = getTimer(); frames = 0; fps = "..."; this.addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function onEnterFrame(_arg1:Event):void{ time = getTimer(); frameTime = (time - prevFrameTime); secondTime = (time - prevSecondTime); if (secondTime >= 1000){ fps = frames.toString(); frames = 0; prevSecondTime = time; } else { frames++; }; prevFrameTime = time; tf.text = (((((fps + " FPS / ") + frameTime) + " MS") + " - Memory : ") + System.totalMemory); iBar.scaleX = (iBar.scaleX - ((iBar.scaleX - (frameTime / 10)) / 5)); } } }//package
Section 59
//Global (Global) package { import flash.events.*; import flash.geom.*; import flash.display.*; import flash.net.*; import flash.utils.*; import flash.filters.*; public class Global { protected static const WINDOW_OPEN_FUNCTION:String = "window.open"; public static var STAGE_WIDTH = 600; public static var STAGE_HEIGHT = 450; public static function getIsoPoint(_arg1:Point):Point{ return (new Point((_arg1.x - _arg1.y), ((_arg1.x + _arg1.y) / 2))); } public static function htmlColorToAS(_arg1:String):uint{ var _local2 = "0x"; var _local3 = 1; while (_local3 < _arg1.length) { _local2 = _local2.concat(_arg1.charAt(_local3)); _local3++; }; return (uint(_local2)); } public static function Slope(_arg1, _arg2, _arg3, _arg4):Number{ var _local5:Number = (_arg1 - _arg3); var _local6:Number = (_arg2 - _arg4); return ((_local6 / _local5)); } public static function RemoveButtonListener(_arg1:MovieClip){ _arg1.useHandCursor = false; _arg1.buttonMode = false; _arg1.removeEventListener(MouseEvent.MOUSE_OVER, showGlow); _arg1.removeEventListener(MouseEvent.MOUSE_OUT, hideGlow); } public static function DegToRad(_arg1:Number):Number{ return (((_arg1 / 180) * Math.PI)); } public static function duplicateMovieClip(_arg1:MovieClip):MovieClip{ var _local4:Rectangle; var _local2:Class = Object(_arg1).constructor; var _local3:MovieClip = (new (_local2) as MovieClip); _local3.transform = _arg1.transform; _local3.filters = _arg1.filters; _local3.cacheAsBitmap = _arg1.cacheAsBitmap; _local3.opaqueBackground = _arg1.opaqueBackground; if (_arg1.scale9Grid){ _local4 = _arg1.scale9Grid; _local3.scale9Grid = _local4; }; trace(_local3); return (_local3); } public static function RadToDeg(_arg1:Number):Number{ return (((_arg1 * 180) / Math.PI)); } public static function Distance(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (Math.sqrt((Math.pow((_arg3 - _arg1), 2) + Math.pow((_arg4 - _arg2), 2)))); } public static function AngleOfTwoLines(_arg1:Object, _arg2:Object):Number{ var _local3:Number = _arg1.x1; var _local4:Number = _arg1.y1; var _local5:Number = _arg1.x2; var _local6:Number = _arg1.y2; var _local7:Number = _arg2.x1; var _local8:Number = _arg2.y1; var _local9:Number = _arg2.x2; var _local10:Number = _arg2.y2; var _local11:Number = Global.Slope(_local3, _local4, _local5, _local6); var _local12:Number = Global.Slope(_local7, _local8, _local9, _local10); return (Math.atan(((_local12 - _local11) / (1 + (_local11 * _local12))))); } public static function setMouseEnabled(_arg1:MovieClip, _arg2:Boolean){ _arg1.mouseChildren = _arg2; _arg1.mouseEnabled = _arg2; } public static function clone(_arg1:Object){ var _local2:ByteArray = new ByteArray(); _local2.writeObject(_arg1); _local2.position = 0; return (_local2.readObject()); } public static function showGlow(_arg1:MouseEvent){ _arg1.currentTarget.filters = [new GlowFilter(0xFFFFFF, (alpha = 1), (blurX = 10), (blurY = 10), (strength = 10))]; } public static function moreGames(_arg1:MouseEvent=null){ navigateToURL(new URLRequest("http://www.didigames.com/")); } public static function hideGlow(_arg1:MouseEvent){ _arg1.currentTarget.filters = []; } public static function AngleOfTwoDots(_arg1, _arg2, _arg3, _arg4):Number{ var _local5:Number = (_arg1 - _arg3); var _local6:Number = (_arg2 - _arg4); return (Math.atan2(_local6, _local5)); } public static function setButton(_arg1:MovieClip){ _arg1.useHandCursor = true; _arg1.buttonMode = true; _arg1.addEventListener(MouseEvent.MOUSE_OVER, showGlow, false, 0, true); _arg1.addEventListener(MouseEvent.MOUSE_OUT, hideGlow, false, 0, true); } public static function pythagoras(_arg1:Number, _arg2:Number):Number{ return (Math.sqrt((Math.pow(_arg1, 2) + Math.pow(_arg2, 2)))); } public static function getMoneyString(_arg1:int):String{ var _local2 = ""; var _local3:String = _arg1; var _local4:int; var _local5:int = (_local3.length - 1); while (_local5 >= 0) { _local4++; _local2 = (_local3.charAt(_local5) + _local2); if ((_local4 % 3) == 0){ _local2 = ("," + _local2); }; _local5--; }; if (_local2.charAt(0) == ","){ return (_local2.substr(1, (_local2.length - 1))); }; return (_local2); } public static function getFormatedString(_arg1:String, _arg2:Array, _arg3:String="%"):String{ var _local4:String; for (_local4 in _arg2) { _arg1 = _arg1.replace((_arg3 + _local4), _arg2[_local4]); trace(_local4, _arg2[_local4]); }; return (_arg1); } } }//package
Section 60
//Main (Main) package { import flash.events.*; import flash.display.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.utils.*; import flash.printing.*; import flash.system.*; public dynamic class Main extends MovieClip { private var mContextMenu:ContextMenu; public var mPreloader:MovieClip; private var mGame1:CGame1; public var mBgmStartFlag:Boolean;// = false private var mGame3:CGame3; private var mGame4:CGame4; private var mGame2:CGame2; private var mBgm:SoundChannel; public var bar:MovieClip; public var mBgmFlag:Boolean;// = true public var mState:int; public var mFPSBar:MovieClip; public var fromWindow:String; private var mMainMenu:CMainMenu; public var toWindow:String; public var loadText:TextField; private var mSfx:SoundChannel; public var mSfxFlag:Boolean;// = true public var mTransisiScreen:MovieClip; public var mOptionBar:COptionBar; public var mBannedWin:CBannedWin; protected static const WINDOW_OPEN_FUNCTION:String = "window.open"; public static var STATE_GAME = 1; public static var STATE_FADEOUT = 5; public static var STATE_PRELOADER = 0; public static var MainGlobal:Main; public static var STATE_FADEIN = 4; public static var STATE_MAIN_MENU = 2; public static var STATE_PAUSED = 3; public function Main(){ mState = STATE_PRELOADER; super(); addFrameScript(0, frame1, 15, frame16); MainGlobal = this; mState = STATE_MAIN_MENU; Global.STAGE_HEIGHT = stage.stageHeight; Global.STAGE_WIDTH = stage.stageWidth; stage.addEventListener(FocusEvent.FOCUS_IN, OnKeyFocusChange, false, 0, true); stage.addEventListener(Event.ADDED, OnAddedToStage, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUp, false, 0, true); stage.showDefaultContextMenu = false; stage.quality = StageQuality.BEST; } private function isDomainNOTAllowed(_arg1:Array):Boolean{ var _local4:Number; var _local2:LocalConnection = new LocalConnection(); var _local3:String = _local2.domain; trace(("Domain : " + _local3)); _local4 = 0; while (_local4 < _arg1.length) { if (_local3 == _arg1[_local4]){ return (true); }; _local4++; }; _local4 = 0; while (_local4 < _arg1.length) { if (_local3.substr(-((_arg1[_local4].length + 1))) == ("." + _arg1[_local4])){ return (true); }; _local4++; }; return (false); } public function InitMainMenu(){ ShowWindow("MainMenu", ""); } public function KillWindow(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=true){ var _local6:XML; var _local7:String; var _local4:String = ("C" + _arg1); var _local5:String = ("m" + _arg1); if (this[_local5]){ if (((this[_local5].parent) && (_arg3))){ this[_local5].parent.removeChild(this[_local5]); }; if (_arg2){ _local6 = describeType(this[_local5]); _local7 = _local6.method.@name.toXMLString(); if (_local7.indexOf("RemoveDispatcher") > -1){ this[_local5].RemoveDispatcher(); }; }; this[_local5] = null; }; if (this[_local5] != null){ trace((("WARNING ### " + _arg1) + "Not null after Kill process")); }; } private function menuSelectHandler(_arg1:ContextMenuEvent){ } public function changeWindowFromTo(_arg1:String, _arg2:String){ mState = Main.STATE_FADEIN; fromWindow = _arg1; toWindow = _arg2; } public function windowFadeOUT(){ mTransisiScreen.alpha = (mTransisiScreen.alpha - 0.05); if (mTransisiScreen.alpha <= 0){ mTransisiScreen.parent.removeChild(mTransisiScreen); mTransisiScreen = null; if (toWindow == "Game1"){ mState = STATE_GAME; } else { if (toWindow == "Game2"){ mState = STATE_PAUSED; } else { if (toWindow == "Game3"){ mState = STATE_PAUSED; } else { if (toWindow == "Game4"){ mState = STATE_PAUSED; } else { if (toWindow == "MainMenu"){ mState = STATE_MAIN_MENU; }; }; }; }; }; }; } private function OnKeyFocusChange(_arg1:FocusEvent):void{ stage.focus = this.stage; } public function InitGame3(){ ShowWindow("Game3", ""); mGame3.AddDispatcher(); } public function InitGame4(){ ShowWindow("Game4", ""); mGame4.AddDispatcher(); } public function print(_arg1:MovieClip){ var _local2:PrintJob; var _local3:PrintJobOptions; var _local4:Number; var _local5:Number; var _local6:*; _local3 = new PrintJobOptions(); _local3.printAsBitmap = true; _local2 = new PrintJob(); if (_local2.start()){ _local4 = (_local2.pageWidth / 800); _local5 = (_local2.pageHeight / 600); _local6 = Math.min(_local4, _local5); _arg1.scaleX = _local6; _arg1.scaleY = _local6; _local2.addPage(_arg1, null, _local3); _arg1.scaleX = 1; _arg1.scaleY = 1; }; } public function windowFadeIN(){ if (!mTransisiScreen){ ShowWindow("TransisiScreen", ""); mTransisiScreen.alpha = 0; }; if (mTransisiScreen.alpha >= 1){ if (fromWindow == "MainMenu"){ killMainMenu(); } else { if (fromWindow == "Game1"){ killGame1(); } else { if (fromWindow == "Game2"){ killGame2(); } else { if (fromWindow == "Game3"){ killGame3(); } else { if (fromWindow == "Game4"){ killGame4(); }; }; }; }; }; if (toWindow == "MainMenu"){ InitMainMenu(); } else { if (toWindow == "Game1"){ InitGame1(); } else { if (toWindow == "Game2"){ InitGame2(); } else { if (toWindow == "Game3"){ InitGame3(); } else { if (toWindow == "Game4"){ InitGame4(); }; }; }; }; }; this.stage.setChildIndex(mTransisiScreen, (this.stage.numChildren - 1)); mState = STATE_FADEOUT; return; }; mTransisiScreen.alpha = (mTransisiScreen.alpha + 0.05); } private function isDomainAllowed(_arg1:Array):Boolean{ var _local4:Number; var _local2:LocalConnection = new LocalConnection(); var _local3:String = _local2.domain; trace(("Domain : " + _local3)); _local4 = 0; while (_local4 < _arg1.length) { if (_local3 == _arg1[_local4]){ return (true); }; _local4++; }; _local4 = 0; while (_local4 < _arg1.length) { if (_local3.substr(-((_arg1[_local4].length + 1))) == ("." + _arg1[_local4])){ return (true); }; _local4++; }; return (false); } public function onKeyUp(_arg1:KeyboardEvent){ if (mState != STATE_PRELOADER){ switch (_arg1.keyCode){ }; }; } public function killMainMenu(){ mMainMenu.parent.removeChild(mMainMenu); mMainMenu = null; } public function InitGame1(){ ShowWindow("Game1", ""); mGame1.AddDispatcher(); } public function InitGame2(){ ShowWindow("Game2", ""); mGame2.AddDispatcher(); } private function OnAddedToStage(_arg1:Event):void{ if (mOptionBar){ mOptionBar.parent.setChildIndex(mOptionBar, (mOptionBar.parent.numChildren - 1)); }; if (mFPSBar){ mFPSBar.parent.setChildIndex(mFPSBar, (mFPSBar.parent.numChildren - 1)); }; } public function killGame3(){ mGame3.parent.removeChild(mGame3); mGame3.RemoveDispatcher(); mGame3 = null; } public function killGame4(){ mGame4.parent.removeChild(mGame4); mGame4.RemoveDispatcher(); mGame4 = null; } public function killGame2(){ mGame2.parent.removeChild(mGame2); mGame2.RemoveDispatcher(); mGame2 = null; } public function CheckDomain(){ var _local3:*; var _local1:Array = new Array("localhost"); var _local2:Array = new Array("ActiveX", "PlugIn", "StandAlone", "External"); if (!isDomainAllowed(_local1)){ trace("BANNED DOMAIN !!!"); if (_local3){ if (_local3.parent){ _local3.parent.removeChild(_local3); }; _local3 = null; }; _local3 = new CBannedWin(); this.stage.addChild(_local3); } else { trace("Allowed DOMAIN !!!"); }; } public function killGame1(){ mGame1.parent.removeChild(mGame1); mGame1.RemoveDispatcher(); mGame1 = null; } private function InitOnce(){ mOptionBar = new COptionBar(0, 0, "bgm"); stage.addChild(mOptionBar); mOptionBar.visible = false; mFPSBar = new FPS(); stage.addChild(mFPSBar); mFPSBar.visible = false; InitMainMenu(); if (this.hasEventListener(Event.ENTER_FRAME)){ this.removeEventListener(Event.ENTER_FRAME, OnEnterFrame); }; this.addEventListener(Event.ENTER_FRAME, OnEnterFrame, false, 0, true); } function frame16(){ InitOnce(); } public function OnEnterFrame(_arg1:Event){ switch (mState){ case STATE_GAME: RunStateGame(); break; case STATE_PAUSED: this.dispatchEvent(new Event("pause")); break; case STATE_FADEIN: this.dispatchEvent(new Event("pause")); windowFadeIN(); break; case STATE_FADEOUT: this.dispatchEvent(new Event("pause")); windowFadeOUT(); break; default: break; }; } public function ToggleQuality():void{ switch (stage.quality){ case "LOW": stage.quality = StageQuality.MEDIUM; break; case "MEDIUM": stage.quality = StageQuality.HIGH; break; case "HIGH": stage.quality = StageQuality.BEST; break; case "BEST": stage.quality = StageQuality.LOW; break; default: break; }; } public function ShowWindow(_arg1:String, _arg2:String){ var _local3:String = ((_arg2 + "C") + _arg1); var _local4:String = ("m" + _arg1); var _local5:Class = (getDefinitionByName(_local3) as Class); if (_local5){ KillWindow(_local4); this[_local4] = new (_local5); this.stage.addChild(this[_local4]); }; } function frame1(){ stop(); } private function isPlayerAllowed(_arg1:Array):Boolean{ var _local2:String = Capabilities.playerType; trace(("PlayerType : " + _local2)); var _local3:Number = 0; while (_local3 < _arg1.length) { if (_local2 == _arg1[_local3]){ return (true); }; _local3++; }; return (false); } private function RunStateGame(){ this.dispatchEvent(new Event("update")); } public static function GetInstance():Main{ return (MainGlobal); } } }//package
Section 61
//score (score) package { import flash.media.*; public dynamic class score extends Sound { } }//package

Library Items

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

Instance Names

"mBtn"Symbol 7 MovieClip {CBannedWin} Frame 1Symbol 6 Button
"fButton"Symbol 15 MovieClip {JellyCandle_fla.didi_source_backfds_5} Frame 1Symbol 14 Button
"fButton"Symbol 32 MovieClip {JellyCandle_fla.Timeline_7} Frame 1Symbol 31 MovieClip
"loading_animation"Symbol 37 MovieClip Frame 1Symbol 36 MovieClip
"mc"Symbol 55 MovieClip {JellyCandle_fla.Lloadingy_2} Frame 1Symbol 32 MovieClip {JellyCandle_fla.Timeline_7}
"bar"Symbol 55 MovieClip {JellyCandle_fla.Lloadingy_2} Frame 1Symbol 37 MovieClip
"fButton"Symbol 66 MovieClip {JellyCandle_fla.didi_logo_32} Frame 1Symbol 65 MovieClip
"mText"Symbol 82 MovieClip Frame 1Symbol 81 EditableText
"mMusic"Symbol 83 MovieClip {COptionBar} Frame 1Symbol 72 MovieClip {JellyCandle_fla.MusicBtn_41}
"mQuality"Symbol 83 MovieClip {COptionBar} Frame 1Symbol 75 MovieClip {JellyCandle_fla.QualityBtn_42}
"mSFX"Symbol 83 MovieClip {COptionBar} Frame 1Symbol 78 MovieClip {JellyCandle_fla.SFXBtn_43}
"mPopUp"Symbol 83 MovieClip {COptionBar} Frame 1Symbol 82 MovieClip
"mPlayGame"Symbol 143 MovieClip {CMainMenu} Frame 1Symbol 129 MovieClip
"mMoreGames"Symbol 143 MovieClip {CMainMenu} Frame 1Symbol 131 MovieClip
"iBar"Symbol 148 MovieClip {FPS} Frame 1Symbol 144 MovieClip
"tf"Symbol 148 MovieClip {FPS} Frame 2Symbol 147 EditableText
"mArea1"Symbol 212 MovieClip Frame 1Symbol 199 MovieClip
"mArea2"Symbol 212 MovieClip Frame 1Symbol 201 MovieClip
"mArea3"Symbol 212 MovieClip Frame 1Symbol 203 MovieClip
"mArea4"Symbol 212 MovieClip Frame 1Symbol 205 MovieClip
"mArea5"Symbol 212 MovieClip Frame 1Symbol 207 MovieClip
"mArea6"Symbol 212 MovieClip Frame 1Symbol 209 MovieClip
"mBar"Symbol 212 MovieClip Frame 1Symbol 211 MovieClip
"mArea"Symbol 246 MovieClip Frame 1Symbol 245 MovieClip {JellyCandle_fla.ARROW2AREA_81}
"mPause"Symbol 256 MovieClip {CGame1} Frame 1Symbol 157 MovieClip
"mSound"Symbol 256 MovieClip {CGame1} Frame 1Symbol 160 MovieClip
"mToDoList"Symbol 256 MovieClip {CGame1} Frame 1Symbol 177 MovieClip {JellyCandle_fla.TODOLIST1_60}
"mRecipe"Symbol 256 MovieClip {CGame1} Frame 1Symbol 184 MovieClip
"mDone"Symbol 256 MovieClip {CGame1} Frame 1Symbol 189 MovieClip {JellyCandle_fla.BUTTONDONE_62}
"mTermometer"Symbol 256 MovieClip {CGame1} Frame 1Symbol 212 MovieClip
"mPan"Symbol 256 MovieClip {CGame1} Frame 1Symbol 227 MovieClip {JellyCandle_fla.PAN_73}
"mItem0"Symbol 256 MovieClip {CGame1} Frame 1Symbol 231 MovieClip {JellyCandle_fla.GELWAX1_76}
"mItem2"Symbol 256 MovieClip {CGame1} Frame 1Symbol 234 MovieClip {JellyCandle_fla.ESSENTIAL1_77}
"mItem1"Symbol 256 MovieClip {CGame1} Frame 1Symbol 237 MovieClip {JellyCandle_fla.LIQUIDGEL1_78}
"mSpoon"Symbol 256 MovieClip {CGame1} Frame 1Symbol 239 MovieClip
"mArrowStir"Symbol 256 MovieClip {CGame1} Frame 1Symbol 246 MovieClip
"mCursor"Symbol 256 MovieClip {CGame1} Frame 1Symbol 247 MovieClip
"mFire"Symbol 256 MovieClip {CGame1} Frame 1Symbol 250 MovieClip
"mSwitch"Symbol 256 MovieClip {CGame1} Frame 1Symbol 255 MovieClip {JellyCandle_fla.STOVESWITCH_85}
"mClose"Symbol 262 MovieClip {CRecipe} Frame 1Symbol 261 MovieClip
"mResume"Symbol 271 MovieClip {CPause} Frame 1Symbol 267 MovieClip
"mMainMenu"Symbol 271 MovieClip {CPause} Frame 1Symbol 270 MovieClip
"mMoreGames"Symbol 271 MovieClip {CPause} Frame 1Symbol 131 MovieClip
"mTryAgain"Symbol 281 MovieClip {CGameOver} Frame 1Symbol 280 MovieClip
"mArea"Symbol 331 MovieClip Frame 1Symbol 330 MovieClip {JellyCandle_fla.ARROW1AREA_106}
"mArea"Symbol 334 MovieClip Frame 1Symbol 333 MovieClip {JellyCandle_fla.ARROW2AREA_108}
"mPause"Symbol 343 MovieClip {CGame2} Frame 1Symbol 157 MovieClip
"mSound"Symbol 343 MovieClip {CGame2} Frame 1Symbol 160 MovieClip
"mRecipe"Symbol 343 MovieClip {CGame2} Frame 1Symbol 184 MovieClip
"mGlue"Symbol 343 MovieClip {CGame2} Frame 1Symbol 289 MovieClip
"mToDoList"Symbol 343 MovieClip {CGame2} Frame 1Symbol 302 MovieClip {JellyCandle_fla.TODOLIST_98}
"mCandle"Symbol 343 MovieClip {CGame2} Frame 1Symbol 327 MovieClip {JellyCandle_fla.CANDLE_99}
"mArrow1"Symbol 343 MovieClip {CGame2} Frame 1Symbol 331 MovieClip
"mCursor"Symbol 343 MovieClip {CGame2} Frame 1Symbol 247 MovieClip
"mArrow2"Symbol 343 MovieClip {CGame2} Frame 1Symbol 334 MovieClip
"mSand"Symbol 343 MovieClip {CGame2} Frame 1Symbol 338 MovieClip {JellyCandle_fla.SAND1_109}
"mCoral"Symbol 343 MovieClip {CGame2} Frame 1Symbol 342 MovieClip {JellyCandle_fla.CORAL1_110}
"mArrow3"Symbol 343 MovieClip {CGame2} Frame 1Symbol 334 MovieClip
"mDone"Symbol 343 MovieClip {CGame2} Frame 1Symbol 189 MovieClip {JellyCandle_fla.BUTTONDONE_62}
"mItem0"Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114} Frame 1Symbol 355 MovieClip
"mItem1"Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114} Frame 1Symbol 358 MovieClip
"mItem2"Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114} Frame 1Symbol 361 MovieClip
"mItem3"Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114} Frame 1Symbol 363 MovieClip
"mItem4"Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114} Frame 1Symbol 365 MovieClip
"mItem5"Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114} Frame 1Symbol 367 MovieClip
"mItem6"Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114} Frame 1Symbol 369 MovieClip
"mItem7"Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114} Frame 1Symbol 371 MovieClip
"mItem8"Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114} Frame 1Symbol 373 MovieClip
"mItem9"Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114} Frame 1Symbol 375 MovieClip
"mB0"Symbol 429 MovieClip Frame 1Symbol 381 MovieClip
"mB1"Symbol 429 MovieClip Frame 1Symbol 385 MovieClip
"mB2"Symbol 429 MovieClip Frame 1Symbol 389 MovieClip
"mB3"Symbol 429 MovieClip Frame 1Symbol 393 MovieClip
"mB4"Symbol 429 MovieClip Frame 1Symbol 397 MovieClip
"mB5"Symbol 429 MovieClip Frame 1Symbol 401 MovieClip
"mB6"Symbol 429 MovieClip Frame 1Symbol 405 MovieClip
"mB7"Symbol 429 MovieClip Frame 1Symbol 409 MovieClip
"mB8"Symbol 429 MovieClip Frame 1Symbol 413 MovieClip
"mB9"Symbol 429 MovieClip Frame 1Symbol 417 MovieClip
"mB10"Symbol 429 MovieClip Frame 1Symbol 421 MovieClip
"mB11"Symbol 429 MovieClip Frame 1Symbol 425 MovieClip
"mB12"Symbol 429 MovieClip Frame 1Symbol 428 MovieClip
"mItem6"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 358 MovieClip
"mItem4"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 358 MovieClip
"mItem5"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 358 MovieClip
"mItem11"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 371 MovieClip
"mItem8"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 363 MovieClip
"mItem10"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 371 MovieClip
"mItem7"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 363 MovieClip
"mItem1"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 361 MovieClip
"mItem0"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 361 MovieClip
"mItem2"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 361 MovieClip
"mItem3"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 361 MovieClip
"mItem9"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 367 MovieClip
"mColor"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 435 MovieClip {JellyCandle_fla.CANDLECOLOR_140}
"mRibbon"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 1Symbol 440 MovieClip {JellyCandle_fla.CANDLERIBBON_141}
"mItem0"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 2Symbol 355 MovieClip
"mItem4"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 2Symbol 355 MovieClip
"mItem5"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 2Symbol 355 MovieClip
"mItem6"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 2Symbol 369 MovieClip
"mItem7"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 2Symbol 375 MovieClip
"mItem8"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 2Symbol 375 MovieClip
"mItem4"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 3Symbol 367 MovieClip
"mItem5"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 3Symbol 367 MovieClip
"mItem0"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 3Symbol 358 MovieClip
"mItem1"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 3Symbol 358 MovieClip
"mItem3"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 3Symbol 355 MovieClip
"mItem2"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 3Symbol 355 MovieClip
"mItem6"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 3Symbol 373 MovieClip
"mItem7"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 3Symbol 373 MovieClip
"mItem6"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 4Symbol 367 MovieClip
"mItem7"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 4Symbol 371 MovieClip
"mItem5"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 4Symbol 365 MovieClip
"mItem4"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 4Symbol 365 MovieClip
"mItem8"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 4Symbol 369 MovieClip
"mItem2"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 4Symbol 361 MovieClip
"mItem3"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 4Symbol 361 MovieClip
"mItem1"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 4Symbol 358 MovieClip
"mItem0"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 5Symbol 361 MovieClip
"mItem1"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 5Symbol 361 MovieClip
"mItem9"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 5Symbol 371 MovieClip
"mItem4"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 5Symbol 361 MovieClip
"mItem11"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 5Symbol 371 MovieClip
"mItem5"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 5Symbol 361 MovieClip
"mItem8"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 5Symbol 367 MovieClip
"mItem10"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 5Symbol 371 MovieClip
"mItem6"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 5Symbol 365 MovieClip
"mItem7"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 5Symbol 363 MovieClip
"mItem0"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 6Symbol 355 MovieClip
"mItem1"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 6Symbol 355 MovieClip
"mItem2"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 6Symbol 355 MovieClip
"mItem10"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 6Symbol 369 MovieClip
"mItem7"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 6Symbol 375 MovieClip
"mItem9"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 6Symbol 369 MovieClip
"mItem8"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 6Symbol 369 MovieClip
"mItem3"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 7Symbol 367 MovieClip
"mItem4"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 7Symbol 367 MovieClip
"mItem5"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 7Symbol 365 MovieClip
"mItem6"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 7Symbol 373 MovieClip
"mItem7"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 7Symbol 375 MovieClip
"mItem2"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 7Symbol 358 MovieClip
"mItem1"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 7Symbol 358 MovieClip
"mItem9"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 8Symbol 375 MovieClip
"mItem6"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 8Symbol 371 MovieClip
"mItem5"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 8Symbol 367 MovieClip
"mItem7"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 8Symbol 369 MovieClip
"mItem8"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 8Symbol 373 MovieClip
"mItem4"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 8Symbol 365 MovieClip
"mItem3"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 8Symbol 365 MovieClip
"mItem0"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 8Symbol 358 MovieClip
"mItem2"Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139} Frame 8Symbol 361 MovieClip
"mColor"Symbol 443 MovieClip Frame 1Symbol 435 MovieClip {JellyCandle_fla.CANDLECOLOR_140}
"mRibbon"Symbol 443 MovieClip Frame 1Symbol 440 MovieClip {JellyCandle_fla.CANDLERIBBON_141}
"mPause"Symbol 448 MovieClip {CGame3} Frame 1Symbol 157 MovieClip
"mSound"Symbol 448 MovieClip {CGame3} Frame 1Symbol 160 MovieClip
"mRecipe"Symbol 448 MovieClip {CGame3} Frame 1Symbol 184 MovieClip
"mItem"Symbol 448 MovieClip {CGame3} Frame 1Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114}
"mSetting"Symbol 448 MovieClip {CGame3} Frame 1Symbol 429 MovieClip
"mExample2"Symbol 448 MovieClip {CGame3} Frame 1Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139}
"mCandle"Symbol 448 MovieClip {CGame3} Frame 1Symbol 443 MovieClip
"mExample"Symbol 448 MovieClip {CGame3} Frame 1Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139}
"mDone"Symbol 448 MovieClip {CGame3} Frame 1Symbol 189 MovieClip {JellyCandle_fla.BUTTONDONE_62}
"tGoal"Symbol 448 MovieClip {CGame3} Frame 1Symbol 444 EditableText
"tScore"Symbol 448 MovieClip {CGame3} Frame 1Symbol 445 EditableText
"mNext"Symbol 455 MovieClip {CChallenge} Frame 1Symbol 454 MovieClip
"mOK"Symbol 462 MovieClip {CExample} Frame 1Symbol 459 MovieClip
"mExample"Symbol 462 MovieClip {CExample} Frame 1Symbol 441 MovieClip {JellyCandle_fla.EXAMPLE_139}
"tCtrExample"Symbol 462 MovieClip {CExample} Frame 1Symbol 461 EditableText
"tValue"Symbol 465 MovieClip {CScore} Frame 1Symbol 464 EditableText
"mNext"Symbol 469 MovieClip {CDecorate} Frame 1Symbol 454 MovieClip
"mPause"Symbol 473 MovieClip {CGame4} Frame 1Symbol 157 MovieClip
"mSound"Symbol 473 MovieClip {CGame4} Frame 1Symbol 160 MovieClip
"mRecipe"Symbol 473 MovieClip {CGame4} Frame 1Symbol 184 MovieClip
"mItem"Symbol 473 MovieClip {CGame4} Frame 1Symbol 377 MovieClip {JellyCandle_fla.ITEMLIST_114}
"mSetting"Symbol 473 MovieClip {CGame4} Frame 1Symbol 429 MovieClip
"mCandle"Symbol 473 MovieClip {CGame4} Frame 1Symbol 443 MovieClip
"mDone"Symbol 473 MovieClip {CGame4} Frame 1Symbol 189 MovieClip {JellyCandle_fla.BUTTONDONE_62}
"mPlayAgain"Symbol 500 MovieClip {CCongratulations} Frame 1Symbol 485 MovieClip
"mPrint"Symbol 500 MovieClip {CCongratulations} Frame 1Symbol 488 MovieClip
"mLitIT"Symbol 500 MovieClip {CCongratulations} Frame 1Symbol 491 MovieClip
"mMoreGames"Symbol 500 MovieClip {CCongratulations} Frame 1Symbol 494 MovieClip
"mLit"Symbol 500 MovieClip {CCongratulations} Frame 1Symbol 499 MovieClip

Special Tags

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

Labels

"Preload"Frame 1
"Asset"Frame 9
"mainMenu"Frame 16
"bar"Symbol 55 MovieClip {JellyCandle_fla.Lloadingy_2} Frame 1




http://swfchan.com/24/115093/info.shtml
Created: 10/3 -2019 00:55:34 Last modified: 10/3 -2019 00:55:34 Server time: 14/11 -2024 06:26:24