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

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

pizzalicious.swf

This is the info page for
Flash #116199

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


Text
100

%

<p align="center"><font face="Dokyo" size="30" color="#00cc66" letterSpacing="0.000000" kerning="1"><b>10</b></font></p>

Stage

Score

Time

S

E

M

A

G

L

R

I

m

o

c

.

p

u

s

e

r

D

w

o

b

n

i

a

R

<p align="center"><font face="Dokyo" size="30" color="#00cc66" letterSpacing="0.000000" kerning="1"><b>10000</b></font></p>

<p align="left"><font face="Cooper Std Black" size="20" color="#000000" letterSpacing="0.000000" kerning="1"><b>Topings left</b></font></p>

Toggle Music (M)

Decorate the pizza on the left
to resemble the one on the right.
Left click to select the toppings
and then place them
on the pizza

<p align="center"><font face="Dokyo" size="96" color="#ff0000" letterSpacing="0.000000" kerning="1"><b>X</b></font></p>

<p align="center"><font face="Dokyo" size="96" color="#ff0000" letterSpacing="0.000000" kerning="1"><b>X</b></font></p>

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.

lazybanana.com

A LazyBanana.com production

Producer
Herry Yohanes
Software Engineering
Ficky Irwanto
Illustrator
Sherly Gunawan
Heidi Emmanuela

CLOSE

Perfect!

Excellent

Good

BAD

miss

<p align="center"><font face="Dokyo" size="96" color="#000000" letterSpacing="0.000000" kerning="1"><b>Game &nbsp;over</b></font></p>

final score

<p align="center"><font face="Dokyo" size="44" color="#000000" letterSpacing="0.000000" kerning="1"><b>30</b></font></p>

current score

<p align="center"><font face="Dokyo" size="44" color="#000000" letterSpacing="0.000000" kerning="1"><b>30</b></font></p>

ActionScript [AS3]

Section 1
//AuxFunctions (caurina.transitions.AuxFunctions) package caurina.transitions { public class AuxFunctions { public static function concatObjects(... _args):Object{ var _local2:Object; var _local3:Object; var _local4:int; var _local5:String; _local2 = {}; _local4 = 0; while (_local4 < _args.length) { _local3 = _args[_local4]; for (_local5 in _local3) { if (_local3[_local5] == null){ delete _local2[_local5]; } else { _local2[_local5] = _local3[_local5]; }; }; _local4++; }; return (_local2); } public static function numberToG(_arg1:Number):Number{ return (((_arg1 & 0xFF00) >> 8)); } public static function numberToR(_arg1:Number):Number{ return (((_arg1 & 0xFF0000) >> 16)); } public static function isInArray(_arg1:String, _arg2:Array):Boolean{ var _local3:uint; var _local4:uint; _local3 = _arg2.length; _local4 = 0; while (_local4 < _local3) { if (_arg2[_local4] == _arg1){ return (true); }; _local4++; }; return (false); } public static function getObjectLength(_arg1:Object):uint{ var _local2:uint; var _local3:String; _local2 = 0; for (_local3 in _arg1) { _local2++; }; return (_local2); } public static function numberToB(_arg1:Number):Number{ return ((_arg1 & 0xFF)); } } }//package caurina.transitions
Section 2
//Equations (caurina.transitions.Equations) package caurina.transitions { public class Equations { public function Equations(){ trace("Equations is a static class and should not be instantiated."); } public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); if (_arg1 < (1 / 2.75)){ return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2)); }; if (_arg1 < (2 / 2.75)){ _arg1 = (_arg1 - (1.5 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2)); }; if (_arg1 < (2.5 / 2.75)){ _arg1 = (_arg1 - (2.25 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2)); }; _arg1 = (_arg1 - (2.625 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2)); } public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period; _local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; if (_arg1 < 1){ --_arg1; return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); }; --_arg1; return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2)); } public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2)); }; --_arg1; return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2)); } public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2)); }; return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2)); } public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2)); }; _arg1 = (_arg1 - 2); _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2)); } public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2)); } public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2)); } public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2)); } public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function init():void{ Tweener.registerTransition("easenone", easeNone); Tweener.registerTransition("linear", easeNone); Tweener.registerTransition("easeinquad", easeInQuad); Tweener.registerTransition("easeoutquad", easeOutQuad); Tweener.registerTransition("easeinoutquad", easeInOutQuad); Tweener.registerTransition("easeoutinquad", easeOutInQuad); Tweener.registerTransition("easeincubic", easeInCubic); Tweener.registerTransition("easeoutcubic", easeOutCubic); Tweener.registerTransition("easeinoutcubic", easeInOutCubic); Tweener.registerTransition("easeoutincubic", easeOutInCubic); Tweener.registerTransition("easeinquart", easeInQuart); Tweener.registerTransition("easeoutquart", easeOutQuart); Tweener.registerTransition("easeinoutquart", easeInOutQuart); Tweener.registerTransition("easeoutinquart", easeOutInQuart); Tweener.registerTransition("easeinquint", easeInQuint); Tweener.registerTransition("easeoutquint", easeOutQuint); Tweener.registerTransition("easeinoutquint", easeInOutQuint); Tweener.registerTransition("easeoutinquint", easeOutInQuint); Tweener.registerTransition("easeinsine", easeInSine); Tweener.registerTransition("easeoutsine", easeOutSine); Tweener.registerTransition("easeinoutsine", easeInOutSine); Tweener.registerTransition("easeoutinsine", easeOutInSine); Tweener.registerTransition("easeincirc", easeInCirc); Tweener.registerTransition("easeoutcirc", easeOutCirc); Tweener.registerTransition("easeinoutcirc", easeInOutCirc); Tweener.registerTransition("easeoutincirc", easeOutInCirc); Tweener.registerTransition("easeinexpo", easeInExpo); Tweener.registerTransition("easeoutexpo", easeOutExpo); Tweener.registerTransition("easeinoutexpo", easeInOutExpo); Tweener.registerTransition("easeoutinexpo", easeOutInExpo); Tweener.registerTransition("easeinelastic", easeInElastic); Tweener.registerTransition("easeoutelastic", easeOutElastic); Tweener.registerTransition("easeinoutelastic", easeInOutElastic); Tweener.registerTransition("easeoutinelastic", easeOutInElastic); Tweener.registerTransition("easeinback", easeInBack); Tweener.registerTransition("easeoutback", easeOutBack); Tweener.registerTransition("easeinoutback", easeInOutBack); Tweener.registerTransition("easeoutinback", easeOutInBack); Tweener.registerTransition("easeinbounce", easeInBounce); Tweener.registerTransition("easeoutbounce", easeOutBounce); Tweener.registerTransition("easeinoutbounce", easeInOutBounce); Tweener.registerTransition("easeoutinbounce", easeOutInBounce); } public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2)); } public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001))); } public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2)); } public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((_arg3 * _arg1) * _arg1) + _arg2)); } public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2)); } public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2)); } public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2)); } public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2)); } public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; _local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; --_arg1; return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); } public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2)); } public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); } public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 == 0){ return (_arg2); }; if (_arg1 == _arg4){ return ((_arg2 + _arg3)); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005))); }; --_arg1; return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2)); } public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number; var _local7:Number; var _local8:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; _local6 = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; _local8 = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2)); } public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2)); } public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } } }//package caurina.transitions
Section 3
//PropertyInfoObj (caurina.transitions.PropertyInfoObj) package caurina.transitions { public class PropertyInfoObj { public var originalValueComplete:Object; public var modifierParameters:Array; public var isSpecialProperty:Boolean; public var hasModifier:Boolean; public var valueComplete:Number; public var extra:Object; public var valueStart:Number; public var modifierFunction:Function; public var arrayIndex:Number; public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){ valueStart = _arg1; valueComplete = _arg2; originalValueComplete = _arg3; arrayIndex = _arg4; extra = _arg5; isSpecialProperty = _arg6; hasModifier = Boolean(_arg7); modifierFunction = _arg7; modifierParameters = _arg8; } public function toString():String{ var _local1:String; _local1 = "\n[PropertyInfoObj "; _local1 = (_local1 + ("valueStart:" + String(valueStart))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("valueComplete:" + String(valueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("arrayIndex:" + String(arrayIndex))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("extra:" + String(extra))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("hasModifier:" + String(hasModifier))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierFunction:" + String(modifierFunction))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierParameters:" + String(modifierParameters))); _local1 = (_local1 + "]\n"); return (_local1); } public function clone():PropertyInfoObj{ var _local1:PropertyInfoObj; _local1 = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters); return (_local1); } } }//package caurina.transitions
Section 4
//SpecialProperty (caurina.transitions.SpecialProperty) package caurina.transitions { public class SpecialProperty { public var parameters:Array; public var preProcess:Function; public var setValue:Function; public var getValue:Function; public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){ getValue = _arg1; setValue = _arg2; parameters = _arg3; preProcess = _arg4; } public function toString():String{ var _local1:String; _local1 = ""; _local1 = (_local1 + "[SpecialProperty "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("setValue:" + String(setValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("preProcess:" + String(preProcess))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 5
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier) package caurina.transitions { public class SpecialPropertyModifier { public var getValue:Function; public var modifyValues:Function; public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){ modifyValues = _arg1; getValue = _arg2; } public function toString():String{ var _local1:String; _local1 = ""; _local1 = (_local1 + "[SpecialPropertyModifier "); _local1 = (_local1 + ("modifyValues:" + String(modifyValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 6
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter) package caurina.transitions { public class SpecialPropertySplitter { public var parameters:Array; public var splitValues:Function; public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){ splitValues = _arg1; parameters = _arg2; } public function toString():String{ var _local1:String; _local1 = ""; _local1 = (_local1 + "[SpecialPropertySplitter "); _local1 = (_local1 + ("splitValues:" + String(splitValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 7
//Tweener (caurina.transitions.Tweener) package caurina.transitions { import flash.display.*; import flash.events.*; import flash.utils.*; public class Tweener { private static var _timeScale:Number = 1; private static var _currentTimeFrame:Number; private static var _specialPropertySplitterList:Object; private static var _engineExists:Boolean = false; private static var _specialPropertyModifierList:Object; private static var _currentTime:Number; private static var _tweenList:Array; private static var _specialPropertyList:Object; private static var _transitionList:Object; private static var _inited:Boolean = false; private static var __tweener_controller__:MovieClip; public function Tweener(){ trace("Tweener is a static class and should not be instantiated."); } public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{ var _local4:SpecialPropertyModifier; if (!_inited){ init(); }; _local4 = new SpecialPropertyModifier(_arg2, _arg3); _specialPropertyModifierList[_arg1] = _local4; } public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{ var _local6:SpecialProperty; if (!_inited){ init(); }; _local6 = new SpecialProperty(_arg2, _arg3, _arg4, _arg5); _specialPropertyList[_arg1] = _local6; } public static function init(... _args):void{ _inited = true; _transitionList = new Object(); Equations.init(); _specialPropertyList = new Object(); _specialPropertyModifierList = new Object(); _specialPropertySplitterList = new Object(); } private static function updateTweens():Boolean{ var _local1:int; if (_tweenList.length == 0){ return (false); }; _local1 = 0; while (_local1 < _tweenList.length) { if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){ if (!updateTweenByIndex(_local1)){ removeTweenByIndex(_local1); }; if (_tweenList[_local1] == null){ removeTweenByIndex(_local1, true); _local1--; }; }; _local1++; }; return (true); } public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Array; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Function; var _local9:TweenListObj; var _local10:Number; var _local11:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local4 = _arg1.concat(); } else { _local4 = [_arg1]; }; _local5 = _arg2; if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; _local6 = (isNaN(_local5.time)) ? 0 : _local5.time; _local7 = (isNaN(_local5.delay)) ? 0 : _local5.delay; if (typeof(_local5.transition) == "string"){ _local11 = _local5.transition.toLowerCase(); _local8 = _transitionList[_local11]; } else { _local8 = _local5.transition; }; if (!Boolean(_local8)){ _local8 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local4.length) { if (_local5.useFrames == true){ _local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams); } else { _local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams); }; _local9.properties = null; _local9.onStart = _local5.onStart; _local9.onUpdate = _local5.onUpdate; _local9.onComplete = _local5.onComplete; _local9.onOverwrite = _local5.onOverwrite; _local9.onStartParams = _local5.onStartParams; _local9.onUpdateParams = _local5.onUpdateParams; _local9.onCompleteParams = _local5.onCompleteParams; _local9.onOverwriteParams = _local5.onOverwriteParams; _local9.onStartScope = _local5.onStartScope; _local9.onUpdateScope = _local5.onUpdateScope; _local9.onCompleteScope = _local5.onCompleteScope; _local9.onOverwriteScope = _local5.onOverwriteScope; _local9.onErrorScope = _local5.onErrorScope; _local9.isCaller = true; _local9.count = _local5.count; _local9.waitFrames = _local5.waitFrames; _tweenList.push(_local9); if ((((_local6 == 0)) && ((_local7 == 0)))){ _local10 = (_tweenList.length - 1); updateTweenByIndex(_local10); removeTweenByIndex(_local10); }; _local3++; }; return (true); } public static function pauseAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { pauseTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function removeTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(removeTweenByIndex, _arg1, _local3)); } public static function splitTweens(_arg1:Number, _arg2:Array):uint{ var _local3:TweenListObj; var _local4:TweenListObj; var _local5:uint; var _local6:String; var _local7:Boolean; _local3 = _tweenList[_arg1]; _local4 = _local3.clone(false); _local5 = 0; while (_local5 < _arg2.length) { _local6 = _arg2[_local5]; if (Boolean(_local3.properties[_local6])){ _local3.properties[_local6] = undefined; delete _local3.properties[_local6]; }; _local5++; }; for (_local6 in _local4.properties) { _local7 = false; _local5 = 0; while (_local5 < _arg2.length) { if (_arg2[_local5] == _local6){ _local7 = true; break; }; _local5++; }; if (!_local7){ _local4.properties[_local6] = undefined; delete _local4.properties[_local6]; }; }; _tweenList.push(_local4); return ((_tweenList.length - 1)); } public static function updateFrame():void{ _currentTimeFrame++; } public static function resumeTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj; var _local3:Number; _local2 = _tweenList[_arg1]; if ((((_local2 == null)) || (!(_local2.isPaused)))){ return (false); }; _local3 = getCurrentTweeningTime(_local2); _local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused)); _local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused)); _local2.timePaused = undefined; _local2.isPaused = false; return (true); } public static function getVersion():String{ return ("AS3 1.31.71"); } public static function onEnterFrame(_arg1:Event):void{ var _local2:Boolean; updateTime(); updateFrame(); _local2 = false; _local2 = updateTweens(); if (!_local2){ stopEngine(); }; } public static function updateTime():void{ _currentTime = getTimer(); } private static function updateTweenByIndex(_arg1:Number):Boolean{ var tTweening:TweenListObj; var isOver:Boolean; var mustUpdate:Boolean; var nv:Number; var t:Number; var b:Number; var c:Number; var d:Number; var pName:String; var eventScope:Object; var tScope:Object; var cTime:Number; var tProperty:Object; var pv:Number; var i = _arg1; tTweening = _tweenList[i]; if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){ return (false); }; isOver = false; cTime = getCurrentTweeningTime(tTweening); if (cTime >= tTweening.timeStart){ tScope = tTweening.scope; if (tTweening.isCaller){ do { t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1)); b = tTweening.timeStart; c = (tTweening.timeComplete - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d); } while (!(cTime >= nv)); } else { mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates))); if (cTime >= tTweening.timeComplete){ isOver = true; mustUpdate = true; }; if (!tTweening.hasStarted){ if (Boolean(tTweening.onStart)){ eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope; try { tTweening.onStart.apply(eventScope, tTweening.onStartParams); } catch(e:Error) { handleError(tTweening, e, "onStart"); }; }; for (pName in tTweening.properties) { if (tTweening.properties[pName].isSpecialProperty){ if (Boolean(_specialPropertyList[pName].preProcess)){ tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra); }; pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { pv = tScope[pName]; }; tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv; }; mustUpdate = true; tTweening.hasStarted = true; }; if (mustUpdate){ for (pName in tTweening.properties) { tProperty = tTweening.properties[pName]; if (isOver){ nv = tProperty.valueComplete; } else { if (tProperty.hasModifier){ t = (cTime - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams); nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters); } else { t = (cTime - tTweening.timeStart); b = tProperty.valueStart; c = (tProperty.valueComplete - tProperty.valueStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d, tTweening.transitionParams); }; }; if (tTweening.rounded){ nv = Math.round(nv); }; if (tProperty.isSpecialProperty){ _specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { tScope[pName] = nv; }; }; tTweening.updatesSkipped = 0; if (Boolean(tTweening.onUpdate)){ eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope; try { tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams); } catch(e:Error) { handleError(tTweening, e, "onUpdate"); }; }; } else { tTweening.updatesSkipped++; }; }; if (((isOver) && (Boolean(tTweening.onComplete)))){ eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope; try { tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams); } catch(e:Error) { handleError(tTweening, e, "onComplete"); }; }; return (!(isOver)); }; return (true); } public static function setTimeScale(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (isNaN(_arg1)){ _arg1 = 1; }; if (_arg1 < 1E-5){ _arg1 = 1E-5; }; if (_arg1 != _timeScale){ if (_tweenList != null){ _local2 = 0; while (_local2 < _tweenList.length) { _local3 = getCurrentTweeningTime(_tweenList[_local2]); _tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1)); _tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1)); if (_tweenList[_local2].timePaused != undefined){ _tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1)); }; _local2++; }; }; _timeScale = _arg1; }; } public static function resumeAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { resumeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{ var eventScope:Object; var pTweening = _arg1; var pError = _arg2; var pCallBackName = _arg3; if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){ eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope; try { pTweening.onError.apply(eventScope, [pTweening.scope, pError]); } catch(metaError:Error) { printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace())); }; } else { if (!Boolean(pTweening.onError)){ printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace())); }; }; } private static function startEngine():void{ _engineExists = true; _tweenList = new Array(); __tweener_controller__ = new MovieClip(); __tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); _currentTimeFrame = 0; updateTime(); } public static function removeAllTweens():Boolean{ var _local1:Boolean; var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local1 = false; _local2 = 0; while (_local2 < _tweenList.length) { removeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Number; var _local5:String; var _local6:Array; var _local7:Object; var _local8:Number; var _local9:Number; var _local10:Array; var _local11:Object; var _local12:Object; var _local13:Function; var _local14:Object; var _local15:TweenListObj; var _local16:Number; var _local17:Array; var _local18:Array; var _local19:Array; var _local20:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local6 = _arg1.concat(); } else { _local6 = [_arg1]; }; _local7 = TweenListObj.makePropertiesChain(_arg2); if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; _local8 = (isNaN(_local7.time)) ? 0 : _local7.time; _local9 = (isNaN(_local7.delay)) ? 0 : _local7.delay; _local10 = new Array(); _local11 = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true}; _local12 = new Object(); for (_local5 in _local7) { if (!_local11[_local5]){ if (_specialPropertySplitterList[_local5]){ _local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters); _local3 = 0; while (_local3 < _local17.length) { if (_specialPropertySplitterList[_local17[_local3].name]){ _local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters); _local4 = 0; while (_local4 < _local18.length) { _local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false}; _local4++; }; } else { _local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false}; }; _local3++; }; } else { if (_specialPropertyModifierList[_local5] != undefined){ _local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]); _local3 = 0; while (_local3 < _local19.length) { _local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue}; _local3++; }; } else { _local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]}; }; }; }; }; for (_local5 in _local10) { if (_specialPropertyList[_local5] != undefined){ _local10[_local5].isSpecialProperty = true; } else { if (_local6[0][_local5] == undefined){ printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property.")); }; }; }; for (_local5 in _local12) { if (_local10[_local5] != undefined){ _local10[_local5].modifierParameters = _local12[_local5].modifierParameters; _local10[_local5].modifierFunction = _local12[_local5].modifierFunction; }; }; if (typeof(_local7.transition) == "string"){ _local20 = _local7.transition.toLowerCase(); _local13 = _transitionList[_local20]; } else { _local13 = _local7.transition; }; if (!Boolean(_local13)){ _local13 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local6.length) { _local14 = new Object(); for (_local5 in _local10) { _local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters); }; if (_local7.useFrames == true){ _local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams); } else { _local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams); }; _local15.properties = _local14; _local15.onStart = _local7.onStart; _local15.onUpdate = _local7.onUpdate; _local15.onComplete = _local7.onComplete; _local15.onOverwrite = _local7.onOverwrite; _local15.onError = _local7.onError; _local15.onStartParams = _local7.onStartParams; _local15.onUpdateParams = _local7.onUpdateParams; _local15.onCompleteParams = _local7.onCompleteParams; _local15.onOverwriteParams = _local7.onOverwriteParams; _local15.onStartScope = _local7.onStartScope; _local15.onUpdateScope = _local7.onUpdateScope; _local15.onCompleteScope = _local7.onCompleteScope; _local15.onOverwriteScope = _local7.onOverwriteScope; _local15.onErrorScope = _local7.onErrorScope; _local15.rounded = _local7.rounded; _local15.skipUpdates = _local7.skipUpdates; removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete); _tweenList.push(_local15); if ((((_local8 == 0)) && ((_local9 == 0)))){ _local16 = (_tweenList.length - 1); updateTweenByIndex(_local16); removeTweenByIndex(_local16); }; _local3++; }; return (true); } public static function registerTransition(_arg1:String, _arg2:Function):void{ if (!_inited){ init(); }; _transitionList[_arg1] = _arg2; } public static function printError(_arg1:String):void{ trace(("## [Tweener] Error: " + _arg1)); } private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{ var _local4:Boolean; var _local5:uint; var _local6:Array; var _local7:uint; var _local8:uint; var _local9:uint; _local4 = false; if (!Boolean(_tweenList)){ return (false); }; _local5 = 0; while (_local5 < _tweenList.length) { if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){ if (_arg3.length == 0){ _arg1(_local5); _local4 = true; } else { _local6 = new Array(); _local7 = 0; while (_local7 < _arg3.length) { if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){ _local6.push(_arg3[_local7]); }; _local7++; }; if (_local6.length > 0){ _local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties); if (_local8 == _local6.length){ _arg1(_local5); _local4 = true; } else { _local9 = splitTweens(_local5, _local6); _arg1(_local9); _local4 = true; }; }; }; }; _local5++; }; return (_local4); } public static function getTweens(_arg1:Object):Array{ var _local2:uint; var _local3:String; var _local4:Array; if (!Boolean(_tweenList)){ return ([]); }; _local4 = new Array(); _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ for (_local3 in _tweenList[_local2].properties) { _local4.push(_local3); }; }; _local2++; }; return (_local4); } public static function isTweening(_arg1:Object):Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ return (true); }; _local2++; }; return (false); } public static function pauseTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj; _local2 = _tweenList[_arg1]; if ((((_local2 == null)) || (_local2.isPaused))){ return (false); }; _local2.timePaused = getCurrentTweeningTime(_local2); _local2.isPaused = true; return (true); } public static function getCurrentTweeningTime(_arg1:Object):Number{ return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime); } public static function getTweenCount(_arg1:Object):Number{ var _local2:uint; var _local3:Number; if (!Boolean(_tweenList)){ return (0); }; _local3 = 0; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ _local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties)); }; _local2++; }; return (_local3); } private static function stopEngine():void{ _engineExists = false; _tweenList = null; _currentTime = 0; _currentTimeFrame = 0; __tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame); __tweener_controller__ = null; } public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{ var removed:Boolean; var removedLocally:Boolean; var i:uint; var tl:uint; var pName:String; var eventScope:Object; var p_scope = _arg1; var p_properties = _arg2; var p_timeStart = _arg3; var p_timeComplete = _arg4; removed = false; tl = _tweenList.length; i = 0; while (i < tl) { if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){ if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){ removedLocally = false; for (pName in _tweenList[i].properties) { if (Boolean(p_properties[pName])){ if (Boolean(_tweenList[i].onOverwrite)){ eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope; try { _tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams); } catch(e:Error) { handleError(_tweenList[i], e, "onOverwrite"); }; }; _tweenList[i].properties[pName] = undefined; delete _tweenList[i].properties[pName]; removedLocally = true; removed = true; }; }; if (removedLocally){ if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){ removeTweenByIndex(i); }; }; }; }; i = (i + 1); }; return (removed); } public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{ var _local4:SpecialPropertySplitter; if (!_inited){ init(); }; _local4 = new SpecialPropertySplitter(_arg2, _arg3); _specialPropertySplitterList[_arg1] = _local4; } public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{ _tweenList[_arg1] = null; if (_arg2){ _tweenList.splice(_arg1, 1); }; return (true); } public static function resumeTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(resumeTweenByIndex, _arg1, _local3)); } public static function pauseTweens(_arg1:Object, ... _args):Boolean{ var _local3:Array; var _local4:uint; _local3 = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && (!(AuxFunctions.isInArray(_args[_local4], _local3))))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(pauseTweenByIndex, _arg1, _local3)); } } }//package caurina.transitions
Section 8
//TweenListObj (caurina.transitions.TweenListObj) package caurina.transitions { public class TweenListObj { public var onUpdate:Function; public var useFrames:Boolean; public var hasStarted:Boolean; public var onOverwriteParams:Array; public var timeStart:Number; public var count:Number; public var timeComplete:Number; public var onStartParams:Array; public var onUpdateScope:Object; public var rounded:Boolean; public var onUpdateParams:Array; public var properties:Object; public var onComplete:Function; public var transitionParams:Object; public var updatesSkipped:Number; public var onStart:Function; public var onOverwriteScope:Object; public var skipUpdates:Number; public var onStartScope:Object; public var scope:Object; public var transition:Function; public var timePaused:Number; public var onCompleteParams:Array; public var timesCalled:Number; public var isCaller:Boolean; public var onError:Function; public var onErrorScope:Object; public var onOverwrite:Function; public var isPaused:Boolean; public var waitFrames:Boolean; public var onCompleteScope:Object; public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){ scope = _arg1; timeStart = _arg2; timeComplete = _arg3; useFrames = _arg4; transition = _arg5; transitionParams = _arg6; properties = new Object(); isPaused = false; timePaused = undefined; isCaller = false; updatesSkipped = 0; timesCalled = 0; skipUpdates = 0; hasStarted = false; } public function clone(_arg1:Boolean):TweenListObj{ var _local2:TweenListObj; var _local3:String; _local2 = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams); _local2.properties = new Array(); for (_local3 in properties) { _local2.properties[_local3] = properties[_local3].clone(); }; _local2.skipUpdates = skipUpdates; _local2.updatesSkipped = updatesSkipped; if (!_arg1){ _local2.onStart = onStart; _local2.onUpdate = onUpdate; _local2.onComplete = onComplete; _local2.onOverwrite = onOverwrite; _local2.onError = onError; _local2.onStartParams = onStartParams; _local2.onUpdateParams = onUpdateParams; _local2.onCompleteParams = onCompleteParams; _local2.onOverwriteParams = onOverwriteParams; _local2.onStartScope = onStartScope; _local2.onUpdateScope = onUpdateScope; _local2.onCompleteScope = onCompleteScope; _local2.onOverwriteScope = onOverwriteScope; _local2.onErrorScope = onErrorScope; }; _local2.rounded = rounded; _local2.isPaused = isPaused; _local2.timePaused = timePaused; _local2.isCaller = isCaller; _local2.count = count; _local2.timesCalled = timesCalled; _local2.waitFrames = waitFrames; _local2.hasStarted = hasStarted; return (_local2); } public function toString():String{ var _local1:String; var _local2:Boolean; var _local3:String; _local1 = "\n[TweenListObj "; _local1 = (_local1 + ("scope:" + String(scope))); _local1 = (_local1 + ", properties:"); _local2 = true; for (_local3 in properties) { if (!_local2){ _local1 = (_local1 + ","); }; _local1 = (_local1 + ("[name:" + properties[_local3].name)); _local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart)); _local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete)); _local1 = (_local1 + "]"); _local2 = false; }; _local1 = (_local1 + (", timeStart:" + String(timeStart))); _local1 = (_local1 + (", timeComplete:" + String(timeComplete))); _local1 = (_local1 + (", useFrames:" + String(useFrames))); _local1 = (_local1 + (", transition:" + String(transition))); _local1 = (_local1 + (", transitionParams:" + String(transitionParams))); if (skipUpdates){ _local1 = (_local1 + (", skipUpdates:" + String(skipUpdates))); }; if (updatesSkipped){ _local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped))); }; if (Boolean(onStart)){ _local1 = (_local1 + (", onStart:" + String(onStart))); }; if (Boolean(onUpdate)){ _local1 = (_local1 + (", onUpdate:" + String(onUpdate))); }; if (Boolean(onComplete)){ _local1 = (_local1 + (", onComplete:" + String(onComplete))); }; if (Boolean(onOverwrite)){ _local1 = (_local1 + (", onOverwrite:" + String(onOverwrite))); }; if (Boolean(onError)){ _local1 = (_local1 + (", onError:" + String(onError))); }; if (onStartParams){ _local1 = (_local1 + (", onStartParams:" + String(onStartParams))); }; if (onUpdateParams){ _local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams))); }; if (onCompleteParams){ _local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams))); }; if (onOverwriteParams){ _local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams))); }; if (onStartScope){ _local1 = (_local1 + (", onStartScope:" + String(onStartScope))); }; if (onUpdateScope){ _local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope))); }; if (onCompleteScope){ _local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope))); }; if (onOverwriteScope){ _local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope))); }; if (onErrorScope){ _local1 = (_local1 + (", onErrorScope:" + String(onErrorScope))); }; if (rounded){ _local1 = (_local1 + (", rounded:" + String(rounded))); }; if (isPaused){ _local1 = (_local1 + (", isPaused:" + String(isPaused))); }; if (timePaused){ _local1 = (_local1 + (", timePaused:" + String(timePaused))); }; if (isCaller){ _local1 = (_local1 + (", isCaller:" + String(isCaller))); }; if (count){ _local1 = (_local1 + (", count:" + String(count))); }; if (timesCalled){ _local1 = (_local1 + (", timesCalled:" + String(timesCalled))); }; if (waitFrames){ _local1 = (_local1 + (", waitFrames:" + String(waitFrames))); }; if (hasStarted){ _local1 = (_local1 + (", hasStarted:" + String(hasStarted))); }; _local1 = (_local1 + "]\n"); return (_local1); } public static function makePropertiesChain(_arg1:Object):Object{ var _local2:Object; var _local3:Object; var _local4:Object; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Number; _local2 = _arg1.base; if (_local2){ _local3 = {}; if ((_local2 is Array)){ _local4 = []; _local8 = 0; while (_local8 < _local2.length) { _local4.push(_local2[_local8]); _local8++; }; } else { _local4 = [_local2]; }; _local4.push(_arg1); _local6 = _local4.length; _local7 = 0; while (_local7 < _local6) { if (_local4[_local7]["base"]){ _local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]); } else { _local5 = _local4[_local7]; }; _local3 = AuxFunctions.concatObjects(_local3, _local5); _local7++; }; if (_local3["base"]){ delete _local3["base"]; }; return (_local3); //unresolved jump }; return (_arg1); } } }//package caurina.transitions
Section 9
//ColDetection (com.troy.collision.ColDetection) package com.troy.collision { import flash.geom.*; import flash.display.*; public class ColDetection { public static function getCollisionRect(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:DisplayObjectContainer, _arg4:Boolean=false, _arg5:Number=0):Rectangle{ var _local6:Rectangle; var _local7:Rectangle; var _local8:Rectangle; var _local9:BitmapData; var _local10:BitmapData; var _local11:uint; var _local12:Rectangle; var _local13:int; _local6 = _arg1.getBounds(_arg3); _local7 = _arg2.getBounds(_arg3); _local8 = _local6.intersection(_local7); if (_local8.size.length > 0){ if (_arg4){ _local8.width = Math.ceil(_local8.width); _local8.height = Math.ceil(_local8.height); _local9 = getAlphaMap(_arg1, _local8, BitmapDataChannel.RED, _arg3); _local10 = getAlphaMap(_arg2, _local8, BitmapDataChannel.GREEN, _arg3); _local9.draw(_local10, null, null, BlendMode.LIGHTEN); if (_arg5 <= 0){ _local11 = 65792; } else { if (_arg5 > 1){ _arg5 = 1; }; _local13 = Math.round((_arg5 * 0xFF)); _local11 = (((_local13 << 16) | (_local13 << 8)) | 0); }; _local12 = _local9.getColorBoundsRect(_local11, _local11); _local9.getColorBoundsRect(_local11, _local11).x = (_local12.x + _local8.x); _local12.y = (_local12.y + _local8.y); return (_local12); } else { return (_local8); }; //unresolved jump }; return (null); } public static function isColliding(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:DisplayObjectContainer, _arg4:Boolean=false, _arg5:Number=0):Boolean{ var _local6:Rectangle; _local6 = getCollisionRect(_arg1, _arg2, _arg3, _arg4, _arg5); if (((!((_local6 == null))) && ((_local6.size.length > 0)))){ return (true); }; return (false); } public static function getCollisionPoint(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:DisplayObjectContainer, _arg4:Boolean=false, _arg5:Number=0):Point{ var _local6:Rectangle; var _local7:Number; var _local8:Number; _local6 = getCollisionRect(_arg1, _arg2, _arg3, _arg4, _arg5); if (((!((_local6 == null))) && ((_local6.size.length > 0)))){ _local7 = ((_local6.left + _local6.right) / 2); _local8 = ((_local6.top + _local6.bottom) / 2); return (new Point(_local7, _local8)); }; return (null); } private static function getAlphaMap(_arg1:DisplayObject, _arg2:Rectangle, _arg3:uint, _arg4:DisplayObjectContainer):BitmapData{ var _local5:Matrix; var _local6:Matrix; var _local7:BitmapData; var _local8:BitmapData; _local5 = _arg4.transform.concatenatedMatrix.clone(); _local5.invert(); _local6 = _arg1.transform.concatenatedMatrix.clone(); _local6.concat(_local5); _local6.translate(-(_arg2.x), -(_arg2.y)); _local7 = new BitmapData(_arg2.width, _arg2.height, true, 0); _local7.draw(_arg1, _local6); _local8 = new BitmapData(_arg2.width, _arg2.height, false, 0); _local8.copyChannel(_local7, _local7.rect, new Point(0, 0), BitmapDataChannel.ALPHA, _arg3); return (_local8); } } }//package com.troy.collision
Section 10
//bartime_46 (Skeleton_fla.bartime_46) package Skeleton_fla { import flash.display.*; public dynamic class bartime_46 extends MovieClip { public var countDown:MovieClip; } }//package Skeleton_fla
Section 11
//bgGameMode_201 (Skeleton_fla.bgGameMode_201) package Skeleton_fla { import flash.display.*; public dynamic class bgGameMode_201 extends MovieClip { public var bgGameMode:MovieClip; public var buttonHard:btnHard; public var buttonEasy:btnEasy; public var buttonMedium:btnNormal; } }//package Skeleton_fla
Section 12
//bgTutorial_99 (Skeleton_fla.bgTutorial_99) package Skeleton_fla { import flash.display.*; public dynamic class bgTutorial_99 extends MovieClip { public var buttonClose:SimpleButton; } }//package Skeleton_fla
Section 13
//blingblinggggg_14 (Skeleton_fla.blingblinggggg_14) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class blingblinggggg_14 extends MovieClip { public function blingblinggggg_14(){ addFrameScript(29, frame30); } function frame30(){ stop(); } } }//package Skeleton_fla
Section 14
//flares_20 (Skeleton_fla.flares_20) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class flares_20 extends MovieClip { public function flares_20(){ addFrameScript(20, frame21); } function frame21(){ stop(); } } }//package Skeleton_fla
Section 15
//lazybananaproduction_215 (Skeleton_fla.lazybananaproduction_215) package Skeleton_fla { import flash.display.*; import flash.text.*; public dynamic class lazybananaproduction_215 extends MovieClip { public var mTitle:TextField; } }//package Skeleton_fla
Section 16
//loadingbar_23 (Skeleton_fla.loadingbar_23) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class loadingbar_23 extends MovieClip { public function loadingbar_23(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package Skeleton_fla
Section 17
//MusicBtn_82 (Skeleton_fla.MusicBtn_82) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class MusicBtn_82 extends MovieClip { public function MusicBtn_82(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package Skeleton_fla
Section 18
//OptionBarPopUp_85 (Skeleton_fla.OptionBarPopUp_85) package Skeleton_fla { import flash.display.*; import flash.text.*; public dynamic class OptionBarPopUp_85 extends MovieClip { public var mText:TextField; } }//package Skeleton_fla
Section 19
//QualityBtn_83 (Skeleton_fla.QualityBtn_83) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class QualityBtn_83 extends MovieClip { public function QualityBtn_83(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package Skeleton_fla
Section 20
//Rainbow_Preloader_1 (Skeleton_fla.Rainbow_Preloader_1) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class Rainbow_Preloader_1 extends MovieClip { public var mStart:SimpleButton; public var text:TextField; public var loadingbar:MovieClip; public var timerFlag:Boolean; public var loadFlag:Boolean; public var timer1:Timer; public var rainbow:MovieClip; public function Rainbow_Preloader_1(){ addFrameScript(0, frame1, 9, frame10, 19, frame20); } public function loading(_arg1:Event){ var _local2:*; var _local3:*; var _local4:*; _local2 = Main.GetInstance().stage.loaderInfo.bytesTotal; _local3 = Main.GetInstance().stage.loaderInfo.bytesLoaded; _local4 = Math.round(((_local3 * 100) / _local2)); trace(("PERCENT : " + _local4)); if (_local3 >= _local2){ loadFlag = true; if (timerFlag){ Main.GetInstance().gotoAndStop("mainMenu"); }; removeEventListener(Event.ENTER_FRAME, loading); }; } function frame10(){ if (loaded == total){ gotoAndPlay("start"); } else { gotoAndPlay("loading"); }; } function frame1(){ timer1 = new Timer(80, 100); timerFlag = false; loadFlag = false; timer1.addEventListener(TimerEvent.TIMER, onTimer); timer1.addEventListener(TimerEvent.TIMER_COMPLETE, onTimerComplete); timer1.start(); addEventListener(Event.ENTER_FRAME, loading); stop(); rainbow.addEventListener(MouseEvent.CLICK, goRDU); rainbow.useHandCursor = true; rainbow.buttonMode = true; } function frame20(){ stop(); mStart.addEventListener(MouseEvent.CLICK, go); } public function goRDU(_arg1:MouseEvent){ Global.openWindow("http://www.rainbowdressup.com", "_blank"); } public function onTimer(_arg1:TimerEvent){ var _local2:*; _local2 = Math.ceil(((timer1.currentCount / timer1.repeatCount) * 100)); loadingbar.gotoAndStop(_local2); text.text = _local2; } public function go(_arg1:MouseEvent){ Main.GetInstance().gotoAndStop("mainMenu"); } public function onTimerComplete(_arg1:TimerEvent){ trace("ON TIMER"); timerFlag = true; if (loadFlag){ Main.GetInstance().gotoAndStop("mainMenu"); }; timer1.stop(); } } }//package Skeleton_fla
Section 21
//RainbowDressUpBtn_55 (Skeleton_fla.RainbowDressUpBtn_55) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class RainbowDressUpBtn_55 extends MovieClip { public var btn:MovieClip; public function RainbowDressUpBtn_55(){ addFrameScript(0, frame1); } public function goto(_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.rainbowdressup.com")); } function frame1(){ btn.addEventListener(MouseEvent.CLICK, goto); } } }//package Skeleton_fla
Section 22
//SFXBtn_84 (Skeleton_fla.SFXBtn_84) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class SFXBtn_84 extends MovieClip { public function SFXBtn_84(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame3(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame2(){ stop(); } } }//package Skeleton_fla
Section 23
//t1_10 (Skeleton_fla.t1_10) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class t1_10 extends MovieClip { public function t1_10(){ addFrameScript(19, frame20); } function frame20(){ } } }//package Skeleton_fla
Section 24
//t1_9 (Skeleton_fla.t1_9) package Skeleton_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class t1_9 extends MovieClip { public var bar_mc:MovieClip; public var _loc1; public function t1_9(){ addFrameScript(0, frame1); } function frame1(){ Frame_num = 1; angle = 360; plus_angle = 0; scene_width = 400; scene_height = 45; bar_mc.i = 0; bar_mc._visible = 0; bar_mc.onEnterFrame = function (){ _loc1 = this; if ((_loc1.i % Frame_num) == 0){ mc = _loc1.duplicateMovieClip(("bar_mc" + _loc1.i), _loc1.i); mc._x = random(scene_width); mc._y = random(scene_height); mc._rotation = (random(angle) + plus_angle); }; _loc1.i++; }; } } }//package Skeleton_fla
Section 25
//ambilSound (ambilSound) package { import flash.media.*; public dynamic class ambilSound extends Sound { } }//package
Section 26
//bgGameOver (bgGameOver) package { import flash.display.*; import flash.text.*; public dynamic class bgGameOver extends MovieClip { public var buttonMainMenu:btnMainMenu; public var textGameOver:TextField; public var buttonPlayMore:SimpleButton; public var textFinalScore:TextField; } }//package
Section 27
//bgMenuBawah (bgMenuBawah) package { import flash.display.*; public dynamic class bgMenuBawah extends MovieClip { public var buttonMainMenu:btnMainMenu; public var buttonPlayMore:SimpleButton; } }//package
Section 28
//bgMusic (bgMusic) package { import flash.media.*; public dynamic class bgMusic extends Sound { } }//package
Section 29
//bgNextStage (bgNextStage) package { import flash.display.*; import flash.text.*; public dynamic class bgNextStage extends MovieClip { public var buttonNext:btnNext; public var textCurrentScore:TextField; public var buttonPlayMore:SimpleButton; } }//package
Section 30
//btnEasy (btnEasy) package { import flash.display.*; public dynamic class btnEasy extends SimpleButton { } }//package
Section 31
//btnHard (btnHard) package { import flash.display.*; public dynamic class btnHard extends SimpleButton { } }//package
Section 32
//btnMainMenu (btnMainMenu) package { import flash.display.*; public dynamic class btnMainMenu extends SimpleButton { } }//package
Section 33
//btnNext (btnNext) package { import flash.display.*; public dynamic class btnNext extends SimpleButton { } }//package
Section 34
//btnNormal (btnNormal) package { import flash.display.*; public dynamic class btnNormal extends SimpleButton { } }//package
Section 35
//buttonPlay (buttonPlay) package { import flash.display.*; public dynamic class buttonPlay extends SimpleButton { } }//package
Section 36
//buttonPlayMore2 (buttonPlayMore2) package { import flash.display.*; public dynamic class buttonPlayMore2 extends SimpleButton { } }//package
Section 37
//buttonTutorial (buttonTutorial) package { import flash.display.*; public dynamic class buttonTutorial extends SimpleButton { } }//package
Section 38
//CBannedWin (CBannedWin) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class CBannedWin extends MovieClip { public var mBtn:SimpleButton; public function CBannedWin(){ addFrameScript(0, frame1); } function frame1(){ mBtn.addEventListener(MouseEvent.MOUSE_DOWN, GotoSapi); } public function GotoSapi(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://www.lazybanana.com"); navigateToURL(_local2); } } }//package
Section 39
//CBaseMovieClip (CBaseMovieClip) package { import flash.display.*; import flash.events.*; 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 RemoveDispatcher(){ Main.GetInstance().removeEventListener(mEventType, Update); } public function Update(_arg1:Event){ } } }//package
Section 40
//CCek (CCek) package { import flash.display.*; import flash.events.*; public class CCek extends CBaseMovieClip { public var isCheck:Boolean; public var tipe:int; public var gambar:MovieClip; public function CCek(){ super("update"); isCheck = false; tipe = -1; ketinggian = 0; gambar = new gambarCek(); addChild(gambar); } override public function Update(_arg1:Event){ } } }//package
Section 41
//CCredit (CCredit) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class CCredit extends MovieClip { public var mTitle:MovieClip; public var mFilter:Array; public var mClose:MovieClip; public var mLogo:MovieClip; public function CCredit(){ addFrameScript(0, frame1); } public function onMouseOver(_arg1:MouseEvent){ var _local2:GlowFilter; _local2 = new GlowFilter(0x9900, 1, 5, 5, 3); if (_arg1.currentTarget.name == "mClose"){ mFilter = _arg1.currentTarget.filters.slice(0, 1); _arg1.currentTarget.filters = mFilter.concat([_local2]); return; }; _arg1.currentTarget.filters = [_local2]; } public function onMouseUp(_arg1:MouseEvent){ if ((((_arg1.currentTarget.name == "mTitle")) || ((_arg1.currentTarget.name == "mLogo")))){ Global.openWindow(); }; if (_arg1.currentTarget.name == "mClose"){ parent.removeChild(this); }; } function frame1(){ if (!mTitle.hasEventListener(MouseEvent.MOUSE_UP)){ mTitle.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); mTitle.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver, false, 0, true); mTitle.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut, false, 0, true); mTitle.mouseChildren = false; mTitle.buttonMode = true; mTitle.useHandCursor = true; mLogo.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); mLogo.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver, false, 0, true); mLogo.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut, false, 0, true); mLogo.mouseChildren = false; mLogo.buttonMode = true; mLogo.useHandCursor = true; mClose.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); mClose.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver, false, 0, true); mClose.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut, false, 0, true); mClose.mouseChildren = false; mClose.buttonMode = true; mClose.useHandCursor = true; }; } public function onMouseOut(_arg1:MouseEvent){ if (_arg1.currentTarget.name == "mClose"){ _arg1.currentTarget.filters = mFilter; return; }; _arg1.currentTarget.filters = []; } } }//package
Section 42
//CGame (CGame) package { import flash.display.*; import flash.events.*; import caurina.transitions.*; import com.troy.collision.*; import flash.text.*; import flash.ui.*; import flash.net.*; public class CGame extends CBaseMovieClip { public var menuBawah:MovieClip; public var animasiPenilaian:int; public var backgroundNextStage:MovieClip; public var cek:Array; public var textLevel:TextField; public var toping:Array; public var terpilih:MovieClip; public var score:int; public var topingKe:int; public var gameOverMode:Boolean; public var pizza1:MovieClip; public var pizza2:MovieClip; public var gameMode:Boolean; public var time:int; public var ctrDetik:int; public var pilihanToping:Array; public var textTopingLeft:TextField; public var cons:Data; public var backgroundGameOver:MovieClip; public var scoreAngka:int; public var topingContoh:Array; public var textScore:TextField; public var level:int; public var barTime:MovieClip; public var detikJalan:Boolean; public var textPenilaian:Array; public var difMode:int; private static var CGameGlobal:CGame; public function CGame(){ super("update"); CGameGlobal = this; trace("init cgame"); cons = new Data(); scoreAngka = 0; level = 1; difMode = Main.GetInstance().gameMode; initGame(); } private function meletakkanToping(_arg1:MouseEvent):void{ if ((((((((gameOverMode == false)) && ((gameMode == true)))) && ((animasiPenilaian == 0)))) && (!((topingKe == cons.toppingPerLevel[(level - 1)].toping.length))))){ if (terpilih.tipe != -1){ letakkanToping(terpilih.tipe); tulisStatusGame(); if (terpilih.parent != null){ removeChild(terpilih); addChild(terpilih); }; }; }; } private function memilihToping(_arg1:MouseEvent):void{ if ((((((((gameOverMode == false)) && ((gameMode == true)))) && ((animasiPenilaian == 0)))) && ((backgroundNextStage.parent == null)))){ if (terpilih.parent != null){ removeChild(terpilih); }; Main.GetInstance().mOptionBar.PlaySFX("ambilSound", cons.soundVol); indexTerpilih = pilihanToping.indexOf(_arg1.currentTarget); Mouse.hide(); if ((pilihanToping.indexOf(_arg1.currentTarget) + 1) == cons.indexMayo){ terpilih = new CToping(15, 2); } else { terpilih = new CToping(pilihanToping[indexTerpilih].tipe, 2); }; terpilih.mouseChildren = false; terpilih.mouseEnabled = false; addChild(terpilih); }; } private function notAutoToping(_arg1:MovieClip):Boolean{ if ((((_arg1.tipe == cons.indexMayo)) || ((_arg1.tipe == cons.indexKeju)))){ return (false); }; return (true); } private function hitungNilai(_arg1, _arg2):void{ var _local3:*; _local3 = jarakDuaTitik(toping[_arg1].x, toping[_arg1].y, cek[_arg2].x, cek[_arg2].y); if (_local3 <= cons.jarakPerfect){ score = (score + 100); textPenilaian[_arg1] = new textPerfect(); } else { if (_local3 <= cons.jarakExelent){ score = (score + 75); textPenilaian[_arg1] = new textExcellent(); } else { if (_local3 <= cons.jarakGood){ score = (score + 50); textPenilaian[_arg1] = new textGood(); } else { if (_local3 <= cons.jarakBad){ score = (score + 25); textPenilaian[_arg1] = new textBad(); } else { score = (score + 0); textPenilaian[_arg1] = new textMiss(); }; }; }; }; textPenilaian[_arg1].alpha = 0; textPenilaian[_arg1].x = toping[_arg1].x; textPenilaian[_arg1].y = toping[_arg1].y; pizza1.addChild(textPenilaian[_arg1]); } private function initTextPenilaian():void{ var _local1:int; var _local2:*; textPenilaian = new Array(); _local1 = 0; while (_local1 <= (cons.toppingPerLevel[(level - 1)].toping.length - 1)) { _local2 = new textMiss(); _local2.alpha = 0; textPenilaian.push(_local2); _local1++; }; } private function toMainMenu(_arg1:MouseEvent):void{ Main.GetInstance().KillWindow("Game"); Main.GetInstance().InitMainMenu(); } private function cekHasil():void{ var _local1:int; var _local2:*; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:*; var _local9:int; _local1 = 0; while (_local1 <= (cons.toppingPerLevel[(level - 1)].toping.length - 1)) { _local2 = false; _local8 = 1000; _local3 = -1; if (notAutoToping(toping[_local1])){ _local9 = 0; while (_local9 <= (cons.toppingPerLevel[(level - 1)].toping.length - 1)) { if (((ColDetection.isColliding(toping[_local1], cek[_local9], this)) && ((cek[_local9].isCheck == false)))){ if (toping[_local1].tipe == cek[_local9].tipe){ _local2 = true; if (_local8 > jarakDuaTitik(toping[_local1].x, toping[_local1].y, cek[_local9].x, cek[_local9].y)){ _local8 = jarakDuaTitik(toping[_local1].x, toping[_local1].y, cek[_local9].x, cek[_local9].y); _local3 = _local9; }; }; }; _local9++; }; if (_local2 == true){ cek[_local3].isCheck = true; }; if ((((_local2 == true)) && (notAutoToping(toping[_local1])))){ hitungNilai(_local1, _local3); } else { if (_local2 == false){ textPenilaian[_local1] = new textMiss(); textPenilaian[_local1].alpha = 0; textPenilaian[_local1].x = toping[_local1].x; textPenilaian[_local1].y = toping[_local1].y; pizza1.addChild(textPenilaian[_local1]); }; }; } else { if (toping[_local1].tipe == cons.toppingPerLevel[(level - 1)].toping[_local1]){ score = (score + 100); _local2 = true; textPenilaian[_local1] = new textPerfect(); } else { textPenilaian[_local1] = new textMiss(); }; textPenilaian[_local1].alpha = 0; textPenilaian[_local1].x = toping[_local1].x; textPenilaian[_local1].y = toping[_local1].y; pizza1.addChild(textPenilaian[_local1]); }; score = Math.ceil(((score / cons.toppingPerLevel[(level - 1)].toping.length) - 1)); scoreAngka = (scoreAngka + Math.ceil(((1000 * score) / 100))); if (scoreAngka < 0){ scoreAngka = 0; }; _local1++; }; animasiPenilaian = 1; } private function letakkanToping(_arg1:int):void{ Main.GetInstance().mOptionBar.PlaySFX("ambilSound", cons.soundVol); if (_arg1 == 15){ toping[topingKe] = new CToping(7, 2); } else { toping[topingKe] = new CToping(_arg1, 2); }; toping[topingKe].mouseChildren = false; toping[topingKe].mouseEnabled = false; if (_arg1 == cons.indexKeju){ toping[topingKe].x = -7; toping[topingKe].y = -20; } else { if (_arg1 == cons.indexMayo){ if (pizza1.currentFrame == 1){ toping[topingKe].x = -2; toping[topingKe].y = -17; } else { toping[topingKe].x = -9; toping[topingKe].y = -12; }; } else { toping[topingKe].x = (terpilih.x - pizza1.x); toping[topingKe].y = (terpilih.y - pizza1.y); }; }; pizza1.addChild(toping[topingKe]); topingKe = (topingKe + 1); if (topingKe == cons.toppingPerLevel[(level - 1)].toping.length){ removeChild(terpilih); Mouse.show(); cekHasil(); }; } private function removeAll():void{ var _local1:int; _local1 = 0; while (_local1 <= (cons.maxToping - 1)) { removeChild(pilihanToping[_local1]); _local1++; }; _local1 = 0; while (_local1 <= (topingKe - 1)) { if (toping[_local1].parent != null){ pizza1.removeChild(toping[_local1]); }; if (cek[_local1].parent != null){ pizza1.removeChild(cek[_local1]); }; if (textPenilaian[_local1].parent != null){ pizza1.removeChild(textPenilaian[_local1]); }; _local1++; }; removeChild(pizza1); removeChild(pizza2); } private function jarakDuaTitik(_arg1:int, _arg2:int, _arg3:int, _arg4:int):int{ var _local5:*; _local5 = 0; if (_arg1 > _arg3){ _local5 = ((_local5 + _arg1) - _arg3); } else { _local5 = ((_local5 + _arg3) - _arg1); }; if (_arg2 > _arg4){ _local5 = ((_local5 + _arg2) - _arg4); } else { _local5 = ((_local5 + _arg4) - _arg2); }; return (_local5); } private function playMore(_arg1:MouseEvent):void{ Global.openWindow("http://www.rainbowdressup.com"); } private function gantiLevel():void{ removeAll(); initGame(); } override public function Update(_arg1:Event){ var _local2:*; if (terpilih.tipe != -1){ terpilih.x = Main.GetInstance().mouseX; terpilih.y = Main.GetInstance().mouseY; }; if ((((gameMode == true)) && ((gameOverMode == false)))){ if (detikJalan){ ctrDetik++; }; if ((ctrDetik % 40) == 0){ ctrDetik = 1; time--; tulisStatusGame(); if (time == 0){ backgroundGameOver.textGameOver.text = "Game Over"; backgroundGameOver.textFinalScore.text = scoreAngka; detikJalan = false; removeAll(); if (terpilih.parent != null){ removeChild(terpilih); }; Mouse.show(); removeChild(menuBawah); addChild(backgroundGameOver); }; }; if (animasiPenilaian >= 1){ detikJalan = false; animasiPenilaian++; if ((animasiPenilaian % cons.timingAnimasiPenilaian) == 0){ _local2 = ((animasiPenilaian / cons.timingAnimasiPenilaian) - 1); if ((textPenilaian[_local2] is textMiss)){ Main.GetInstance().mOptionBar.PlaySFX("missSound", cons.soundVol); } else { Main.GetInstance().mOptionBar.PlaySFX("nilaiSound", cons.soundVol); }; Tweener.addTween(textPenilaian[_local2], {y:(textPenilaian[_local2].y - 20), alpha:1, time:0.5, onComplete:selesaiAnimasi, onCompleteParams:[_local2]}); if (_local2 == (cons.toppingPerLevel[(level - 1)].toping.length - 1)){ animasiPenilaian = 0; }; }; }; }; } private function initCek():void{ var _local1:int; var _local2:*; cek = new Array(); _local1 = 0; while (_local1 <= (cons.toppingPerLevel[(level - 1)].toping.length - 1)) { _local2 = new CCek(); _local2.alpha = 0; _local2.tipe = cons.toppingPerLevel[(level - 1)].toping[_local1]; _local2.x = cons.toppingPerLevel[(level - 1)].xToping[_local1]; _local2.y = cons.toppingPerLevel[(level - 1)].yToping[_local1]; _local2.gambar.width = topingContoh[_local1].gambar.width; _local2.gambar.height = topingContoh[_local1].gambar.height; _local2.mouseChildren = false; _local2.mouseEnabled = false; if (notAutoToping(_local2)){ pizza1.addChild(_local2); }; cek.push(_local2); _local1++; }; } private function initGame():void{ var _local1:*; var _local2:*; var _local3:int; var _local4:*; gameMode = true; gameOverMode = false; modeLetakkanToping = false; Mouse.show(); barTime.countDown.gotoAndStop(100); pilihanToping = new Array(); _local1 = 123; _local2 = 65; _local3 = 0; while (_local3 <= (cons.maxToping - 1)) { _local4 = new CToping((_local3 + 1), 1); _local4.x = _local2; _local4.y = _local1; _local4.addEventListener(MouseEvent.MOUSE_UP, memilihToping, false, 0, true); addChild(_local4); pilihanToping.push(_local4); _local2 = ((_local2 + _local4.gambar.width) + 2); if (_local3 == ((cons.maxToping / 2) - 1)){ _local2 = 65; _local1 = 220; }; _local3++; }; toping = new Array(); topingKe = 0; _local3 = 0; while (_local3 <= (cons.toppingPerLevel[(level - 1)].toping.length - 1)) { toping.push(-1); _local3++; }; _local3 = 1; while (_local3 <= 2) { this[("pizza" + _local3)] = new gambarPizza(); this[("pizza" + _local3)].gotoAndStop(cons.pizzaPerLevel[(level - 1)]); _local3++; }; pizza1.x = 209; pizza1.y = 421; pizza1.addEventListener(MouseEvent.MOUSE_UP, meletakkanToping, false, 0, true); pizza2.x = 590; pizza2.y = 421; addChild(pizza1); addChild(pizza2); terpilih = new CToping(-1, 2); terpilih.x = -1000; terpilih.y = -1000; addChild(terpilih); removeChild(menuBawah); menuBawah.buttonMainMenu.addEventListener(MouseEvent.MOUSE_UP, toMainMenu, false, 0, true); menuBawah.buttonPlayMore.addEventListener(MouseEvent.MOUSE_UP, playMore, false, 0, true); addChild(menuBawah); initContohPizza(); initCek(); initTextPenilaian(); score = 0; animasiPenilaian = 0; time = cons.timePlay[difMode]; detikJalan = true; ctrDetik = 0; backgroundGameOver = new bgGameOver(); backgroundGameOver.x = 400; backgroundGameOver.y = 150; backgroundGameOver.buttonMainMenu.addEventListener(MouseEvent.MOUSE_UP, toMainMenu, false, 0, true); backgroundGameOver.buttonPlayMore.addEventListener(MouseEvent.MOUSE_UP, playMore, false, 0, true); backgroundNextStage = new bgNextStage(); backgroundNextStage.x = 400; backgroundNextStage.y = 150; backgroundNextStage.buttonNext.addEventListener(MouseEvent.MOUSE_UP, toNextStage, false, 0, true); backgroundNextStage.buttonPlayMore.addEventListener(MouseEvent.MOUSE_UP, playMore, false, 0, true); tulisStatusGame(); } private function tulisStatusGame():void{ barTime.countDown.gotoAndStop(Math.floor(((time * 100) / cons.timePlay[difMode]))); textLevel.text = level; textScore.text = scoreAngka; textTopingLeft.text = ("Topings Left " + (cons.toppingPerLevel[(level - 1)].toping.length - topingKe)); } private function toNextStage(_arg1:MouseEvent):void{ removeChild(backgroundNextStage); gantiLevel(); } private function initContohPizza():void{ var _local1:int; var _local2:*; topingContoh = new Array(); _local1 = 0; while (_local1 <= (cons.toppingPerLevel[(level - 1)].toping.length - 1)) { _local2 = new CToping(cons.toppingPerLevel[(level - 1)].toping[_local1], 2); _local2.x = cons.toppingPerLevel[(level - 1)].xToping[_local1]; _local2.y = cons.toppingPerLevel[(level - 1)].yToping[_local1]; pizza2.addChild(_local2); topingContoh.push(_local2); _local1++; }; } private function selesaiAnimasi(_arg1:int):void{ textPenilaian[_arg1].alpha = 0; Tweener.removeTweens(textPenilaian[_arg1]); if (_arg1 == (cons.toppingPerLevel[(level - 1)].toping.length - 1)){ terpilih.tipe = -1; tulisStatusGame(); level++; if (level > cons.maxLevel){ removeAll(); backgroundGameOver.textGameOver.text = "Congratulations"; backgroundGameOver.textFinalScore.text = scoreAngka; detikJalan = false; if (terpilih.parent != null){ removeChild(terpilih); }; Mouse.show(); removeChild(menuBawah); addChild(backgroundGameOver); } else { backgroundNextStage.textCurrentScore.text = scoreAngka; addChild(backgroundNextStage); Mouse.show(); }; }; } public static function GetInstance():CGame{ return (CGameGlobal); } } }//package
Section 43
//CMainMenu (CMainMenu) package { import flash.display.*; import flash.events.*; public class CMainMenu extends MovieClip { public var backgroundGameMode:MovieClip; public var btnPlayMore:SimpleButton; public var btnTutor:SimpleButton; public var backgroundTutor:MovieClip; public var btnPlay:SimpleButton; public function CMainMenu(){ mouseEnabled = false; btnPlay.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); btnPlayMore.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); btnTutor.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); backgroundTutor.visible = false; backgroundTutor.buttonClose.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); backgroundGameMode.visible = false; backgroundGameMode.buttonEasy.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); backgroundGameMode.buttonMedium.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); backgroundGameMode.buttonHard.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); } private function onMouseUp(_arg1:MouseEvent):void{ if (_arg1.currentTarget.name == "btnPlay"){ backgroundGameMode.visible = true; }; if (_arg1.currentTarget.name == "btnPlayMore"){ Global.openWindow("http://www.rainbowdressup.com"); }; if (_arg1.currentTarget.name == "buttonEasy"){ Main.GetInstance().gameMode = 0; Main.GetInstance().InitGame(); }; if (_arg1.currentTarget.name == "buttonMedium"){ Main.GetInstance().gameMode = 1; Main.GetInstance().InitGame(); }; if (_arg1.currentTarget.name == "buttonHard"){ Main.GetInstance().gameMode = 2; Main.GetInstance().InitGame(); }; if (_arg1.currentTarget.name == "btnPlayMore"){ }; if (_arg1.currentTarget.name == "btnTutor"){ backgroundTutor.visible = true; }; if (_arg1.currentTarget.name == "buttonClose"){ backgroundTutor.visible = false; }; } } }//package
Section 44
//COptionBar (COptionBar) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.utils.*; public class COptionBar extends MovieClip { public var mSFX:MovieClip; private var mSfxChannel:Array; private var mBgm:Sound; private var mBgmFlag:Boolean; public var mPopUp:MovieClip; private var mSfxFlag:Boolean;// = true private var mBgmChannel:SoundChannel; public var mMusic:MovieClip; public var mQuality:MovieClip; 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; mSfxFlag = true; mBgmVol = 1; 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"); } private function MusicOut(_arg1:MouseEvent):void{ if (!mBgmFlag){ mMusic.gotoAndStop(2); } else { mMusic.gotoAndStop(1); }; HidePopUp(); } 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)")); } public function StopSFX(_arg1:int){ mSfxChannel[_arg1].stop(); } 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(); }; } 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); }; } private function StartBGM(){ var _local1:SoundTransform; trace(("start bgm : " + mBgm)); if (!mBgm){ return; }; mBgmFlag = true; _local1 = new SoundTransform(mBgmVol, 0); mBgmChannel = mBgm.play(0, 999, _local1); MusicOut(null); } 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); }; } private function QualityOver(_arg1:MouseEvent):void{ mQuality.gotoAndStop(2); ShowPopUp((("Quality: " + Main.GetInstance().stage.quality) + " (B)")); } private function HidePopUp(){ mPopUp.alpha = 0; } public function PlaySFX(_arg1:String, _arg2:Number=1):int{ var _local3:Class; var _local4:Sound; var _local5:SoundTransform; var _local6:SoundChannel; if (!mSfxFlag){ return; }; _local3 = (getDefinitionByName(_arg1) as Class); _local4 = new (_local3); _local5 = new SoundTransform(_arg2, 0); _local6 = _local4.play(0, 1, _local5); mSfxChannel.push(_local6); return ((mSfxChannel.length - 1)); } private function MusicOver(_arg1:MouseEvent):void{ if (!mBgmFlag){ mMusic.gotoAndStop(4); } else { mMusic.gotoAndStop(3); }; ShowPopUp("Toggle Music (M)"); } private function SFXOut(_arg1:MouseEvent):void{ if (!mSfxFlag){ mSFX.gotoAndStop(2); } else { mSFX.gotoAndStop(1); }; HidePopUp(); } private function ShowPopUp(_arg1:String){ if ((this.y - 50) <= 0){ mPopUp.y = 40; } else { mPopUp.y = -30; }; mPopUp.alpha = 1; mPopUp.mText.text = _arg1; } private function SFXOver(_arg1:MouseEvent):void{ if (!mSfxFlag){ mSFX.gotoAndStop(4); } else { mSFX.gotoAndStop(3); }; ShowPopUp("Toggle SFX (N)"); } public function ChangeBGMVol(_arg1:Number){ mBgmVol = _arg1; mBgmChannel.soundTransform = new SoundTransform(mBgmVol, 0); } private function QualityOut(_arg1:MouseEvent):void{ mQuality.gotoAndStop(1); HidePopUp(); } } }//package
Section 45
//CToping (CToping) package { import flash.display.*; import flash.events.*; public class CToping extends CBaseMovieClip { public var tipe:int; public var gambar:MovieClip; public function CToping(_arg1, _arg2){ super("update"); if (_arg1 == 15){ tipe = 7; } else { tipe = _arg1; }; if (_arg2 == 1){ gambar = new gambarTopingPilihan(); } else { gambar = new gambarTopingLetak(); }; gambar.gotoAndStop(_arg1); gambar.x = 0; gambar.y = 0; addChild(gambar); } override public function Update(_arg1:Event){ } } }//package
Section 46
//Data (Data) package { public class Data { public const maxLevel = 12; public const soundVol = 0.5; public const jarakExelent = 15; public const toppingPerLevel; public const jarakPerfect = 5; public const timingAnimasiPenilaian = 10; public const indexKeju = 14; public const jarakBad = 50; public const indexMayo = 7; public const pizzaPerLevel; public const timePlay; public const jarakGood = 30; public const maxToping = 14; public function Data(){ timePlay = [30, 20, 10]; pizzaPerLevel = [2, 1, 2, 1, 1, 2, 2, 2, 1, 2, 1, 1]; toppingPerLevel = [{toping:[8, 8, 8, 8, 2], xToping:[-83, -2, 89, 2, 2], yToping:[-20, -77, -19, 45, -17]}, {toping:[3, 3, 3, 3, 6], xToping:[-85, -3, 83, 2, -1], yToping:[-21, -79, -21, 35, -23]}, {toping:[12, 12, 12, 12, 9, 9, 9, 9, 5], xToping:[-88, 2, 83, -6, -70, -58, 62, 50, -2], yToping:[-16, -78, -13, 49, 29, -62, -63, 33, -15]}, {toping:[14, 2, 2, 2, 2, 4, 4, 4, 4, 8], xToping:[-7, -88, 0, 86, 0, -67, -67, 62, 67, 1], yToping:[-20, -18, -81, -20, 42, 27, -70, -75, 27, -21]}, {toping:[14, 3, 3, 3, 3, 1, 9], xToping:[-7, -74, 4, 84, -2, 4, -1], yToping:[-20, -26, -83, -26, 35, -24, -32]}, {toping:[8, 8, 4, 4, 4, 4, 2, 2, 10], xToping:[-91, 98, -57, -50, 54, 51, 4, -3, 3], yToping:[-19, -17, 27, -60, -59, 30, -89, 56, -16]}, {toping:[3, 3, 3, 3, 9, 9, 9, 9, 8, 7], xToping:[-98, 3, 96, -3, -56, -56, 57, 57, 5, -9], yToping:[-17, -81, -17, 50, 30, -50, -62, 25, -17, -12]}, {toping:[5, 5, 4, 4, 4, 4, 1, 1, 8], xToping:[-104, 93, -50, -61, 53, 66, -5, 4, 6], yToping:[-6, -20, 29, -46, -63, 19, -80, 54, -17]}, {toping:[7, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3], xToping:[-2, -96, -80, -42, 12, 65, 96, 86, 42, -11, -63, 6], yToping:[-17, -5, -46, -79, -90, -72, -32, 12, 39, 47, 29, -23]}, {toping:[3, 3, 3, 3, 2, 2, 2, 2, 11, 4], xToping:[-101, 11, 115, -1, -53, -52, 65, 59, 2, 2], yToping:[-16, -93, -22, 59, 23, -60, -62, 21, -23, -28]}, {toping:[9, 9, 9, 9, 13, 13, 13, 13, 6, 6, 6, 6, 4], xToping:[-66, -72, 69, 76, -72, -1, 75, 2, -71, -2, 73, 2, 2], yToping:[32, -76, -79, 28, -21, -78, -26, 24, -29, -84, -34, 14, -29]}, {toping:[4, 4, 4, 4, 11, 11, 10, 12, 8, 13, 13, 13, 9], xToping:[-79, 47, 89, -40, -78, 79, 31, -17, 3, -40, 51, -25, -4], yToping:[-54, -84, 12, 45, -1, -36, 33, -76, -22, -66, -51, 9, -34]}]; super(); } } }//package
Section 47
//FPS (FPS) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.external.*; import flash.system.*; import flash.accessibility.*; import flash.errors.*; import flash.filters.*; public dynamic class FPS extends MovieClip { public var prevSecondTime:Number; public var secondTime:Number; public var tf:TextField; public var frames:Number; public var time:Number; public var frameTime:Number; public var fps:String; public var prevFrameTime:Number; public var iBar:MovieClip; public function FPS(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ prevFrameTime = getTimer(); prevSecondTime = getTimer(); frames = 0; fps = "..."; } function frame2(){ stop(); 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 48
//gambarCek (gambarCek) package { import flash.display.*; public dynamic class gambarCek extends MovieClip { } }//package
Section 49
//gambarPizza (gambarPizza) package { import flash.display.*; public dynamic class gambarPizza extends MovieClip { } }//package
Section 50
//gambarTopingLetak (gambarTopingLetak) package { import flash.display.*; public dynamic class gambarTopingLetak extends MovieClip { } }//package
Section 51
//gambarTopingPilihan (gambarTopingPilihan) package { import flash.display.*; public dynamic class gambarTopingPilihan extends MovieClip { } }//package
Section 52
//Global (Global) package { import flash.geom.*; import flash.display.*; import flash.utils.*; import flash.net.*; import flash.external.*; 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 AngleOfTwoLines(_arg1:Object, _arg2:Object):Number{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; _local3 = _arg1.x1; _local4 = _arg1.y1; _local5 = _arg1.x2; _local6 = _arg1.y2; _local7 = _arg2.x1; _local8 = _arg2.y1; _local9 = _arg2.x2; _local10 = _arg2.y2; _local11 = Global.Slope(_local3, _local4, _local5, _local6); _local12 = Global.Slope(_local7, _local8, _local9, _local10); return (Math.atan(((_local12 - _local11) / (1 + (_local11 * _local12))))); } public static function Slope(_arg1, _arg2, _arg3, _arg4):Number{ var _local5:Number; var _local6:Number; _local5 = (_arg1 - _arg3); _local6 = (_arg2 - _arg4); return ((_local6 / _local5)); } public static function clone(_arg1:Object){ var _local2:ByteArray; _local2 = new ByteArray(); _local2.writeObject(_arg1); _local2.position = 0; return (_local2.readObject()); } public static function duplicateMovieClip(_arg1:MovieClip):MovieClip{ var _local2:Class; var _local3:MovieClip; var _local4:Rectangle; _local2 = Object(_arg1).constructor; _local3 = new (_local2); _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; }; return (_local3); } public static function AngleOfTwoDots(_arg1, _arg2, _arg3, _arg4):Number{ var _local5:Number; var _local6:Number; _local5 = (_arg1 - _arg3); _local6 = (_arg2 - _arg4); return (Math.atan2(_local6, _local5)); } public static function DegToRad(_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 RadToDeg(_arg1:Number):Number{ return (((_arg1 * 180) / Math.PI)); } public static function pythagoras(_arg1:Number, _arg2:Number):Number{ return (Math.sqrt((Math.pow(_arg1, 2) + Math.pow(_arg2, 2)))); } public static function openWindow(_arg1:String="http://www.lazybanana.com", _arg2:String="_blank", _arg3:String=""):String{ var _loc_4:URLRequest; var _loc_5:String; var ok:Boolean; var opened:Boolean; var msg:String; var url = _arg1; var target = _arg2; var param3 = _arg3; ok = true; opened = false; _loc_4 = new URLRequest(url); msg = "Start the openWindow func ...\n"; if (!ExternalInterface.available){ try { opened = false; navigateToURL(_loc_4, target); msg = (msg + "flag a - 1"); } catch(err:SecurityError) { navigateToURL(_loc_4, "_blank"); opened = true; msg = (msg + "flag a - 2"); } finally { opened = true; }; msg = (msg + "external interface not available\n"); } else { try { _loc_5 = String(ExternalInterface.call("function() {return navigator.userAgent;}")).toLowerCase(); msg = (msg + "Trying extenal interface sandbox security\n"); msg = (msg + "flag b - 1"); opened = false; } catch(err:SecurityError) { msg = (msg + (err.message + "\n")); ok = false; try { opened = false; navigateToURL(_loc_4, target); msg = (msg + "flag b - 2"); } catch(err:SecurityError) { opened = true; msg = (msg + "flag b - 3"); navigateToURL(_loc_4, "_blank"); } finally { opened = true; }; } catch(err:Error) { } finally { opened = false; }; if (((ok) && (!(opened)))){ msg = (msg + "External interface available, continuing ...\n"); if (((!((_loc_5.indexOf("firefox") == -1))) || (((!((_loc_5.indexOf("msie") == -1))) && ((uint(_loc_5.substr((_loc_5.indexOf("msie") + 5), 3)) >= 7)))))){ try { ExternalInterface.call("window.open", _loc_4.url, target); opened = false; msg = (msg + "flag c - 1"); msg = (msg + "Trying window.open JS ...\n"); } catch(err:SecurityError) { msg = (msg + (err.message + "\n")); trace(("e : " + err.message)); if (!opened){ try { opened = false; navigateToURL(_loc_4, target); msg = (msg + "flag d - 1"); } catch(err:SecurityError) { opened = true; navigateToURL(_loc_4, "_blank"); msg = (msg + "flag d - 2"); } finally { opened = true; }; }; } catch(err:Error) { msg = (msg + (err.message + "\n")); if (!opened){ try { opened = false; navigateToURL(_loc_4, target); msg = (msg + "flag e - 1"); } catch(err:SecurityError) { opened = true; navigateToURL(_loc_4, "_blank"); msg = (msg + "flag e - 2"); } finally { opened = true; }; }; } finally { opened = true; }; } else { if (!opened){ msg = (msg + "Open with navigateToURL\n"); try { opened = false; navigateToURL(_loc_4, target); msg = (msg + "flag f - 1"); } catch(err:SecurityError) { navigateToURL(_loc_4, "_blank"); msg = (msg + "flag f - 2"); } finally { opened = true; }; }; }; }; }; return (msg); } public static function getMoneyString(_arg1:int):String{ var _local2:String; var _local3:String; var _local4:int; var _local5:int; _local2 = ""; _local3 = _arg1; _local4 = 0; _local5 = (_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 53
//Main (Main) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.ui.*; import flash.utils.*; import flash.net.*; import flash.system.*; public dynamic class Main extends MovieClip { public var mBannedWin:CBannedWin; private var mContextMenu:ContextMenu; public var mBgmStartFlag:Boolean;// = false private var mBgm:SoundChannel; private var mSfx:SoundChannel; public var mState:int; public var mBgmFlag:Boolean;// = true public var mFPSBar:MovieClip; private var mMainMenu:CMainMenu; public var mSfxFlag:Boolean;// = true public var mOptionBar:COptionBar; public var mPreloader:MovieClip; public var gameMode:int; private var mGame:CGame; protected static const WINDOW_OPEN_FUNCTION:String = "window.open"; public static var STATE_GAME = 1; public static var MainGlobal:Main; public static var STATE_PRELOADER = 0; public static var STATE_MAIN_MENU = 2; public static var STATE_PAUSED = 3; public function Main(){ mState = STATE_PRELOADER; mBgmFlag = true; mSfxFlag = true; mBgmStartFlag = false; super(); addFrameScript(0, frame1, 15, frame16); trace("init main 1"); 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.HIGH; gameMode = -1; } public function InitMainMenu(){ ShowWindow("MainMenu"); mState = STATE_MAIN_MENU; } 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 KillWindow(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=true){ var _local4:String; var _local5:String; var _local6:XML; var _local7:String; _local4 = ("C" + _arg1); _local5 = ("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 RunStateGame(){ this.dispatchEvent(new Event("update")); } public function ShowWindow(_arg1:String){ var _local2:String; var _local3:String; var _local4:Class; _local2 = ("C" + _arg1); _local3 = ("m" + _arg1); _local4 = (getDefinitionByName(_local2) as Class); if (_local4){ KillWindow(_local3); this[_local3] = new (_local4); this.stage.addChild(this[_local3]); }; } public function InitGame(){ ShowWindow("Game"); mGame.AddDispatcher(); mState = STATE_GAME; } function frame1(){ MochiBot.track(this, "70c56fd6"); stop(); } function frame16(){ InitOnce(); } private function isDomainNOTAllowed(_arg1:Array):Boolean{ var _local2:LocalConnection; var _local3:String; var _local4:Number; _local2 = new LocalConnection(); _local3 = _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); } private function isPlayerAllowed(_arg1:Array):Boolean{ var _local2:String; var _local3:Number; _local2 = Capabilities.playerType; trace(("PlayerType : " + _local2)); _local3 = 0; while (_local3 < _arg1.length) { if (_local2 == _arg1[_local3]){ return (true); }; _local3++; }; return (false); } private function isDomainAllowed(_arg1:Array):Boolean{ var _local2:LocalConnection; var _local3:String; var _local4:Number; _local2 = new LocalConnection(); _local3 = _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); } private function menuSelectHandler(_arg1:ContextMenuEvent){ } private function OnKeyFocusChange(_arg1:FocusEvent):void{ stage.focus = this.stage; } public function onKeyUp(_arg1:KeyboardEvent){ if (mState != STATE_PRELOADER){ switch (_arg1.keyCode){ case 77: if (mOptionBar){ mOptionBar.ToggleMusic(); }; break; case 66: if (mOptionBar){ mOptionBar.ToggleQuality(); }; break; case 78: if (mOptionBar){ mOptionBar.ToggleSFX(); }; break; }; }; } 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 CheckDomain(){ var _local1:Array; var _local2:Array; var _local3:*; _local1 = new Array("localhost"); _local2 = 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 !!!"); }; } private function InitOnce(){ InitMainMenu(); mOptionBar = new COptionBar(0, 0, "bgMusic", 1); mOptionBar.visible = false; stage.addChild(mOptionBar); mFPSBar = new FPS(); mFPSBar.visible = false; stage.addChild(mFPSBar); if (this.hasEventListener(Event.ENTER_FRAME)){ this.removeEventListener(Event.ENTER_FRAME, OnEnterFrame); }; this.addEventListener(Event.ENTER_FRAME, OnEnterFrame, false, 0, true); } public function OnEnterFrame(_arg1:Event){ switch (mState){ case STATE_GAME: RunStateGame(); break; case STATE_PAUSED: this.dispatchEvent(new Event("pause")); break; default: break; }; } public function GotoSapi(_arg1:MouseEvent){ Main.openWindow(); } public static function GetInstance():Main{ return (MainGlobal); } } }//package
Section 54
//missSound (missSound) package { import flash.media.*; public dynamic class missSound extends Sound { } }//package
Section 55
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 56
//nilaiSound (nilaiSound) package { import flash.media.*; public dynamic class nilaiSound extends Sound { } }//package
Section 57
//textBad (textBad) package { import flash.display.*; public dynamic class textBad extends MovieClip { } }//package
Section 58
//textExcellent (textExcellent) package { import flash.display.*; public dynamic class textExcellent extends MovieClip { } }//package
Section 59
//textGood (textGood) package { import flash.display.*; public dynamic class textGood extends MovieClip { } }//package
Section 60
//textMiss (textMiss) package { import flash.display.*; public dynamic class textMiss extends MovieClip { } }//package
Section 61
//textPerfect (textPerfect) package { import flash.display.*; public dynamic class textPerfect extends MovieClip { } }//package

Library Items

Symbol 1 GraphicUsed by:72
Symbol 2 GraphicUsed by:10
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:5 6
Symbol 5 MovieClipUses:4Used by:10
Symbol 6 MovieClipUses:4Used by:10
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:9 39
Symbol 9 MovieClipUses:8Used by:10 39
Symbol 10 MovieClipUses:2 5 6 9Used by:72
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:13
Symbol 13 MovieClip {Skeleton_fla.t1_10}Uses:12Used by:14
Symbol 14 MovieClip {Skeleton_fla.t1_9}Uses:13Used by:51
Symbol 15 GraphicUsed by:33
Symbol 16 GraphicUsed by:33
Symbol 17 GraphicUsed by:33
Symbol 18 ShapeTweeningUsed by:33
Symbol 19 GraphicUsed by:33
Symbol 20 ShapeTweeningUsed by:33
Symbol 21 ShapeTweeningUsed by:33
Symbol 22 ShapeTweeningUsed by:33
Symbol 23 ShapeTweeningUsed by:33
Symbol 24 ShapeTweeningUsed by:33
Symbol 25 ShapeTweeningUsed by:33
Symbol 26 ShapeTweeningUsed by:33
Symbol 27 GraphicUsed by:33
Symbol 28 ShapeTweeningUsed by:33
Symbol 29 ShapeTweeningUsed by:33
Symbol 30 ShapeTweeningUsed by:33
Symbol 31 ShapeTweeningUsed by:33
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32Used by:39
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:38
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:38
Symbol 38 MovieClip {Skeleton_fla.blingblinggggg_14}Uses:35 37Used by:39
Symbol 39 MovieClipUses:9 8 33 38Used by:51
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:46
Symbol 42 GraphicUsed by:46
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:46
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:41 42 44 45Used by:51
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:49
Symbol 49 MovieClipUses:48Used by:50
Symbol 50 MovieClip {Skeleton_fla.flares_20}Uses:49Used by:51
Symbol 51 MovieClipUses:14 39 46 50Used by:72
Symbol 52 GraphicUsed by:56
Symbol 53 GraphicUsed by:56 481
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:56
Symbol 56 MovieClip {Skeleton_fla.loadingbar_23}Uses:52 53 55Used by:72
Symbol 57 FontUsed by:58
Symbol 58 EditableTextUses:57Used by:72
Symbol 59 FontUsed by:60 460 463
Symbol 60 TextUses:59Used by:72
Symbol 61 GraphicUsed by:70 71
Symbol 62 GraphicUsed by:70 71
Symbol 63 GraphicUsed by:69 70 71
Symbol 64 ShapeTweeningUsed by:69 70 71
Symbol 65 ShapeTweeningUsed by:69
Symbol 66 GraphicUsed by:69
Symbol 67 ShapeTweeningUsed by:69
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:63 64 65 66 67 68Used by:70 71
Symbol 70 ButtonUses:61 62 69 63 64Used by:72
Symbol 71 ButtonUses:61 62 69 63 64Used by:72
Symbol 72 MovieClip {Skeleton_fla.Rainbow_Preloader_1}Uses:1 10 51 56 58 60 70 71Used by:Timeline
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:197
Symbol 75 GraphicUsed by:96
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:96
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:96
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:96
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:96
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:84Used by:96
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:96
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:96
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:90Used by:96
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:92Used by:96
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:96
Symbol 96 MovieClipUses:75 77 79 81 83 85 87 89 91 93 95Used by:197
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:197
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:197
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:197
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:197
Symbol 105 GraphicUsed by:110
Symbol 106 GraphicUsed by:109 545
Symbol 107 GraphicUsed by:109
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:106 107 108Used by:110
Symbol 110 MovieClip {Skeleton_fla.bartime_46}Uses:105 109Used by:197
Symbol 111 FontUsed by:112 195 440 441 442 557 558 559 561 562
Symbol 112 EditableTextUses:111Used by:197
Symbol 113 FontUsed by:114 116 118 196
Symbol 114 TextUses:113Used by:115
Symbol 115 MovieClipUses:114Used by:197
Symbol 116 TextUses:113Used by:117
Symbol 117 MovieClipUses:116Used by:197
Symbol 118 TextUses:113Used by:119
Symbol 119 MovieClipUses:118Used by:197
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:120Used by:194
Symbol 122 GraphicUsed by:123 124
Symbol 123 MovieClipUses:122Used by:124
Symbol 124 Button {btnMainMenu}Uses:123 122Used by:194 560
Symbol 125 GraphicUsed by:189
Symbol 126 GraphicUsed by:186 187
Symbol 127 GraphicUsed by:128 187
Symbol 128 MovieClipUses:127Used by:129 150
Symbol 129 MovieClipUses:128Used by:186
Symbol 130 GraphicUsed by:131 187
Symbol 131 MovieClipUses:130Used by:147
Symbol 132 GraphicUsed by:133 187
Symbol 133 MovieClipUses:132Used by:147
Symbol 134 GraphicUsed by:135 187
Symbol 135 MovieClipUses:134Used by:147
Symbol 136 GraphicUsed by:137 187
Symbol 137 MovieClipUses:136Used by:147
Symbol 138 GraphicUsed by:139 187
Symbol 139 MovieClipUses:138Used by:147
Symbol 140 GraphicUsed by:142 187
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:140 141Used by:147
Symbol 143 GraphicUsed by:147 187
Symbol 144 GraphicUsed by:145 187
Symbol 145 MovieClipUses:144Used by:146
Symbol 146 MovieClipUses:145Used by:147
Symbol 147 MovieClipUses:131 133 135 137 139 142 143 146Used by:186
Symbol 148 GraphicUsed by:149 187
Symbol 149 MovieClipUses:148Used by:150
Symbol 150 MovieClipUses:128 149Used by:186
Symbol 151 GraphicUsed by:152 187
Symbol 152 MovieClipUses:151Used by:153
Symbol 153 MovieClipUses:152Used by:186
Symbol 154 GraphicUsed by:155 187
Symbol 155 MovieClipUses:154Used by:156
Symbol 156 MovieClipUses:155Used by:157
Symbol 157 MovieClipUses:156Used by:186
Symbol 158 FontUsed by:159 160 161 162 163 164 165 166 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
Symbol 159 TextUses:158Used by:167
Symbol 160 TextUses:158Used by:167
Symbol 161 TextUses:158Used by:167
Symbol 162 TextUses:158Used by:167
Symbol 163 TextUses:158Used by:167
Symbol 164 TextUses:158Used by:167
Symbol 165 TextUses:158Used by:167
Symbol 166 TextUses:158Used by:167
Symbol 167 ButtonUses:159 160 161 162 163 164 165 166Used by:186 187
Symbol 168 TextUses:158Used by:185
Symbol 169 TextUses:158Used by:185
Symbol 170 TextUses:158Used by:185
Symbol 171 TextUses:158Used by:185
Symbol 172 TextUses:158Used by:185
Symbol 173 TextUses:158Used by:185
Symbol 174 TextUses:158Used by:185
Symbol 175 TextUses:158Used by:185
Symbol 176 TextUses:158Used by:185
Symbol 177 TextUses:158Used by:185
Symbol 178 TextUses:158Used by:185
Symbol 179 TextUses:158Used by:185
Symbol 180 TextUses:158Used by:185
Symbol 181 TextUses:158Used by:185
Symbol 182 TextUses:158Used by:185
Symbol 183 TextUses:158Used by:185
Symbol 184 TextUses:158Used by:185
Symbol 185 ButtonUses:168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184Used by:186 187
Symbol 186 MovieClipUses:126 129 147 150 153 157 167 185Used by:187
Symbol 187 ButtonUses:186 126 127 130 132 134 136 138 140 143 144 148 151 154 167 185Used by:189
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClipUses:125 187 188Used by:190
Symbol 190 MovieClip {Skeleton_fla.RainbowDressUpBtn_55}Uses:189Used by:194 560
Symbol 191 GraphicUsed by:192 193
Symbol 192 MovieClipUses:191Used by:193
Symbol 193 ButtonUses:192 191Used by:194 560
Symbol 194 MovieClip {bgMenuBawah}Uses:121 124 190 193Used by:197
Symbol 195 EditableTextUses:111Used by:197
Symbol 196 EditableTextUses:113Used by:197
Symbol 197 MovieClip {CGame}Uses:74 96 98 100 102 104 110 112 115 117 119 194 195 196Used by:574
Symbol 198 BitmapUsed by:199
Symbol 199 GraphicUses:198Used by:202
Symbol 200 GraphicUsed by:202 208
Symbol 201 GraphicUsed by:202 205 208
Symbol 202 MovieClip {Skeleton_fla.MusicBtn_82}Uses:199 200 201Used by:213
Symbol 203 BitmapUsed by:204
Symbol 204 GraphicUses:203Used by:205
Symbol 205 MovieClip {Skeleton_fla.QualityBtn_83}Uses:204 201Used by:213
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:208
Symbol 208 MovieClip {Skeleton_fla.SFXBtn_84}Uses:207 200 201Used by:213
Symbol 209 GraphicUsed by:212
Symbol 210 FontUsed by:211
Symbol 211 EditableTextUses:210Used by:212
Symbol 212 MovieClip {Skeleton_fla.OptionBarPopUp_85}Uses:209 211Used by:213
Symbol 213 MovieClip {COptionBar}Uses:202 205 208 212Used by:574
Symbol 214 GraphicUsed by:224
Symbol 215 GraphicUsed by:218
Symbol 216 TextUsed by:218
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClipUses:215 216 217Used by:224
Symbol 219 GraphicUsed by:224
Symbol 220 GraphicUsed by:221 222
Symbol 221 MovieClipUses:220Used by:224
Symbol 222 MovieClipUses:220Used by:224
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClipUses:214 218 219 221 222 223Used by:458
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:458
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:458
Symbol 229 GraphicUsed by:230 231
Symbol 230 MovieClipUses:229Used by:231
Symbol 231 Button {buttonPlay}Uses:230 229Used by:458
Symbol 232 GraphicUsed by:233 234
Symbol 233 MovieClipUses:232Used by:234
Symbol 234 Button {buttonTutorial}Uses:233 232Used by:458
Symbol 235 GraphicUsed by:236 237
Symbol 236 MovieClipUses:235Used by:237
Symbol 237 Button {buttonPlayMore2}Uses:236 235Used by:458
Symbol 238 GraphicUsed by:444 445
Symbol 239 GraphicUsed by:240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272
Symbol 240 MovieClipUses:239Used by:444 445
Symbol 241 MovieClipUses:239Used by:444 445
Symbol 242 MovieClipUses:239Used by:444 445
Symbol 243 MovieClipUses:239Used by:444 445
Symbol 244 MovieClipUses:239Used by:444 445
Symbol 245 MovieClipUses:239Used by:444 445
Symbol 246 MovieClipUses:239Used by:444 445
Symbol 247 MovieClipUses:239Used by:444 445
Symbol 248 MovieClipUses:239Used by:444 445
Symbol 249 MovieClipUses:239Used by:444 445
Symbol 250 MovieClipUses:239Used by:444 445
Symbol 251 MovieClipUses:239Used by:444 445
Symbol 252 MovieClipUses:239Used by:444 445
Symbol 253 MovieClipUses:239Used by:444 445
Symbol 254 MovieClipUses:239Used by:444 445
Symbol 255 MovieClipUses:239Used by:444 445
Symbol 256 MovieClipUses:239Used by:444 445
Symbol 257 MovieClipUses:239Used by:444 445
Symbol 258 MovieClipUses:239Used by:444 445
Symbol 259 MovieClipUses:239Used by:444 445
Symbol 260 MovieClipUses:239Used by:444 445
Symbol 261 MovieClipUses:239Used by:444 445
Symbol 262 MovieClipUses:239Used by:444 445
Symbol 263 MovieClipUses:239Used by:444 445
Symbol 264 MovieClipUses:239Used by:444 445
Symbol 265 MovieClipUses:239Used by:444 445
Symbol 266 MovieClipUses:239Used by:444 445
Symbol 267 MovieClipUses:239Used by:444 445
Symbol 268 MovieClipUses:239Used by:444 445
Symbol 269 MovieClipUses:239Used by:444 445
Symbol 270 MovieClipUses:239Used by:444 445
Symbol 271 MovieClipUses:239Used by:444 445
Symbol 272 MovieClipUses:239Used by:444 445
Symbol 273 GraphicUsed by:327
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274Used by:327
Symbol 276 GraphicUsed by:327
Symbol 277 GraphicUsed by:278 280 282 284 286 306
Symbol 278 MovieClipUses:277Used by:327
Symbol 279 GraphicUsed by:327
Symbol 280 MovieClipUses:277Used by:327
Symbol 281 GraphicUsed by:327
Symbol 282 MovieClipUses:277Used by:327
Symbol 283 GraphicUsed by:327
Symbol 284 MovieClipUses:277Used by:327
Symbol 285 GraphicUsed by:327
Symbol 286 MovieClipUses:277Used by:327
Symbol 287 GraphicUsed by:327
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClipUses:288Used by:327
Symbol 290 GraphicUsed by:327
Symbol 291 GraphicUsed by:292 317
Symbol 292 MovieClipUses:291Used by:327
Symbol 293 GraphicUsed by:327
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClipUses:294Used by:327
Symbol 296 GraphicUsed by:327
Symbol 297 GraphicUsed by:298
Symbol 298 MovieClipUses:297Used by:327
Symbol 299 GraphicUsed by:327
Symbol 300 GraphicUsed by:301 319
Symbol 301 MovieClipUses:300Used by:327
Symbol 302 GraphicUsed by:327
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClipUses:303Used by:327
Symbol 305 GraphicUsed by:327
Symbol 306 MovieClipUses:277Used by:327
Symbol 307 GraphicUsed by:327
Symbol 308 GraphicUsed by:309
Symbol 309 MovieClipUses:308Used by:327
Symbol 310 GraphicUsed by:327
Symbol 311 GraphicUsed by:312
Symbol 312 MovieClipUses:311Used by:327
Symbol 313 GraphicUsed by:327
Symbol 314 GraphicUsed by:315
Symbol 315 MovieClipUses:314Used by:327
Symbol 316 GraphicUsed by:327
Symbol 317 MovieClipUses:291Used by:327
Symbol 318 GraphicUsed by:327
Symbol 319 MovieClipUses:300Used by:327
Symbol 320 GraphicUsed by:327
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClipUses:321Used by:327
Symbol 323 GraphicUsed by:327
Symbol 324 GraphicUsed by:325
Symbol 325 MovieClipUses:324Used by:326
Symbol 326 MovieClipUses:325Used by:327
Symbol 327 MovieClipUses:273 275 276 278 279 280 281 282 283 284 285 286 287 289 290 292 293 295 296 298 299 301 302 304 305 306 307 309 310 312 313 315 316 317 318 319 320 322 323 326Used by:444 445
Symbol 328 GraphicUsed by:382
Symbol 329 GraphicUsed by:330
Symbol 330 MovieClipUses:329Used by:382
Symbol 331 GraphicUsed by:382
Symbol 332 GraphicUsed by:333 335 337 339 341 361
Symbol 333 MovieClipUses:332Used by:382
Symbol 334 GraphicUsed by:382
Symbol 335 MovieClipUses:332Used by:382
Symbol 336 GraphicUsed by:382
Symbol 337 MovieClipUses:332Used by:382
Symbol 338 GraphicUsed by:382
Symbol 339 MovieClipUses:332Used by:382
Symbol 340 GraphicUsed by:382
Symbol 341 MovieClipUses:332Used by:382
Symbol 342 GraphicUsed by:382
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClipUses:343Used by:382
Symbol 345 GraphicUsed by:382
Symbol 346 GraphicUsed by:347 372
Symbol 347 MovieClipUses:346Used by:382
Symbol 348 GraphicUsed by:382
Symbol 349 GraphicUsed by:350
Symbol 350 MovieClipUses:349Used by:382
Symbol 351 GraphicUsed by:382
Symbol 352 GraphicUsed by:353
Symbol 353 MovieClipUses:352Used by:382
Symbol 354 GraphicUsed by:382
Symbol 355 GraphicUsed by:356 374
Symbol 356 MovieClipUses:355Used by:382
Symbol 357 GraphicUsed by:382
Symbol 358 GraphicUsed by:359
Symbol 359 MovieClipUses:358Used by:382
Symbol 360 GraphicUsed by:382
Symbol 361 MovieClipUses:332Used by:382
Symbol 362 GraphicUsed by:382
Symbol 363 GraphicUsed by:364
Symbol 364 MovieClipUses:363Used by:382
Symbol 365 GraphicUsed by:382
Symbol 366 GraphicUsed by:367
Symbol 367 MovieClipUses:366Used by:382
Symbol 368 GraphicUsed by:382
Symbol 369 GraphicUsed by:370
Symbol 370 MovieClipUses:369Used by:382
Symbol 371 GraphicUsed by:382
Symbol 372 MovieClipUses:346Used by:382
Symbol 373 GraphicUsed by:382
Symbol 374 MovieClipUses:355Used by:382
Symbol 375 GraphicUsed by:382
Symbol 376 GraphicUsed by:377
Symbol 377 MovieClipUses:376Used by:382
Symbol 378 GraphicUsed by:382
Symbol 379 GraphicUsed by:380
Symbol 380 MovieClipUses:379Used by:381
Symbol 381 MovieClipUses:380Used by:382
Symbol 382 MovieClipUses:328 330 331 333 334 335 336 337 338 339 340 341 342 344 345 347 348 350 351 353 354 356 357 359 360 361 362 364 365 367 368 370 371 372 373 374 375 377 378 381Used by:444 445
Symbol 383 GraphicUsed by:437
Symbol 384 GraphicUsed by:385
Symbol 385 MovieClipUses:384Used by:437
Symbol 386 GraphicUsed by:437
Symbol 387 GraphicUsed by:388 390 392 394 396 416
Symbol 388 MovieClipUses:387Used by:437
Symbol 389 GraphicUsed by:437
Symbol 390 MovieClipUses:387Used by:437
Symbol 391 GraphicUsed by:437
Symbol 392 MovieClipUses:387Used by:437
Symbol 393 GraphicUsed by:437
Symbol 394 MovieClipUses:387Used by:437
Symbol 395 GraphicUsed by:437
Symbol 396 MovieClipUses:387Used by:437
Symbol 397 GraphicUsed by:437
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClipUses:398Used by:437
Symbol 400 GraphicUsed by:437
Symbol 401 GraphicUsed by:402 427
Symbol 402 MovieClipUses:401Used by:437
Symbol 403 GraphicUsed by:437
Symbol 404 GraphicUsed by:405
Symbol 405 MovieClipUses:404Used by:437
Symbol 406 GraphicUsed by:437
Symbol 407 GraphicUsed by:408
Symbol 408 MovieClipUses:407Used by:437
Symbol 409 GraphicUsed by:437
Symbol 410 GraphicUsed by:411 429
Symbol 411 MovieClipUses:410Used by:437
Symbol 412 GraphicUsed by:437
Symbol 413 GraphicUsed by:414
Symbol 414 MovieClipUses:413Used by:437
Symbol 415 GraphicUsed by:437
Symbol 416 MovieClipUses:387Used by:437
Symbol 417 GraphicUsed by:437
Symbol 418 GraphicUsed by:419
Symbol 419 MovieClipUses:418Used by:437
Symbol 420 GraphicUsed by:437
Symbol 421 GraphicUsed by:422
Symbol 422 MovieClipUses:421Used by:437
Symbol 423 GraphicUsed by:437
Symbol 424 GraphicUsed by:425
Symbol 425 MovieClipUses:424Used by:437
Symbol 426 GraphicUsed by:437
Symbol 427 MovieClipUses:401Used by:437
Symbol 428 GraphicUsed by:437
Symbol 429 MovieClipUses:410Used by:437
Symbol 430 GraphicUsed by:437
Symbol 431 GraphicUsed by:432
Symbol 432 MovieClipUses:431Used by:437
Symbol 433 GraphicUsed by:437
Symbol 434 GraphicUsed by:435
Symbol 435 MovieClipUses:434Used by:436
Symbol 436 MovieClipUses:435Used by:437
Symbol 437 MovieClipUses:383 385 386 388 389 390 391 392 393 394 395 396 397 399 400 402 403 405 406 408 409 411 412 414 415 416 417 419 420 422 423 425 426 427 428 429 430 432 433 436Used by:444 445
Symbol 438 GraphicUsed by:439
Symbol 439 MovieClipUses:438Used by:444
Symbol 440 TextUses:111Used by:444
Symbol 441 EditableTextUses:111Used by:443
Symbol 442 EditableTextUses:111Used by:443
Symbol 443 ButtonUses:441 442Used by:444
Symbol 444 MovieClip {Skeleton_fla.bgTutorial_99}Uses:238 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 327 382 437 439 440 443Used by:458
Symbol 445 MovieClipUses:238 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 327 382 437Used by:457
Symbol 446 GraphicUsed by:447 448
Symbol 447 MovieClipUses:446Used by:448
Symbol 448 Button {btnEasy}Uses:447 446Used by:457
Symbol 449 GraphicUsed by:450 451
Symbol 450 MovieClipUses:449Used by:451
Symbol 451 Button {btnNormal}Uses:450 449Used by:457
Symbol 452 GraphicUsed by:453 454
Symbol 453 MovieClipUses:452Used by:454
Symbol 454 Button {btnHard}Uses:453 452Used by:457
Symbol 455 GraphicUsed by:456
Symbol 456 MovieClipUses:455Used by:457
Symbol 457 MovieClip {Skeleton_fla.bgGameMode_201}Uses:445 448 451 454 456Used by:458
Symbol 458 MovieClip {CMainMenu}Uses:224 226 228 231 234 237 444 457Used by:574
Symbol 459 GraphicUsed by:465
Symbol 460 TextUses:59Used by:465
Symbol 461 BitmapUsed by:462
Symbol 462 GraphicUses:461Used by:464 476
Symbol 463 EditableTextUses:59Used by:464 476
Symbol 464 ButtonUses:462 463Used by:465
Symbol 465 MovieClip {CBannedWin}Uses:459 460 464Used by:574
Symbol 466 GraphicUsed by:467
Symbol 467 MovieClipUses:466Used by:471
Symbol 468 GraphicUsed by:471
Symbol 469 FontUsed by:470
Symbol 470 EditableTextUses:469Used by:471
Symbol 471 MovieClip {FPS}Uses:467 468 470Used by:574
Symbol 472 GraphicUsed by:475
Symbol 473 FontUsed by:474 478 479
Symbol 474 EditableTextUses:473Used by:475
Symbol 475 MovieClip {Skeleton_fla.lazybananaproduction_215}Uses:472 474Used by:481
Symbol 476 MovieClipUses:462 463Used by:481
Symbol 477 FontUsed by:478
Symbol 478 TextUses:473 477Used by:481
Symbol 479 TextUses:473Used by:480
Symbol 480 MovieClipUses:479Used by:481
Symbol 481 MovieClip {CCredit}Uses:53 475 476 478 480Used by:574
Symbol 482 GraphicUsed by:485
Symbol 483 GraphicUsed by:484
Symbol 484 MovieClipUses:483Used by:485
Symbol 485 MovieClip {gambarPizza}Uses:482 484Used by:574
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:486Used by:514
Symbol 488 GraphicUsed by:489
Symbol 489 MovieClipUses:488Used by:514
Symbol 490 GraphicUsed by:491
Symbol 491 MovieClipUses:490Used by:514
Symbol 492 GraphicUsed by:493
Symbol 493 MovieClipUses:492Used by:514
Symbol 494 GraphicUsed by:495
Symbol 495 MovieClipUses:494Used by:514
Symbol 496 GraphicUsed by:497
Symbol 497 MovieClipUses:496Used by:514
Symbol 498 GraphicUsed by:499
Symbol 499 MovieClipUses:498Used by:514
Symbol 500 GraphicUsed by:501
Symbol 501 MovieClipUses:500Used by:514
Symbol 502 GraphicUsed by:503
Symbol 503 MovieClipUses:502Used by:514
Symbol 504 GraphicUsed by:505
Symbol 505 MovieClipUses:504Used by:514
Symbol 506 GraphicUsed by:507
Symbol 507 MovieClipUses:506Used by:514
Symbol 508 GraphicUsed by:509
Symbol 509 MovieClipUses:508Used by:514
Symbol 510 GraphicUsed by:511
Symbol 511 MovieClipUses:510Used by:514
Symbol 512 GraphicUsed by:513
Symbol 513 MovieClipUses:512Used by:514
Symbol 514 MovieClip {gambarTopingPilihan}Uses:487 489 491 493 495 497 499 501 503 505 507 509 511 513Used by:574
Symbol 515 GraphicUsed by:516
Symbol 516 MovieClipUses:515Used by:544
Symbol 517 GraphicUsed by:518
Symbol 518 MovieClipUses:517Used by:544
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:519Used by:544
Symbol 521 GraphicUsed by:522
Symbol 522 MovieClipUses:521Used by:544
Symbol 523 GraphicUsed by:524
Symbol 524 MovieClipUses:523Used by:544
Symbol 525 GraphicUsed by:526
Symbol 526 MovieClipUses:525Used by:544
Symbol 527 GraphicUsed by:528
Symbol 528 MovieClipUses:527Used by:544
Symbol 529 GraphicUsed by:530
Symbol 530 MovieClipUses:529Used by:544
Symbol 531 GraphicUsed by:532
Symbol 532 MovieClipUses:531Used by:544
Symbol 533 GraphicUsed by:534
Symbol 534 MovieClipUses:533Used by:544
Symbol 535 GraphicUsed by:536
Symbol 536 MovieClipUses:535Used by:544
Symbol 537 GraphicUsed by:538
Symbol 538 MovieClipUses:537Used by:544
Symbol 539 GraphicUsed by:540
Symbol 540 MovieClipUses:539Used by:544
Symbol 541 GraphicUsed by:542
Symbol 542 MovieClipUses:541Used by:544
Symbol 543 GraphicUsed by:544
Symbol 544 MovieClip {gambarTopingLetak}Uses:516 518 520 522 524 526 528 530 532 534 536 538 540 542 543Used by:574
Symbol 545 MovieClip {gambarCek}Uses:106Used by:574
Symbol 546 FontUsed by:547 549 551 553 555
Symbol 547 TextUses:546Used by:548
Symbol 548 MovieClip {textPerfect}Uses:547Used by:574
Symbol 549 TextUses:546Used by:550
Symbol 550 MovieClip {textExcellent}Uses:549Used by:574
Symbol 551 TextUses:546Used by:552
Symbol 552 MovieClip {textGood}Uses:551Used by:574
Symbol 553 TextUses:546Used by:554
Symbol 554 MovieClip {textBad}Uses:553Used by:574
Symbol 555 TextUses:546Used by:556
Symbol 556 MovieClip {textMiss}Uses:555Used by:574
Symbol 557 EditableTextUses:111Used by:560
Symbol 558 TextUses:111Used by:560
Symbol 559 EditableTextUses:111Used by:560
Symbol 560 MovieClip {bgGameOver}Uses:557 558 559 124 193 190Used by:574
Symbol 561 TextUses:111Used by:569
Symbol 562 EditableTextUses:111Used by:569
Symbol 563 GraphicUsed by:564 565
Symbol 564 MovieClipUses:563Used by:565
Symbol 565 Button {btnNext}Uses:564 563Used by:569
Symbol 566 GraphicUsed by:567 568
Symbol 567 MovieClipUses:566Used by:568
Symbol 568 ButtonUses:567 566Used by:569
Symbol 569 MovieClip {bgNextStage}Uses:561 562 565 568Used by:574
Symbol 570 Sound {bgMusic}Used by:574
Symbol 571 Sound {ambilSound}Used by:574
Symbol 572 Sound {nilaiSound}Used by:574
Symbol 573 Sound {missSound}Used by:574
Symbol 574 MovieClipUses:197 213 458 465 471 481 485 514 544 545 548 550 552 554 556 560 569 570 571 572 573Used by:Timeline

Instance Names

"bar_mc"Symbol 14 MovieClip {Skeleton_fla.t1_9} Frame 1Symbol 13 MovieClip {Skeleton_fla.t1_10}
"rainbow"Symbol 72 MovieClip {Skeleton_fla.Rainbow_Preloader_1} Frame 1Symbol 51 MovieClip
"loadingbar"Symbol 72 MovieClip {Skeleton_fla.Rainbow_Preloader_1} Frame 1Symbol 56 MovieClip {Skeleton_fla.loadingbar_23}
"text"Symbol 72 MovieClip {Skeleton_fla.Rainbow_Preloader_1} Frame 1Symbol 58 EditableText
"mStart"Symbol 72 MovieClip {Skeleton_fla.Rainbow_Preloader_1} Frame 20Symbol 71 Button
"countDown"Symbol 110 MovieClip {Skeleton_fla.bartime_46} Frame 1Symbol 109 MovieClip
"btn"Symbol 190 MovieClip {Skeleton_fla.RainbowDressUpBtn_55} Frame 1Symbol 189 MovieClip
"buttonMainMenu"Symbol 194 MovieClip {bgMenuBawah} Frame 1Symbol 124 Button {btnMainMenu}
"buttonPlayMore"Symbol 194 MovieClip {bgMenuBawah} Frame 1Symbol 193 Button
"barTime"Symbol 197 MovieClip {CGame} Frame 1Symbol 110 MovieClip {Skeleton_fla.bartime_46}
"textLevel"Symbol 197 MovieClip {CGame} Frame 1Symbol 112 EditableText
"menuBawah"Symbol 197 MovieClip {CGame} Frame 1Symbol 194 MovieClip {bgMenuBawah}
"textScore"Symbol 197 MovieClip {CGame} Frame 1Symbol 195 EditableText
"textTopingLeft"Symbol 197 MovieClip {CGame} Frame 1Symbol 196 EditableText
"mText"Symbol 212 MovieClip {Skeleton_fla.OptionBarPopUp_85} Frame 1Symbol 211 EditableText
"mMusic"Symbol 213 MovieClip {COptionBar} Frame 1Symbol 202 MovieClip {Skeleton_fla.MusicBtn_82}
"mQuality"Symbol 213 MovieClip {COptionBar} Frame 1Symbol 205 MovieClip {Skeleton_fla.QualityBtn_83}
"mSFX"Symbol 213 MovieClip {COptionBar} Frame 1Symbol 208 MovieClip {Skeleton_fla.SFXBtn_84}
"mPopUp"Symbol 213 MovieClip {COptionBar} Frame 1Symbol 212 MovieClip {Skeleton_fla.OptionBarPopUp_85}
"buttonClose"Symbol 444 MovieClip {Skeleton_fla.bgTutorial_99} Frame 1Symbol 443 Button
"bgGameMode"Symbol 457 MovieClip {Skeleton_fla.bgGameMode_201} Frame 1Symbol 445 MovieClip
"buttonEasy"Symbol 457 MovieClip {Skeleton_fla.bgGameMode_201} Frame 1Symbol 448 Button {btnEasy}
"buttonMedium"Symbol 457 MovieClip {Skeleton_fla.bgGameMode_201} Frame 1Symbol 451 Button {btnNormal}
"buttonHard"Symbol 457 MovieClip {Skeleton_fla.bgGameMode_201} Frame 1Symbol 454 Button {btnHard}
"btnPlay"Symbol 458 MovieClip {CMainMenu} Frame 1Symbol 231 Button {buttonPlay}
"btnTutor"Symbol 458 MovieClip {CMainMenu} Frame 1Symbol 234 Button {buttonTutorial}
"btnPlayMore"Symbol 458 MovieClip {CMainMenu} Frame 1Symbol 237 Button {buttonPlayMore2}
"backgroundTutor"Symbol 458 MovieClip {CMainMenu} Frame 1Symbol 444 MovieClip {Skeleton_fla.bgTutorial_99}
"backgroundGameMode"Symbol 458 MovieClip {CMainMenu} Frame 1Symbol 457 MovieClip {Skeleton_fla.bgGameMode_201}
"mBtn"Symbol 465 MovieClip {CBannedWin} Frame 1Symbol 464 Button
"iBar"Symbol 471 MovieClip {FPS} Frame 1Symbol 467 MovieClip
"tf"Symbol 471 MovieClip {FPS} Frame 2Symbol 470 EditableText
"mTitle"Symbol 475 MovieClip {Skeleton_fla.lazybananaproduction_215} Frame 1Symbol 474 EditableText
"mTitle"Symbol 481 MovieClip {CCredit} Frame 1Symbol 475 MovieClip {Skeleton_fla.lazybananaproduction_215}
"mLogo"Symbol 481 MovieClip {CCredit} Frame 1Symbol 476 MovieClip
"mClose"Symbol 481 MovieClip {CCredit} Frame 1Symbol 480 MovieClip
"textGameOver"Symbol 560 MovieClip {bgGameOver} Frame 1Symbol 557 EditableText
"textFinalScore"Symbol 560 MovieClip {bgGameOver} Frame 1Symbol 559 EditableText
"buttonMainMenu"Symbol 560 MovieClip {bgGameOver} Frame 1Symbol 124 Button {btnMainMenu}
"buttonPlayMore"Symbol 560 MovieClip {bgGameOver} Frame 1Symbol 193 Button
"textCurrentScore"Symbol 569 MovieClip {bgNextStage} Frame 1Symbol 562 EditableText
"buttonNext"Symbol 569 MovieClip {bgNextStage} Frame 1Symbol 565 Button {btnNext}
"buttonPlayMore"Symbol 569 MovieClip {bgNextStage} Frame 1Symbol 568 Button

Special Tags

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

Labels

"Preload"Frame 1
"Asset"Frame 9
"mainMenu"Frame 16
"loading"Symbol 72 MovieClip {Skeleton_fla.Rainbow_Preloader_1} Frame 1
"start"Symbol 72 MovieClip {Skeleton_fla.Rainbow_Preloader_1} Frame 11




http://swfchan.com/24/116199/info.shtml
Created: 9/3 -2019 01:47:11 Last modified: 9/3 -2019 01:47:11 Server time: 18/05 -2024 23:25:06