Section 1
//AuxFunctions (caurina.transitions.AuxFunctions)
package caurina.transitions {
public class AuxFunctions {
public static function getObjectLength(_arg1:Object):uint{
var _local3:String;
var _local2:uint;
for (_local3 in _arg1) {
_local2++;
};
return (_local2);
}
public static function numberToG(_arg1:Number):Number{
return (((_arg1 & 0xFF00) >> 8));
}
public static function numberToB(_arg1:Number):Number{
return ((_arg1 & 0xFF));
}
public static function numberToR(_arg1:Number):Number{
return (((_arg1 & 0xFF0000) >> 16));
}
public static function concatObjects(... _args):Object{
var _local3:Object;
var _local5:String;
var _local2:Object = {};
var _local4:int;
while (_local4 < _args.length) {
_local3 = _args[_local4];
for (_local5 in _local3) {
if (_local3[_local5] == null){
delete _local2[_local5];
} else {
_local2[_local5] = _local3[_local5];
};
};
_local4++;
};
return (_local2);
}
}
}//package caurina.transitions
Section 2
//Equations (caurina.transitions.Equations)
package caurina.transitions {
public class Equations {
public function Equations(){
trace("Equations is a static class and should not be instantiated.");
}
public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
if (_arg1 < (1 / 2.75)){
return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2));
};
if (_arg1 < (2 / 2.75)){
_arg1 = (_arg1 - (1.5 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2));
};
if (_arg1 < (2.5 / 2.75)){
_arg1 = (_arg1 - (2.25 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2));
};
_arg1 = (_arg1 - (2.625 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2));
}
public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 == 2){
return ((_arg2 + _arg3));
};
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period;
var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
if (_arg1 < 1){
--_arg1;
return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2));
};
--_arg1;
return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2));
}
public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2));
};
return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2));
}
public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
_local6 = (_local6 * 1.525);
return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2));
};
_arg1 = (_arg1 - 2);
_local6 = (_local6 * 1.525);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2));
}
public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2));
}
public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2));
}
public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2));
}
public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function init():void{
Tweener.registerTransition("easenone", easeNone);
Tweener.registerTransition("linear", easeNone);
Tweener.registerTransition("easeinquad", easeInQuad);
Tweener.registerTransition("easeoutquad", easeOutQuad);
Tweener.registerTransition("easeinoutquad", easeInOutQuad);
Tweener.registerTransition("easeoutinquad", easeOutInQuad);
Tweener.registerTransition("easeincubic", easeInCubic);
Tweener.registerTransition("easeoutcubic", easeOutCubic);
Tweener.registerTransition("easeinoutcubic", easeInOutCubic);
Tweener.registerTransition("easeoutincubic", easeOutInCubic);
Tweener.registerTransition("easeinquart", easeInQuart);
Tweener.registerTransition("easeoutquart", easeOutQuart);
Tweener.registerTransition("easeinoutquart", easeInOutQuart);
Tweener.registerTransition("easeoutinquart", easeOutInQuart);
Tweener.registerTransition("easeinquint", easeInQuint);
Tweener.registerTransition("easeoutquint", easeOutQuint);
Tweener.registerTransition("easeinoutquint", easeInOutQuint);
Tweener.registerTransition("easeoutinquint", easeOutInQuint);
Tweener.registerTransition("easeinsine", easeInSine);
Tweener.registerTransition("easeoutsine", easeOutSine);
Tweener.registerTransition("easeinoutsine", easeInOutSine);
Tweener.registerTransition("easeoutinsine", easeOutInSine);
Tweener.registerTransition("easeincirc", easeInCirc);
Tweener.registerTransition("easeoutcirc", easeOutCirc);
Tweener.registerTransition("easeinoutcirc", easeInOutCirc);
Tweener.registerTransition("easeoutincirc", easeOutInCirc);
Tweener.registerTransition("easeinexpo", easeInExpo);
Tweener.registerTransition("easeoutexpo", easeOutExpo);
Tweener.registerTransition("easeinoutexpo", easeInOutExpo);
Tweener.registerTransition("easeoutinexpo", easeOutInExpo);
Tweener.registerTransition("easeinelastic", easeInElastic);
Tweener.registerTransition("easeoutelastic", easeOutElastic);
Tweener.registerTransition("easeinoutelastic", easeInOutElastic);
Tweener.registerTransition("easeoutinelastic", easeOutInElastic);
Tweener.registerTransition("easeinback", easeInBack);
Tweener.registerTransition("easeoutback", easeOutBack);
Tweener.registerTransition("easeinoutback", easeInOutBack);
Tweener.registerTransition("easeoutinback", easeOutInBack);
Tweener.registerTransition("easeinbounce", easeInBounce);
Tweener.registerTransition("easeoutbounce", easeOutBounce);
Tweener.registerTransition("easeinoutbounce", easeInOutBounce);
Tweener.registerTransition("easeoutinbounce", easeOutInBounce);
}
public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2));
}
public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001)));
}
public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2));
}
public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2));
}
public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2));
}
public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2));
}
public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2));
}
public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
--_arg1;
return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2));
}
public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2));
}
public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2));
}
public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2));
}
public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
}
public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 == 0){
return (_arg2);
};
if (_arg1 == _arg4){
return ((_arg2 + _arg3));
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005)));
};
--_arg1;
return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2));
}
public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2));
}
public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2));
}
public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
}
}//package caurina.transitions
Section 3
//PropertyInfoObj (caurina.transitions.PropertyInfoObj)
package caurina.transitions {
public class PropertyInfoObj {
public var modifierParameters:Array;
public var isSpecialProperty:Boolean;
public var valueComplete:Number;
public var modifierFunction:Function;
public var extra:Object;
public var valueStart:Number;
public var hasModifier:Boolean;
public var arrayIndex:Number;
public var originalValueComplete:Object;
public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){
valueStart = _arg1;
valueComplete = _arg2;
originalValueComplete = _arg3;
arrayIndex = _arg4;
extra = _arg5;
isSpecialProperty = _arg6;
hasModifier = Boolean(_arg7);
modifierFunction = _arg7;
modifierParameters = _arg8;
}
public function toString():String{
var _local1 = "\n[PropertyInfoObj ";
_local1 = (_local1 + ("valueStart:" + String(valueStart)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("valueComplete:" + String(valueComplete)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("arrayIndex:" + String(arrayIndex)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("extra:" + String(extra)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("hasModifier:" + String(hasModifier)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("modifierFunction:" + String(modifierFunction)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("modifierParameters:" + String(modifierParameters)));
_local1 = (_local1 + "]\n");
return (_local1);
}
public function clone():PropertyInfoObj{
var _local1:PropertyInfoObj = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters);
return (_local1);
}
}
}//package caurina.transitions
Section 4
//SpecialProperty (caurina.transitions.SpecialProperty)
package caurina.transitions {
public class SpecialProperty {
public var parameters:Array;
public var getValue:Function;
public var preProcess:Function;
public var setValue:Function;
public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){
getValue = _arg1;
setValue = _arg2;
parameters = _arg3;
preProcess = _arg4;
}
public function toString():String{
var _local1 = "";
_local1 = (_local1 + "[SpecialProperty ");
_local1 = (_local1 + ("getValue:" + String(getValue)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("setValue:" + String(setValue)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("parameters:" + String(parameters)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("preProcess:" + String(preProcess)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 5
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier)
package caurina.transitions {
public class SpecialPropertyModifier {
public var getValue:Function;
public var modifyValues:Function;
public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){
modifyValues = _arg1;
getValue = _arg2;
}
public function toString():String{
var _local1 = "";
_local1 = (_local1 + "[SpecialPropertyModifier ");
_local1 = (_local1 + ("modifyValues:" + String(modifyValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("getValue:" + String(getValue)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 6
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter)
package caurina.transitions {
public class SpecialPropertySplitter {
public var parameters:Array;
public var splitValues:Function;
public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){
splitValues = _arg1;
parameters = _arg2;
}
public function toString():String{
var _local1 = "";
_local1 = (_local1 + "[SpecialPropertySplitter ");
_local1 = (_local1 + ("splitValues:" + String(splitValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("parameters:" + String(parameters)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 7
//Tweener (caurina.transitions.Tweener)
package caurina.transitions {
import flash.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;
public static var autoOverwrite:Boolean = true;
private static var _engineExists:Boolean = false;
private static var _currentTime:Number;
private static var _tweenList:Array;
private static var _specialPropertyModifierList:Object;
private static var _specialPropertyList:Object;
private static var _transitionList:Object;
private static var _inited:Boolean = false;
private static var __tweener_controller__:MovieClip;
public function Tweener(){
trace("Tweener is a static class and should not be instantiated.");
}
public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{
if (!_inited){
init();
};
var _local4:SpecialPropertyModifier = new SpecialPropertyModifier(_arg2, _arg3);
_specialPropertyModifierList[_arg1] = _local4;
}
public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{
if (!_inited){
init();
};
var _local6:SpecialProperty = new SpecialProperty(_arg2, _arg3, _arg4, _arg5);
_specialPropertyList[_arg1] = _local6;
}
public static function init(... _args):void{
_inited = true;
_transitionList = new Object();
Equations.init();
_specialPropertyList = new Object();
_specialPropertyModifierList = new Object();
_specialPropertySplitterList = new Object();
}
private static function updateTweens():Boolean{
var _local1:int;
if (_tweenList.length == 0){
return (false);
};
_local1 = 0;
while (_local1 < _tweenList.length) {
if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){
if (!updateTweenByIndex(_local1)){
removeTweenByIndex(_local1);
};
if (_tweenList[_local1] == null){
removeTweenByIndex(_local1, true);
_local1--;
};
};
_local1++;
};
return (true);
}
public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{
var _local3:Number;
var _local4:Array;
var _local8:Function;
var _local9:TweenListObj;
var _local10:Number;
var _local11:String;
if (!Boolean(_arg1)){
return (false);
};
if ((_arg1 is Array)){
_local4 = _arg1.concat();
} else {
_local4 = [_arg1];
};
var _local5:Object = _arg2;
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
var _local6:Number = (isNaN(_local5.time)) ? 0 : _local5.time;
var _local7:Number = (isNaN(_local5.delay)) ? 0 : _local5.delay;
if (typeof(_local5.transition) == "string"){
_local11 = _local5.transition.toLowerCase();
_local8 = _transitionList[_local11];
} else {
_local8 = _local5.transition;
};
if (!Boolean(_local8)){
_local8 = _transitionList["easeoutexpo"];
};
_local3 = 0;
while (_local3 < _local4.length) {
if (_local5.useFrames == true){
_local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams);
} else {
_local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams);
};
_local9.properties = null;
_local9.onStart = _local5.onStart;
_local9.onUpdate = _local5.onUpdate;
_local9.onComplete = _local5.onComplete;
_local9.onOverwrite = _local5.onOverwrite;
_local9.onStartParams = _local5.onStartParams;
_local9.onUpdateParams = _local5.onUpdateParams;
_local9.onCompleteParams = _local5.onCompleteParams;
_local9.onOverwriteParams = _local5.onOverwriteParams;
_local9.onStartScope = _local5.onStartScope;
_local9.onUpdateScope = _local5.onUpdateScope;
_local9.onCompleteScope = _local5.onCompleteScope;
_local9.onOverwriteScope = _local5.onOverwriteScope;
_local9.onErrorScope = _local5.onErrorScope;
_local9.isCaller = true;
_local9.count = _local5.count;
_local9.waitFrames = _local5.waitFrames;
_tweenList.push(_local9);
if ((((_local6 == 0)) && ((_local7 == 0)))){
_local10 = (_tweenList.length - 1);
updateTweenByIndex(_local10);
removeTweenByIndex(_local10);
};
_local3++;
};
return (true);
}
public static function pauseAllTweens():Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
var _local1:Boolean;
_local2 = 0;
while (_local2 < _tweenList.length) {
pauseTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
public static function removeTweens(_arg1:Object, ... _args):Boolean{
var _local4:uint;
var _local5:SpecialPropertySplitter;
var _local6:Array;
var _local7:uint;
var _local3:Array = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
if (_specialPropertySplitterList[_args[_local4]]){
_local5 = _specialPropertySplitterList[_args[_local4]];
_local6 = _local5.splitValues(_arg1, null);
_local7 = 0;
while (_local7 < _local6.length) {
_local3.push(_local6[_local7].name);
_local7++;
};
} else {
_local3.push(_args[_local4]);
};
};
_local4++;
};
return (affectTweens(removeTweenByIndex, _arg1, _local3));
}
public static function updateFrame():void{
_currentTimeFrame++;
}
public static function splitTweens(_arg1:Number, _arg2:Array):uint{
var _local5:uint;
var _local6:String;
var _local7:Boolean;
var _local3:TweenListObj = _tweenList[_arg1];
var _local4:TweenListObj = _local3.clone(false);
_local5 = 0;
while (_local5 < _arg2.length) {
_local6 = _arg2[_local5];
if (Boolean(_local3.properties[_local6])){
_local3.properties[_local6] = undefined;
delete _local3.properties[_local6];
};
_local5++;
};
for (_local6 in _local4.properties) {
_local7 = false;
_local5 = 0;
while (_local5 < _arg2.length) {
if (_arg2[_local5] == _local6){
_local7 = true;
break;
};
_local5++;
};
if (!_local7){
_local4.properties[_local6] = undefined;
delete _local4.properties[_local6];
};
};
_tweenList.push(_local4);
return ((_tweenList.length - 1));
}
public static function resumeTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj = _tweenList[_arg1];
if ((((_local2 == null)) || (!(_local2.isPaused)))){
return (false);
};
var _local3:Number = getCurrentTweeningTime(_local2);
_local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused));
_local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused));
_local2.timePaused = undefined;
_local2.isPaused = false;
return (true);
}
public static function getVersion():String{
return ("AS3 1.33.74");
}
public static function onEnterFrame(_arg1:Event):void{
updateTime();
updateFrame();
var _local2:Boolean;
_local2 = updateTweens();
if (!_local2){
stopEngine();
};
}
public static function updateTime():void{
_currentTime = getTimer();
}
private static function updateTweenByIndex(_arg1:Number):Boolean{
var tTweening:TweenListObj;
var mustUpdate:Boolean;
var nv:Number;
var t:Number;
var b:Number;
var c:Number;
var d:Number;
var pName:String;
var eventScope:Object;
var tScope:Object;
var tProperty:Object;
var pv:Number;
var i = _arg1;
tTweening = _tweenList[i];
if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){
return (false);
};
var isOver:Boolean;
var cTime:Number = getCurrentTweeningTime(tTweening);
if (cTime >= tTweening.timeStart){
tScope = tTweening.scope;
if (tTweening.isCaller){
do {
t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1));
b = tTweening.timeStart;
c = (tTweening.timeComplete - tTweening.timeStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, b, c, d);
} while (!(cTime >= nv));
} else {
mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates)));
if (cTime >= tTweening.timeComplete){
isOver = true;
mustUpdate = true;
};
if (!tTweening.hasStarted){
if (Boolean(tTweening.onStart)){
eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope;
try {
tTweening.onStart.apply(eventScope, tTweening.onStartParams);
} catch(e2:Error) {
handleError(tTweening, e2, "onStart");
};
};
for (pName in tTweening.properties) {
if (tTweening.properties[pName].isSpecialProperty){
if (Boolean(_specialPropertyList[pName].preProcess)){
tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra);
};
pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra);
} else {
pv = tScope[pName];
};
tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv;
};
mustUpdate = true;
tTweening.hasStarted = true;
};
if (mustUpdate){
for (pName in tTweening.properties) {
tProperty = tTweening.properties[pName];
if (isOver){
nv = tProperty.valueComplete;
} else {
if (tProperty.hasModifier){
t = (cTime - tTweening.timeStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams);
nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters);
} else {
t = (cTime - tTweening.timeStart);
b = tProperty.valueStart;
c = (tProperty.valueComplete - tProperty.valueStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, b, c, d, tTweening.transitionParams);
};
};
if (tTweening.rounded){
nv = Math.round(nv);
};
if (tProperty.isSpecialProperty){
_specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra);
} else {
tScope[pName] = nv;
};
};
tTweening.updatesSkipped = 0;
if (Boolean(tTweening.onUpdate)){
eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope;
try {
tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams);
} catch(e3:Error) {
handleError(tTweening, e3, "onUpdate");
};
};
} else {
tTweening.updatesSkipped++;
};
};
if (((isOver) && (Boolean(tTweening.onComplete)))){
eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope;
try {
tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams);
} catch(e4:Error) {
handleError(tTweening, e4, "onComplete");
};
};
return (!(isOver));
};
return (true);
}
public static function setTimeScale(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
if (isNaN(_arg1)){
_arg1 = 1;
};
if (_arg1 < 1E-5){
_arg1 = 1E-5;
};
if (_arg1 != _timeScale){
if (_tweenList != null){
_local2 = 0;
while (_local2 < _tweenList.length) {
_local3 = getCurrentTweeningTime(_tweenList[_local2]);
_tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1));
_tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1));
if (_tweenList[_local2].timePaused != undefined){
_tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1));
};
_local2++;
};
};
_timeScale = _arg1;
};
}
public static function resumeAllTweens():Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
var _local1:Boolean;
_local2 = 0;
while (_local2 < _tweenList.length) {
resumeTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{
var eventScope:Object;
var pTweening = _arg1;
var pError = _arg2;
var pCallBackName = _arg3;
if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){
eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope;
try {
pTweening.onError.apply(eventScope, [pTweening.scope, pError]);
} catch(metaError:Error) {
printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace()));
};
} else {
if (!Boolean(pTweening.onError)){
printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace()));
};
};
}
private static function startEngine():void{
_engineExists = true;
_tweenList = new Array();
__tweener_controller__ = new MovieClip();
__tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame);
_currentTimeFrame = 0;
updateTime();
}
public static function removeAllTweens():Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
var _local1:Boolean;
_local2 = 0;
while (_local2 < _tweenList.length) {
removeTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{
var _local3:Number;
var _local4:Number;
var _local5:String;
var _local6:Array;
var _local13:Function;
var _local14:Object;
var _local15:TweenListObj;
var _local16:Number;
var _local17:Array;
var _local18:Array;
var _local19:Array;
var _local20:String;
if (!Boolean(_arg1)){
return (false);
};
if ((_arg1 is Array)){
_local6 = _arg1.concat();
} else {
_local6 = [_arg1];
};
var _local7:Object = TweenListObj.makePropertiesChain(_arg2);
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
var _local8:Number = (isNaN(_local7.time)) ? 0 : _local7.time;
var _local9:Number = (isNaN(_local7.delay)) ? 0 : _local7.delay;
var _local10:Array = new Array();
var _local11:Object = {overwrite:true, time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true};
var _local12:Object = new Object();
for (_local5 in _local7) {
if (!_local11[_local5]){
if (_specialPropertySplitterList[_local5]){
_local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters);
_local3 = 0;
while (_local3 < _local17.length) {
if (_specialPropertySplitterList[_local17[_local3].name]){
_local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters);
_local4 = 0;
while (_local4 < _local18.length) {
_local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false};
_local4++;
};
} else {
_local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false};
};
_local3++;
};
} else {
if (_specialPropertyModifierList[_local5] != undefined){
_local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]);
_local3 = 0;
while (_local3 < _local19.length) {
_local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue};
_local3++;
};
} else {
_local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]};
};
};
};
};
for (_local5 in _local10) {
if (_specialPropertyList[_local5] != undefined){
_local10[_local5].isSpecialProperty = true;
} else {
if (_local6[0][_local5] == undefined){
printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property."));
};
};
};
for (_local5 in _local12) {
if (_local10[_local5] != undefined){
_local10[_local5].modifierParameters = _local12[_local5].modifierParameters;
_local10[_local5].modifierFunction = _local12[_local5].modifierFunction;
};
};
if (typeof(_local7.transition) == "string"){
_local20 = _local7.transition.toLowerCase();
_local13 = _transitionList[_local20];
} else {
_local13 = _local7.transition;
};
if (!Boolean(_local13)){
_local13 = _transitionList["easeoutexpo"];
};
_local3 = 0;
while (_local3 < _local6.length) {
_local14 = new Object();
for (_local5 in _local10) {
_local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters);
};
if (_local7.useFrames == true){
_local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams);
} else {
_local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams);
};
_local15.properties = _local14;
_local15.onStart = _local7.onStart;
_local15.onUpdate = _local7.onUpdate;
_local15.onComplete = _local7.onComplete;
_local15.onOverwrite = _local7.onOverwrite;
_local15.onError = _local7.onError;
_local15.onStartParams = _local7.onStartParams;
_local15.onUpdateParams = _local7.onUpdateParams;
_local15.onCompleteParams = _local7.onCompleteParams;
_local15.onOverwriteParams = _local7.onOverwriteParams;
_local15.onStartScope = _local7.onStartScope;
_local15.onUpdateScope = _local7.onUpdateScope;
_local15.onCompleteScope = _local7.onCompleteScope;
_local15.onOverwriteScope = _local7.onOverwriteScope;
_local15.onErrorScope = _local7.onErrorScope;
_local15.rounded = _local7.rounded;
_local15.skipUpdates = _local7.skipUpdates;
if (((_local7.overwrite == undefined)) ? autoOverwrite : _local7.overwrite){
removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete);
};
_tweenList.push(_local15);
if ((((_local8 == 0)) && ((_local9 == 0)))){
_local16 = (_tweenList.length - 1);
updateTweenByIndex(_local16);
removeTweenByIndex(_local16);
};
_local3++;
};
return (true);
}
public static function registerTransition(_arg1:String, _arg2:Function):void{
if (!_inited){
init();
};
_transitionList[_arg1] = _arg2;
}
public static function printError(_arg1:String):void{
trace(("## [Tweener] Error: " + _arg1));
}
private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{
var _local5:uint;
var _local6:Array;
var _local7:uint;
var _local8:uint;
var _local9:uint;
var _local4:Boolean;
if (!Boolean(_tweenList)){
return (false);
};
_local5 = 0;
while (_local5 < _tweenList.length) {
if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){
if (_arg3.length == 0){
_arg1(_local5);
_local4 = true;
} else {
_local6 = new Array();
_local7 = 0;
while (_local7 < _arg3.length) {
if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){
_local6.push(_arg3[_local7]);
};
_local7++;
};
if (_local6.length > 0){
_local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties);
if (_local8 == _local6.length){
_arg1(_local5);
_local4 = true;
} else {
_local9 = splitTweens(_local5, _local6);
_arg1(_local9);
_local4 = true;
};
};
};
};
_local5++;
};
return (_local4);
}
public static function getTweens(_arg1:Object):Array{
var _local2:uint;
var _local3:String;
if (!Boolean(_tweenList)){
return ([]);
};
var _local4:Array = new Array();
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
for (_local3 in _tweenList[_local2].properties) {
_local4.push(_local3);
};
};
_local2++;
};
return (_local4);
}
public static function isTweening(_arg1:Object):Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
return (true);
};
_local2++;
};
return (false);
}
public static function pauseTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj = _tweenList[_arg1];
if ((((_local2 == null)) || (_local2.isPaused))){
return (false);
};
_local2.timePaused = getCurrentTweeningTime(_local2);
_local2.isPaused = true;
return (true);
}
public static function getCurrentTweeningTime(_arg1:Object):Number{
return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime);
}
public static function getTweenCount(_arg1:Object):Number{
var _local2:uint;
if (!Boolean(_tweenList)){
return (0);
};
var _local3:Number = 0;
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
_local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties));
};
_local2++;
};
return (_local3);
}
private static function stopEngine():void{
_engineExists = false;
_tweenList = null;
_currentTime = 0;
_currentTimeFrame = 0;
__tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame);
__tweener_controller__ = null;
}
public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{
var removedLocally:Boolean;
var i:uint;
var pName:String;
var eventScope:Object;
var p_scope = _arg1;
var p_properties = _arg2;
var p_timeStart = _arg3;
var p_timeComplete = _arg4;
var removed:Boolean;
var tl:uint = _tweenList.length;
i = 0;
while (i < tl) {
if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){
if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){
removedLocally = false;
for (pName in _tweenList[i].properties) {
if (Boolean(p_properties[pName])){
if (Boolean(_tweenList[i].onOverwrite)){
eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope;
try {
_tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams);
} catch(e:Error) {
handleError(_tweenList[i], e, "onOverwrite");
};
};
_tweenList[i].properties[pName] = undefined;
delete _tweenList[i].properties[pName];
removedLocally = true;
removed = true;
};
};
if (removedLocally){
if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){
removeTweenByIndex(i);
};
};
};
};
i = (i + 1);
};
return (removed);
}
public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{
if (!_inited){
init();
};
var _local4:SpecialPropertySplitter = new SpecialPropertySplitter(_arg2, _arg3);
_specialPropertySplitterList[_arg1] = _local4;
}
public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{
_tweenList[_arg1] = null;
if (_arg2){
_tweenList.splice(_arg1, 1);
};
return (true);
}
public static function resumeTweens(_arg1:Object, ... _args):Boolean{
var _local4:uint;
var _local3:Array = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
_local3.push(_args[_local4]);
};
_local4++;
};
return (affectTweens(resumeTweenByIndex, _arg1, _local3));
}
public static function pauseTweens(_arg1:Object, ... _args):Boolean{
var _local4:uint;
var _local3:Array = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
_local3.push(_args[_local4]);
};
_local4++;
};
return (affectTweens(pauseTweenByIndex, _arg1, _local3));
}
}
}//package caurina.transitions
Section 8
//TweenListObj (caurina.transitions.TweenListObj)
package caurina.transitions {
public class TweenListObj {
public var hasStarted:Boolean;
public var onUpdate:Function;
public var useFrames:Boolean;
public var count:Number;
public var onOverwriteParams:Array;
public var timeStart:Number;
public var timeComplete:Number;
public var onStartParams:Array;
public var onUpdateScope:Object;
public var rounded:Boolean;
public var onUpdateParams:Array;
public var properties:Object;
public var onComplete:Function;
public var transitionParams:Object;
public var updatesSkipped:Number;
public var onStart:Function;
public var onOverwriteScope:Object;
public var skipUpdates:Number;
public var onStartScope:Object;
public var scope:Object;
public var isCaller:Boolean;
public var timePaused:Number;
public var transition:Function;
public var onCompleteParams:Array;
public var onError:Function;
public var timesCalled:Number;
public var onErrorScope:Object;
public var onOverwrite:Function;
public var isPaused:Boolean;
public var waitFrames:Boolean;
public var onCompleteScope:Object;
public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){
scope = _arg1;
timeStart = _arg2;
timeComplete = _arg3;
useFrames = _arg4;
transition = _arg5;
transitionParams = _arg6;
properties = new Object();
isPaused = false;
timePaused = undefined;
isCaller = false;
updatesSkipped = 0;
timesCalled = 0;
skipUpdates = 0;
hasStarted = false;
}
public function clone(_arg1:Boolean):TweenListObj{
var _local3:String;
var _local2:TweenListObj = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams);
_local2.properties = new Array();
for (_local3 in properties) {
_local2.properties[_local3] = properties[_local3].clone();
};
_local2.skipUpdates = skipUpdates;
_local2.updatesSkipped = updatesSkipped;
if (!_arg1){
_local2.onStart = onStart;
_local2.onUpdate = onUpdate;
_local2.onComplete = onComplete;
_local2.onOverwrite = onOverwrite;
_local2.onError = onError;
_local2.onStartParams = onStartParams;
_local2.onUpdateParams = onUpdateParams;
_local2.onCompleteParams = onCompleteParams;
_local2.onOverwriteParams = onOverwriteParams;
_local2.onStartScope = onStartScope;
_local2.onUpdateScope = onUpdateScope;
_local2.onCompleteScope = onCompleteScope;
_local2.onOverwriteScope = onOverwriteScope;
_local2.onErrorScope = onErrorScope;
};
_local2.rounded = rounded;
_local2.isPaused = isPaused;
_local2.timePaused = timePaused;
_local2.isCaller = isCaller;
_local2.count = count;
_local2.timesCalled = timesCalled;
_local2.waitFrames = waitFrames;
_local2.hasStarted = hasStarted;
return (_local2);
}
public function toString():String{
var _local3:String;
var _local1 = "\n[TweenListObj ";
_local1 = (_local1 + ("scope:" + String(scope)));
_local1 = (_local1 + ", properties:");
var _local2:Boolean;
for (_local3 in properties) {
if (!_local2){
_local1 = (_local1 + ",");
};
_local1 = (_local1 + ("[name:" + properties[_local3].name));
_local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart));
_local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete));
_local1 = (_local1 + "]");
_local2 = false;
};
_local1 = (_local1 + (", timeStart:" + String(timeStart)));
_local1 = (_local1 + (", timeComplete:" + String(timeComplete)));
_local1 = (_local1 + (", useFrames:" + String(useFrames)));
_local1 = (_local1 + (", transition:" + String(transition)));
_local1 = (_local1 + (", transitionParams:" + String(transitionParams)));
if (skipUpdates){
_local1 = (_local1 + (", skipUpdates:" + String(skipUpdates)));
};
if (updatesSkipped){
_local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped)));
};
if (Boolean(onStart)){
_local1 = (_local1 + (", onStart:" + String(onStart)));
};
if (Boolean(onUpdate)){
_local1 = (_local1 + (", onUpdate:" + String(onUpdate)));
};
if (Boolean(onComplete)){
_local1 = (_local1 + (", onComplete:" + String(onComplete)));
};
if (Boolean(onOverwrite)){
_local1 = (_local1 + (", onOverwrite:" + String(onOverwrite)));
};
if (Boolean(onError)){
_local1 = (_local1 + (", onError:" + String(onError)));
};
if (onStartParams){
_local1 = (_local1 + (", onStartParams:" + String(onStartParams)));
};
if (onUpdateParams){
_local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams)));
};
if (onCompleteParams){
_local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams)));
};
if (onOverwriteParams){
_local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams)));
};
if (onStartScope){
_local1 = (_local1 + (", onStartScope:" + String(onStartScope)));
};
if (onUpdateScope){
_local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope)));
};
if (onCompleteScope){
_local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope)));
};
if (onOverwriteScope){
_local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope)));
};
if (onErrorScope){
_local1 = (_local1 + (", onErrorScope:" + String(onErrorScope)));
};
if (rounded){
_local1 = (_local1 + (", rounded:" + String(rounded)));
};
if (isPaused){
_local1 = (_local1 + (", isPaused:" + String(isPaused)));
};
if (timePaused){
_local1 = (_local1 + (", timePaused:" + String(timePaused)));
};
if (isCaller){
_local1 = (_local1 + (", isCaller:" + String(isCaller)));
};
if (count){
_local1 = (_local1 + (", count:" + String(count)));
};
if (timesCalled){
_local1 = (_local1 + (", timesCalled:" + String(timesCalled)));
};
if (waitFrames){
_local1 = (_local1 + (", waitFrames:" + String(waitFrames)));
};
if (hasStarted){
_local1 = (_local1 + (", hasStarted:" + String(hasStarted)));
};
_local1 = (_local1 + "]\n");
return (_local1);
}
public static function makePropertiesChain(_arg1:Object):Object{
var _local3:Object;
var _local4:Object;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local2:Object = _arg1.base;
if (_local2){
_local3 = {};
if ((_local2 is Array)){
_local4 = [];
_local8 = 0;
while (_local8 < _local2.length) {
_local4.push(_local2[_local8]);
_local8++;
};
} else {
_local4 = [_local2];
};
_local4.push(_arg1);
_local6 = _local4.length;
_local7 = 0;
while (_local7 < _local6) {
if (_local4[_local7]["base"]){
_local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]);
} else {
_local5 = _local4[_local7];
};
_local3 = AuxFunctions.concatObjects(_local3, _local5);
_local7++;
};
if (_local3["base"]){
delete _local3["base"];
};
return (_local3);
//unresolved jump
};
return (_arg1);
}
}
}//package caurina.transitions
Section 9
//SpilGamesServices (com.spilgames.api.SpilGamesServices)
package com.spilgames.api {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.system.*;
public class SpilGamesServices extends MovieClip {
private var _connected:Boolean;// = false
private var _connecting:Boolean;// = false
private var DEFAULT_CONNECTION_LOCATION:String;// = "http://www8.agame.com/games/flash/services/ServicesConnection.swf"
private var _loader:Loader;
private var _servicesConnection;// = null
public static const INVALID_ID:int = -1;
private static var _instance:SpilGamesServices = null;
public function SpilGamesServices(_arg1:Private=null){
if (!_arg1){
throw (new Error("Cannot instantiate this class, use SpilGamesServices.getInstance"));
};
}
private function handleRemovedFromStage(_arg1:Event):void{
trace("WARNING: please do not remove SpilGamesServices from the stage");
}
private function handleLoadComplete(_arg1:Event):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_servicesConnection = LoaderInfo(_arg1.target).content;
_servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.addEventListener("serviceError", handleServiceError);
addChild(_servicesConnection);
}
public function send(_arg1:String, _arg2:String, _arg3:Function, _arg4:Object=null):int{
if (isReady()){
return (_servicesConnection.send(_arg1, _arg2, _arg3, _arg4));
};
return (INVALID_ID);
}
private function handleServicesFailed(_arg1:ErrorEvent):void{
_servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.addEventListener("serviceError", handleServiceError);
_connecting = false;
if (hasEventListener("servicesFailed")){
dispatchEvent(new ErrorEvent("servicesFailed", false, false, _arg1.text));
};
}
public function get version():String{
return ("1.0");
}
public function isReady():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isReady())));
}
private function handleIOError(_arg1:IOErrorEvent):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connecting = false;
if (hasEventListener(_arg1.type)){
dispatchEvent(_arg1);
};
}
private function handleServiceError(_arg1:Event):void{
var _local2:String;
if (hasEventListener("serviceError")){
_local2 = "";
if ((_arg1 is ErrorEvent)){
_local2 = ErrorEvent(_arg1).text;
} else {
_local2 = _arg1.toString();
};
dispatchEvent(new ErrorEvent("serviceError", false, false, _local2));
};
}
public function disconnect():void{
if (_servicesConnection){
_servicesConnection.removeEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.removeEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.removeEventListener("serviceError", handleServiceError);
if (_connected){
_servicesConnection.disconnect();
};
removeChild(_servicesConnection);
};
_servicesConnection = null;
if (_loader){
try {
_loader.close();
} catch(e:Error) {
} finally {
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
};
_loader = null;
};
removeEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage);
if (parent){
parent.removeChild(this);
};
_connected = (_connecting = false);
}
private function handleServicesReady(_arg1:Event):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connected = true;
_connecting = false;
dispatchEvent(new Event("servicesReady"));
}
public function get connection(){
return (_servicesConnection);
}
public function getSiteID():int{
if (_servicesConnection != null){
return (_servicesConnection.getSiteID());
};
return (INVALID_ID);
}
public function getChannelID():int{
if (_servicesConnection != null){
return (_servicesConnection.getChannelID());
};
return (INVALID_ID);
}
public function connect(_arg1:DisplayObjectContainer):void{
var _local2:URLRequest;
var _local3:String;
var _local4:URLVariables;
var _local5:Date;
if (((!(_connecting)) && (!(_connected)))){
if (!_arg1.stage){
throw (new Error("The given clip must be present in the display list (added to stage)"));
};
_connecting = true;
_arg1.stage.addChild(this);
addEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage);
if (((root.loaderInfo.parameters["servicesLoc"]) && ((root.loaderInfo.parameters["servicesLoc"].length > 0)))){
_local3 = root.loaderInfo.parameters["servicesLoc"];
_local2 = new URLRequest(_local3);
} else {
_local3 = DEFAULT_CONNECTION_LOCATION;
_local4 = new URLVariables();
_local5 = new Date();
_local4.nocache = (((_local5.month + 1) * 31) + _local5.day);
_local2 = new URLRequest(_local3);
_local2.data = _local4;
};
allowDomain(_local3);
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_loader.load(_local2);
};
}
public function getItemID():int{
if (_servicesConnection != null){
return (_servicesConnection.getItemID());
};
return (INVALID_ID);
}
public function allowDomain(_arg1:String):void{
Security.allowDomain("*");
Security.allowInsecureDomain("*");
}
public function get connecting():Boolean{
return (_connecting);
}
public function isDomainAllowed():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isDomainValid())));
}
public function bringToFront(_arg1:Event=null):void{
var e = _arg1;
if (parent){
try {
parent.setChildIndex(this, (parent.numChildren - 1));
} catch(e:Error) {
removeEventListener(Event.ENTER_FRAME, bringToFront);
};
};
}
public static function getInstance():SpilGamesServices{
if (!_instance){
_instance = new SpilGamesServices(new Private());
};
return (_instance);
}
}
}//package com.spilgames.api
class Private {
private function Private(){
}
}
Section 10
//ColDetection (com.troy.collision.ColDetection)
package com.troy.collision {
import flash.display.*;
import flash.geom.*;
public class ColDetection {
public static function getCollisionRect(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:DisplayObjectContainer, _arg4:Boolean=false, _arg5:Number=0):Rectangle{
var _local9:BitmapData;
var _local10:BitmapData;
var _local11:uint;
var _local12:Rectangle;
var _local13:int;
var _local6:Rectangle = _arg1.getBounds(_arg3);
var _local7:Rectangle = _arg2.getBounds(_arg3);
var _local8:Rectangle = _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 = 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 _local7:Number;
var _local8:Number;
var _local6:Rectangle = 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 = _arg4.transform.concatenatedMatrix.clone();
_local5.invert();
var _local6:Matrix = _arg1.transform.concatenatedMatrix.clone();
_local6.concat(_local5);
_local6.translate(-(_arg2.x), -(_arg2.y));
var _local7:BitmapData = new BitmapData(_arg2.width, _arg2.height, true, 0);
_local7.draw(_arg1, _local6);
var _local8:BitmapData = 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 11
//PM_PRNG (de.polygonal.math.PM_PRNG)
package de.polygonal.math {
public class PM_PRNG {
public static var seed:uint = now.getTime();
public static var now:Date = new Date();
public function PM_PRNG(){
var _local1:Date = new Date();
}
public static function nextDoubleRange(_arg1:Number, _arg2:Number):Number{
return ((_arg1 + ((_arg2 - _arg1) * nextDouble())));
}
public static function nextDouble():Number{
return ((gen() / 2147483647));
}
private static function gen():uint{
return ((seed = ((seed * 16807) % 2147483647)));
}
public static function nextIntRange(_arg1:Number, _arg2:Number):uint{
_arg1 = (_arg1 - 0.4999);
_arg2 = (_arg2 + 0.4999);
return (Math.round((_arg1 + ((_arg2 - _arg1) * nextDouble()))));
}
public static function nextInt():uint{
return (gen());
}
}
}//package de.polygonal.math
Section 12
//asap_kecil_putihcopy_295 (Muffinlicious_fla.asap_kecil_putihcopy_295)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class asap_kecil_putihcopy_295 extends MovieClip {
public function asap_kecil_putihcopy_295(){
addFrameScript(119, frame120, 139, frame140);
}
function frame140(){
stop();
}
function frame120(){
CGame.GetInstance().keluargosong();
}
}
}//package Muffinlicious_fla
Section 13
//background_205 (Muffinlicious_fla.background_205)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class background_205 extends MovieClip {
public var __id57_:LocalizedTextField;
public var __id56_:LocalizedTextField;
public var __setPropDict:Dictionary;
public function background_205(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1);
}
function frame1(){
if ((((__setPropDict[__id57_] == undefined)) || (!((int(__setPropDict[__id57_]) == 1))))){
__setPropDict[__id57_] = 1;
__setProp___id57__background_Layer1_0();
};
if ((((__setPropDict[__id56_] == undefined)) || (!((int(__setPropDict[__id56_]) == 1))))){
__setPropDict[__id56_] = 1;
__setProp___id56__background_Layer1_0();
};
}
function __setProp___id57__background_Layer1_0(){
try {
__id57_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id57_.text = "{lbScore}";
__id57_.textColor = 7753537;
__id57_.textSize = 22;
__id57_.bold = false;
__id57_.disableWordwrap = false;
__id57_.embedFonts = true;
__id57_.font = "GilliesGothic";
__id57_.hAlign = "right";
__id57_.multiline = false;
__id57_.vAlign = "middle";
__id57_.antiAliasType = "advanced";
__id57_.glowBlur = 3;
__id57_.glowColor = 12430502;
__id57_.useGlowFilter = false;
__id57_.glowQuality = 1;
__id57_.glowStrength = 5;
__id57_.gridFitType = "pixel";
__id57_.italic = false;
__id57_.selectable = false;
__id57_.underline = false;
try {
__id57_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id56__background_Layer1_0(){
try {
__id56_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id56_.text = "{lbTime}";
__id56_.textColor = 15976078;
__id56_.textSize = 20;
__id56_.bold = false;
__id56_.disableWordwrap = false;
__id56_.embedFonts = true;
__id56_.font = "GilliesGothic";
__id56_.hAlign = "right";
__id56_.multiline = false;
__id56_.vAlign = "middle";
__id56_.antiAliasType = "advanced";
__id56_.glowBlur = 3;
__id56_.glowColor = 12430502;
__id56_.useGlowFilter = false;
__id56_.glowQuality = 1;
__id56_.glowStrength = 5;
__id56_.gridFitType = "pixel";
__id56_.italic = false;
__id56_.selectable = false;
__id56_.underline = false;
try {
__id56_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 14
//background_417 (Muffinlicious_fla.background_417)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class background_417 extends MovieClip {
public var __id3_:LocalizedTextField;
public var __id2_:LocalizedTextField;
public function background_417(){
__setProp___id2__background_Layer1_0();
__setProp___id3__background_Layer1_0();
}
function __setProp___id3__background_Layer1_0(){
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.text = "{lbHeader1}";
__id3_.textColor = 16697207;
__id3_.textSize = 50;
__id3_.bold = false;
__id3_.disableWordwrap = false;
__id3_.embedFonts = true;
__id3_.font = "Arial";
__id3_.hAlign = "center";
__id3_.multiline = false;
__id3_.vAlign = "middle";
__id3_.antiAliasType = "advanced";
__id3_.glowBlur = 8;
__id3_.glowColor = 3419182;
__id3_.useGlowFilter = true;
__id3_.glowQuality = 1;
__id3_.glowStrength = 25;
__id3_.gridFitType = "pixel";
__id3_.italic = false;
__id3_.selectable = false;
__id3_.underline = false;
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id2__background_Layer1_0(){
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.text = "{lbHeader2}";
__id2_.textColor = 16042387;
__id2_.textSize = 15;
__id2_.bold = false;
__id2_.disableWordwrap = false;
__id2_.embedFonts = true;
__id2_.font = "Arial";
__id2_.hAlign = "center";
__id2_.multiline = false;
__id2_.vAlign = "top";
__id2_.antiAliasType = "advanced";
__id2_.glowBlur = 3;
__id2_.glowColor = 12430502;
__id2_.useGlowFilter = false;
__id2_.glowQuality = 1;
__id2_.glowStrength = 5;
__id2_.gridFitType = "pixel";
__id2_.italic = false;
__id2_.selectable = false;
__id2_.underline = false;
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 15
//background_69 (Muffinlicious_fla.background_69)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class background_69 extends MovieClip {
public var __id73_:LocalizedTextField;
public var __id72_:LocalizedTextField;
public function background_69(){
__setProp___id72__background_Layer1_0();
__setProp___id73__background_Layer1_0();
}
function __setProp___id73__background_Layer1_0(){
try {
__id73_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id73_.text = "{lbHeader1}";
__id73_.textColor = 16697207;
__id73_.textSize = 50;
__id73_.bold = false;
__id73_.disableWordwrap = false;
__id73_.embedFonts = true;
__id73_.font = "Arial";
__id73_.hAlign = "center";
__id73_.multiline = false;
__id73_.vAlign = "middle";
__id73_.antiAliasType = "advanced";
__id73_.glowBlur = 8;
__id73_.glowColor = 1968914;
__id73_.useGlowFilter = true;
__id73_.glowQuality = 1;
__id73_.glowStrength = 25;
__id73_.gridFitType = "pixel";
__id73_.italic = false;
__id73_.selectable = false;
__id73_.underline = false;
try {
__id73_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id72__background_Layer1_0(){
try {
__id72_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id72_.text = "{lbHeader2}";
__id72_.textColor = 16042387;
__id72_.textSize = 15;
__id72_.bold = false;
__id72_.disableWordwrap = false;
__id72_.embedFonts = true;
__id72_.font = "Arial";
__id72_.hAlign = "center";
__id72_.multiline = false;
__id72_.vAlign = "top";
__id72_.antiAliasType = "advanced";
__id72_.glowBlur = 3;
__id72_.glowColor = 12430502;
__id72_.useGlowFilter = false;
__id72_.glowQuality = 1;
__id72_.glowStrength = 5;
__id72_.gridFitType = "pixel";
__id72_.italic = false;
__id72_.selectable = false;
__id72_.underline = false;
try {
__id72_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 16
//background_75 (Muffinlicious_fla.background_75)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class background_75 extends MovieClip {
public var __id68_:LocalizedTextField;
public var __id67_:LocalizedTextField;
public function background_75(){
__setProp___id67__background_Layer1_0();
__setProp___id68__background_Layer1_0();
}
function __setProp___id68__background_Layer1_0(){
try {
__id68_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id68_.text = "{lbScore}";
__id68_.textColor = 7753537;
__id68_.textSize = 22;
__id68_.bold = false;
__id68_.disableWordwrap = false;
__id68_.embedFonts = true;
__id68_.font = "GilliesGothic";
__id68_.hAlign = "right";
__id68_.multiline = false;
__id68_.vAlign = "middle";
__id68_.antiAliasType = "advanced";
__id68_.glowBlur = 3;
__id68_.glowColor = 12430502;
__id68_.useGlowFilter = false;
__id68_.glowQuality = 1;
__id68_.glowStrength = 5;
__id68_.gridFitType = "pixel";
__id68_.italic = false;
__id68_.selectable = false;
__id68_.underline = false;
try {
__id68_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id67__background_Layer1_0(){
try {
__id67_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id67_.text = "{lbTime}";
__id67_.textColor = 15976078;
__id67_.textSize = 20;
__id67_.bold = false;
__id67_.disableWordwrap = false;
__id67_.embedFonts = true;
__id67_.font = "GilliesGothic";
__id67_.hAlign = "right";
__id67_.multiline = false;
__id67_.vAlign = "middle";
__id67_.antiAliasType = "advanced";
__id67_.glowBlur = 3;
__id67_.glowColor = 12430502;
__id67_.useGlowFilter = false;
__id67_.glowQuality = 1;
__id67_.glowStrength = 5;
__id67_.gridFitType = "pixel";
__id67_.italic = false;
__id67_.selectable = false;
__id67_.underline = false;
try {
__id67_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 17
//balonkata_OMG_299 (Muffinlicious_fla.balonkata_OMG_299)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class balonkata_OMG_299 extends MovieClip {
public var __id31_:LocalizedTextField;
public function balonkata_OMG_299(){
__setProp___id31__balonkata_OMG_Layer1_0();
}
function __setProp___id31__balonkata_OMG_Layer1_0(){
try {
__id31_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id31_.text = "{lbBalon2}";
__id31_.textColor = 11608100;
__id31_.textSize = 26;
__id31_.bold = false;
__id31_.disableWordwrap = false;
__id31_.embedFonts = true;
__id31_.font = "Adlib";
__id31_.hAlign = "center";
__id31_.multiline = true;
__id31_.vAlign = "middle";
__id31_.antiAliasType = "advanced";
__id31_.glowBlur = 3;
__id31_.glowColor = 12430502;
__id31_.useGlowFilter = false;
__id31_.glowQuality = 1;
__id31_.glowStrength = 5;
__id31_.gridFitType = "pixel";
__id31_.italic = false;
__id31_.selectable = false;
__id31_.underline = false;
try {
__id31_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 18
//balonkata_ovenit_207 (Muffinlicious_fla.balonkata_ovenit_207)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class balonkata_ovenit_207 extends MovieClip {
public var __id53_:LocalizedTextField;
public function balonkata_ovenit_207(){
__setProp___id53__balonkata_ovenit();
}
function __setProp___id53__balonkata_ovenit(){
try {
__id53_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id53_.text = "{lbBalon7}";
__id53_.textColor = 1968914;
__id53_.textSize = 25;
__id53_.bold = false;
__id53_.disableWordwrap = false;
__id53_.embedFonts = true;
__id53_.font = "Adlib";
__id53_.hAlign = "center";
__id53_.multiline = true;
__id53_.vAlign = "middle";
__id53_.antiAliasType = "advanced";
__id53_.glowBlur = 3;
__id53_.glowColor = 12430502;
__id53_.useGlowFilter = false;
__id53_.glowQuality = 1;
__id53_.glowStrength = 5;
__id53_.gridFitType = "pixel";
__id53_.italic = false;
__id53_.selectable = false;
__id53_.underline = false;
try {
__id53_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 19
//balonkata_put_208 (Muffinlicious_fla.balonkata_put_208)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class balonkata_put_208 extends MovieClip {
public var __id52_:LocalizedTextField;
public function balonkata_put_208(){
__setProp___id52__balonkata_put();
}
function __setProp___id52__balonkata_put(){
try {
__id52_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id52_.text = "{lbBalon1}";
__id52_.textColor = 2301728;
__id52_.textSize = 26;
__id52_.bold = false;
__id52_.disableWordwrap = false;
__id52_.embedFonts = true;
__id52_.font = "Adlib";
__id52_.hAlign = "center";
__id52_.multiline = true;
__id52_.vAlign = "middle";
__id52_.antiAliasType = "advanced";
__id52_.glowBlur = 3;
__id52_.glowColor = 12430502;
__id52_.useGlowFilter = false;
__id52_.glowQuality = 1;
__id52_.glowStrength = 5;
__id52_.gridFitType = "pixel";
__id52_.italic = false;
__id52_.selectable = false;
__id52_.underline = false;
try {
__id52_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 20
//balonkata_toppingtime_393 (Muffinlicious_fla.balonkata_toppingtime_393)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class balonkata_toppingtime_393 extends MovieClip {
public var __id11_:LocalizedTextField;
public function balonkata_toppingtime_393(){
__setProp___id11__balonkata_toppingtime_Layer1_0();
}
function __setProp___id11__balonkata_toppingtime_Layer1_0(){
try {
__id11_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id11_.text = "{lbBalon6}";
__id11_.textColor = 1968914;
__id11_.textSize = 25;
__id11_.bold = false;
__id11_.disableWordwrap = false;
__id11_.embedFonts = true;
__id11_.font = "Adlib";
__id11_.hAlign = "center";
__id11_.multiline = true;
__id11_.vAlign = "middle";
__id11_.antiAliasType = "advanced";
__id11_.glowBlur = 3;
__id11_.glowColor = 12430502;
__id11_.useGlowFilter = false;
__id11_.glowQuality = 1;
__id11_.glowStrength = 5;
__id11_.gridFitType = "pixel";
__id11_.italic = false;
__id11_.selectable = false;
__id11_.underline = false;
try {
__id11_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 21
//balonkata2_gulax2_102 (Muffinlicious_fla.balonkata2_gulax2_102)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class balonkata2_gulax2_102 extends MovieClip {
public var __id64_:LocalizedTextField;
public var banyakgula_txt:TextField;
public function balonkata2_gulax2_102(){
__setProp___id64__balonkata2_gulax2_Layer1_0();
}
function __setProp___id64__balonkata2_gulax2_Layer1_0(){
try {
__id64_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id64_.text = "{lbSugar}";
__id64_.textColor = 0xFFFFFF;
__id64_.textSize = 25;
__id64_.bold = false;
__id64_.disableWordwrap = false;
__id64_.embedFonts = true;
__id64_.font = "Gabriola";
__id64_.hAlign = "center";
__id64_.multiline = false;
__id64_.vAlign = "middle";
__id64_.antiAliasType = "advanced";
__id64_.glowBlur = 3;
__id64_.glowColor = 12430502;
__id64_.useGlowFilter = false;
__id64_.glowQuality = 1;
__id64_.glowStrength = 5;
__id64_.gridFitType = "pixel";
__id64_.italic = false;
__id64_.selectable = false;
__id64_.underline = false;
try {
__id64_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 22
//balonkata3_susux1_104 (Muffinlicious_fla.balonkata3_susux1_104)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class balonkata3_susux1_104 extends MovieClip {
public var __id63_:LocalizedTextField;
public var banyaksusu_txt:TextField;
public function balonkata3_susux1_104(){
__setProp___id63__balonkata3_susux1_Layer1_0();
}
function __setProp___id63__balonkata3_susux1_Layer1_0(){
try {
__id63_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id63_.text = "{lbMilk}";
__id63_.textColor = 0xFFFFFF;
__id63_.textSize = 40;
__id63_.bold = false;
__id63_.disableWordwrap = false;
__id63_.embedFonts = true;
__id63_.font = "Gabriola";
__id63_.hAlign = "center";
__id63_.multiline = false;
__id63_.vAlign = "middle";
__id63_.antiAliasType = "advanced";
__id63_.glowBlur = 3;
__id63_.glowColor = 12430502;
__id63_.useGlowFilter = false;
__id63_.glowQuality = 1;
__id63_.glowStrength = 5;
__id63_.gridFitType = "pixel";
__id63_.italic = false;
__id63_.selectable = false;
__id63_.underline = false;
try {
__id63_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 23
//balonkata4_tepungx5_106 (Muffinlicious_fla.balonkata4_tepungx5_106)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class balonkata4_tepungx5_106 extends MovieClip {
public var banyaktepung_txt:TextField;
public var __id62_:LocalizedTextField;
public function balonkata4_tepungx5_106(){
__setProp___id62__balonkata4_tepungx5_Layer1_0();
}
function __setProp___id62__balonkata4_tepungx5_Layer1_0(){
try {
__id62_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id62_.text = "{lbFlour}";
__id62_.textColor = 1968914;
__id62_.textSize = 16;
__id62_.bold = false;
__id62_.disableWordwrap = false;
__id62_.embedFonts = true;
__id62_.font = "Arial";
__id62_.hAlign = "center";
__id62_.multiline = true;
__id62_.vAlign = "middle";
__id62_.antiAliasType = "advanced";
__id62_.glowBlur = 3;
__id62_.glowColor = 12430502;
__id62_.useGlowFilter = false;
__id62_.glowQuality = 1;
__id62_.glowStrength = 5;
__id62_.gridFitType = "pixel";
__id62_.italic = false;
__id62_.selectable = false;
__id62_.underline = false;
try {
__id62_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 24
//click_200 (Muffinlicious_fla.click_200)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class click_200 extends MovieClip {
public var __id60_:LocalizedTextField;
public function click_200(){
__setProp___id60__click_Layer1_0();
}
function __setProp___id60__click_Layer1_0(){
try {
__id60_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id60_.text = "{lbClick}";
__id60_.textColor = 0xFFFFFF;
__id60_.textSize = 10;
__id60_.bold = false;
__id60_.disableWordwrap = false;
__id60_.embedFonts = true;
__id60_.font = "Arial";
__id60_.hAlign = "right";
__id60_.multiline = false;
__id60_.vAlign = "middle";
__id60_.antiAliasType = "advanced";
__id60_.glowBlur = 3;
__id60_.glowColor = 12430502;
__id60_.useGlowFilter = false;
__id60_.glowQuality = 1;
__id60_.glowStrength = 5;
__id60_.gridFitType = "pixel";
__id60_.italic = false;
__id60_.selectable = false;
__id60_.underline = false;
try {
__id60_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 25
//clicktostir_202 (Muffinlicious_fla.clicktostir_202)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class clicktostir_202 extends MovieClip {
public var __id58_:LocalizedTextField;
public function clicktostir_202(){
__setProp___id58__clicktostir_Layer1_0();
}
function __setProp___id58__clicktostir_Layer1_0(){
try {
__id58_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id58_.text = "{lbClickToStir}";
__id58_.textColor = 0xFFFFFF;
__id58_.textSize = 13;
__id58_.bold = false;
__id58_.disableWordwrap = false;
__id58_.embedFonts = true;
__id58_.font = "Arial";
__id58_.hAlign = "right";
__id58_.multiline = false;
__id58_.vAlign = "middle";
__id58_.antiAliasType = "advanced";
__id58_.glowBlur = 3;
__id58_.glowColor = 12430502;
__id58_.useGlowFilter = false;
__id58_.glowQuality = 1;
__id58_.glowStrength = 5;
__id58_.gridFitType = "pixel";
__id58_.italic = false;
__id58_.selectable = false;
__id58_.underline = false;
try {
__id58_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 26
//flag_icon_433 (Muffinlicious_fla.flag_icon_433)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class flag_icon_433 extends MovieClip {
public function flag_icon_433(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Muffinlicious_fla
Section 27
//GGGMoreGamesBtn_310 (Muffinlicious_fla.GGGMoreGamesBtn_310)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class GGGMoreGamesBtn_310 extends MovieClip {
public var xmlData:XML;
public var btn_moreGames:SimpleButton;
public var __id24_:LocalizedTextField;
public function GGGMoreGamesBtn_310(){
addFrameScript(0, frame1);
__setProp___id24__GGGMoreGamesBtn_Layer1_0();
}
function __setProp___id24__GGGMoreGamesBtn_Layer1_0(){
try {
__id24_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id24_.text = "{btn_moregamesat}";
__id24_.textColor = 0;
__id24_.textSize = 12;
__id24_.bold = false;
__id24_.disableWordwrap = false;
__id24_.embedFonts = true;
__id24_.font = "Franklin Gothic Book";
__id24_.hAlign = "center";
__id24_.multiline = false;
__id24_.vAlign = "top";
__id24_.antiAliasType = "advanced";
__id24_.glowBlur = 3;
__id24_.glowColor = 0;
__id24_.useGlowFilter = false;
__id24_.glowQuality = 1;
__id24_.glowStrength = 5;
__id24_.gridFitType = "pixel";
__id24_.italic = false;
__id24_.selectable = false;
__id24_.underline = false;
try {
__id24_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("Mainscreen")), "_blank");
}
function frame1(){
xmlData = <LocalisedText><textItem identifier="lbPlay"><en_us>Play</en_us><en_uk>Play</en_uk><nl>Spelen</nl><fr>Jouer</fr><de>Spielen</de><es>Jugar</es><br>Jogar</br><pt>Jogar</pt><it>Gioca</it><se>Spela</se><pl>Graj</pl><ru>Играть</ru><id>Main</id><ar>Play</ar><jp>Play</jp><cn>Play</cn></textItem><textItem identifier="lbPlayMore"><en_us>Play More Games</en_us><en_uk>Play More Games</en_uk><nl>Meer spellen spelen</nl><fr>Joue à plus de jeux</fr><de>Spiele weitere Spiele</de><es>Jugar a más juegos</es><br>Mais Jogos</br><pt>Jogar Mais Jogos</pt><it>Gioca con più giochi</it><se>Spela fler spel</se><pl>Zagraj w więcej gier</pl><ru>Другие игры</ru><id>Mainkan Permainan Lain</id><ar>Play More Games</ar><jp>Play More Games</jp><cn>Play More Games</cn></textItem><textItem identifier="lbHeader1"><en_us>Muffintastic</en_us><en_uk>Muffintastic</en_uk><nl>Gek op muffins</nl><fr>Phéno-muffin-al</fr><de>Muffintastisch</de><es>Locos por los muffins</es><br>Muffin Delicioso</br><pt>Quequetástico</pt><it>Muffantastici</it><se>Muffinsmums</se><pl>Muffinowe Fantazje</pl><ru>Суперкексы</ru><id>Muffintastik</id><ar>Muffintastic</ar><jp>Muffintastic</jp><cn>Muffintastic</cn></textItem><textItem identifier="lbHeader2"><en_us>World's Best Muffin Recipes</en_us><en_uk>World's Best Muffin Recipes</en_uk><nl>De beste muffinrecepten ter wereld</nl><fr>Les meilleures recettes de muffin au monde</fr><de>Die weltbesten Muffinrezepte</de><es>Las mejores recetas de muffins del mundo</es><br>As Melhores Receitas de Muffin do Mundo</br><pt>As melhores receitas de queques do mundo</pt><it>Le migliori ricette di muffin del mondo</it><se>Världens bästa muffinsrecept</se><pl>Najlepsze na świecie przepisy na muffiny</pl><ru>Лучшие в мире рецепты!</ru><id>Resep Muffin Terbaik di Dunia</id><ar>World's Best Muffin Recipes</ar><jp>World's Best Muffin Recipes</jp><cn>World's Best Muffin Recipes</cn></textItem><textItem identifier="lbChocolate"><en_us>Chocolate</en_us><en_uk>Chocolate</en_uk><nl>Chocolade</nl><fr>Chocolat</fr><de>Schokolade</de><es>Chocolate</es><br>Chocolate</br><pt>Chocolate</pt><it>Cioccolato</it><se>Choklad</se><pl>Czekolada</pl><ru>Шоколадный</ru><id>Cokelat</id><ar>Chocolate</ar><jp>Chocolate</jp><cn>Chocolate</cn></textItem><textItem identifier="lbVanilla"><en_us>Vanilla</en_us><en_uk>Vanilla</en_uk><nl>Vanille</nl><fr>Vanille</fr><de>Vanille</de><es>Vainilla</es><br>Baunilha</br><pt>Baunilha</pt><it>Vaniglia</it><se>Vanilj</se><pl>Wanilia</pl><ru>Ванильный</ru><id>Vanila</id><ar>Vanilla</ar><jp>Vanilla</jp><cn>Vanilla</cn></textItem><textItem identifier="lbStrawberry"><en_us>Strawberry</en_us><en_uk>Strawberry</en_uk><nl>Aardbei</nl><fr>Fraise</fr><de>Erdbeere</de><es>Fresa</es><br>Morango</br><pt>Morango</pt><it>Fragola</it><se>Jordgubbe</se><pl>Truskawka</pl><ru>Клубничный</ru><id>Stroberi</id><ar>Strawberry</ar><jp>Strawberry</jp><cn>Strawberry</cn></textItem><textItem identifier="lbClick"><en_us>Click this.</en_us><en_uk>Click this.</en_uk><nl>Klik hier.</nl><fr>Clique ici.</fr><de>Klicke hier.</de><es>Haz clic aquí</es><br>Clique aqui.</br><pt>Clica nisto.</pt><it>Cliccaci sopra.</it><se>Klicka här.</se><pl>Kliknij to.</pl><ru>Щелкни</ru><id>Klik ini.</id><ar>Click this.</ar><jp>Click this.</jp><cn>Click this.</cn></textItem><textItem identifier="lbClickToStir"><en_us>Click to stir.</en_us><en_uk>Click to stir.</en_uk><nl>Klik om te roeren.</nl><fr>Clique pour mélanger.</fr><de>Klicke um zu rühren.</de><es>Haz clic para remover</es><br>Clique para mexer.</br><pt>Clica para mexer.</pt><it>Clicca per mescolare.</it><se>Klicka för att vispa.</se><pl>Kliknij, aby zamieszać.</pl><ru>Щелкай.</ru><id>Klik untuk mengaduk.</id><ar>Click to stir.</ar><jp>Click to stir.</jp><cn>Click to stir.</cn></textItem><textItem identifier="lbMilk"><en_us>Milk</en_us><en_uk>Milk</en_uk><nl>Melk</nl><fr>Lait</fr><de>Milch</de><es>Leche</es><br>Leite</br><pt>Leite</pt><it>Latte</it><se>Mjölk</se><pl>Mleko</pl><ru>Молоко</ru><id>Susu</id><ar>Milk</ar><jp>Milk</jp><cn>Milk</cn></textItem><textItem identifier="lbTime"><en_us>Time</en_us><en_uk>Time</en_uk><nl>Tijd</nl><fr>Temps</fr><de>Zeit</de><es>Tiempo</es><br>Tempo</br><pt>Tempo</pt><it>Tempo</it><se>Tid</se><pl>Czas</pl><ru>Время</ru><id>Waktu</id><ar>Time</ar><jp>Time</jp><cn>Time</cn></textItem><textItem identifier="lbScore"><en_us>Score</en_us><en_uk>Score</en_uk><nl>Score</nl><fr>Score</fr><de>Punkte</de><es>Puntuación</es><br>Pontuação</br><pt>Pontuação</pt><it>Punteggio</it><se>Poäng</se><pl>Wynik</pl><ru>Счет</ru><id>Skor</id><ar>Score</ar><jp>Score</jp><cn>Score</cn></textItem><textItem identifier="lbSugar"><en_us>Sugar</en_us><en_uk>Sugar</en_uk><nl>Suiker</nl><fr>Sucre</fr><de>Zucker</de><es>Azúcar</es><br>Açúcar</br><pt>Açúcar</pt><it>Zucchero</it><se>Socker</se><pl>Cukier</pl><ru>Сахар</ru><id>Gula</id><ar>Sugar</ar><jp>Sugar</jp><cn>Sugar</cn></textItem><textItem identifier="lbBalon1"><en_us>Put them on the plate.</en_us><en_uk>Put them on the plate.</en_uk><nl>Leg ze op het bord.</nl><fr>Pose-les sur le plateau.</fr><de>Leg sie auf das Blech.</de><es>Ponlos en una bandeja.</es><br>Coloque-os no prato.</br><pt>Coloca-os no prato.</pt><it>Mettili sul piatto.</it><se>Lägg dem på fatet.</se><pl>Umieść je na tacy.</pl><ru>Выложи их на тарелку.</ru><id>Letakkan di piring.</id><ar>Put them on the plate.</ar><jp>Put them on the plate.</jp><cn>Put them on the plate.</cn></textItem><textItem identifier="lbBalon2"><en_us>Whoops! They're burnt!!!</en_us><en_uk>Whoops! They're burnt!!!</en_uk><nl>Oeps, ze zijn verbrand!!</nl><fr>Oh non ! Ils sont brûlés !!!</fr><de>Mist! Sie sind verbrannt!!!</de><es>¡Oh, no! ¡¡¡Se han quemado!!!</es><br>Minha nossa! Queimaram!!!</br><pt>Meu Deus! Estão queimados!!!</pt><it>Oddio! Sono bruciati!!!</it><se>Åh nej! De blev brända!</se><pl>Ojejku! Przypaliły się!</pl><ru>Боже, они подгорели!</ru><id>Astaga! Gosong!!!</id><ar>Whoops! They're burnt!!!</ar><jp>Whoops! They're burnt!!!</jp><cn>Whoops! They're burnt!!!</cn></textItem><textItem identifier="lbOven"><en_us>It's HOT!</en_us><en_uk>It's HOT!</en_uk><nl>Dat is HEET!</nl><fr>C'est CHAUD !</fr><de>HEISS!</de><es>¡Está CALIENTE!</es><br>Está QUENTE!</br><pt>Está QUENTE!</pt><it>È CALDO!</it><se>Det är HETT!</se><pl>GORĄCE!</pl><ru>ГОРЯЧО!</ru><id>PANAS!</id><ar>It's HOT!</ar><jp>It's HOT!</jp><cn>It's HOT!</cn></textItem><textItem identifier="lbMinutes"><en_us>30 Minutes</en_us><en_uk>30 Minutes</en_uk><nl>30 minuten</nl><fr>30 minutes</fr><de>30 Minuten</de><es>30 minutos</es><br>30 Minutos</br><pt>30 Minutos</pt><it>30 minuti</it><se>30 minuter</se><pl>30 minut</pl><ru>30 минут</ru><id>30 Menit</id><ar>30 Minutes</ar><jp>30 Minutes</jp><cn>30 Minutes</cn></textItem><textItem identifier="lbOven2"><en_us>Ready!</en_us><en_uk>Ready!</en_uk><nl>Klaar!</nl><fr>Prêt !</fr><de>Fertig!</de><es>¡Listo!</es><br>Pronto!</br><pt>Preparado!</pt><it>Pronto!</it><se>Redo!</se><pl>Gotowe!</pl><ru>Готово!</ru><id>Siap!</id><ar>Ready!</ar><jp>Ready!</jp><cn>Ready!</cn></textItem><textItem identifier="lbOven3"><en_us>They're burnt!</en_us><en_uk>They're burnt!</en_uk><nl>Ze zijn verbrand!</nl><fr>Ils sont brûlés !</fr><de>Sie sind verbrannt!</de><es>¡Se han quemado!</es><br>Queimaram!</br><pt>Estão queimados!</pt><it>Sono bruciati!</it><se>De blev brända!</se><pl>Przypaliły się!</pl><ru>Подгорели!</ru><id>Gosong!</id><ar>They're burnt!</ar><jp>They're burnt!</jp><cn>They're burnt!</cn></textItem><textItem identifier="lbBalon3"><en_us>They're ruined!</en_us><en_uk>They're ruined!</en_uk><nl>Ze zijn mislukt!</nl><fr>Ils sont ratés !</fr><de>Sie sind misslungen!</de><es>¡Se han estropeado!</es><br>Estão horríveis!</br><pt>Estão estragados!</pt><it>Sono rovinati!</it><se>De är förstörda!</se><pl>Są do niczego!</pl><ru>Никуда не годится!</ru><id>Hancur deh!</id><ar>They're ruined!</ar><jp>They're ruined!</jp><cn>They're ruined!</cn></textItem><textItem identifier="lbBack"><en_us>Main Menu</en_us><en_uk>Main Menu</en_uk><nl>Hoofdmenu</nl><fr>Menu principal</fr><de>Hauptmenü</de><es>Menú principal</es><br>Menu Principal</br><pt>Menu Principal</pt><it>Menu principale</it><se>Huvudmeny</se><pl>Menu główne</pl><ru>Главное меню</ru><id>Menu utama</id><ar>Main Menu</ar><jp>Main Menu</jp><cn>Main Menu</cn></textItem><textItem identifier="lbPlayAgain"><en_us>Play Again</en_us><en_uk>Play Again</en_uk><nl>Opnieuw spelen</nl><fr>Rejouer</fr><de>Nochmal spielen</de><es>Volver a jugar</es><br>Jogar de Novo</br><pt>Jogar Novamente</pt><it>Rigioca</it><se>Spela om</se><pl>Zagraj ponownie</pl><ru>Сыграть еще раз</ru><id>Main Lagi</id><ar>Play Again</ar><jp>Play Again</jp><cn>Play Again</cn></textItem><textItem identifier="lbSelendang"><en_us>Bye!</en_us><en_uk>Bye!</en_uk><nl>Tot ziens!</nl><fr>Salut !</fr><de>Tschüs!</de><es>¡Adiós!</es><br>Tchau!</br><pt>Adeus!</pt><it>Ciao!</it><se>Hej då!</se><pl>Pa!</pl><ru>Пока!</ru><id>Daag!</id><ar>Bye!</ar><jp>Bye!</jp><cn>Bye!</cn></textItem><textItem identifier="lbBalon4"><en_us>Uh-oh...time's up!</en_us><en_uk>Uh-oh... your time is up!</en_uk><nl>Ah-oh… de tijd is om!</nl><fr>Oh là là, tu as dépassé le temps limite !</fr><de>Oh-oh, die Zeit ist um!</de><es>¡Vaya... se acabó el tiempo!</es><br>Oh, não, o tempo acabou!</br><pt>Ops... acabou o tempo!</pt><it>Oh oh…Tempo scaduto!</it><se>Åh nej, tiden är ute!</se><pl>Och... czas minął!</pl><ru>Время вышло!</ru><id>Ah-oh....waktu habis!</id><ar>Uh-oh...time's up!</ar><jp>Uh-oh...time's up!</jp><cn>Uh-oh...time's up!</cn></textItem><textItem identifier="lbSelendang2"><en_us>Watch the time!</en_us><en_uk>Watch the time!</en_uk><nl>Let op de tijd!</nl><fr>Fais attention au temps limite !</fr><de>Achte auf die Zeit!</de><es>¡Vigila el tiempo!</es><br>Cuidado com o tempo!</br><pt>Atenção ao tempo!</pt><it>Fai attenzione al tempo!</it><se>Håll koll på tiden!</se><pl>Zwracaj uwagę na czas!</pl><ru>Следи за временем!</ru><id>Perhatikan waktu!</id><ar>Watch the time!</ar><jp>Watch the time!</jp><cn>Watch the time!</cn></textItem><textItem identifier="lbAtas1"><en_us>Decorate your muffins just like in the examples.</en_us><en_uk>Decorate your muffins following the examples.</en_uk><nl>Versier je muffins als in de voorbeelden.</nl><fr>Décore tes muffins exactement comme dans les exemples. </fr><de>Verziere deine Muffins so wie in den Beispielen.</de><es>Decora tus muffins igual que en los ejemplos.</es><br>Decore seus muffins como nos exemplos.</br><pt>Decora os teus queques como nos exemplos.</pt><it>Decora i tuoi muffin come negli esempi.</it><se>Dekorera dina muffins som i exemplen.</se><pl>Udekoruj muffiny zgodnie ze wzorem.</pl><ru>Укрась кексы, как показано на картинке.</ru><id>Hias muffinmu persis seperti dalam contoh.</id><ar>Decorate your muffins just like in the examples.</ar><jp>Decorate your muffins just like in the examples.</jp><cn>Decorate your muffins just like in the examples.</cn></textItem><textItem identifier="lbStart"><en_us>Start</en_us><en_uk>Start</en_uk><nl>Starten</nl><fr>Commencer</fr><de>Start</de><es>Iniciar</es><br>Começar</br><pt>Começar</pt><it>Avvia</it><se>Starta</se><pl>Start</pl><ru>Старт</ru><id>Mulai</id><ar>Start</ar><jp>Start</jp><cn>Start</cn></textItem><textItem identifier="lbBalon5"><en_us>Whipped cream time!</en_us><en_uk>Whipped cream time!</en_uk><nl>Tijd voor slagroom!</nl><fr>C'est au tour de la crème fouettée !</fr><de>Zeit für Schlagsahne!</de><es>¡Ahora la nata montada!</es><br>Hora de bater o creme!</br><pt>É altura das natas!</pt><it>È l'ora della panna montata!</it><se>Gräddtajm!</se><pl>Czas na bitą śmietanę!</pl><ru>Пора добавить крем!</ru><id>Waktunya krim kocok!</id><ar>Whipped cream time!</ar><jp>Whipped cream time!</jp><cn>Whipped cream time!</cn></textItem><textItem identifier="lbBalon6"><en_us>Topping time!</en_us><en_uk>Topping time!</en_uk><nl>Tijd voor versieringen!</nl><fr>C'est au tour de la garniture !</fr><de>Zeit für Deko!</de><es>¡Ahora la decoración!</es><br>Hora de colocar a cobertura!</br><pt>E agora a cobertura!</pt><it>È l'ora delle guarnizioni!</it><se>Toppingtajm!</se><pl>Czas na dodatki!</pl><ru>Укрась кексы!</ru><id>Waktunya hiasan!</id><ar>Topping time!</ar><jp>Topping time!</jp><cn>Topping time!</cn></textItem><textItem identifier="lbFinish"><en_us>Finish</en_us><en_uk>Finish</en_uk><nl>Afmaken</nl><fr>Terminer</fr><de>Fertigstellen</de><es>Terminar</es><br>Terminar</br><pt>Terminar</pt><it>Fine</it><se>Slutför</se><pl>Koniec</pl><ru>Готово</ru><id>Selesai</id><ar>Finish</ar><jp>Finish</jp><cn>Finish</cn></textItem><textItem identifier="lbBalon7"><en_us>Put it in the oven for 30 minutes.</en_us><en_uk>Put it in the oven for 30 minutes.</en_uk><nl>Zet het 30 minuten in de oven.</nl><fr>Place dans le four pendant 30 minutes.</fr><de>Stell sie für 30 Minuten in den Ofen.</de><es>Ponlo en el horno durante 30 minutos.</es><br>Coloque no forno por 30 minutos.</br><pt>Coloca no forno durante 30 minutos.</pt><it>Mettilo in forno per 30 minuti.</it><se>Baka i ugnen i 30 minuter.</se><pl>Umieść je w piekarniku na 30 minut.</pl><ru>Поставь в печь на 30 минут.</ru><id>Masukkan ke dalam oven selama 30 menit.</id><ar>Put it in the oven for 30 minutes.</ar><jp>Put it in the oven for 30 minutes.</jp><cn>Put it in the oven for 30 minutes.</cn></textItem><textItem identifier="lbBalon8"><en_us>It's delicious!</en_us><en_uk>It's delicious!</en_uk><nl>Hmmm, heerlijk!</nl><fr>C'est délicieux !</fr><de>Sehr lecker!</de><es>¡Delicioso!</es><br>Está delicioso!</br><pt>É delicioso!</pt><it>È delizioso!</it><se>Smaskens!</se><pl>Pycha!</pl><ru>Какая вкуснятина!</ru><id>Lezat!</id><ar>It's delicious!</ar><jp>It's delicious!</jp><cn>It's delicious!</cn></textItem><textItem identifier="lbSelendang3"><en_us>Congratulations!</en_us><en_uk>Congratulations!</en_uk><nl>Gefeliciteerd!</nl><fr>Félicitations !</fr><de>Glückwunsch!</de><es>¡Enhorabuena!</es><br>Parabéns!</br><pt>Parabéns!</pt><it>Complimenti!</it><se>Gratulerar!</se><pl>Gratulacje!</pl><ru>Молодец!</ru><id>Selamat!</id><ar>Congratulations!</ar><jp>Congratulations!</jp><cn>Congratulations!</cn></textItem><textItem identifier="lbRank"><en_us>Grade</en_us><en_uk>Grade</en_uk><nl>Cijfer</nl><fr>Grade</fr><de>Note</de><es>Nota</es><br>Nota</br><pt>Nota</pt><it>Voto</it><se>Betyg</se><pl>Ocena</pl><ru>Оценка</ru><id>Peringkat</id><ar>Grade</ar><jp>Grade</jp><cn>Grade</cn></textItem><textItem identifier="lbMocha"><en_us>Mocha</en_us><en_uk>Mocha</en_uk><nl>Mokka</nl><fr>Moka</fr><de>Mokka</de><es>Moca</es><br>Moca</br><pt>Mocha</pt><it>Moca</it><se>Mocka</se><pl>Kawa</pl><ru>Кофе</ru><id>Mocha</id><ar>Mocha</ar><jp>Mocha</jp><cn>Mocha</cn></textItem><textItem identifier="lbLemon"><en_us>Lemon</en_us><en_uk>Lemon</en_uk><nl>Citroen</nl><fr>Citron</fr><de>Zitrone</de><es>Limón</es><br>Limão</br><pt>Limão</pt><it>Limone</it><se>Citron</se><pl>Cytryna</pl><ru>Лимон</ru><id>Lemon</id><ar>Lemon</ar><jp>Lemon</jp><cn>Lemon</cn></textItem><textItem identifier="lbBerry"><en_us>Berry</en_us><en_uk>Berry</en_uk><nl>Bessen</nl><fr>Baie</fr><de>Beeren</de><es>Frutas del bosque</es><br>Morango</br><pt>Amoras</pt><it>Bacca</it><se>Bär</se><pl>Jagody</pl><ru>Ягоды</ru><id>Berry</id><ar>Berry</ar><jp>Berry</jp><cn>Berry</cn></textItem><textItem identifier="lbBalon9"><en_us>Choose a wrapper.</en_us><en_uk>Choose a wrapper.</en_uk><nl>Kies een verpakking.</nl><fr>Choisis un emballage.</fr><de>Wähle eine Verpackung.</de><es>Elige un envoltorio.</es><br>Escolha um embrulho.</br><pt>Escolhe um embrulho</pt><it>Scegli un pirottino.</it><se>Välj en muffinsform.</se><pl>Wybierz opakowanie</pl><ru>Выбери обертку.</ru><id>Pilih pembungkus.</id><ar>Choose a wrapper.</ar><jp>Choose a wrapper.</jp><cn>Choose a wrapper.</cn></textItem><textItem identifier="lbFlour"><en_us>Flour</en_us><en_uk>Flour</en_uk><nl>Meel</nl><fr>Farine</fr><de>Mehl</de><es>Harina</es><br>Farinha</br><pt>Farinha</pt><it>Farina</it><se>Mjöl</se><pl>Mąka</pl><ru>Мука</ru><id>Tepung</id><ar>Flour</ar><jp>Flour</jp><cn>Flour</cn></textItem><textItem identifier="btn_moregamesat"><en_us>More funny games at:</en_us><en_uk>More funny games at:</en_uk><nl>Meer grappige spelletjes op:</nl><fr>Plus de jeux divertissants sur :</fr><de>Mehr witzige Spiele auf:</de><es>Más juegos divertidos en:</es><br>Mais jogos divertidos em:</br><pt>Mais jogos divertidos em:</pt><it>Più giochi divertenti su:</it><se>Fler roliga spel på:</se><pl>Więcej zabawnych gier na:</pl><ru>Больше веселых игр на:</ru><id>Permainan lucu lainnya di:</id><ar>More funny games at:</ar><jp>他のゲームで遊ぶ</jp><cn>更多有趣的游戏尽在:</cn></textItem></LocalisedText>
;
SpilGame.importXMLv2(xmlData);
trace("Language Data Succesfully included");
btn_moreGames.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
}
}
}//package Muffinlicious_fla
Section 28
//gula_95 (Muffinlicious_fla.gula_95)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class gula_95 extends MovieClip {
public var __id66_:LocalizedTextField;
public function gula_95(){
__setProp___id66__gula_Layer1_0();
}
function __setProp___id66__gula_Layer1_0(){
try {
__id66_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id66_.text = "{lbSugar}";
__id66_.textColor = 0xFFFFFF;
__id66_.textSize = 25;
__id66_.bold = false;
__id66_.disableWordwrap = false;
__id66_.embedFonts = true;
__id66_.font = "Gabriola";
__id66_.hAlign = "center";
__id66_.multiline = false;
__id66_.vAlign = "middle";
__id66_.antiAliasType = "advanced";
__id66_.glowBlur = 3;
__id66_.glowColor = 12430502;
__id66_.useGlowFilter = false;
__id66_.glowQuality = 1;
__id66_.glowStrength = 5;
__id66_.gridFitType = "pixel";
__id66_.italic = false;
__id66_.selectable = false;
__id66_.underline = false;
try {
__id66_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 29
//Klik_302 (Muffinlicious_fla.Klik_302)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class Klik_302 extends MovieClip {
public var __id29_:LocalizedTextField;
public function Klik_302(){
__setProp___id29__Klik_Layer1_0();
}
function __setProp___id29__Klik_Layer1_0(){
try {
__id29_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id29_.text = "{lbClick}";
__id29_.textColor = 0xFFFFFF;
__id29_.textSize = 10;
__id29_.bold = false;
__id29_.disableWordwrap = false;
__id29_.embedFonts = true;
__id29_.font = "Arial";
__id29_.hAlign = "right";
__id29_.multiline = false;
__id29_.vAlign = "middle";
__id29_.antiAliasType = "advanced";
__id29_.glowBlur = 3;
__id29_.glowColor = 12430502;
__id29_.useGlowFilter = false;
__id29_.glowQuality = 1;
__id29_.glowStrength = 5;
__id29_.gridFitType = "pixel";
__id29_.italic = false;
__id29_.selectable = false;
__id29_.underline = false;
try {
__id29_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 30
//Layer1_206 (Muffinlicious_fla.Layer1_206)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class Layer1_206 extends MovieClip {
public var __id55_:LocalizedTextField;
public var __id54_:LocalizedTextField;
public function Layer1_206(){
__setProp___id54__Layer1_Layer1_0();
__setProp___id55__Layer1_Layer1_0();
}
function __setProp___id55__Layer1_Layer1_0(){
try {
__id55_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id55_.text = "{lbScore}";
__id55_.textColor = 7753537;
__id55_.textSize = 22;
__id55_.bold = false;
__id55_.disableWordwrap = false;
__id55_.embedFonts = true;
__id55_.font = "GilliesGothic";
__id55_.hAlign = "right";
__id55_.multiline = false;
__id55_.vAlign = "middle";
__id55_.antiAliasType = "advanced";
__id55_.glowBlur = 3;
__id55_.glowColor = 12430502;
__id55_.useGlowFilter = false;
__id55_.glowQuality = 1;
__id55_.glowStrength = 5;
__id55_.gridFitType = "pixel";
__id55_.italic = false;
__id55_.selectable = false;
__id55_.underline = false;
try {
__id55_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id54__Layer1_Layer1_0(){
try {
__id54_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id54_.text = "{lbTime}";
__id54_.textColor = 15976078;
__id54_.textSize = 20;
__id54_.bold = false;
__id54_.disableWordwrap = false;
__id54_.embedFonts = true;
__id54_.font = "GilliesGothic";
__id54_.hAlign = "right";
__id54_.multiline = false;
__id54_.vAlign = "middle";
__id54_.antiAliasType = "advanced";
__id54_.glowBlur = 3;
__id54_.glowColor = 12430502;
__id54_.useGlowFilter = false;
__id54_.glowQuality = 1;
__id54_.glowStrength = 5;
__id54_.gridFitType = "pixel";
__id54_.italic = false;
__id54_.selectable = false;
__id54_.underline = false;
try {
__id54_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 31
//Layer1_316 (Muffinlicious_fla.Layer1_316)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class Layer1_316 extends MovieClip {
public var __setPropDict:Dictionary;
public var __id21_:LocalizedTextField;
public var __id20_:LocalizedTextField;
public var __id22_:LocalizedTextField;
public function Layer1_316(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1);
}
function frame1(){
if ((((__setPropDict[__id22_] == undefined)) || (!((int(__setPropDict[__id22_]) == 1))))){
__setPropDict[__id22_] = 1;
__setProp___id22__Layer1_Layer1_0();
};
if ((((__setPropDict[__id21_] == undefined)) || (!((int(__setPropDict[__id21_]) == 1))))){
__setPropDict[__id21_] = 1;
__setProp___id21__Layer1_Layer1_0();
};
if ((((__setPropDict[__id20_] == undefined)) || (!((int(__setPropDict[__id20_]) == 1))))){
__setPropDict[__id20_] = 1;
__setProp___id20__Layer1_Layer1_0();
};
}
function __setProp___id22__Layer1_Layer1_0(){
try {
__id22_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id22_.text = "{lbScore}";
__id22_.textColor = 7753537;
__id22_.textSize = 22;
__id22_.bold = false;
__id22_.disableWordwrap = false;
__id22_.embedFonts = true;
__id22_.font = "GilliesGothic";
__id22_.hAlign = "right";
__id22_.multiline = false;
__id22_.vAlign = "middle";
__id22_.antiAliasType = "advanced";
__id22_.glowBlur = 3;
__id22_.glowColor = 12430502;
__id22_.useGlowFilter = false;
__id22_.glowQuality = 1;
__id22_.glowStrength = 5;
__id22_.gridFitType = "pixel";
__id22_.italic = false;
__id22_.selectable = false;
__id22_.underline = false;
try {
__id22_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id21__Layer1_Layer1_0(){
try {
__id21_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id21_.text = "{lbTime}";
__id21_.textColor = 15976078;
__id21_.textSize = 20;
__id21_.bold = false;
__id21_.disableWordwrap = false;
__id21_.embedFonts = true;
__id21_.font = "GilliesGothic";
__id21_.hAlign = "right";
__id21_.multiline = false;
__id21_.vAlign = "middle";
__id21_.antiAliasType = "advanced";
__id21_.glowBlur = 3;
__id21_.glowColor = 12430502;
__id21_.useGlowFilter = false;
__id21_.glowQuality = 1;
__id21_.glowStrength = 5;
__id21_.gridFitType = "pixel";
__id21_.italic = false;
__id21_.selectable = false;
__id21_.underline = false;
try {
__id21_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id20__Layer1_Layer1_0(){
try {
__id20_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id20_.text = "{lbBalon5}";
__id20_.textColor = 1968914;
__id20_.textSize = 25;
__id20_.bold = false;
__id20_.disableWordwrap = false;
__id20_.embedFonts = true;
__id20_.font = "Adlib";
__id20_.hAlign = "center";
__id20_.multiline = true;
__id20_.vAlign = "middle";
__id20_.antiAliasType = "advanced";
__id20_.glowBlur = 3;
__id20_.glowColor = 12430502;
__id20_.useGlowFilter = false;
__id20_.glowQuality = 1;
__id20_.glowStrength = 5;
__id20_.gridFitType = "pixel";
__id20_.italic = false;
__id20_.selectable = false;
__id20_.underline = false;
try {
__id20_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 32
//Layer1_318 (Muffinlicious_fla.Layer1_318)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class Layer1_318 extends MovieClip {
public var __id19_:LocalizedTextField;
public var __id18_:LocalizedTextField;
public var __id17_:LocalizedTextField;
public function Layer1_318(){
__setProp___id17__Layer1_Layer1_0();
__setProp___id18__Layer1_Layer1_0();
__setProp___id19__Layer1_Layer1_0();
}
function __setProp___id19__Layer1_Layer1_0(){
try {
__id19_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id19_.text = "{lbScore}";
__id19_.textColor = 7753537;
__id19_.textSize = 22;
__id19_.bold = false;
__id19_.disableWordwrap = false;
__id19_.embedFonts = true;
__id19_.font = "GilliesGothic";
__id19_.hAlign = "right";
__id19_.multiline = false;
__id19_.vAlign = "middle";
__id19_.antiAliasType = "advanced";
__id19_.glowBlur = 3;
__id19_.glowColor = 12430502;
__id19_.useGlowFilter = false;
__id19_.glowQuality = 1;
__id19_.glowStrength = 5;
__id19_.gridFitType = "pixel";
__id19_.italic = false;
__id19_.selectable = false;
__id19_.underline = false;
try {
__id19_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id18__Layer1_Layer1_0(){
try {
__id18_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id18_.text = "{lbTime}";
__id18_.textColor = 15976078;
__id18_.textSize = 20;
__id18_.bold = false;
__id18_.disableWordwrap = false;
__id18_.embedFonts = true;
__id18_.font = "GilliesGothic";
__id18_.hAlign = "right";
__id18_.multiline = false;
__id18_.vAlign = "middle";
__id18_.antiAliasType = "advanced";
__id18_.glowBlur = 3;
__id18_.glowColor = 12430502;
__id18_.useGlowFilter = false;
__id18_.glowQuality = 1;
__id18_.glowStrength = 5;
__id18_.gridFitType = "pixel";
__id18_.italic = false;
__id18_.selectable = false;
__id18_.underline = false;
try {
__id18_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id17__Layer1_Layer1_0(){
try {
__id17_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id17_.text = "{lbBalon9}";
__id17_.textColor = 1968914;
__id17_.textSize = 25;
__id17_.bold = false;
__id17_.disableWordwrap = false;
__id17_.embedFonts = true;
__id17_.font = "Adlib";
__id17_.hAlign = "center";
__id17_.multiline = true;
__id17_.vAlign = "middle";
__id17_.antiAliasType = "advanced";
__id17_.glowBlur = 3;
__id17_.glowColor = 12430502;
__id17_.useGlowFilter = false;
__id17_.glowQuality = 1;
__id17_.glowStrength = 5;
__id17_.gridFitType = "pixel";
__id17_.italic = false;
__id17_.selectable = false;
__id17_.underline = false;
try {
__id17_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 33
//Layer1_320 (Muffinlicious_fla.Layer1_320)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class Layer1_320 extends MovieClip {
public var __id15_:LocalizedTextField;
public var __id16_:LocalizedTextField;
public function Layer1_320(){
__setProp___id15__Layer1_Layer1_0();
__setProp___id16__Layer1_Layer1_0();
}
function __setProp___id16__Layer1_Layer1_0(){
try {
__id16_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id16_.text = "{lbScore}";
__id16_.textColor = 7753537;
__id16_.textSize = 22;
__id16_.bold = false;
__id16_.disableWordwrap = false;
__id16_.embedFonts = true;
__id16_.font = "GilliesGothic";
__id16_.hAlign = "right";
__id16_.multiline = false;
__id16_.vAlign = "middle";
__id16_.antiAliasType = "advanced";
__id16_.glowBlur = 3;
__id16_.glowColor = 12430502;
__id16_.useGlowFilter = false;
__id16_.glowQuality = 1;
__id16_.glowStrength = 5;
__id16_.gridFitType = "pixel";
__id16_.italic = false;
__id16_.selectable = false;
__id16_.underline = false;
try {
__id16_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id15__Layer1_Layer1_0(){
try {
__id15_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id15_.text = "{lbTime}";
__id15_.textColor = 15976078;
__id15_.textSize = 20;
__id15_.bold = false;
__id15_.disableWordwrap = false;
__id15_.embedFonts = true;
__id15_.font = "GilliesGothic";
__id15_.hAlign = "right";
__id15_.multiline = false;
__id15_.vAlign = "middle";
__id15_.antiAliasType = "advanced";
__id15_.glowBlur = 3;
__id15_.glowColor = 12430502;
__id15_.useGlowFilter = false;
__id15_.glowQuality = 1;
__id15_.glowStrength = 5;
__id15_.gridFitType = "pixel";
__id15_.italic = false;
__id15_.selectable = false;
__id15_.underline = false;
try {
__id15_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 34
//mama_delicious_402 (Muffinlicious_fla.mama_delicious_402)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class mama_delicious_402 extends MovieClip {
public var __id8_:LocalizedTextField;
public function mama_delicious_402(){
__setProp___id8__mama_delicious_Layer1_0();
}
function __setProp___id8__mama_delicious_Layer1_0(){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.text = "{lbBalon8}";
__id8_.textColor = 1968914;
__id8_.textSize = 25;
__id8_.bold = false;
__id8_.disableWordwrap = false;
__id8_.embedFonts = true;
__id8_.font = "Adlib";
__id8_.hAlign = "center";
__id8_.multiline = false;
__id8_.vAlign = "middle";
__id8_.antiAliasType = "advanced";
__id8_.glowBlur = 3;
__id8_.glowColor = 12430502;
__id8_.useGlowFilter = false;
__id8_.glowQuality = 1;
__id8_.glowStrength = 5;
__id8_.gridFitType = "pixel";
__id8_.italic = false;
__id8_.selectable = false;
__id8_.underline = false;
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 35
//mama_gosong_304 (Muffinlicious_fla.mama_gosong_304)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class mama_gosong_304 extends MovieClip {
public var __id28_:LocalizedTextField;
public function mama_gosong_304(){
__setProp___id28__mama_gosong_Layer1_0();
}
function __setProp___id28__mama_gosong_Layer1_0(){
try {
__id28_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id28_.text = "{lbBalon3}";
__id28_.textColor = 1968914;
__id28_.textSize = 25;
__id28_.bold = false;
__id28_.disableWordwrap = false;
__id28_.embedFonts = true;
__id28_.font = "Adlib";
__id28_.hAlign = "center";
__id28_.multiline = true;
__id28_.vAlign = "middle";
__id28_.antiAliasType = "advanced";
__id28_.glowBlur = 3;
__id28_.glowColor = 12430502;
__id28_.useGlowFilter = false;
__id28_.glowQuality = 1;
__id28_.glowStrength = 5;
__id28_.gridFitType = "pixel";
__id28_.italic = false;
__id28_.selectable = false;
__id28_.underline = false;
try {
__id28_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 36
//mama_sedih_313 (Muffinlicious_fla.mama_sedih_313)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class mama_sedih_313 extends MovieClip {
public var __id23_:LocalizedTextField;
public function mama_sedih_313(){
__setProp___id23__mama_sedih_Layer1_0();
}
function __setProp___id23__mama_sedih_Layer1_0(){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.text = "{lbBalon4}";
__id23_.textColor = 1968914;
__id23_.textSize = 25;
__id23_.bold = false;
__id23_.disableWordwrap = false;
__id23_.embedFonts = true;
__id23_.font = "Adlib";
__id23_.hAlign = "center";
__id23_.multiline = true;
__id23_.vAlign = "middle";
__id23_.antiAliasType = "advanced";
__id23_.glowBlur = 3;
__id23_.glowColor = 12430502;
__id23_.useGlowFilter = false;
__id23_.glowQuality = 1;
__id23_.glowStrength = 5;
__id23_.gridFitType = "pixel";
__id23_.italic = false;
__id23_.selectable = false;
__id23_.underline = false;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 37
//medali_rankAcopy_403 (Muffinlicious_fla.medali_rankAcopy_403)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class medali_rankAcopy_403 extends MovieClip {
public var __id7_:LocalizedTextField;
public var __setPropDict:Dictionary;
public function medali_rankAcopy_403(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1);
}
function __setProp___id7__medali_rankAcopy_Layer1_0(){
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.text = "{lbRank}";
__id7_.textColor = 0;
__id7_.textSize = 20;
__id7_.bold = false;
__id7_.disableWordwrap = false;
__id7_.embedFonts = true;
__id7_.font = "GilliesGothic";
__id7_.hAlign = "center";
__id7_.multiline = true;
__id7_.vAlign = "middle";
__id7_.antiAliasType = "advanced";
__id7_.glowBlur = 3;
__id7_.glowColor = 12430502;
__id7_.useGlowFilter = false;
__id7_.glowQuality = 1;
__id7_.glowStrength = 5;
__id7_.gridFitType = "pixel";
__id7_.italic = false;
__id7_.selectable = false;
__id7_.underline = false;
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
if ((((__setPropDict[__id7_] == undefined)) || (!((int(__setPropDict[__id7_]) == 1))))){
__setPropDict[__id7_] = 1;
__setProp___id7__medali_rankAcopy_Layer1_0();
};
}
}
}//package Muffinlicious_fla
Section 38
//medali_rankB_404 (Muffinlicious_fla.medali_rankB_404)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class medali_rankB_404 extends MovieClip {
public var __id6_:LocalizedTextField;
public function medali_rankB_404(){
__setProp___id6__medali_rankB_Layer1_0();
}
function __setProp___id6__medali_rankB_Layer1_0(){
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.text = "{lbRank}";
__id6_.textColor = 0;
__id6_.textSize = 20;
__id6_.bold = false;
__id6_.disableWordwrap = false;
__id6_.embedFonts = true;
__id6_.font = "GilliesGothic";
__id6_.hAlign = "center";
__id6_.multiline = true;
__id6_.vAlign = "middle";
__id6_.antiAliasType = "advanced";
__id6_.glowBlur = 3;
__id6_.glowColor = 12430502;
__id6_.useGlowFilter = false;
__id6_.glowQuality = 1;
__id6_.glowStrength = 5;
__id6_.gridFitType = "pixel";
__id6_.italic = false;
__id6_.selectable = false;
__id6_.underline = false;
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 39
//medali_rankC_405 (Muffinlicious_fla.medali_rankC_405)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class medali_rankC_405 extends MovieClip {
public var __id5_:LocalizedTextField;
public function medali_rankC_405(){
__setProp___id5__medali_rankC_Layer1_0();
}
function __setProp___id5__medali_rankC_Layer1_0(){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.text = "{lbRank}";
__id5_.textColor = 0;
__id5_.textSize = 20;
__id5_.bold = false;
__id5_.disableWordwrap = false;
__id5_.embedFonts = true;
__id5_.font = "GilliesGothic";
__id5_.hAlign = "center";
__id5_.multiline = true;
__id5_.vAlign = "middle";
__id5_.antiAliasType = "advanced";
__id5_.glowBlur = 3;
__id5_.glowColor = 12430502;
__id5_.useGlowFilter = false;
__id5_.glowQuality = 1;
__id5_.glowStrength = 5;
__id5_.gridFitType = "pixel";
__id5_.italic = false;
__id5_.selectable = false;
__id5_.underline = false;
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 40
//MusicBtn_410 (Muffinlicious_fla.MusicBtn_410)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class MusicBtn_410 extends MovieClip {
public function MusicBtn_410(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Muffinlicious_fla
Section 41
//oven_209 (Muffinlicious_fla.oven_209)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class oven_209 extends MovieClip {
public var oven1:MovieClip;
public var oven2:MovieClip;
public var oven3:MovieClip;
public var oven4:MovieClip;
public var oven5:MovieClip;
public var oven6:MovieClip;
public var oven7:MovieClip;
public var oven9:MovieClip;
public var oven8:MovieClip;
public var oven10:MovieClip;
public function oven_209(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9);
}
function frame5(){
oven5.klikoven5.useHandCursor = true;
oven5.klikoven5.buttonMode = true;
oven5.addEventListener(MouseEvent.CLICK, CGame.GetInstance().tambahwaktuoven);
}
function frame7(){
oven7.klikoven7.useHandCursor = true;
oven7.klikoven7.buttonMode = true;
oven7.addEventListener(MouseEvent.CLICK, CGame.GetInstance().tambahwaktuoven);
}
function frame1(){
oven1.klikoven1.useHandCursor = true;
oven1.klikoven1.buttonMode = true;
oven1.addEventListener(MouseEvent.CLICK, CGame.GetInstance().tambahwaktuoven);
}
function frame2(){
oven2.klikoven2.useHandCursor = true;
oven2.klikoven2.buttonMode = true;
oven2.addEventListener(MouseEvent.CLICK, CGame.GetInstance().tambahwaktuoven);
}
function frame3(){
oven3.klikoven3.useHandCursor = true;
oven3.klikoven3.buttonMode = true;
oven3.addEventListener(MouseEvent.CLICK, CGame.GetInstance().tambahwaktuoven);
}
function frame4(){
oven4.klikoven4.useHandCursor = true;
oven4.klikoven4.buttonMode = true;
oven4.addEventListener(MouseEvent.CLICK, CGame.GetInstance().tambahwaktuoven);
}
function frame6(){
oven6.klikoven6.useHandCursor = true;
oven6.klikoven6.buttonMode = true;
oven6.addEventListener(MouseEvent.CLICK, CGame.GetInstance().tambahwaktuoven);
}
function frame8(){
oven8.klikoven8.useHandCursor = true;
oven8.klikoven8.buttonMode = true;
oven8.addEventListener(MouseEvent.CLICK, CGame.GetInstance().tambahwaktuoven);
}
function frame9(){
}
}
}//package Muffinlicious_fla
Section 42
//oven10_burn_gosong_237 (Muffinlicious_fla.oven10_burn_gosong_237)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class oven10_burn_gosong_237 extends MovieClip {
public var __id33_:LocalizedTextField;
public var __id32_:LocalizedTextField;
public function oven10_burn_gosong_237(){
__setProp___id32__oven10_burn_gosong_Layer1_0();
__setProp___id33__oven10_burn_gosong_Layer1_0();
}
function __setProp___id33__oven10_burn_gosong_Layer1_0(){
try {
__id33_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id33_.text = "{lbMinutes}";
__id33_.textColor = 7438183;
__id33_.textSize = 7;
__id33_.bold = false;
__id33_.disableWordwrap = false;
__id33_.embedFonts = true;
__id33_.font = "Arial";
__id33_.hAlign = "center";
__id33_.multiline = true;
__id33_.vAlign = "middle";
__id33_.antiAliasType = "advanced";
__id33_.glowBlur = 3;
__id33_.glowColor = 12430502;
__id33_.useGlowFilter = false;
__id33_.glowQuality = 1;
__id33_.glowStrength = 5;
__id33_.gridFitType = "pixel";
__id33_.italic = false;
__id33_.selectable = false;
__id33_.underline = false;
try {
__id33_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id32__oven10_burn_gosong_Layer1_0(){
try {
__id32_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id32_.text = "{lbOven3}";
__id32_.textColor = 13116198;
__id32_.textSize = 11;
__id32_.bold = false;
__id32_.disableWordwrap = false;
__id32_.embedFonts = true;
__id32_.font = "Adlib";
__id32_.hAlign = "center";
__id32_.multiline = true;
__id32_.vAlign = "middle";
__id32_.antiAliasType = "advanced";
__id32_.glowBlur = 3;
__id32_.glowColor = 12430502;
__id32_.useGlowFilter = false;
__id32_.glowQuality = 1;
__id32_.glowStrength = 5;
__id32_.gridFitType = "pixel";
__id32_.italic = false;
__id32_.selectable = false;
__id32_.underline = false;
try {
__id32_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 43
//oven1copy_210 (Muffinlicious_fla.oven1copy_210)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class oven1copy_210 extends MovieClip {
public var __id51_:LocalizedTextField;
public var __id50_:LocalizedTextField;
public var klikoven1:MovieClip;
public function oven1copy_210(){
__setProp___id50__oven1copy_Layer1_0();
__setProp___id51__oven1copy_Layer1_0();
}
function __setProp___id50__oven1copy_Layer1_0(){
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{lbOven}";
__id50_.textColor = 0xFFFFFF;
__id50_.textSize = 11;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Adlib";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "middle";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 3;
__id50_.glowColor = 12430502;
__id50_.useGlowFilter = false;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id51__oven1copy_Layer1_0(){
try {
__id51_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id51_.text = "{lbMinutes}";
__id51_.textColor = 7438183;
__id51_.textSize = 7;
__id51_.bold = false;
__id51_.disableWordwrap = false;
__id51_.embedFonts = true;
__id51_.font = "Arial";
__id51_.hAlign = "center";
__id51_.multiline = true;
__id51_.vAlign = "middle";
__id51_.antiAliasType = "advanced";
__id51_.glowBlur = 3;
__id51_.glowColor = 12430502;
__id51_.useGlowFilter = false;
__id51_.glowQuality = 1;
__id51_.glowStrength = 5;
__id51_.gridFitType = "pixel";
__id51_.italic = false;
__id51_.selectable = false;
__id51_.underline = false;
try {
__id51_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 44
//oven2_213 (Muffinlicious_fla.oven2_213)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class oven2_213 extends MovieClip {
public var __id48_:LocalizedTextField;
public var klikoven2:MovieClip;
public var __id49_:LocalizedTextField;
public function oven2_213(){
__setProp___id48__oven2_Layer1_0();
__setProp___id49__oven2_Layer1_0();
}
function __setProp___id49__oven2_Layer1_0(){
try {
__id49_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id49_.text = "{lbMinutes}";
__id49_.textColor = 7438183;
__id49_.textSize = 7;
__id49_.bold = false;
__id49_.disableWordwrap = false;
__id49_.embedFonts = true;
__id49_.font = "Arial";
__id49_.hAlign = "center";
__id49_.multiline = true;
__id49_.vAlign = "middle";
__id49_.antiAliasType = "advanced";
__id49_.glowBlur = 3;
__id49_.glowColor = 12430502;
__id49_.useGlowFilter = false;
__id49_.glowQuality = 1;
__id49_.glowStrength = 5;
__id49_.gridFitType = "pixel";
__id49_.italic = false;
__id49_.selectable = false;
__id49_.underline = false;
try {
__id49_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id48__oven2_Layer1_0(){
try {
__id48_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id48_.text = "{lbOven}";
__id48_.textColor = 0xFFFFFF;
__id48_.textSize = 11;
__id48_.bold = false;
__id48_.disableWordwrap = false;
__id48_.embedFonts = true;
__id48_.font = "Adlib";
__id48_.hAlign = "center";
__id48_.multiline = true;
__id48_.vAlign = "middle";
__id48_.antiAliasType = "advanced";
__id48_.glowBlur = 3;
__id48_.glowColor = 12430502;
__id48_.useGlowFilter = false;
__id48_.glowQuality = 1;
__id48_.glowStrength = 5;
__id48_.gridFitType = "pixel";
__id48_.italic = false;
__id48_.selectable = false;
__id48_.underline = false;
try {
__id48_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 45
//oven3_216 (Muffinlicious_fla.oven3_216)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class oven3_216 extends MovieClip {
public var klikoven3:MovieClip;
public var __id47_:LocalizedTextField;
public var __id46_:LocalizedTextField;
public function oven3_216(){
__setProp___id46__oven3_Layer1_0();
__setProp___id47__oven3_Layer1_0();
}
function __setProp___id47__oven3_Layer1_0(){
try {
__id47_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id47_.text = "{lbMinutes}";
__id47_.textColor = 7438183;
__id47_.textSize = 7;
__id47_.bold = false;
__id47_.disableWordwrap = false;
__id47_.embedFonts = true;
__id47_.font = "Arial";
__id47_.hAlign = "center";
__id47_.multiline = true;
__id47_.vAlign = "middle";
__id47_.antiAliasType = "advanced";
__id47_.glowBlur = 3;
__id47_.glowColor = 12430502;
__id47_.useGlowFilter = false;
__id47_.glowQuality = 1;
__id47_.glowStrength = 5;
__id47_.gridFitType = "pixel";
__id47_.italic = false;
__id47_.selectable = false;
__id47_.underline = false;
try {
__id47_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id46__oven3_Layer1_0(){
try {
__id46_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id46_.text = "{lbOven}";
__id46_.textColor = 0xFFFFFF;
__id46_.textSize = 11;
__id46_.bold = false;
__id46_.disableWordwrap = false;
__id46_.embedFonts = true;
__id46_.font = "Adlib";
__id46_.hAlign = "center";
__id46_.multiline = true;
__id46_.vAlign = "middle";
__id46_.antiAliasType = "advanced";
__id46_.glowBlur = 3;
__id46_.glowColor = 12430502;
__id46_.useGlowFilter = false;
__id46_.glowQuality = 1;
__id46_.glowStrength = 5;
__id46_.gridFitType = "pixel";
__id46_.italic = false;
__id46_.selectable = false;
__id46_.underline = false;
try {
__id46_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 46
//oven4_219 (Muffinlicious_fla.oven4_219)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class oven4_219 extends MovieClip {
public var klikoven4:MovieClip;
public var __id45_:LocalizedTextField;
public var __id44_:LocalizedTextField;
public function oven4_219(){
__setProp___id44__oven4_Layer1_0();
__setProp___id45__oven4_Layer1_0();
}
function __setProp___id44__oven4_Layer1_0(){
try {
__id44_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id44_.text = "{lbOven}";
__id44_.textColor = 0xFFFFFF;
__id44_.textSize = 11;
__id44_.bold = false;
__id44_.disableWordwrap = false;
__id44_.embedFonts = true;
__id44_.font = "Adlib";
__id44_.hAlign = "center";
__id44_.multiline = true;
__id44_.vAlign = "middle";
__id44_.antiAliasType = "advanced";
__id44_.glowBlur = 3;
__id44_.glowColor = 12430502;
__id44_.useGlowFilter = false;
__id44_.glowQuality = 1;
__id44_.glowStrength = 5;
__id44_.gridFitType = "pixel";
__id44_.italic = false;
__id44_.selectable = false;
__id44_.underline = false;
try {
__id44_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id45__oven4_Layer1_0(){
try {
__id45_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id45_.text = "{lbMinutes}";
__id45_.textColor = 7438183;
__id45_.textSize = 7;
__id45_.bold = false;
__id45_.disableWordwrap = false;
__id45_.embedFonts = true;
__id45_.font = "Arial";
__id45_.hAlign = "center";
__id45_.multiline = true;
__id45_.vAlign = "middle";
__id45_.antiAliasType = "advanced";
__id45_.glowBlur = 3;
__id45_.glowColor = 12430502;
__id45_.useGlowFilter = false;
__id45_.glowQuality = 1;
__id45_.glowStrength = 5;
__id45_.gridFitType = "pixel";
__id45_.italic = false;
__id45_.selectable = false;
__id45_.underline = false;
try {
__id45_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 47
//oven5_222 (Muffinlicious_fla.oven5_222)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class oven5_222 extends MovieClip {
public var klikoven5:MovieClip;
public var __id43_:LocalizedTextField;
public var __id42_:LocalizedTextField;
public function oven5_222(){
__setProp___id42__oven5_Layer1_0();
__setProp___id43__oven5_Layer1_0();
}
function __setProp___id42__oven5_Layer1_0(){
try {
__id42_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id42_.text = "{lbOven}";
__id42_.textColor = 0xFFFFFF;
__id42_.textSize = 11;
__id42_.bold = false;
__id42_.disableWordwrap = false;
__id42_.embedFonts = true;
__id42_.font = "Adlib";
__id42_.hAlign = "center";
__id42_.multiline = true;
__id42_.vAlign = "middle";
__id42_.antiAliasType = "advanced";
__id42_.glowBlur = 3;
__id42_.glowColor = 12430502;
__id42_.useGlowFilter = false;
__id42_.glowQuality = 1;
__id42_.glowStrength = 5;
__id42_.gridFitType = "pixel";
__id42_.italic = false;
__id42_.selectable = false;
__id42_.underline = false;
try {
__id42_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id43__oven5_Layer1_0(){
try {
__id43_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id43_.text = "{lbMinutes}";
__id43_.textColor = 7438183;
__id43_.textSize = 7;
__id43_.bold = false;
__id43_.disableWordwrap = false;
__id43_.embedFonts = true;
__id43_.font = "Arial";
__id43_.hAlign = "center";
__id43_.multiline = true;
__id43_.vAlign = "middle";
__id43_.antiAliasType = "advanced";
__id43_.glowBlur = 3;
__id43_.glowColor = 12430502;
__id43_.useGlowFilter = false;
__id43_.glowQuality = 1;
__id43_.glowStrength = 5;
__id43_.gridFitType = "pixel";
__id43_.italic = false;
__id43_.selectable = false;
__id43_.underline = false;
try {
__id43_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 48
//oven6_225 (Muffinlicious_fla.oven6_225)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class oven6_225 extends MovieClip {
public var klikoven6:MovieClip;
public var __id41_:LocalizedTextField;
public var __id40_:LocalizedTextField;
public function oven6_225(){
__setProp___id40__oven6_Layer1_0();
__setProp___id41__oven6_Layer1_0();
}
function __setProp___id40__oven6_Layer1_0(){
try {
__id40_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id40_.text = "{lbOven}";
__id40_.textColor = 0xFFFFFF;
__id40_.textSize = 11;
__id40_.bold = false;
__id40_.disableWordwrap = false;
__id40_.embedFonts = true;
__id40_.font = "Adlib";
__id40_.hAlign = "center";
__id40_.multiline = true;
__id40_.vAlign = "middle";
__id40_.antiAliasType = "advanced";
__id40_.glowBlur = 3;
__id40_.glowColor = 12430502;
__id40_.useGlowFilter = false;
__id40_.glowQuality = 1;
__id40_.glowStrength = 5;
__id40_.gridFitType = "pixel";
__id40_.italic = false;
__id40_.selectable = false;
__id40_.underline = false;
try {
__id40_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id41__oven6_Layer1_0(){
try {
__id41_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id41_.text = "{lbMinutes}";
__id41_.textColor = 7438183;
__id41_.textSize = 7;
__id41_.bold = false;
__id41_.disableWordwrap = false;
__id41_.embedFonts = true;
__id41_.font = "Arial";
__id41_.hAlign = "center";
__id41_.multiline = true;
__id41_.vAlign = "middle";
__id41_.antiAliasType = "advanced";
__id41_.glowBlur = 3;
__id41_.glowColor = 12430502;
__id41_.useGlowFilter = false;
__id41_.glowQuality = 1;
__id41_.glowStrength = 5;
__id41_.gridFitType = "pixel";
__id41_.italic = false;
__id41_.selectable = false;
__id41_.underline = false;
try {
__id41_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 49
//oven7_228 (Muffinlicious_fla.oven7_228)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class oven7_228 extends MovieClip {
public var klikoven7:MovieClip;
public var __id39_:LocalizedTextField;
public var __id38_:LocalizedTextField;
public function oven7_228(){
__setProp___id38__oven7_Layer1_0();
__setProp___id39__oven7_Layer1_0();
}
function __setProp___id38__oven7_Layer1_0(){
try {
__id38_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id38_.text = "{lbOven}";
__id38_.textColor = 0xFFFFFF;
__id38_.textSize = 11;
__id38_.bold = false;
__id38_.disableWordwrap = false;
__id38_.embedFonts = true;
__id38_.font = "Adlib";
__id38_.hAlign = "center";
__id38_.multiline = true;
__id38_.vAlign = "middle";
__id38_.antiAliasType = "advanced";
__id38_.glowBlur = 3;
__id38_.glowColor = 12430502;
__id38_.useGlowFilter = false;
__id38_.glowQuality = 1;
__id38_.glowStrength = 5;
__id38_.gridFitType = "pixel";
__id38_.italic = false;
__id38_.selectable = false;
__id38_.underline = false;
try {
__id38_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id39__oven7_Layer1_0(){
try {
__id39_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id39_.text = "{lbMinutes}";
__id39_.textColor = 7438183;
__id39_.textSize = 7;
__id39_.bold = false;
__id39_.disableWordwrap = false;
__id39_.embedFonts = true;
__id39_.font = "Arial";
__id39_.hAlign = "center";
__id39_.multiline = true;
__id39_.vAlign = "middle";
__id39_.antiAliasType = "advanced";
__id39_.glowBlur = 3;
__id39_.glowColor = 12430502;
__id39_.useGlowFilter = false;
__id39_.glowQuality = 1;
__id39_.glowStrength = 5;
__id39_.gridFitType = "pixel";
__id39_.italic = false;
__id39_.selectable = false;
__id39_.underline = false;
try {
__id39_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 50
//oven8_231 (Muffinlicious_fla.oven8_231)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class oven8_231 extends MovieClip {
public var __id37_:LocalizedTextField;
public var __id36_:LocalizedTextField;
public var klikoven8:MovieClip;
public function oven8_231(){
__setProp___id36__oven8_Layer1_0();
__setProp___id37__oven8_Layer1_0();
}
function __setProp___id37__oven8_Layer1_0(){
try {
__id37_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id37_.text = "{lbMinutes}";
__id37_.textColor = 7438183;
__id37_.textSize = 7;
__id37_.bold = false;
__id37_.disableWordwrap = false;
__id37_.embedFonts = true;
__id37_.font = "Arial";
__id37_.hAlign = "center";
__id37_.multiline = true;
__id37_.vAlign = "middle";
__id37_.antiAliasType = "advanced";
__id37_.glowBlur = 3;
__id37_.glowColor = 12430502;
__id37_.useGlowFilter = false;
__id37_.glowQuality = 1;
__id37_.glowStrength = 5;
__id37_.gridFitType = "pixel";
__id37_.italic = false;
__id37_.selectable = false;
__id37_.underline = false;
try {
__id37_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id36__oven8_Layer1_0(){
try {
__id36_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id36_.text = "{lbOven}";
__id36_.textColor = 0xFFFFFF;
__id36_.textSize = 11;
__id36_.bold = false;
__id36_.disableWordwrap = false;
__id36_.embedFonts = true;
__id36_.font = "Adlib";
__id36_.hAlign = "center";
__id36_.multiline = true;
__id36_.vAlign = "middle";
__id36_.antiAliasType = "advanced";
__id36_.glowBlur = 3;
__id36_.glowColor = 12430502;
__id36_.useGlowFilter = false;
__id36_.glowQuality = 1;
__id36_.glowStrength = 5;
__id36_.gridFitType = "pixel";
__id36_.italic = false;
__id36_.selectable = false;
__id36_.underline = false;
try {
__id36_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 51
//oven9_ready_234 (Muffinlicious_fla.oven9_ready_234)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class oven9_ready_234 extends MovieClip {
public var __id35_:LocalizedTextField;
public var __id34_:LocalizedTextField;
public var klikoven9:MovieClip;
public function oven9_ready_234(){
__setProp___id34__oven9_ready_Layer1_0();
__setProp___id35__oven9_ready_Layer1_0();
}
function __setProp___id34__oven9_ready_Layer1_0(){
try {
__id34_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id34_.text = "{lbOven2}";
__id34_.textColor = 0xFFFFFF;
__id34_.textSize = 11;
__id34_.bold = false;
__id34_.disableWordwrap = false;
__id34_.embedFonts = true;
__id34_.font = "Adlib";
__id34_.hAlign = "center";
__id34_.multiline = true;
__id34_.vAlign = "middle";
__id34_.antiAliasType = "advanced";
__id34_.glowBlur = 3;
__id34_.glowColor = 12430502;
__id34_.useGlowFilter = false;
__id34_.glowQuality = 1;
__id34_.glowStrength = 5;
__id34_.gridFitType = "pixel";
__id34_.italic = false;
__id34_.selectable = false;
__id34_.underline = false;
try {
__id34_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id35__oven9_ready_Layer1_0(){
try {
__id35_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id35_.text = "{lbMinutes}";
__id35_.textColor = 7438183;
__id35_.textSize = 7;
__id35_.bold = false;
__id35_.disableWordwrap = false;
__id35_.embedFonts = true;
__id35_.font = "Arial";
__id35_.hAlign = "center";
__id35_.multiline = true;
__id35_.vAlign = "middle";
__id35_.antiAliasType = "advanced";
__id35_.glowBlur = 3;
__id35_.glowColor = 12430502;
__id35_.useGlowFilter = false;
__id35_.glowQuality = 1;
__id35_.glowStrength = 5;
__id35_.gridFitType = "pixel";
__id35_.italic = false;
__id35_.selectable = false;
__id35_.underline = false;
try {
__id35_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 52
//QualityBtn_411 (Muffinlicious_fla.QualityBtn_411)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class QualityBtn_411 extends MovieClip {
public function QualityBtn_411(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Muffinlicious_fla
Section 53
//SFXBtn_412 (Muffinlicious_fla.SFXBtn_412)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class SFXBtn_412 extends MovieClip {
public function SFXBtn_412(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
function frame3(){
stop();
}
function frame4(){
stop();
}
}
}//package Muffinlicious_fla
Section 54
//susu_97 (Muffinlicious_fla.susu_97)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class susu_97 extends MovieClip {
public var __id65_:LocalizedTextField;
public function susu_97(){
__setProp___id65__susu_Layer1_0();
}
function __setProp___id65__susu_Layer1_0(){
try {
__id65_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id65_.text = "{lbMilk}";
__id65_.textColor = 0xFFFFFF;
__id65_.textSize = 40;
__id65_.bold = false;
__id65_.disableWordwrap = false;
__id65_.embedFonts = true;
__id65_.font = "Gabriola";
__id65_.hAlign = "center";
__id65_.multiline = false;
__id65_.vAlign = "middle";
__id65_.antiAliasType = "advanced";
__id65_.glowBlur = 3;
__id65_.glowColor = 12430502;
__id65_.useGlowFilter = false;
__id65_.glowQuality = 1;
__id65_.glowStrength = 5;
__id65_.gridFitType = "pixel";
__id65_.italic = false;
__id65_.selectable = false;
__id65_.underline = false;
try {
__id65_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 55
//susu_masuk_152 (Muffinlicious_fla.susu_masuk_152)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class susu_masuk_152 extends MovieClip {
public function susu_masuk_152(){
addFrameScript(60, frame61);
}
function frame61(){
CGame.GetInstance().hidupkanevent();
gotoAndStop(1);
}
}
}//package Muffinlicious_fla
Section 56
//tombol_backtomainmenu_309 (Muffinlicious_fla.tombol_backtomainmenu_309)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_backtomainmenu_309 extends MovieClip {
public var __id25_:LocalizedTextField;
public function tombol_backtomainmenu_309(){
__setProp___id25__tombol_backtomainmenu_Layer1_0();
}
function __setProp___id25__tombol_backtomainmenu_Layer1_0(){
try {
__id25_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id25_.text = "{lbBack}";
__id25_.textColor = 1968914;
__id25_.textSize = 16;
__id25_.bold = false;
__id25_.disableWordwrap = false;
__id25_.embedFonts = true;
__id25_.font = "Arial";
__id25_.hAlign = "center";
__id25_.multiline = true;
__id25_.vAlign = "middle";
__id25_.antiAliasType = "advanced";
__id25_.glowBlur = 3;
__id25_.glowColor = 12430502;
__id25_.useGlowFilter = false;
__id25_.glowQuality = 1;
__id25_.glowStrength = 5;
__id25_.gridFitType = "pixel";
__id25_.italic = false;
__id25_.selectable = false;
__id25_.underline = false;
try {
__id25_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 57
//tombol_berry_325 (Muffinlicious_fla.tombol_berry_325)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_berry_325 extends MovieClip {
public var __id12_:LocalizedTextField;
public function tombol_berry_325(){
__setProp___id12__tombol_berry_Layer1_0();
}
function __setProp___id12__tombol_berry_Layer1_0(){
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.text = "{lbBerry}";
__id12_.textColor = 8088633;
__id12_.textSize = 10;
__id12_.bold = false;
__id12_.disableWordwrap = false;
__id12_.embedFonts = true;
__id12_.font = "Adlib";
__id12_.hAlign = "center";
__id12_.multiline = false;
__id12_.vAlign = "middle";
__id12_.antiAliasType = "advanced";
__id12_.glowBlur = 3;
__id12_.glowColor = 12430502;
__id12_.useGlowFilter = false;
__id12_.glowQuality = 1;
__id12_.glowStrength = 5;
__id12_.gridFitType = "pixel";
__id12_.italic = false;
__id12_.selectable = false;
__id12_.underline = false;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 58
//tombol_chocolate_72 (Muffinlicious_fla.tombol_chocolate_72)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_chocolate_72 extends MovieClip {
public var __id71_:LocalizedTextField;
public function tombol_chocolate_72(){
__setProp___id71__tombol_chocolate_Layer1_0();
}
function __setProp___id71__tombol_chocolate_Layer1_0(){
try {
__id71_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id71_.text = "{lbChocolate}";
__id71_.textColor = 1968914;
__id71_.textSize = 18;
__id71_.bold = false;
__id71_.disableWordwrap = false;
__id71_.embedFonts = true;
__id71_.font = "Arial";
__id71_.hAlign = "center";
__id71_.multiline = false;
__id71_.vAlign = "middle";
__id71_.antiAliasType = "advanced";
__id71_.glowBlur = 3;
__id71_.glowColor = 12430502;
__id71_.useGlowFilter = false;
__id71_.glowQuality = 1;
__id71_.glowStrength = 5;
__id71_.gridFitType = "pixel";
__id71_.italic = false;
__id71_.selectable = false;
__id71_.underline = false;
try {
__id71_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 59
//tombol_finish_394 (Muffinlicious_fla.tombol_finish_394)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_finish_394 extends MovieClip {
public var __id10_:LocalizedTextField;
public function tombol_finish_394(){
__setProp___id10__tombol_finish_Layer1_0();
}
function __setProp___id10__tombol_finish_Layer1_0(){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.text = "{lbFinish}";
__id10_.textColor = 1968914;
__id10_.textSize = 16;
__id10_.bold = false;
__id10_.disableWordwrap = false;
__id10_.embedFonts = true;
__id10_.font = "Arial";
__id10_.hAlign = "center";
__id10_.multiline = true;
__id10_.vAlign = "middle";
__id10_.antiAliasType = "advanced";
__id10_.glowBlur = 3;
__id10_.glowColor = 12430502;
__id10_.useGlowFilter = false;
__id10_.glowQuality = 1;
__id10_.glowStrength = 5;
__id10_.gridFitType = "pixel";
__id10_.italic = false;
__id10_.selectable = false;
__id10_.underline = false;
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 60
//tombol_finishcopy_400 (Muffinlicious_fla.tombol_finishcopy_400)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_finishcopy_400 extends MovieClip {
public var __id9_:LocalizedTextField;
public function tombol_finishcopy_400(){
__setProp___id9__tombol_finishcopy_Layer1_0();
}
function __setProp___id9__tombol_finishcopy_Layer1_0(){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.text = "{lbStart}";
__id9_.textColor = 2034707;
__id9_.textSize = 20;
__id9_.bold = false;
__id9_.disableWordwrap = false;
__id9_.embedFonts = true;
__id9_.font = "Adlib";
__id9_.hAlign = "center";
__id9_.multiline = true;
__id9_.vAlign = "middle";
__id9_.antiAliasType = "advanced";
__id9_.glowBlur = 3;
__id9_.glowColor = 12430502;
__id9_.useGlowFilter = false;
__id9_.glowQuality = 1;
__id9_.glowStrength = 5;
__id9_.gridFitType = "pixel";
__id9_.italic = false;
__id9_.selectable = false;
__id9_.underline = false;
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 61
//tombol_lemon_324 (Muffinlicious_fla.tombol_lemon_324)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_lemon_324 extends MovieClip {
public var __id13_:LocalizedTextField;
public function tombol_lemon_324(){
__setProp___id13__tombol_lemon_Layer1_0();
}
function __setProp___id13__tombol_lemon_Layer1_0(){
try {
__id13_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id13_.text = "{lbLemon}";
__id13_.textColor = 8088633;
__id13_.textSize = 10;
__id13_.bold = false;
__id13_.disableWordwrap = false;
__id13_.embedFonts = true;
__id13_.font = "Adlib";
__id13_.hAlign = "center";
__id13_.multiline = false;
__id13_.vAlign = "middle";
__id13_.antiAliasType = "advanced";
__id13_.glowBlur = 3;
__id13_.glowColor = 12430502;
__id13_.useGlowFilter = false;
__id13_.glowQuality = 1;
__id13_.glowStrength = 5;
__id13_.gridFitType = "pixel";
__id13_.italic = false;
__id13_.selectable = false;
__id13_.underline = false;
try {
__id13_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 62
//tombol_mocha_323 (Muffinlicious_fla.tombol_mocha_323)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_mocha_323 extends MovieClip {
public var __id14_:LocalizedTextField;
public function tombol_mocha_323(){
__setProp___id14__tombol_mocha_Layer1_0();
}
function __setProp___id14__tombol_mocha_Layer1_0(){
try {
__id14_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id14_.text = "{lbMocha}";
__id14_.textColor = 8088633;
__id14_.textSize = 10;
__id14_.bold = false;
__id14_.disableWordwrap = false;
__id14_.embedFonts = true;
__id14_.font = "Adlib";
__id14_.hAlign = "center";
__id14_.multiline = false;
__id14_.vAlign = "middle";
__id14_.antiAliasType = "advanced";
__id14_.glowBlur = 3;
__id14_.glowColor = 12430502;
__id14_.useGlowFilter = false;
__id14_.glowQuality = 1;
__id14_.glowStrength = 5;
__id14_.gridFitType = "pixel";
__id14_.italic = false;
__id14_.selectable = false;
__id14_.underline = false;
try {
__id14_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 63
//tombol_play_418 (Muffinlicious_fla.tombol_play_418)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_play_418 extends MovieClip {
public var __id1_:LocalizedTextField;
public function tombol_play_418(){
__setProp___id1__tombol_play_Layer1_0();
}
function __setProp___id1__tombol_play_Layer1_0(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{lbPlay}";
__id1_.textColor = 3419182;
__id1_.textSize = 25;
__id1_.bold = false;
__id1_.disableWordwrap = false;
__id1_.embedFonts = true;
__id1_.font = "Arial";
__id1_.hAlign = "center";
__id1_.multiline = false;
__id1_.vAlign = "top";
__id1_.antiAliasType = "advanced";
__id1_.glowBlur = 3;
__id1_.glowColor = 0;
__id1_.useGlowFilter = false;
__id1_.glowQuality = 1;
__id1_.glowStrength = 5;
__id1_.gridFitType = "pixel";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 64
//tombol_playagain_308 (Muffinlicious_fla.tombol_playagain_308)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_playagain_308 extends MovieClip {
public var __id26_:LocalizedTextField;
public function tombol_playagain_308(){
__setProp___id26__tombol_playagain_Layer1_0();
}
function __setProp___id26__tombol_playagain_Layer1_0(){
try {
__id26_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id26_.text = "{lbPlayAgain}";
__id26_.textColor = 1968914;
__id26_.textSize = 16;
__id26_.bold = false;
__id26_.disableWordwrap = false;
__id26_.embedFonts = true;
__id26_.font = "Arial";
__id26_.hAlign = "center";
__id26_.multiline = true;
__id26_.vAlign = "middle";
__id26_.antiAliasType = "advanced";
__id26_.glowBlur = 3;
__id26_.glowColor = 12430502;
__id26_.useGlowFilter = false;
__id26_.glowQuality = 1;
__id26_.glowStrength = 5;
__id26_.gridFitType = "pixel";
__id26_.italic = false;
__id26_.selectable = false;
__id26_.underline = false;
try {
__id26_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 65
//tombol_playmoregames_307 (Muffinlicious_fla.tombol_playmoregames_307)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_playmoregames_307 extends MovieClip {
public var __id27_:LocalizedTextField;
public function tombol_playmoregames_307(){
__setProp___id27__tombol_playmoregames_Layer1_0();
}
function __setProp___id27__tombol_playmoregames_Layer1_0(){
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{lbPlayMore}";
__id27_.textColor = 1968914;
__id27_.textSize = 16;
__id27_.bold = false;
__id27_.disableWordwrap = false;
__id27_.embedFonts = true;
__id27_.font = "Arial";
__id27_.hAlign = "center";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "advanced";
__id27_.glowBlur = 3;
__id27_.glowColor = 12430502;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 1;
__id27_.glowStrength = 5;
__id27_.gridFitType = "pixel";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 66
//tombol_playmoregames_420 (Muffinlicious_fla.tombol_playmoregames_420)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_playmoregames_420 extends MovieClip {
public var __id0_:LocalizedTextField;
public function tombol_playmoregames_420(){
__setProp___id0__tombol_playmoregames_Layer1_0();
}
function __setProp___id0__tombol_playmoregames_Layer1_0(){
try {
__id0_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id0_.text = "{lbPlayMore}";
__id0_.textColor = 3419182;
__id0_.textSize = 13;
__id0_.bold = false;
__id0_.disableWordwrap = false;
__id0_.embedFonts = true;
__id0_.font = "Arial";
__id0_.hAlign = "center";
__id0_.multiline = true;
__id0_.vAlign = "middle";
__id0_.antiAliasType = "advanced";
__id0_.glowBlur = 3;
__id0_.glowColor = 0;
__id0_.useGlowFilter = false;
__id0_.glowQuality = 1;
__id0_.glowStrength = 5;
__id0_.gridFitType = "pixel";
__id0_.italic = false;
__id0_.selectable = false;
__id0_.underline = false;
try {
__id0_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 67
//tombol_strawberry_74 (Muffinlicious_fla.tombol_strawberry_74)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_strawberry_74 extends MovieClip {
public var __id69_:LocalizedTextField;
public function tombol_strawberry_74(){
__setProp___id69__tombol_strawberry_Layer1_0();
}
function __setProp___id69__tombol_strawberry_Layer1_0(){
try {
__id69_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id69_.text = "{lbStrawberry}";
__id69_.textColor = 1968914;
__id69_.textSize = 18;
__id69_.bold = false;
__id69_.disableWordwrap = false;
__id69_.embedFonts = true;
__id69_.font = "Arial";
__id69_.hAlign = "center";
__id69_.multiline = false;
__id69_.vAlign = "middle";
__id69_.antiAliasType = "advanced";
__id69_.glowBlur = 3;
__id69_.glowColor = 12430502;
__id69_.useGlowFilter = false;
__id69_.glowQuality = 1;
__id69_.glowStrength = 5;
__id69_.gridFitType = "pixel";
__id69_.italic = false;
__id69_.selectable = false;
__id69_.underline = false;
try {
__id69_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 68
//tombol_vanilla_73 (Muffinlicious_fla.tombol_vanilla_73)
package Muffinlicious_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class tombol_vanilla_73 extends MovieClip {
public var __id70_:LocalizedTextField;
public function tombol_vanilla_73(){
__setProp___id70__tombol_vanilla_Layer1_0();
}
function __setProp___id70__tombol_vanilla_Layer1_0(){
try {
__id70_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id70_.text = "{lbVanilla}";
__id70_.textColor = 1968914;
__id70_.textSize = 18;
__id70_.bold = false;
__id70_.disableWordwrap = false;
__id70_.embedFonts = true;
__id70_.font = "Arial";
__id70_.hAlign = "center";
__id70_.multiline = false;
__id70_.vAlign = "middle";
__id70_.antiAliasType = "advanced";
__id70_.glowBlur = 3;
__id70_.glowColor = 12430502;
__id70_.useGlowFilter = false;
__id70_.glowQuality = 1;
__id70_.glowStrength = 5;
__id70_.gridFitType = "pixel";
__id70_.italic = false;
__id70_.selectable = false;
__id70_.underline = false;
try {
__id70_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Muffinlicious_fla
Section 69
//Brand (spill.localisation.Brand)
package spill.localisation {
import flash.xml.*;
public class Brand {
public var domain:String;
public var emailPage:String;
public var name:String;
public var site_id:uint;
public var isExternal:Boolean;// = false
public var id:Number;
public var hostingDomain:String;// = ""
public var preferedLanguage:String;// = ""
public var moreLink:String;// = ""
public var hasSendToFriendLink:Boolean;// = true
public var emailLink:String;// = "game"
public var portalGroup:uint;
public var useGoogleAnalitics:Boolean;// = true
private static const topLevelDoubles:String = (((((((((((((("ac.cn,ac.jp,ac.uk,ad.jp,adm.br,adv.br,agr.br," + "ah.cn,am.br,arq.br,art.br,asn.au,ato.br,av.tr,bel.tr,bio.br,biz.tr,bj.cn,bmd.br,") + "cim.br,cng.br,cnt.br,co.at,co.jp,co.uk,com.au,com.br,com.cn,com.eg,com.hk,com.mx,") + "com.ru,com.tr,com.tw,conf.au,cq.cn,csiro.au,dr.tr,ecn.br,edu.au,edu.br,edu.tr,") + "emu.id.au,eng.br,esp.br,etc.br,eti.br,eun.eg,far.br,fj.cn,fm.br,fnd.br,fot.br,") + "fst.br,g12.br,gb.com,gb.net,gd.cn,gen.tr,ggf.br,gob.mx,gov.au,gov.br,gov.cn,") + "gov.hk,gov.tr,gr.jp,gs.cn,gx.cn,gz.cn,ha.cn,hb.cn,he.cn,hi.cn,hk.cn,hl.cn,hn.cn,") + "id.au,idv.tw,imb.br,ind.br,inf.br,info.au,info.tr,jl.cn,jor.br,js.cn,jx.cn,k12.tr,") + "lel.br,ln.cn,ltd.uk,mat.br,me.uk,med.br,mil.br,mil.tr,mo.cn,mus.br,name.tr,ne.jp,") + "net.au,net.br,net.cn,net.eg,net.hk,net.lu,net.mx,net.ru,net.tr,net.tw,net.uk,") + "nm.cn,no.com,nom.br,not.br,ntr.br,nx.cn,odo.br,oop.br,or.at,or.jp,org.au,org.br,") + "org.cn,org.hk,org.lu,org.ru,org.tr,org.tw,org.uk,plc.uk,pol.tr,pp.ru,ppg.br,pro.br,") + "psc.br,psi.br,qh.cn,qsl.br,rec.br,sc.cn,sd.cn,se.com,se.net,sh.cn,slg.br,sn.cn,") + "srv.br,sx.cn,tel.tr,tj.cn,tmp.br,trd.br,tur.br,tv.br,tw.cn,uk.com,uk.net,vet.br,") + "wattle.id.au,web.tr,xj.cn,xz.cn,yn.cn,zj.cn,zlg.br,co.nr,co.nz,com.fr,com.ph,");
private function get utm_campaign():String{
if (isExternal){
return (("utm_campaign=" + hostingDomain));
};
return ("");
}
public function exportXML():XML{
var _local3:XML;
var _local1:XML = <portal/>
;
_local1.@id = site_id;
_local1.@language = preferedLanguage;
_local1.@channel = portalGroup;
var _local2:XML = <domain/>
;
_local2.appendChild(new XMLNode(3, domain));
_local1.appendChild(_local2);
if (moreLink){
_local3 = <more_games_path/>
;
_local3.appendChild(new XMLNode(3, moreLink));
_local1.appendChild(_local3);
};
_local2 = <game_path/>
;
_local2.appendChild(new XMLNode(3, emailLink));
_local1.appendChild(_local2);
if (!useGoogleAnalitics){
_local1.attributes.noGoogleAnalitics = true;
};
if (!hasSendToFriendLink){
_local1.attributes.noSendToFriendLink = true;
};
return (_local1);
}
public function getPromotionLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String="", _arg5:String=""):String{
var _local6:String = ("http://" + domain);
_local6 = (_local6 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local6 = (_local6 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local6 = (_local6 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local6 = (_local6 + ("&utm_source=" + _arg4));
if (((!((_arg5 == ""))) && (!((_arg5 == null))))){
_local6 = (_local6 + ("&utm_content=" + _arg5));
};
};
return (_local6);
}
private function get utm_source():String{
return (("utm_source=brandedgames_" + (isExternal) ? "external" : "internal"));
}
public function getMoreGamesLink(_arg1:String, _arg2:Boolean, _arg3:String="", _arg4:String=""):String{
var _local5:String = ("http://" + domain);
_local5 = (_local5 + ("/" + moreLink));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg2) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg3 = stripSubDomain(_arg3);
if (_arg3 == "localhost"){
_arg3 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg3));
if (((!((_arg4 == ""))) && (!((_arg4 == null))))){
_local5 = (_local5 + ("&utm_content=" + _arg4));
};
};
return (_local5);
}
public function get backgroundColor():uint{
return (PortalGroup.backgroundColors[portalGroup]);
}
private function get utm_term():String{
return ("utm_term=");
}
public function importXML(_arg1:XMLNode):void{
}
public function getSendToFriendLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String=""):String{
if (!hasSendToFriendLink){
return (getMoreGamesLink(_arg1, _arg3));
};
var _local5:String = ("http://" + domain);
_local5 = (_local5 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg4));
_local5 = (_local5 + "&utm_content=send_to_friend");
};
return (_local5);
}
private static function stripSubDomain(_arg1:String):String{
if (!_arg1){
return ("");
};
var _local2:Array = _arg1.split(".");
if (_local2.length <= 2){
return (_arg1);
};
_local2 = _local2.reverse();
if (topLevelDoubles.indexOf((((_local2[1] + ".") + _local2[0]) + ",")) > 0){
return (((((_local2[2] + ".") + _local2[1]) + ".") + _local2[0]));
};
return (((_local2[1] + ".") + _local2[0]));
}
}
}//package spill.localisation
Section 70
//Branding (spill.localisation.Branding)
package spill.localisation {
import flash.display.*;
import flash.text.*;
public class Branding {
public static function traceAllBrands():void{
trace(outputAllBrands());
}
public static function outputAllBrands():String{
var _local3:Brand;
var _local1:Array = Brandings.getBrandsArray();
var _local2 = "";
for each (_local3 in _local1) {
_local2 = (_local2 + (_local3.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain) + "\n"));
};
return (_local2);
}
private static function replaceFn():String{
var _local2:String = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
public static function initTextField(_arg1:TextField):void{
var _local2:TextFormat;
trace(_arg1.text);
_arg1.text = _arg1.text.replace(/{([^{}]*)}/g, replaceFn);
trace(_arg1.text);
_arg1.embedFonts = currentLanguage.embedFonts;
if (currentLanguage.forceFont != ""){
_local2 = new TextFormat();
_local2.font = currentLanguage.forceFont;
_arg1.setTextFormat(_local2);
};
}
public static function Init(_arg1:String, _arg2:int, _arg3:String, _arg4:Sprite, _arg5:Boolean=false){
SpilGame.initialize(_arg1, _arg2, _arg3, _arg4, _arg5);
}
}
}//package spill.localisation
Section 71
//BrandingLogo (spill.localisation.BrandingLogo)
package spill.localisation {
import flash.display.*;
import flash.events.*;
public class BrandingLogo extends MovieClip {
public function BrandingLogo(){
addFrameScript(0, frame1);
super();
stop();
mouseEnabled = false;
mouseChildren = false;
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
if (stage){
added();
};
brandingChanged();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("brandingChanged", brandingChanged, false, 0, true);
brandingChanged();
}
private function brandingChanged(_arg1:Event=null):void{
if (SpilGame.currentBranding){
gotoAndStop(SpilGame.currentBranding.domain);
};
}
function frame1(){
stop();
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("brandingChanged", brandingChanged);
}
}
}//package spill.localisation
Section 72
//Brandings (spill.localisation.Brandings)
package spill.localisation {
public class Brandings {
private static var brands_by_id:Object = new Object();
private static var brands_by_domain:Object = new Object();
public static function getBrandByID(_arg1:Number):Brand{
return (brands_by_id[_arg1]);
}
public static function getBrandsArray():Array{
var _local2:Brand;
var _local1:Array = new Array();
for each (_local2 in brands_by_domain) {
_local1.push(_local2);
};
return (_local1);
}
private static function addBrand(_arg1:Brand):Brand{
if (brands_by_domain[_arg1.domain]){
trace(("ERROR: Attempting to add duplicate brand by domain: " + _arg1.domain));
} else {
brands_by_domain[_arg1.domain] = _arg1;
};
if (brands_by_id[_arg1.site_id]){
trace(("ERROR: Attempting to add duplicate brand by id: " + _arg1.site_id));
} else {
brands_by_id[_arg1.site_id] = _arg1;
};
return (_arg1);
}
public static function initialize():void{
var _local1:Brand;
_local1 = new Brand();
_local1.site_id = 79;
_local1.domain = "www.agame.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.TWEEN;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 88;
_local1.domain = "www.gamesgames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 90;
_local1.domain = "www.girlsgogames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 45;
_local1.domain = "www.a10.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.TEEN;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 92;
_local1.domain = "www.games.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 107;
_local1.domain = "www.agame.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.TWEEN;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 102;
_local1.domain = "www.girlsgogames.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 2;
_local1.domain = "www.game.com.cn";
_local1.moreLink = "moregames/";
_local1.preferedLanguage = "cn";
_local1.portalGroup = PortalGroup.NONE;
_local1.useGoogleAnalitics = false;
_local1.hasSendToFriendLink = false;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 25;
_local1.domain = "www.spel.nl";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 1;
_local1.domain = "www.spelletjes.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 93;
_local1.domain = "www.girlsgogames.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 12;
_local1.domain = "www.jeu.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 95;
_local1.domain = "www.girlsgogames.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 11;
_local1.domain = "www.jeux.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 26;
_local1.domain = "www.spielen.com";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 94;
_local1.domain = "www.girlsgogames.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 5;
_local1.domain = "www.jetztspielen.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 109;
_local1.domain = "www.minigry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 16;
_local1.domain = "www.gry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 98;
_local1.domain = "www.girlsgogames.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 108;
_local1.domain = "www.spel.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 100;
_local1.domain = "www.girlsgogames.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 44;
_local1.domain = "www.spela.se";
_local1.emailLink = "spel_";
_local1.preferedLanguage = "se";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 106;
_local1.domain = "www.giocaregratis.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 15;
_local1.domain = "www.gioco.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 99;
_local1.domain = "www.girlsgogames.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 97;
_local1.domain = "www.zapjuegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 86;
_local1.domain = "www.juegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 96;
_local1.domain = "www.juegosdechicas.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 122;
_local1.domain = "www.girlsgogames.es";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 91;
_local1.domain = "www.clickjogos.com";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 101;
_local1.domain = "www.girlsgogames.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 50;
_local1.domain = "www.ojogos.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 55;
_local1.domain = "www.games.co.id";
_local1.emailLink = "permainanme";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 105;
_local1.domain = "www.flashgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 104;
_local1.domain = "www.girlsgogames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 103;
_local1.domain = "www.ourgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 24;
_local1.domain = "www.game.co.in";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "in";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 87;
_local1.domain = "www.ojogos.pt";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pt";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 120;
_local1.domain = "www.egames.jp";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TWEEN;
_local1.preferedLanguage = "jp";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 121;
_local1.domain = "www.dailygame.com";
_local1.emailLink = "/game/";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 123;
_local1.domain = "www.zapapa.com";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.ZAPAPA;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 0;
_local1.domain = "gamedev.dev.spilgames.com";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
}
public static function exportXML():XML{
var _local2:Brand;
var _local1:XML = <portals/>
;
for each (_local2 in brands_by_domain) {
_local1.appendChild(_local2.exportXML());
};
return (_local1);
}
public static function getBrandByDomain(_arg1:String):Brand{
return (brands_by_domain[_arg1]);
}
public static function hasDomain(_arg1:String):Boolean{
return (!((brands_by_domain[_arg1] == null)));
}
}
}//package spill.localisation
Section 73
//Language (spill.localisation.Language)
package spill.localisation {
import flash.xml.*;
public class Language {
public var portal_groups:Array;
public var references:Array;
public var name:String;
public var embedInputFonts:Boolean;// = true
public var id:uint;
public var forceFont:String;// = null
public var textLanguage:String;
public var bwcId:int;
public var embedFonts:Boolean;// = true
public var displayName:String;// = ""
public var dname:String;
public function Language(_arg1:String, _arg2:String=null){
references = [];
super();
name = _arg1;
dname = _arg2;
portal_groups = new Array();
}
public function exportXML():XMLNode{
var _local1:XMLNode = new XMLNode(1, "language");
_local1.attributes.name = name;
if (textLanguage != null){
_local1.attributes.textLanguage = textLanguage;
};
if (references.length){
_local1.attributes.references = references.toString();
};
_local1.attributes.id = bwcId;
var _local2:XMLNode = new XMLNode(1, "display_name");
_local2.firstChild = new XMLNode(3, displayName);
_local1.appendChild(_local2);
var _local3:Array = [];
var _local4:Array = PortalGroup.channelNames;
var _local5:int;
while (_local5 < _local4.length) {
_local3.push(Brandings.getBrandByDomain(portal_groups[_local5]).site_id);
_local5++;
};
_local1.attributes.channels = _local3.join(",");
return (_local1);
}
public function get p_teen():String{
return (portal_groups[PortalGroup.TEEN]);
}
public function set p_teen(_arg1:String):void{
portal_groups[PortalGroup.TEEN] = _arg1;
}
public function get p_tween():String{
return (portal_groups[PortalGroup.TWEEN]);
}
public function get p_family():String{
return (portal_groups[PortalGroup.FAMILY]);
}
public function get p_girl():String{
return (portal_groups[PortalGroup.GIRL]);
}
public function set p_girl(_arg1:String):void{
portal_groups[PortalGroup.GIRL] = _arg1;
}
public function set p_zapapa(_arg1:String):void{
portal_groups[PortalGroup.ZAPAPA] = _arg1;
}
public function get displayAcronim():String{
return ((dname) ? dname : name);
}
public function set p_family(_arg1:String):void{
portal_groups[PortalGroup.FAMILY] = _arg1;
}
public function set p_tween(_arg1:String):void{
portal_groups[PortalGroup.TWEEN] = _arg1;
}
public function get p_zapapa():String{
return (portal_groups[PortalGroup.ZAPAPA]);
}
}
}//package spill.localisation
Section 74
//Languages (spill.localisation.Languages)
package spill.localisation {
import flash.xml.*;
public class Languages {
public static var languages:Object = new Object();
private static var _init:Boolean = false;
public static function initialize():void{
var _local1:Language;
if (_init){
return;
};
_init = true;
_local1 = new Language("nl");
_local1.displayName = "Nederlands";
_local1.p_family = "www.spelletjes.nl";
_local1.p_tween = "www.spel.nl";
_local1.p_girl = "www.girlsgogames.nl";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 3;
addLanguage(_local1);
_local1 = new Language("es");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.girlsgogames.es";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 9;
addLanguage(_local1);
_local1 = new Language("pl");
_local1.displayName = "Polski";
_local1.p_family = "www.gry.pl";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.pl";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 6;
addLanguage(_local1);
_local1 = new Language("fr");
_local1.displayName = "Français";
_local1.p_family = "www.jeux.fr";
_local1.p_tween = "www.jeu.fr";
_local1.p_girl = "www.girlsgogames.fr";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 4;
addLanguage(_local1);
_local1 = new Language("en_us", "us");
_local1.displayName = "English";
_local1.p_family = "www.gamesgames.com";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 1;
addLanguage(_local1);
addReference(_local1, "en");
_local1 = new Language("id");
_local1.displayName = "Indonesian";
_local1.p_family = "www.gamesgames.com";
_local1.p_tween = "www.games.co.id";
_local1.p_girl = "www.girlsgogames.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 11;
addLanguage(_local1);
_local1 = new Language("ru");
_local1.displayName = "Русский";
_local1.p_family = "www.ourgames.ru";
_local1.p_tween = "www.flashgames.ru";
_local1.p_girl = "www.girlsgogames.ru";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 12;
addLanguage(_local1);
_local1 = new Language("se");
_local1.displayName = "Svenska";
_local1.p_family = "www.spela.se";
_local1.p_tween = "www.spel.se";
_local1.p_girl = "www.girlsgogames.se";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 7;
addLanguage(_local1);
addReference(_local1, "sv");
_local1 = new Language("it");
_local1.displayName = "Italiano";
_local1.p_family = "www.gioco.it";
_local1.p_tween = "www.gioco.it";
_local1.p_girl = "www.girlsgogames.it";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 8;
addLanguage(_local1);
_local1 = new Language("en_uk", "uk");
_local1.displayName = "English";
_local1.p_family = "www.games.co.uk";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.co.uk";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 13;
addLanguage(_local1);
_local1 = new Language("cn");
_local1.displayName = "中文";
_local1.p_family = "www.game.com.cn";
_local1.p_tween = "www.game.com.cn";
_local1.p_girl = "www.game.com.cn";
_local1.p_teen = "www.game.com.cn";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 2;
_local1.embedFonts = false;
_local1.embedInputFonts = false;
_local1.forceFont = "_sans";
addLanguage(_local1);
addReference(_local1, "zh-CN");
addReference(_local1, "zh-TW");
_local1 = new Language("pt");
_local1.displayName = "Português";
_local1.p_family = "www.ojogos.pt";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.ojogos.pt";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 17;
addLanguage(_local1);
_local1 = new Language("in");
_local1.displayName = "English";
_local1.p_family = "www.gamesgames.com";
_local1.p_tween = "www.game.co.in";
_local1.p_girl = "www.girlsgogames.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.textLanguage = "en_uk";
_local1.bwcId = 14;
addLanguage(_local1);
_local1 = new Language("de");
_local1.displayName = "Deutsch";
_local1.p_family = "www.jetztspielen.de";
_local1.p_tween = "www.spielen.com";
_local1.p_girl = "www.girlsgogames.de";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 5;
addLanguage(_local1);
_local1 = new Language("br");
_local1.displayName = "Portuguěs (BR)";
_local1.p_family = "www.ojogos.com.br";
_local1.p_tween = "www.clickjogos.com";
_local1.p_girl = "www.girlsgogames.com.br";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 10;
addLanguage(_local1);
_local1 = new Language("jp");
_local1.displayName = "日本語";
_local1.p_family = "www.gamesgames.com";
_local1.p_tween = "www.egames.jp";
_local1.p_girl = "www.egames.jp";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.embedFonts = true;
_local1.embedInputFonts = false;
_local1.forceFont = "MS UI Gothic";
_local1.bwcId = 19;
addLanguage(_local1);
addReference(_local1, "ja");
_local1 = new Language("ar");
_local1.displayName = "English";
_local1.p_family = "www.dailygame.com";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.dailygame.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 20;
addLanguage(_local1);
addReference(_local1, "ar");
}
public static function exportXML():XMLNode{
var _local3:Language;
var _local1:Array = getLanguagesArray();
var _local2:XMLNode = new XMLNode(1, "languages");
for each (_local3 in _local1) {
_local2.appendChild(_local3.exportXML());
};
return (_local2);
}
public static function getLanguagesArray():Array{
var _local3:Language;
var _local1:Array = new Array();
var _local2:Object = new Object();
for each (_local3 in languages) {
if (!_local2[_local3.name]){
_local1.push(_local3);
_local2[_local3.name] = true;
};
};
return (_local1);
}
public static function getLanguage(_arg1:String):Language{
return (languages[_arg1]);
}
private static function addLanguage(_arg1:Language):void{
languages[_arg1.name] = _arg1;
}
private static function addReference(_arg1:Language, _arg2:String):void{
languages[_arg2] = _arg1;
_arg1.references.push(_arg2);
}
public static function getLanguageByOldID(_arg1:int):Language{
var _local2:Language;
for each (_local2 in languages) {
if (_local2.bwcId == _arg1){
return (_local2);
};
};
return (null);
}
}
}//package spill.localisation
Section 75
//LanguageSelectBox (spill.localisation.LanguageSelectBox)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
public class LanguageSelectBox extends MovieClip {
private var flag:MovieClip;
private var languageName_text:TextField;
private var popup:MovieClip;
private var mc:MovieClip;
public function LanguageSelectBox(){
trace("new langselecbox");
super();
if (numChildren > 0){
removeChildAt(0);
};
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
addEventListener(MouseEvent.MOUSE_OVER, mouseOver, false, 0, true);
addEventListener(MouseEvent.MOUSE_OUT, mouseOut, false, 0, true);
Languages.initialize();
popup = new LanguageSelectPopup_mc();
x = Math.round(x);
y = Math.round(y);
popup.y = (-(Math.floor(popup.height)) + 1);
popup.visible = false;
addChild(popup);
mc = new LanguageSelectBox_mc();
addChild(mc);
flag = mc.flag;
languageName_text = mc.languageName_text;
if (stage){
added();
};
init();
languageChanged();
}
private function added(_arg1:Event=null):void{
trace("addedselebnox");
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
}
private function mouseOut(_arg1:MouseEvent):void{
popup.visible = false;
}
public function set popupLocation(_arg1:String):void{
trace(("popupLocation = " + _arg1));
if (_arg1 == "bottom"){
popup.y = Math.floor(mc.height);
} else {
popup.y = (-(Math.floor(mc.height)) + 1);
};
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
public function init():void{
var _local3:MovieClip;
var _local4:Language;
trace("initselectbox");
var _local1:Array = new Array(popup.l_br, popup.l_de, popup.l_en_us, popup.l_fr, popup.l_in, popup.l_jp, popup.l_pt, popup.l_ru, popup.l_ar, popup.l_cn, popup.l_en_uk, popup.l_es, popup.l_id, popup.l_it, popup.l_nl, popup.l_pl, popup.l_se);
var _local2:int;
while (_local2 < _local1.length) {
_local3 = MovieClip(_local1[_local2]);
if (_local3){
_local3.addEventListener(MouseEvent.CLICK, itemClicked, true, 0, true);
_local3.flag.gotoAndStop(_local3.name.substr(2));
_local3.flag.mouseEnabled = false;
_local3.text.mouseEnabled = false;
_local4 = Languages.getLanguage(_local3.name.substr(2));
if (_local4){
_local3.text.text = _local4.displayAcronim;
} else {
trace((("Error, '" + _local3.name.substr(2)) + "' language not found"));
};
} else {
trace((((("Error, btn number '" + _local2) + "' is not a MovieClip or there is no button '") + _local1[_local2]) + "'"));
};
_local2++;
};
}
private function itemClicked(_arg1:MouseEvent):void{
SpilGame.changeLanguage(_arg1.currentTarget.name.substr(2));
popup.visible = false;
}
private function mouseOver(_arg1:MouseEvent):void{
popup.visible = true;
}
private function languageChanged(_arg1:Event=null):void{
if (SpilGame.currentLanguage){
flag.gotoAndStop(SpilGame.currentLanguage.name);
languageName_text.text = SpilGame.currentLanguage.displayName;
languageName_text.embedFonts = SpilGame.currentLanguage.embedInputFonts;
};
}
}
}//package spill.localisation
Section 76
//LanguageSelectBox_mc (spill.localisation.LanguageSelectBox_mc)
package spill.localisation {
import flash.display.*;
import flash.text.*;
public dynamic class LanguageSelectBox_mc extends MovieClip {
public var languageName_text:TextField;
public var flag:MovieClip;
}
}//package spill.localisation
Section 77
//LanguageSelectPopup_mc (spill.localisation.LanguageSelectPopup_mc)
package spill.localisation {
import flash.display.*;
public dynamic class LanguageSelectPopup_mc extends MovieClip {
public var l_br:MovieClip;
public var l_se:MovieClip;
public var l_id:MovieClip;
public var l_in:MovieClip;
public var l_en_uk:MovieClip;
public var l_en_us:MovieClip;
public var l_es:MovieClip;
public var l_ar:MovieClip;
public var l_it:MovieClip;
public var l_cn:MovieClip;
public var l_pl:MovieClip;
public var l_nl:MovieClip;
public var l_de:MovieClip;
public var l_ru:MovieClip;
public var l_pt:MovieClip;
public var l_jp:MovieClip;
public var l_fr:MovieClip;
}
}//package spill.localisation
Section 78
//LocalizedTextField (spill.localisation.LocalizedTextField)
package spill.localisation {
import flash.events.*;
public class LocalizedTextField extends TextFieldFit {
private var regex:RegExp;
private var originalText:String;
public function LocalizedTextField(){
regex = /{([^{}]*)}/g;
super();
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
added();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
text = originalText;
}
private function replaceFn():String{
var _local2:String = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
override public function set text(_arg1:String):void{
originalText = _arg1;
if ((_arg1 is String)){
super.text = _arg1.replace(regex, replaceFn);
} else {
super.text = "";
};
}
private function languageChanged(_arg1:Event):void{
text = originalText;
updateProperties();
}
}
}//package spill.localisation
Section 79
//PortalGroup (spill.localisation.PortalGroup)
package spill.localisation {
import flash.xml.*;
public class PortalGroup {
public static const FAMILY:uint = 0;
public static const channelNames:Array = ["family", "tween", "girl", "teen", "zapapa"];
public static const ZAPAPA:uint = 4;
public static const TWEEN:uint = 1;
public static const NONE:uint = 5;
public static const TEEN:uint = 3;
public static const GIRL:uint = 2;
public static const backgroundColors:Array = [0xFFFFFF, 0xFFFFFF, 16742331, 0xFFFFFF, 0xFFFFFF];
public static function getName(_arg1:int):String{
return (channelNames[_arg1]);
}
public static function exportXML():XMLNode{
var _local3:XMLNode;
var _local1:XMLNode = new XMLNode(1, "channels");
var _local2:int;
while (_local2 < 5) {
_local3 = new XMLNode(1, "channel");
_local3.attributes.name = channelNames[_local2];
_local3.attributes.id = _local2;
_local1.appendChild(_local3);
_local2++;
};
return (_local1);
}
}
}//package spill.localisation
Section 80
//spil_internal (spill.localisation.spil_internal)
package spill.localisation {
public namespace spil_internal = "spill.localisation";
}//package spill.localisation
Section 81
//SpilGame (spill.localisation.SpilGame)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
public class SpilGame {
private static const cookieName:String = "spilgames_language_v100";
private static const cookiePath:String = "/";
private static const cookieLanguageVar:String = "savedLang";
public static const LANGUAGE_CHANGED:String = "languageChanged";
public static const BRANDING_CHANGED:String = "brandingChanged";
private static var strings:Object = new Object();
public static var currentBranding:Brand;
private static var contexMenuItem:ContextMenuItem;
spil_internal static var gameName:String;
spil_internal static var debugHostDomain:String = "";
private static var localDomains:Object = new Object();
spil_internal static var emailPage:String;
private static var channelLock:Boolean = false;
spil_internal static var debugEmbedDomain:String = "";
private static var eventDispatcher:EventDispatcher;
private static var _init:Boolean = false;
public static var currentLanguage:Language;
spil_internal static var portalGroup:uint;
private static var stage:Sprite;
public static function getSpilCompanyLink():String{
if (currentLanguage.name == "cn"){
return ("http://www.game.com.cn/downloads/");
};
return ("http://www.gameportal.net");
}
public static function getPromotionLink(_arg1:String="feature_promotion"):String{
var _local2:String = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getPromotionLink(gameName, emailPage, isExternal, _local2, _arg1));
}
public static function traceAllBrands():void{
trace(outputAllBrands());
}
public static function getString(_arg1:String):String{
var _local2:Object = strings[_arg1];
if (_local2){
if (currentLanguage.textLanguage){
return (_local2[currentLanguage.textLanguage]);
};
return (_local2[currentLanguage.name]);
//unresolved jump
};
return ("");
}
public static function initialize(_arg1:String, _arg2:int, _arg3:String, _arg4:Sprite, _arg5:Boolean=false):void{
stage = _arg4;
if (_init){
trace("ERROR: LocalisationManager already initialised");
return;
};
_init = true;
localDomains["localhost"] = true;
localDomains["www8.agame.com"] = true;
localDomains["gamedev.dev.spilgames.com"] = true;
localDomains["stg.spel.nl"] = true;
localDomains["stg.girlsgogames.nl"] = true;
localDomains["stg.pl.spel.nl"] = true;
localDomains["stg.pl.girlsgogames.nl"] = true;
trace(localDomains["stg.girlsgogames.nl"]);
Brandings.initialize();
Languages.initialize();
initContexMenu(_arg4);
channelLock = _arg5;
gameName = _arg1.replace(" ", "_");
portalGroup = _arg2;
emailPage = _arg3;
chooseLanguage();
chooseBranding();
}
public static function get isExternal():Boolean{
return (((!(Brandings.hasDomain(embedDomain))) && (!(localDomains[embedDomain]))));
}
private static function initContexMenu(_arg1:Sprite):void{
contexMenuItem = new ContextMenuItem("");
_arg1.contextMenu = new ContextMenu();
_arg1.contextMenu.customItems.push(contexMenuItem);
contexMenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contexMenuClicked);
}
private static function replaceFn():String{
var _local2:String = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
spil_internal static function get hostingDomain():String{
var _local1:LocalConnection;
if (debugHostDomain != ""){
return (debugHostDomain);
};
_local1 = new LocalConnection();
return (_local1.domain);
}
spil_internal static function chooseLanguage():void{
if (cookieLanguage != null){
currentLanguage = cookieLanguage;
} else {
if (isExternal){
currentLanguage = systemLanguage;
} else {
currentLanguage = portalLanguage;
if (!currentLanguage){
currentLanguage = systemLanguage;
};
};
};
if (!currentLanguage){
trace("Unable to determine language, using 'English US'");
currentLanguage = Languages.getLanguage("en_us");
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
private static function contexMenuClicked(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest(getMoreGamesLink("Contex_Menu")));
}
public static function initTextField(_arg1:TextField):void{
var _local2:TextFormat;
trace(_arg1.text);
_arg1.text = _arg1.text.replace(/{([^{}]*)}/g, replaceFn);
trace(_arg1.text);
_arg1.embedFonts = currentLanguage.embedFonts;
if (currentLanguage.forceFont != ""){
_local2 = new TextFormat();
_local2.font = currentLanguage.forceFont;
_arg1.setTextFormat(_local2);
};
}
public static function importXMLv2(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.attribute("identifier")] = new Object());
for each (_local4 in _local2.children()) {
if (_local4.children().length() > 0){
_local3[_local4.name()] = _local4.children()[0].toString();
} else {
_local3[_local4.name()] = "";
};
};
};
}
spil_internal static function changeLanguage(_arg1:String):void{
var _local2:Language = Languages.getLanguage(_arg1);
if (!_local2){
trace("ERROR: Supplied language string does not have a matching language");
} else {
cookieLanguage = _local2;
currentLanguage = _local2;
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
chooseBranding();
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
public static function getSendToFriendLink():String{
return (currentBranding.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain));
}
spil_internal static function chooseBranding():void{
currentBranding = Brandings.getBrandByDomain(currentLanguage.portal_groups[portalGroup]);
if ((!(currentBranding) is Brand)){
currentBranding = Brandings.getBrandByDomain("www.agame.com");
};
contexMenuItem.caption = ("More Games: " + currentBranding.domain);
dispatchEvent(new Event(BRANDING_CHANGED));
}
spil_internal static function get systemLanguage():Language{
return (Languages.getLanguage(Capabilities.language));
}
spil_internal static function set cookieLanguage(_arg1:Language):void{
var _local2:SharedObject = SharedObject.getLocal(cookieName, cookiePath);
if (_arg1 == null){
_local2.data[cookieLanguageVar] = null;
} else {
_local2.data[cookieLanguageVar] = _arg1.name;
};
_local2.flush();
}
public static function importXML(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.identifier] = new Object());
for each (_local4 in _local2.children()) {
_local3[_local4.name()] = _local4.children()[0].toString();
};
};
}
spil_internal static function dispatchEvent(_arg1:Event):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.dispatchEvent(_arg1);
}
public static function getDomain(_arg1:String):String{
var _local2:String;
var _local3:uint;
if (_arg1.indexOf("file") == 0){
return ("offline_play");
};
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
if (_local2 == "localhost"){
_local2 = "offline_play";
};
return (_local2);
}
public static function exportXML():XML{
var _local1:XML = <spil_games/>
;
_local1.appendChild(Brandings.exportXML());
_local1.appendChild(Languages.exportXML());
_local1.appendChild(PortalGroup.exportXML());
return (_local1);
}
public static function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
public static function outputAllBrands():String{
var _local3:Brand;
var _local1:Array = Brandings.getBrandsArray();
var _local2 = "";
for each (_local3 in _local1) {
_local2 = (_local2 + (_local3.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain) + "\n"));
};
return (_local2);
}
public static function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public static function getMoreGamesLink(_arg1:String=""):String{
var _local2:String = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getMoreGamesLink(gameName, isExternal, _local2, _arg1));
}
spil_internal static function get cookieLanguage():Language{
var _local1:SharedObject = SharedObject.getLocal(cookieName, cookiePath);
var _local2:String = String(_local1.data[cookieLanguageVar]);
return (Languages.getLanguage(_local2));
}
private static function get portalLanguage():Language{
var _local1:Brand;
var _local2:String;
var _local3:Language;
if (isExternal){
return (null);
};
if (!embedDomain){
return (null);
};
_local1 = Brandings.getBrandByDomain(embedDomain);
if (!_local1){
return (null);
};
_local2 = _local1.preferedLanguage;
if (!_local2){
return (null);
};
_local3 = Languages.getLanguage(_local2);
if (!_local3){
return (null);
};
return (_local3);
}
spil_internal static function get embedDomain():String{
var loc:String;
if (debugEmbedDomain != ""){
return (debugEmbedDomain);
};
if (ExternalInterface.available){
try {
loc = ExternalInterface.call("window.location.href.toString");
if (((!((loc == ""))) && (!((loc == null))))){
trace(("embed domain = " + getDomain(loc)));
return (getDomain(loc));
};
} catch(e:SecurityError) {
trace(("Security Error connecting to external interface, error = " + e));
} catch(e:Error) {
trace(("Error connecting to external interface, error = " + e));
};
};
return (null);
}
}
}//package spill.localisation
Section 82
//SpilGamesLink (spill.localisation.SpilGamesLink)
package spill.localisation {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class SpilGamesLink extends SimpleButton {
public function SpilGamesLink(){
addEventListener(MouseEvent.CLICK, buttonClicked);
}
private function buttonClicked(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getSpilCompanyLink()), "_blank");
}
}
}//package spill.localisation
Section 83
//TextFieldFit (spill.localisation.TextFieldFit)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.filters.*;
public class TextFieldFit extends MovieClip {
protected var _glowQuality:Number;// = 1
protected var _gridFitType:String;// = "pixel"
protected var _text:String;// = "default"
private var debugBounding:Sprite;
protected var _disableWordwrap:Boolean;// = false
protected var _textSize:Number;// = 12
protected var _multiline:Boolean;// = false
protected var _font:String;// = ""
protected var _embedFonts:Boolean;// = true
protected var _underline:Boolean;// = false
protected var _vAlign:String;// = "top"
protected var _italic:Boolean;// = false
protected var _useGlowFilter:Boolean;// = false
protected var _glowColor:uint;// = 0
protected var _bold:Boolean;// = false
private var h:Number;
protected var _antiAliasType:String;// = "advanced"
private var sizeChanged:Boolean;// = true
private var w:Number;
private var embeddedFonts:Array;
protected var _hAlign:String;// = "left"
protected var _textColor:uint;// = 0
protected var _glowStrength:Number;// = 5
protected var _glowBlur:Number;// = 3
protected var _selectable:Boolean;// = false
private var format:TextFormat;
private var field:TextField;
private var valid:Boolean;// = true
private static const gutter:Number = 2;
spil_internal static var embedFonts:Boolean = true;
spil_internal static var forceAAType:String = null;
spil_internal static var forceFont:String = null;
public static var alwaysCheckWidth:Boolean = false;
public function TextFieldFit(){
var _local1:Boolean = ((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")));
var _local2:Number = width;
var _local3:Number = height;
if (numChildren > 0){
removeChildAt(0);
};
if (!field){
field = new TextField();
addChild(field);
};
field.border = false;
field.background = false;
field.type = TextFieldType.DYNAMIC;
mouseEnabled = false;
mouseChildren = false;
format = new TextFormat();
embeddedFonts = Font.enumerateFonts(false);
setSize(_local2, _local3);
validate();
if (stage){
addEventListener(Event.RENDER, init);
stage.invalidate();
};
init();
}
private function resizeText(_arg1:Boolean=false):void{
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
if (format.size <= 3){
trace("WARNING: Text resised to 3px, either an error occured or the text just wont fit");
return;
};
field.setTextFormat(format);
resizeText(true);
} else {
if (_arg1 == false){
while (doesTextFit()) {
if (format.size <= textSize){
format.size = Object((Number(format.size) + 1));
field.setTextFormat(format);
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
field.setTextFormat(format);
break;
};
} else {
break;
};
};
};
};
}
public function set hAlign(_arg1:String):void{
_hAlign = _arg1;
invalidate();
}
public function set bold(_arg1:Boolean):void{
_bold = _arg1;
invalidate();
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.RENDER, init);
updateProperties();
layoutText();
}
private function validate(_arg1:Event=null):void{
updateProperties();
layoutText();
removeEventListener(Event.ENTER_FRAME, validate);
valid = true;
}
public function set glowBlur(_arg1:Number):void{
_glowBlur = _arg1;
invalidate();
}
public function get vAlign():String{
return (_vAlign);
}
public function get italic():Boolean{
return (_italic);
}
public function get textColor():uint{
return (_textColor);
}
private function invalidate():void{
if (valid){
addEventListener(Event.ENTER_FRAME, validate);
if (stage){
stage.invalidate();
};
valid = false;
};
}
public function get text():String{
return (_text);
}
public function get useGlowFilter():Boolean{
return (_useGlowFilter);
}
public function get selectable():Boolean{
return (_selectable);
}
public function set text(_arg1:String):void{
_text = _arg1;
invalidate();
}
public function set embedFonts(_arg1:Boolean):void{
_embedFonts = _arg1;
invalidate();
}
public function set vAlign(_arg1:String):void{
_vAlign = _arg1;
invalidate();
}
public function set italic(_arg1:Boolean):void{
_italic = _arg1;
invalidate();
}
public function get font():String{
return (_font);
}
public function set multiline(_arg1:Boolean):void{
_multiline = _arg1;
invalidate();
}
public function get disableWordwrap():Boolean{
return (_disableWordwrap);
}
public function set textColor(_arg1:uint):void{
_textColor = _arg1;
invalidate();
}
public function get antiAliasType():String{
return (_antiAliasType);
}
private function layoutText():void{
resizeText();
field.height = (field.textHeight + (gutter * 2));
if (vAlign == "top"){
field.y = 0;
} else {
if (vAlign == "middle"){
field.y = ((h - field.height) / 2);
} else {
if (vAlign == "bottom"){
field.y = (h - field.height);
};
};
};
}
public function set glowQuality(_arg1:Number):void{
_glowQuality = _arg1;
invalidate();
}
public function get hAlign():String{
return (_hAlign);
}
public function setSize(_arg1:Number, _arg2:Number):void{
w = _arg1;
h = _arg2;
scaleX = (scaleY = 1);
field.width = w;
field.height = h;
invalidate();
}
public function get bold():Boolean{
return (_bold);
}
public function set gridFitType(_arg1:String):void{
_gridFitType = _arg1;
invalidate();
}
public function set underline(_arg1:Boolean):void{
_underline = _arg1;
invalidate();
}
public function get glowBlur():Number{
return (_glowBlur);
}
public function set useGlowFilter(_arg1:Boolean):void{
_useGlowFilter = _arg1;
invalidate();
}
public function set font(_arg1:String):void{
_font = _arg1;
invalidate();
}
public function set textSize(_arg1:Number):void{
_textSize = _arg1;
sizeChanged = true;
invalidate();
}
public function set selectable(_arg1:Boolean):void{
_selectable = _arg1;
invalidate();
}
public function get multiline():Boolean{
return (_multiline);
}
public function get embedFonts():Boolean{
return (_embedFonts);
}
public function set glowColor(_arg1:uint):void{
_glowColor = _arg1;
invalidate();
}
public function set disableWordwrap(_arg1:Boolean):void{
_disableWordwrap = _arg1;
invalidate();
}
public function get glowQuality():Number{
return (_glowQuality);
}
public function get gridFitType():String{
return (_gridFitType);
}
public function get underline():Boolean{
return (_underline);
}
public function get textSize():Number{
return (_textSize);
}
public function get glowColor():uint{
return (_glowColor);
}
public function set antiAliasType(_arg1:String):void{
_antiAliasType = _arg1;
invalidate();
}
public function set glowStrength(_arg1:Number):void{
_glowStrength = _arg1;
invalidate();
}
protected function updateProperties():void{
var _local1:Boolean;
var _local2:Font;
field.text = _text;
field.multiline = ((((_text.indexOf(" ") < 0)) && ((_text.length < 14)))) ? false : _multiline;
field.wordWrap = ((field.multiline) && (!(_disableWordwrap)));
field.selectable = _selectable;
field.antiAliasType = (forceAAType) ? forceAAType : _antiAliasType;
field.gridFitType = _gridFitType;
embeddedFonts = Font.enumerateFonts(false);
if (((((_embedFonts) && (!((_font == ""))))) && (TextFieldFit.embedFonts))){
_local1 = false;
for each (_local2 in embeddedFonts) {
if (_font == _local2.fontName){
_local1 = true;
break;
};
};
field.embedFonts = _local1;
if (!_local1){
trace(((("WARNING: Embedded font '" + _font) + "' not found, disabling embedding of fonts, text = ") + _text));
};
} else {
field.embedFonts = false;
};
if (TextFieldFit.forceFont){
format.font = TextFieldFit.forceFont;
} else {
if (_font != ""){
format.font = _font;
};
};
if (sizeChanged){
format.size = _textSize;
};
format.color = _textColor;
format.align = _hAlign;
format.bold = _bold;
format.italic = _italic;
format.underline = _underline;
format.leftMargin = 0;
format.rightMargin = 0;
field.setTextFormat(format);
if (_useGlowFilter){
filters = [new GlowFilter(_glowColor, 1, _glowBlur, _glowBlur, _glowStrength, _glowQuality)];
} else {
filters = [];
};
}
private function doesTextFit():Boolean{
if (((((field.textHeight + (gutter * 2)) > h)) || (((((field.textWidth + (gutter * 2)) > w)) && (((!(field.multiline)) || (alwaysCheckWidth))))))){
return (false);
};
return (true);
}
public function get glowStrength():Number{
return (_glowStrength);
}
}
}//package spill.localisation
Section 84
//Submitter (Spill.Components.Submitter)
package Spill.Components {
import flash.display.*;
public dynamic class Submitter extends MovieClip {
}
}//package Spill.Components
Section 85
//CBannedWin (CBannedWin)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
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);
}
public function GotoSapi(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.lazybanana.com");
navigateToURL(_local2);
}
function frame1(){
mBtn.addEventListener(MouseEvent.MOUSE_DOWN, GotoSapi);
}
}
}//package
Section 86
//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 Update(_arg1:Event){
}
public function RemoveDispatcher(){
Main.GetInstance().removeEventListener(mEventType, Update);
}
}
}//package
Section 87
//CCredit (CCredit)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class CCredit extends MovieClip {
public var mFilter:Array;
public var mClose:MovieClip;
public var mTitle:MovieClip;
public var mLogo:MovieClip;
public function CCredit(){
addFrameScript(0, frame1);
}
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 = [];
}
public function onMouseOver(_arg1:MouseEvent){
var _local2:GlowFilter = 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];
}
}
}//package
Section 88
//CGame (CGame)
package {
import flash.display.*;
import flash.events.*;
import spill.localisation.*;
import caurina.transitions.*;
import de.polygonal.math.*;
import com.troy.collision.*;
import flash.utils.*;
import flash.net.*;
public class CGame extends CBaseMovieClip {
public var tombolfinish:MovieClip;
public var muffinvanillagabung:MovieClip;
public var cashewnut2contoh:MovieClip;
public var menutopping:MovieClip;
public var chocochips1contoh:MovieClip;
public var klikstir:MovieClip;
public var chocochips9contoh:MovieClip;
public var chocobar1:MovieClip;
public var chocobar3:MovieClip;
public var mangkok:MovieClip;
public var chocobar2:MovieClip;
public var balonkatatepung:MovieClip;
public var berry1contoh:MovieClip;
public var banana2contoh:MovieClip;
public var chocobar3contoh:MovieClip;
public var backtomainmenu:MovieClip;
public var decorate_txt:MovieClip;
public var balonkataoven:MovieClip;
public var susujadi:MovieClip;
public var cherry1contoh:MovieClip;
public var susu:MovieClip;
public var muffincoklat2:MovieClip;
public var strawberrymasuk:MovieClip;
public var __id74_:LocalizedTextField;
public var time_mc:MovieClip;
public var banyakstrawberry:int;
public var muffincoklat1:MovieClip;
public var muffincoklat3:MovieClip;
public var chocochips6contoh:MovieClip;
public var balonkatagula:MovieClip;
public var tombolwarpstrawberry:MovieClip;
public var medali:MovieClip;
public var banyaksusu:int;
public var __setPropDict:Dictionary;
public var adukgula:MovieClip;
public var skor:int;
public var toping_strawberry:MovieClip;
public var score_mc:MovieClip;
public var sortingtopping:Array;
public var __id75_:LocalizedTextField;
public var balonkatatelur:MovieClip;
public var backgroundwhipcream:MovieClip;
public var tombolcreamvanilla:MovieClip;
public var tepung:MovieClip;
public var tombol_vanilla:MovieClip;
public var susumasuk:MovieClip;
public var kliktepung:MovieClip;
public var coklatmasuk:MovieClip;
public var balonkatatopping:MovieClip;
public var adonanstrawberryjadi:MovieClip;
public var tombolcreamstrawberry:MovieClip;
public var __id76_:LocalizedTextField;
public var banyaktelur:int;
public var chocochips3contoh:MovieClip;
public var mamatoping:MovieClip;
public var urutanbahan:String;
public var warna:String;
public var muffinvanilla1:MovieClip;
public var muffinvanilla3:MovieClip;
public var pintuoven:MovieClip;
public var berry3contoh:MovieClip;
public var muffinvanilla2:MovieClip;
public var playagain:MovieClip;
public var tombolwarpvanilla:MovieClip;
public var detik:int;
public var hitungklikwhipcream:int;
public var cashewnut1contoh:MovieClip;
public var banyakcoklat:int;
public var klikwaktu:MovieClip;
public var cherry3contoh:MovieClip;
public var muffinstrawberrygabung:MovieClip;
public var oven:MovieClip;
public var banyakgula:int;
public var chocobar2contoh:MovieClip;
public var chocochips8contoh:MovieClip;
public var gula:MovieClip;
public var balon_kata_kosong:MovieClip;
public var cashewnut3:MovieClip;
public var cashewnut1:MovieClip;
public var muffincoklatgabung:MovieClip;
public var kliknya:Boolean;
public var cashewnut2:MovieClip;
public var balonkataomg:MovieClip;
public var backgroundoven:MovieClip;
public var playagain2:MovieClip;
public var kliksusu:MovieClip;
public var playagain3:MovieClip;
public var tombol_coklat:MovieClip;
public var muffinstrawberry1:MovieClip;
public var muffinstrawberry2:MovieClip;
public var muffinstrawberry3:MovieClip;
public var mamakaget:MovieClip;
public var contohtoping:MovieClip;
public var chocochips5contoh:MovieClip;
public var banyakvanilla:int;
public var banana1contoh:MovieClip;
public var tepungmasuk:MovieClip;
public var gulamasuk:MovieClip;
public var waktugantigosong:Timer;
public var tombolwarpcoklat:MovieClip;
public var cashewnut3contoh:MovieClip;
public var backtomainmenu2:MovieClip;
public var backtomainmenu3:MovieClip;
public var telurmasuk:MovieClip;
public var mKlikOven:MovieClip;
public var mReadyBtn:MovieClip;
public var menuwhipcream:MovieClip;
public var tombolstart:MovieClip;
public var banyakadukan:int;
public var chocochips2contoh:MovieClip;
public var balonkatapiring:MovieClip;
public var banyaktepung:int;
public var banana1:MovieClip;
public var banana2:MovieClip;
public var banana3:MovieClip;
public var adonancoklat:MovieClip;
public var tombolcreamcoklat:MovieClip;
public var balonkatacoklat:MovieClip;
public var banana3contoh:MovieClip;
public var balonkatastrawberry:MovieClip;
public var berry2contoh:MovieClip;
public var chocochips1:MovieClip;
public var chocochips2:MovieClip;
public var chocochips3:MovieClip;
public var chocochips4:MovieClip;
public var adonanstrawberry:MovieClip;
public var chocochips8:MovieClip;
public var chocochips9:MovieClip;
public var chocochips5:MovieClip;
public var chocochips6:MovieClip;
public var waktugantigosong2:Timer;
public var menit:int;
public var chocochips7contoh:MovieClip;
public var cherry2contoh:MovieClip;
public var kotakhitam:MovieClip;
public var kliktelur:MovieClip;
public var playmoregame2:MovieClip;
public var playmoregame3:MovieClip;
public var vanillamasuk:MovieClip;
public var chocochips7:MovieClip;
public var aduktelur:MovieClip;
public var tombol_strawberry:MovieClip;
public var klikgula:MovieClip;
public var animasiasap:MovieClip;
public var aduktepung:MovieClip;
public var piring:MovieClip;
public var balonkatavanilla:MovieClip;
public var toping_vanila:MovieClip;
public var whipcream1:MovieClip;
public var adonanvanillajadi:MovieClip;
public var balonkatasusu:MovieClip;
public var whipcream2:MovieClip;
public var whipcream3:MovieClip;
public var cherry2:MovieClip;
public var cherry3:MovieClip;
public var adonanvanilla:MovieClip;
public var coklatjadi:MovieClip;
public var banyakwaktu:int;
public var cherry1:MovieClip;
public var klikcoklat:MovieClip;
public var sortnya:Array;
public var strawberryjadi:MovieClip;
public var chocobar1contoh:MovieClip;
public var chocochips4contoh:MovieClip;
public var toping_coklat:MovieClip;
public var waktupintuoven:Timer;
public var klikvanilla:MovieClip;
public var klikstrawberry:MovieClip;
public var berry1:MovieClip;
public var berry2:MovieClip;
public var berry3:MovieClip;
public var waktumain:Timer;
public var mOvenFlag:Boolean;// = false
public var adonancoklatjadi:MovieClip;
public var vanillajadi:MovieClip;
public var telur:MovieClip;
public var playmoregame:MovieClip;
private static var CGameGlobal:CGame;
public function CGame(){
__setPropDict = new Dictionary(true);
sortnya = ["depth", "y"];
sortingtopping = new Array();
waktumain = new Timer(1000, 1);
waktupintuoven = new Timer(1000, 4);
waktugantigosong2 = new Timer(1000, 6);
waktugantigosong = new Timer(1000, 4);
addFrameScript(1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
super("update");
CGameGlobal = this;
trace("init cgame");
mOvenFlag = false;
warna = "";
urutanbahan = "telur";
kliknya = false;
banyakadukan = 0;
banyakwaktu = 0;
hitungklikwhipcream = 0;
skor = 0;
banyaktelur = 3;
detik = 60;
menit = 2;
banyakgula = PM_PRNG.nextIntRange(1, 2);
banyaksusu = PM_PRNG.nextIntRange(2, 6);
banyaktepung = PM_PRNG.nextIntRange(1, 5);
banyakstrawberry = PM_PRNG.nextIntRange(1, 2);
banyakcoklat = PM_PRNG.nextIntRange(1, 3);
banyakvanilla = 1;
gotoAndStop(1);
tombol_coklat.useHandCursor = true;
tombol_coklat.buttonMode = true;
tombol_vanilla.useHandCursor = true;
tombol_vanilla.buttonMode = true;
tombol_strawberry.useHandCursor = true;
tombol_strawberry.buttonMode = true;
tombol_coklat.addEventListener(MouseEvent.CLICK, pilihwarna);
tombol_vanilla.addEventListener(MouseEvent.CLICK, pilihwarna);
tombol_strawberry.addEventListener(MouseEvent.CLICK, pilihwarna);
}
public function pilihwarna(_arg1:MouseEvent):void{
if (_arg1.currentTarget.name == "tombol_coklat"){
warna = "coklat";
} else {
if (_arg1.currentTarget.name == "tombol_vanilla"){
warna = "vanilla";
} else {
if (_arg1.currentTarget.name == "tombol_strawberry"){
warna = "strawberry";
};
};
};
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
gotoAndStop(2);
waktumain = new Timer(1000, 180);
waktumain.addEventListener(TimerEvent.TIMER, timerHandlerwaktumain);
waktumain.addEventListener(TimerEvent.TIMER_COMPLETE, timerHandlerwaktumainhabis);
waktumain.start();
}
public function pilihwhipcream(_arg1:MouseEvent):void{
if (_arg1.currentTarget.name == "tombolcreamcoklat"){
if (whipcream1.visible == false){
whipcream1.gotoAndStop("coklat");
} else {
if (whipcream2.visible == false){
whipcream2.gotoAndStop("coklat");
} else {
if (whipcream3.visible == false){
whipcream3.gotoAndStop("coklat");
};
};
};
} else {
if (_arg1.currentTarget.name == "tombolcreamvanilla"){
if (whipcream1.visible == false){
whipcream1.gotoAndStop("vanilla");
} else {
if (whipcream2.visible == false){
whipcream2.gotoAndStop("vanilla");
} else {
if (whipcream3.visible == false){
whipcream3.gotoAndStop("vanilla");
};
};
};
} else {
if (_arg1.currentTarget.name == "tombolcreamstrawberry"){
if (whipcream1.visible == false){
whipcream1.gotoAndStop("strawberry");
} else {
if (whipcream2.visible == false){
whipcream2.gotoAndStop("strawberry");
} else {
if (whipcream3.visible == false){
whipcream3.gotoAndStop("strawberry");
};
};
};
};
};
};
if (whipcream1.visible == false){
whipcream1.visible = true;
whipcream1.alpha = 0;
Tweener.addTween(whipcream1, {alpha:1, time:1, transition:"linear"});
} else {
if (whipcream2.visible == false){
whipcream2.visible = true;
whipcream2.alpha = 0;
Tweener.addTween(whipcream2, {alpha:1, time:1, transition:"linear"});
} else {
if (whipcream3.visible == false){
whipcream3.visible = true;
whipcream3.alpha = 0;
Tweener.addTween(whipcream3, {alpha:1, time:1, transition:"linear", onComplete:munculkantombolwarp});
};
};
};
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
}
function __setProp___id75__GameWin_watchthetime_4(){
try {
__id75_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id75_.text = "{lbSelendang2}";
__id75_.textColor = 7753537;
__id75_.textSize = 45;
__id75_.bold = false;
__id75_.disableWordwrap = false;
__id75_.embedFonts = true;
__id75_.font = "GilliesGothic";
__id75_.hAlign = "center";
__id75_.multiline = true;
__id75_.vAlign = "middle";
__id75_.antiAliasType = "advanced";
__id75_.glowBlur = 3;
__id75_.glowColor = 12430502;
__id75_.useGlowFilter = false;
__id75_.glowQuality = 1;
__id75_.glowStrength = 5;
__id75_.gridFitType = "pixel";
__id75_.italic = false;
__id75_.selectable = false;
__id75_.underline = false;
try {
__id75_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
public function hidpkanbtnmode(){
tombolcreamcoklat.useHandCursor = true;
tombolcreamcoklat.buttonMode = true;
tombolcreamvanilla.useHandCursor = true;
tombolcreamvanilla.buttonMode = true;
tombolcreamstrawberry.useHandCursor = true;
tombolcreamstrawberry.buttonMode = true;
tombolcreamcoklat.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihwhipcream);
tombolcreamvanilla.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihwhipcream);
tombolcreamstrawberry.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihwhipcream);
}
public function OnReadyOven(_arg1:MouseEvent){
if (banyakwaktu == 8){
mKlikOven.visible = false;
trace(("ASASDASDASDAS : " + waktupintuoven.running));
if (((!(waktupintuoven.running)) && (!(mOvenFlag)))){
waktugantigosong2.stop();
waktupintuoven = new Timer(1000, 1);
waktupintuoven.addEventListener(TimerEvent.TIMER_COMPLETE, timerHandlerwaktupintuoven);
waktupintuoven.start();
};
};
}
private function masukkewhipcream():void{
gotoAndStop(6);
}
function frame4(){
if ((((__setPropDict[__id74_] == undefined)) || (!((int(__setPropDict[__id74_]) == 4))))){
__setPropDict[__id74_] = 4;
__setProp___id74__GameWin_hotbyemama_3();
};
playagain.useHandCursor = true;
playagain.buttonMode = true;
playmoregame.useHandCursor = true;
playmoregame.buttonMode = true;
backtomainmenu.useHandCursor = true;
backtomainmenu.buttonMode = true;
playagain.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihtombol);
playmoregame.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihtombol);
backtomainmenu.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihtombol);
}
function frame5(){
if ((((__setPropDict[__id75_] == undefined)) || (!((int(__setPropDict[__id75_]) == 5))))){
__setPropDict[__id75_] = 5;
__setProp___id75__GameWin_watchthetime_4();
};
playagain2.useHandCursor = true;
playagain2.buttonMode = true;
playmoregame2.useHandCursor = true;
playmoregame2.buttonMode = true;
backtomainmenu2.useHandCursor = true;
backtomainmenu2.buttonMode = true;
playagain2.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihtombol);
playmoregame2.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihtombol);
backtomainmenu2.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihtombol);
}
function __setProp___id74__GameWin_hotbyemama_3(){
try {
__id74_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id74_.text = "{lbSelendang}";
__id74_.textColor = 7753537;
__id74_.textSize = 45;
__id74_.bold = false;
__id74_.disableWordwrap = false;
__id74_.embedFonts = true;
__id74_.font = "GilliesGothic";
__id74_.hAlign = "center";
__id74_.multiline = true;
__id74_.vAlign = "middle";
__id74_.antiAliasType = "advanced";
__id74_.glowBlur = 3;
__id74_.glowColor = 12430502;
__id74_.useGlowFilter = false;
__id74_.glowQuality = 1;
__id74_.glowStrength = 5;
__id74_.gridFitType = "pixel";
__id74_.italic = false;
__id74_.selectable = false;
__id74_.underline = false;
try {
__id74_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame7(){
if ((((__setPropDict[__id76_] == undefined)) || (!((int(__setPropDict[__id76_]) == 7))))){
__setPropDict[__id76_] = 7;
__setProp___id76__GameWin_congaratulations_6();
};
if (CGame.GetInstance().skor > 3500){
medali.gotoAndStop(1);
} else {
if (CGame.GetInstance().skor > 2000){
medali.gotoAndStop(2);
} else {
medali.gotoAndStop(3);
};
};
playagain3.useHandCursor = true;
playagain3.buttonMode = true;
playmoregame3.useHandCursor = true;
playmoregame3.buttonMode = true;
backtomainmenu3.useHandCursor = true;
backtomainmenu3.buttonMode = true;
playagain3.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihtombol);
playmoregame3.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihtombol);
backtomainmenu3.addEventListener(MouseEvent.CLICK, CGame.GetInstance().pilihtombol);
}
private function munculkanbntmodetombolwarp():void{
tombolwarpcoklat.useHandCursor = true;
tombolwarpcoklat.buttonMode = true;
tombolwarpstrawberry.useHandCursor = true;
tombolwarpstrawberry.buttonMode = true;
tombolwarpvanilla.useHandCursor = true;
tombolwarpvanilla.buttonMode = true;
tombolwarpcoklat.addEventListener(MouseEvent.CLICK, pilihwarpcream);
tombolwarpstrawberry.addEventListener(MouseEvent.CLICK, pilihwarpcream);
tombolwarpvanilla.addEventListener(MouseEvent.CLICK, pilihwarpcream);
}
private function jarakDuaTitik(_arg1:int, _arg2:int, _arg3:int, _arg4:int):int{
var _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);
}
public function tambahwaktuoven(_arg1:MouseEvent):void{
if (banyakwaktu < 9){
banyakwaktu++;
};
if (banyakwaktu > 7){
klikwaktu.visible = false;
};
if (banyakwaktu == 8){
mReadyBtn.useHandCursor = true;
mReadyBtn.buttonMode = true;
mKlikOven.visible = true;
if ((((((waktugantigosong2.running == false)) && ((mOvenFlag == false)))) && ((waktupintuoven.running == false)))){
waktugantigosong2.addEventListener(TimerEvent.TIMER_COMPLETE, GosongGan);
waktugantigosong2.start();
};
};
if (banyakwaktu < 9){
oven.gotoAndStop((oven.currentFrame + 1));
if (warna == "strawberry"){
adonanstrawberry.gotoAndStop((adonanstrawberry.currentFrame + 1));
} else {
if (warna == "coklat"){
adonancoklat.gotoAndStop((adonancoklat.currentFrame + 1));
} else {
if (warna == "vanilla"){
adonanvanilla.gotoAndStop((adonanvanilla.currentFrame + 1));
};
};
};
} else {
banyakwaktu = 8;
};
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
}
function frame2(){
balon_kata_kosong.visible = false;
balonkatagula.visible = false;
balonkatatepung.visible = false;
balonkatasusu.visible = false;
balonkatatelur.visible = true;
balonkatastrawberry.visible = false;
balonkatavanilla.visible = false;
balonkatacoklat.visible = false;
klikgula.visible = false;
kliktepung.visible = false;
kliksusu.visible = false;
kliktelur.visible = true;
klikstrawberry.visible = false;
klikvanilla.visible = false;
klikcoklat.visible = false;
klikstir.visible = false;
toping_coklat.visible = false;
toping_vanila.visible = false;
toping_strawberry.visible = false;
telurmasuk.visible = false;
telurmasuk.gotoAndStop(1);
aduktelur.visible = false;
aduktelur.gotoAndStop(1);
gulamasuk.visible = false;
gulamasuk.gotoAndStop(1);
adukgula.visible = false;
adukgula.gotoAndStop(1);
susumasuk.visible = false;
susumasuk.gotoAndStop(1);
susujadi.visible = false;
tepungmasuk.visible = false;
tepungmasuk.gotoAndStop(1);
aduktepung.visible = false;
aduktepung.gotoAndStop(1);
strawberrymasuk.visible = false;
strawberrymasuk.gotoAndStop(1);
strawberryjadi.visible = false;
vanillamasuk.visible = false;
vanillajadi.visible = false;
coklatmasuk.visible = false;
coklatmasuk.gotoAndStop(1);
coklatjadi.visible = false;
if (CGame.GetInstance().warna == "coklat"){
toping_coklat.visible = true;
toping_coklat.useHandCursor = true;
toping_coklat.buttonMode = true;
} else {
if (CGame.GetInstance().warna == "vanilla"){
toping_vanila.visible = true;
toping_vanila.useHandCursor = true;
toping_vanila.buttonMode = true;
} else {
if (CGame.GetInstance().warna == "strawberry"){
toping_strawberry.visible = true;
toping_strawberry.useHandCursor = true;
toping_strawberry.buttonMode = true;
};
};
};
gula.useHandCursor = true;
gula.buttonMode = true;
telur.useHandCursor = true;
telur.buttonMode = true;
susu.useHandCursor = true;
susu.buttonMode = true;
tepung.useHandCursor = true;
tepung.buttonMode = true;
tepung.addEventListener(MouseEvent.CLICK, CGame.GetInstance().masukbahan);
susu.addEventListener(MouseEvent.CLICK, CGame.GetInstance().masukbahan);
telur.addEventListener(MouseEvent.CLICK, CGame.GetInstance().masukbahan);
gula.addEventListener(MouseEvent.CLICK, CGame.GetInstance().masukbahan);
if (CGame.GetInstance().warna == "coklat"){
toping_coklat.addEventListener(MouseEvent.CLICK, CGame.GetInstance().masukbahan);
} else {
if (CGame.GetInstance().warna == "vanilla"){
toping_vanila.addEventListener(MouseEvent.CLICK, CGame.GetInstance().masukbahan);
} else {
if (CGame.GetInstance().warna == "strawberry"){
toping_strawberry.addEventListener(MouseEvent.CLICK, CGame.GetInstance().masukbahan);
};
};
};
}
function frame3(){
mReadyBtn.alpha = 0;
mReadyBtn.addEventListener(MouseEvent.CLICK, OnReadyOven);
mKlikOven.visible = false;
animasiasap.visible = false;
animasiasap.gotoAndStop(1);
balonkataoven.alpha = 0;
Tweener.addTween(balonkataoven, {alpha:1, time:1, transition:"linear"});
klikwaktu.alpha = 0;
Tweener.addTween(klikwaktu, {alpha:1, time:1, transition:"linear"});
backgroundoven.alpha = 0;
backgroundoven.gotoAndStop(1);
Tweener.addTween(backgroundoven, {alpha:1, time:1, transition:"linear"});
oven.gotoAndStop(1);
oven.alpha = 0;
Tweener.addTween(oven, {alpha:1, time:1, transition:"linear"});
adonancoklat.gotoAndStop(1);
adonancoklat.alpha = 0;
adonanvanilla.gotoAndStop(1);
adonanvanilla.alpha = 0;
adonanstrawberry.gotoAndStop(1);
adonanstrawberry.alpha = 0;
mamakaget.visible = false;
balonkataomg.visible = false;
balonkatapiring.visible = false;
piring.visible = false;
pintuoven.visible = false;
adonancoklatjadi.visible = false;
adonanvanillajadi.visible = false;
adonanstrawberryjadi.visible = false;
muffinstrawberry1.visible = false;
muffinstrawberry2.visible = false;
muffinstrawberry3.visible = false;
muffinvanilla1.visible = false;
muffinvanilla2.visible = false;
muffinvanilla3.visible = false;
muffincoklat1.visible = false;
muffincoklat2.visible = false;
muffincoklat3.visible = false;
if (CGame.GetInstance().warna == "coklat"){
Tweener.addTween(adonancoklat, {alpha:1, time:1, transition:"linear"});
} else {
if (CGame.GetInstance().warna == "vanilla"){
Tweener.addTween(adonanvanilla, {alpha:1, time:1, transition:"linear"});
} else {
if (CGame.GetInstance().warna == "strawberry"){
Tweener.addTween(adonanstrawberry, {alpha:1, time:1, transition:"linear"});
};
};
};
}
private function masukkebagianoven():void{
gotoAndStop(3);
}
function frame6(){
if ((((__setPropDict[decorate_txt] == undefined)) || (!((int(__setPropDict[decorate_txt]) == 6))))){
__setPropDict[decorate_txt] = 6;
__setProp_decorate_txt_GameWin_text_5();
};
kotakhitam.visible = false;
decorate_txt.visible = false;
contohtoping.visible = false;
tombolstart.visible = false;
backgroundwhipcream.gotoAndStop(1);
backgroundwhipcream.alpha = 0;
Tweener.addTween(backgroundwhipcream, {alpha:1, time:1, transition:"linear"});
menuwhipcream.alpha = 0;
Tweener.addTween(menuwhipcream, {alpha:1, time:1, transition:"linear"});
tombolcreamcoklat.alpha = 0;
Tweener.addTween(tombolcreamcoklat, {alpha:1, time:1, transition:"linear", onComplete:hidpkanbtnmode});
tombolcreamvanilla.alpha = 0;
Tweener.addTween(tombolcreamvanilla, {alpha:1, time:1, transition:"linear"});
tombolcreamstrawberry.alpha = 0;
Tweener.addTween(tombolcreamstrawberry, {alpha:1, time:1, transition:"linear"});
tombolwarpstrawberry.visible = false;
tombolwarpvanilla.visible = false;
tombolwarpcoklat.visible = false;
menutopping.visible = false;
cherry1.visible = false;
cherry2.visible = false;
cherry3.visible = false;
berry1.visible = false;
berry2.visible = false;
berry3.visible = false;
banana1.visible = false;
banana2.visible = false;
banana3.visible = false;
cashewnut1.visible = false;
cashewnut2.visible = false;
cashewnut3.visible = false;
chocobar1.visible = false;
chocobar2.visible = false;
chocobar3.visible = false;
chocochips1.visible = false;
chocochips2.visible = false;
chocochips3.visible = false;
chocochips4.visible = false;
chocochips5.visible = false;
chocochips6.visible = false;
chocochips7.visible = false;
chocochips8.visible = false;
chocochips9.visible = false;
mamatoping.visible = false;
balonkatatopping.visible = false;
tombolfinish.visible = false;
cherry1contoh.visible = false;
cherry2contoh.visible = false;
cherry3contoh.visible = false;
berry1contoh.visible = false;
berry2contoh.visible = false;
berry3contoh.visible = false;
banana1contoh.visible = false;
banana2contoh.visible = false;
banana3contoh.visible = false;
cashewnut1contoh.visible = false;
cashewnut2contoh.visible = false;
cashewnut3contoh.visible = false;
chocobar1contoh.visible = false;
chocobar2contoh.visible = false;
chocobar3contoh.visible = false;
chocochips1contoh.visible = false;
chocochips2contoh.visible = false;
chocochips3contoh.visible = false;
chocochips4contoh.visible = false;
chocochips5contoh.visible = false;
chocochips6contoh.visible = false;
chocochips7contoh.visible = false;
chocochips8contoh.visible = false;
chocochips9contoh.visible = false;
whipcream1.visible = false;
whipcream2.visible = false;
whipcream3.visible = false;
muffinstrawberrygabung.visible = false;
muffinvanillagabung.visible = false;
muffincoklatgabung.visible = false;
muffincoklatgabung.muffinwarp1.visible = false;
muffincoklatgabung.muffinwarp2.visible = false;
muffincoklatgabung.muffinwarp3.visible = false;
muffinvanillagabung.muffinwarp1.visible = false;
muffinvanillagabung.muffinwarp2.visible = false;
muffinvanillagabung.muffinwarp3.visible = false;
muffinstrawberrygabung.muffinwarp1.visible = false;
muffinstrawberrygabung.muffinwarp2.visible = false;
muffinstrawberrygabung.muffinwarp3.visible = false;
if (CGame.GetInstance().warna == "coklat"){
muffincoklatgabung.visible = true;
muffincoklatgabung.alpha = 0;
Tweener.addTween(muffincoklatgabung, {alpha:1, time:1, transition:"linear"});
} else {
if (CGame.GetInstance().warna == "vanilla"){
muffinvanillagabung.visible = true;
muffinvanillagabung.alpha = 0;
Tweener.addTween(muffinvanillagabung, {alpha:1, time:1, transition:"linear"});
} else {
if (CGame.GetInstance().warna == "strawberry"){
muffinstrawberrygabung.visible = true;
muffinstrawberrygabung.alpha = 0;
Tweener.addTween(muffinstrawberrygabung, {alpha:1, time:1, transition:"linear"});
};
};
};
}
public function keluargosong():void{
balonkatapiring.visible = false;
oven.gotoAndStop((oven.currentFrame + 1));
if (warna == "strawberry"){
adonanstrawberry.visible = false;
} else {
if (warna == "coklat"){
adonancoklat.gotoAndStop((adonancoklat.currentFrame + 1));
} else {
if (warna == "vanilla"){
adonanvanilla.gotoAndStop((adonanvanilla.currentFrame + 1));
};
};
};
balonkataoven.visible = false;
backgroundoven.gotoAndStop(2);
mamakaget.visible = true;
balonkataomg.visible = true;
waktugantigosong = new Timer(1000, 4);
waktugantigosong.addEventListener(TimerEvent.TIMER_COMPLETE, timerHandlerwaktugantigosong);
waktugantigosong.start();
}
public function masukbahan(_arg1:MouseEvent):void{
if ((((((urutanbahan == "telur")) && ((_arg1.currentTarget.name == "telur")))) && ((banyaktelur > 0)))){
banyaktelur--;
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
if (telurmasuk.visible == false){
telurmasuk.gotoAndStop(1);
telurmasuk.visible = true;
} else {
telurmasuk.gotoAndStop((telurmasuk.currentFrame + 1));
};
if (banyaktelur == 0){
banyakadukan = 4;
aduktelur.visible = true;
kliktelur.visible = false;
klikstir.visible = true;
aduktelur.useHandCursor = true;
aduktelur.buttonMode = true;
aduktelur.addEventListener(MouseEvent.CLICK, adukbahan);
};
} else {
if ((((((urutanbahan == "gula")) && ((_arg1.currentTarget.name == "gula")))) && ((banyakgula > 0)))){
if (aduktelur.visible == true){
aduktelur.visible = false;
};
banyakgula--;
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
if (gulamasuk.visible == false){
gulamasuk.gotoAndStop(1);
gulamasuk.visible = true;
} else {
gulamasuk.gotoAndStop((gulamasuk.currentFrame + 1));
};
if (banyakgula == 0){
banyakadukan = 5;
adukgula.visible = false;
klikgula.visible = false;
klikstir.visible = true;
gulamasuk.useHandCursor = true;
gulamasuk.buttonMode = true;
gulamasuk.addEventListener(MouseEvent.CLICK, adukbahan);
};
} else {
if ((((((urutanbahan == "susu")) && ((_arg1.currentTarget.name == "susu")))) && ((banyaksusu > 0)))){
if (adukgula.visible == true){
adukgula.visible = false;
};
banyaksusu--;
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
if (susumasuk.visible == false){
susumasuk.visible = true;
susumasuk.gotoAndPlay(2);
susu.removeEventListener(MouseEvent.CLICK, masukbahan);
} else {
susumasuk.gotoAndPlay(2);
susu.removeEventListener(MouseEvent.CLICK, masukbahan);
};
} else {
if ((((((urutanbahan == "tepung")) && ((_arg1.currentTarget.name == "tepung")))) && ((banyaktepung > 0)))){
if (susujadi.visible == true){
susujadi.visible = false;
};
banyaktepung--;
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
if (tepungmasuk.visible == false){
tepungmasuk.gotoAndStop(1);
tepungmasuk.visible = true;
} else {
tepungmasuk.gotoAndStop((tepungmasuk.currentFrame + 1));
};
if (banyaktepung == 0){
banyakadukan = 4;
aduktepung.visible = false;
kliktepung.visible = false;
klikstir.visible = true;
tepungmasuk.useHandCursor = true;
tepungmasuk.buttonMode = true;
tepungmasuk.addEventListener(MouseEvent.CLICK, adukbahan);
};
} else {
if ((((((urutanbahan == "topingstrawberry")) && ((_arg1.currentTarget.name == "toping_strawberry")))) && ((banyakstrawberry > 0)))){
if (aduktepung.visible == true){
aduktepung.visible = false;
};
banyakstrawberry--;
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
if (strawberrymasuk.visible == false){
strawberrymasuk.gotoAndStop(1);
strawberrymasuk.visible = true;
} else {
strawberrymasuk.gotoAndStop((strawberrymasuk.currentFrame + 1));
};
if (banyakstrawberry == 0){
urutanbahan = "oven";
klikstrawberry.visible = false;
strawberryjadi.alpha = 0;
strawberryjadi.visible = true;
Tweener.addTween(strawberryjadi, {alpha:1, time:1, transition:"linear", onComplete:masukkebagianoven});
};
} else {
if ((((((urutanbahan == "topingcoklat")) && ((_arg1.currentTarget.name == "toping_coklat")))) && ((banyakcoklat > 0)))){
if (aduktepung.visible == true){
aduktepung.visible = false;
};
banyakcoklat--;
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
if (coklatmasuk.visible == false){
coklatmasuk.gotoAndStop(1);
coklatmasuk.visible = true;
} else {
coklatmasuk.gotoAndStop((coklatmasuk.currentFrame + 1));
};
if (banyakcoklat == 0){
urutanbahan = "oven";
klikcoklat.visible = false;
coklatjadi.alpha = 0;
coklatjadi.visible = true;
Tweener.addTween(coklatjadi, {alpha:1, time:1, transition:"linear", onComplete:masukkebagianoven});
};
} else {
if ((((((urutanbahan == "topingvanilla")) && ((_arg1.currentTarget.name == "toping_vanila")))) && ((banyakvanilla > 0)))){
if (aduktepung.visible == true){
aduktepung.visible = false;
};
banyakvanilla--;
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
if (vanillamasuk.visible == false){
vanillamasuk.gotoAndStop(1);
vanillamasuk.visible = true;
} else {
vanillamasuk.gotoAndStop((vanillamasuk.currentFrame + 1));
};
if (banyakvanilla == 0){
urutanbahan = "oven";
klikvanilla.visible = false;
vanillajadi.alpha = 0;
vanillajadi.visible = true;
Tweener.addTween(vanillajadi, {alpha:1, time:1, transition:"linear", onComplete:masukkebagianoven});
};
} else {
if (skor > 0){
skor = (skor - 10);
score_mc.score_txt.text = skor;
};
};
};
};
};
};
};
};
}
function __setProp___id76__GameWin_congaratulations_6(){
try {
__id76_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id76_.text = "{lbSelendang3}";
__id76_.textColor = 7753537;
__id76_.textSize = 45;
__id76_.bold = false;
__id76_.disableWordwrap = false;
__id76_.embedFonts = true;
__id76_.font = "GilliesGothic";
__id76_.hAlign = "center";
__id76_.multiline = true;
__id76_.vAlign = "middle";
__id76_.antiAliasType = "advanced";
__id76_.glowBlur = 3;
__id76_.glowColor = 12430502;
__id76_.useGlowFilter = false;
__id76_.glowQuality = 1;
__id76_.glowStrength = 5;
__id76_.gridFitType = "pixel";
__id76_.italic = false;
__id76_.selectable = false;
__id76_.underline = false;
try {
__id76_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
override public function Update(_arg1:Event){
}
private function munculkantombolwarp():void{
backgroundwhipcream.gotoAndStop(2);
tombolcreamcoklat.visible = false;
tombolcreamstrawberry.visible = false;
tombolcreamvanilla.visible = false;
tombolwarpcoklat.visible = true;
tombolwarpcoklat.alpha = 0;
Tweener.addTween(tombolwarpcoklat, {alpha:1, time:1, transition:"linear"});
tombolwarpstrawberry.visible = true;
tombolwarpstrawberry.alpha = 0;
Tweener.addTween(tombolwarpstrawberry, {alpha:1, time:1, transition:"linear"});
tombolwarpvanilla.visible = true;
tombolwarpvanilla.alpha = 0;
Tweener.addTween(tombolwarpvanilla, {alpha:1, time:1, transition:"linear", onComplete:munculkanbntmodetombolwarp});
}
function __setProp_decorate_txt_GameWin_text_5(){
try {
decorate_txt["componentInspectorSetting"] = true;
} catch(e:Error) {
};
decorate_txt.text = "{lbAtas1}";
decorate_txt.textColor = 15976078;
decorate_txt.textSize = 28;
decorate_txt.bold = false;
decorate_txt.disableWordwrap = false;
decorate_txt.embedFonts = true;
decorate_txt.font = "Adlib";
decorate_txt.hAlign = "center";
decorate_txt.multiline = true;
decorate_txt.vAlign = "middle";
decorate_txt.antiAliasType = "advanced";
decorate_txt.glowBlur = 3;
decorate_txt.glowColor = 12430502;
decorate_txt.useGlowFilter = false;
decorate_txt.glowQuality = 1;
decorate_txt.glowStrength = 5;
decorate_txt.gridFitType = "pixel";
decorate_txt.italic = false;
decorate_txt.selectable = false;
decorate_txt.underline = false;
try {
decorate_txt["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
public function hidupkanevent():void{
if (banyaksusu == 0){
susumasuk.visible = false;
susujadi.visible = true;
kliksusu.visible = false;
urutanbahan = "tepung";
balonkatasusu.visible = false;
balonkatatepung.banyaktepung_txt.text = banyaktepung;
balonkatatepung.visible = true;
kliktepung.visible = true;
susu.addEventListener(MouseEvent.CLICK, masukbahan);
} else {
susu.addEventListener(MouseEvent.CLICK, masukbahan);
};
}
private function mulaitaruhtoping(_arg1:MouseEvent):void{
kotakhitam.visible = false;
decorate_txt.visible = false;
contohtoping.visible = false;
tombolstart.visible = false;
}
private function timerHandlerwaktupintuoven(_arg1:TimerEvent):void{
waktugantigosong2.stop();
mOvenFlag = true;
mKlikOven.visible = false;
oven.oven9.klikoven9.useHandCursor = false;
oven.oven9.klikoven9.buttonMode = false;
oven.oven9.removeEventListener(MouseEvent.CLICK, tambahwaktuoven);
balonkataoven.visible = false;
balonkatapiring.visible = true;
pintuoven.visible = true;
if (warna == "strawberry"){
adonanstrawberry.visible = false;
adonanstrawberryjadi.visible = true;
adonanstrawberryjadi.strawberry1.useHandCursor = true;
adonanstrawberryjadi.strawberry1.buttonMode = true;
adonanstrawberryjadi.strawberry2.useHandCursor = true;
adonanstrawberryjadi.strawberry2.buttonMode = true;
adonanstrawberryjadi.strawberry3.useHandCursor = true;
adonanstrawberryjadi.strawberry3.buttonMode = true;
adonanstrawberryjadi.strawberry1.addEventListener(MouseEvent.MOUSE_UP, angkatadonan);
adonanstrawberryjadi.strawberry1.addEventListener(MouseEvent.MOUSE_DOWN, tarukadonan);
adonanstrawberryjadi.strawberry2.addEventListener(MouseEvent.MOUSE_UP, angkatadonan);
adonanstrawberryjadi.strawberry2.addEventListener(MouseEvent.MOUSE_DOWN, tarukadonan);
adonanstrawberryjadi.strawberry3.addEventListener(MouseEvent.MOUSE_UP, angkatadonan);
adonanstrawberryjadi.strawberry3.addEventListener(MouseEvent.MOUSE_DOWN, tarukadonan);
} else {
if (warna == "coklat"){
adonancoklat.visible = false;
adonancoklatjadi.visible = true;
adonancoklatjadi.coklat1.useHandCursor = true;
adonancoklatjadi.coklat1.buttonMode = true;
adonancoklatjadi.coklat2.useHandCursor = true;
adonancoklatjadi.coklat2.buttonMode = true;
adonancoklatjadi.coklat3.useHandCursor = true;
adonancoklatjadi.coklat3.buttonMode = true;
adonancoklatjadi.coklat1.addEventListener(MouseEvent.MOUSE_UP, angkatadonan);
adonancoklatjadi.coklat1.addEventListener(MouseEvent.MOUSE_DOWN, tarukadonan);
adonancoklatjadi.coklat2.addEventListener(MouseEvent.MOUSE_UP, angkatadonan);
adonancoklatjadi.coklat2.addEventListener(MouseEvent.MOUSE_DOWN, tarukadonan);
adonancoklatjadi.coklat3.addEventListener(MouseEvent.MOUSE_UP, angkatadonan);
adonancoklatjadi.coklat3.addEventListener(MouseEvent.MOUSE_DOWN, tarukadonan);
} else {
if (warna == "vanilla"){
adonanvanilla.visible = false;
adonanvanillajadi.visible = true;
adonanvanillajadi.vanilla1.useHandCursor = true;
adonanvanillajadi.vanilla1.buttonMode = true;
adonanvanillajadi.vanilla2.useHandCursor = true;
adonanvanillajadi.vanilla2.buttonMode = true;
adonanvanillajadi.vanilla3.useHandCursor = true;
adonanvanillajadi.vanilla3.buttonMode = true;
adonanvanillajadi.vanilla1.addEventListener(MouseEvent.MOUSE_UP, angkatadonan);
adonanvanillajadi.vanilla1.addEventListener(MouseEvent.MOUSE_DOWN, tarukadonan);
adonanvanillajadi.vanilla2.addEventListener(MouseEvent.MOUSE_UP, angkatadonan);
adonanvanillajadi.vanilla2.addEventListener(MouseEvent.MOUSE_DOWN, tarukadonan);
adonanvanillajadi.vanilla3.addEventListener(MouseEvent.MOUSE_UP, angkatadonan);
adonanvanillajadi.vanilla3.addEventListener(MouseEvent.MOUSE_DOWN, tarukadonan);
};
};
};
piring.visible = true;
piring.alpha = 0;
Tweener.addTween(piring, {alpha:1, time:1, transition:"linear", onComplete:masukkebagianoven});
}
private function pilihwarpcream(_arg1:MouseEvent):void{
if (hitungklikwhipcream < 3){
hitungklikwhipcream++;
};
if (warna == "strawberry"){
if (_arg1.currentTarget.name == "tombolwarpcoklat"){
if (muffinstrawberrygabung.muffinwarp1.visible == false){
muffinstrawberrygabung.muffinwarp1.gotoAndStop("coklat");
muffinstrawberrygabung.muffinwarp1.visible = true;
} else {
if (muffinstrawberrygabung.muffinwarp2.visible == false){
muffinstrawberrygabung.muffinwarp2.gotoAndStop("coklat");
muffinstrawberrygabung.muffinwarp2.visible = true;
} else {
if (muffinstrawberrygabung.muffinwarp3.visible == false){
muffinstrawberrygabung.muffinwarp3.gotoAndStop("coklat");
muffinstrawberrygabung.muffinwarp3.visible = true;
};
};
};
} else {
if (_arg1.currentTarget.name == "tombolwarpvanilla"){
if (muffinstrawberrygabung.muffinwarp1.visible == false){
muffinstrawberrygabung.muffinwarp1.gotoAndStop("vanilla");
muffinstrawberrygabung.muffinwarp1.visible = true;
} else {
if (muffinstrawberrygabung.muffinwarp2.visible == false){
muffinstrawberrygabung.muffinwarp2.gotoAndStop("vanilla");
muffinstrawberrygabung.muffinwarp2.visible = true;
} else {
if (muffinstrawberrygabung.muffinwarp3.visible == false){
muffinstrawberrygabung.muffinwarp3.gotoAndStop("vanilla");
muffinstrawberrygabung.muffinwarp3.visible = true;
};
};
};
} else {
if (_arg1.currentTarget.name == "tombolwarpstrawberry"){
if (muffinstrawberrygabung.muffinwarp1.visible == false){
muffinstrawberrygabung.muffinwarp1.gotoAndStop("strawberry");
muffinstrawberrygabung.muffinwarp1.visible = true;
} else {
if (muffinstrawberrygabung.muffinwarp2.visible == false){
muffinstrawberrygabung.muffinwarp2.gotoAndStop("strawberry");
muffinstrawberrygabung.muffinwarp2.visible = true;
} else {
if (muffinstrawberrygabung.muffinwarp3.visible == false){
muffinstrawberrygabung.muffinwarp3.gotoAndStop("strawberry");
muffinstrawberrygabung.muffinwarp3.visible = true;
};
};
};
};
};
};
} else {
if (warna == "coklat"){
if (_arg1.currentTarget.name == "tombolwarpcoklat"){
if (muffincoklatgabung.muffinwarp1.visible == false){
muffincoklatgabung.muffinwarp1.gotoAndStop("coklat");
muffincoklatgabung.muffinwarp1.visible = true;
} else {
if (muffincoklatgabung.muffinwarp2.visible == false){
muffincoklatgabung.muffinwarp2.gotoAndStop("coklat");
muffincoklatgabung.muffinwarp2.visible = true;
} else {
if (muffincoklatgabung.muffinwarp3.visible == false){
muffincoklatgabung.muffinwarp3.gotoAndStop("coklat");
muffincoklatgabung.muffinwarp3.visible = true;
};
};
};
} else {
if (_arg1.currentTarget.name == "tombolwarpvanilla"){
if (muffincoklatgabung.muffinwarp1.visible == false){
muffincoklatgabung.muffinwarp1.gotoAndStop("vanilla");
muffincoklatgabung.muffinwarp1.visible = true;
} else {
if (muffincoklatgabung.muffinwarp2.visible == false){
muffincoklatgabung.muffinwarp2.gotoAndStop("vanilla");
muffincoklatgabung.muffinwarp2.visible = true;
} else {
if (muffincoklatgabung.muffinwarp3.visible == false){
muffincoklatgabung.muffinwarp3.gotoAndStop("vanilla");
muffincoklatgabung.muffinwarp3.visible = true;
};
};
};
} else {
if (_arg1.currentTarget.name == "tombolwarpstrawberry"){
if (muffincoklatgabung.muffinwarp1.visible == false){
muffincoklatgabung.muffinwarp1.gotoAndStop("strawberry");
muffincoklatgabung.muffinwarp1.visible = true;
} else {
if (muffincoklatgabung.muffinwarp2.visible == false){
muffincoklatgabung.muffinwarp2.gotoAndStop("strawberry");
muffincoklatgabung.muffinwarp2.visible = true;
} else {
if (muffincoklatgabung.muffinwarp3.visible == false){
muffincoklatgabung.muffinwarp3.gotoAndStop("strawberry");
muffincoklatgabung.muffinwarp3.visible = true;
};
};
};
};
};
};
} else {
if (warna == "vanilla"){
if (_arg1.currentTarget.name == "tombolwarpcoklat"){
if (muffinvanillagabung.muffinwarp1.visible == false){
muffinvanillagabung.muffinwarp1.gotoAndStop("coklat");
muffinvanillagabung.muffinwarp1.visible = true;
} else {
if (muffinvanillagabung.muffinwarp2.visible == false){
muffinvanillagabung.muffinwarp2.gotoAndStop("coklat");
muffinvanillagabung.muffinwarp2.visible = true;
} else {
if (muffinvanillagabung.muffinwarp3.visible == false){
muffinvanillagabung.muffinwarp3.gotoAndStop("coklat");
muffinvanillagabung.muffinwarp3.visible = true;
};
};
};
} else {
if (_arg1.currentTarget.name == "tombolwarpvanilla"){
if (muffinvanillagabung.muffinwarp1.visible == false){
muffinvanillagabung.muffinwarp1.gotoAndStop("vanilla");
muffinvanillagabung.muffinwarp1.visible = true;
} else {
if (muffinvanillagabung.muffinwarp2.visible == false){
muffinvanillagabung.muffinwarp2.gotoAndStop("vanilla");
muffinvanillagabung.muffinwarp2.visible = true;
} else {
if (muffinvanillagabung.muffinwarp3.visible == false){
muffinvanillagabung.muffinwarp3.gotoAndStop("vanilla");
muffinvanillagabung.muffinwarp3.visible = true;
};
};
};
} else {
if (_arg1.currentTarget.name == "tombolwarpstrawberry"){
if (muffinvanillagabung.muffinwarp1.visible == false){
muffinvanillagabung.muffinwarp1.gotoAndStop("strawberry");
muffinvanillagabung.muffinwarp1.visible = true;
} else {
if (muffinvanillagabung.muffinwarp2.visible == false){
muffinvanillagabung.muffinwarp2.gotoAndStop("strawberry");
muffinvanillagabung.muffinwarp2.visible = true;
} else {
if (muffinvanillagabung.muffinwarp3.visible == false){
muffinvanillagabung.muffinwarp3.gotoAndStop("strawberry");
muffinvanillagabung.muffinwarp3.visible = true;
};
};
};
};
};
};
};
};
};
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
if (hitungklikwhipcream == 3){
backgroundwhipcream.gotoAndStop(3);
kotakhitam.visible = true;
decorate_txt.visible = true;
contohtoping.visible = true;
tombolstart.useHandCursor = true;
tombolstart.buttonMode = true;
tombolstart.visible = true;
tombolstart.addEventListener(MouseEvent.CLICK, mulaitaruhtoping);
menuwhipcream.visible = false;
tombolwarpcoklat.visible = false;
tombolwarpstrawberry.visible = false;
tombolwarpvanilla.visible = false;
menutopping.visible = true;
cherry1.visible = true;
cherry2.visible = true;
cherry3.visible = true;
berry1.visible = true;
berry2.visible = true;
berry3.visible = true;
banana1.visible = true;
banana2.visible = true;
banana3.visible = true;
cashewnut1.visible = true;
cashewnut2.visible = true;
cashewnut3.visible = true;
chocobar1.visible = true;
chocobar2.visible = true;
chocobar3.visible = true;
chocochips1.visible = true;
chocochips2.visible = true;
chocochips3.visible = true;
chocochips4.visible = true;
chocochips5.visible = true;
chocochips6.visible = true;
chocochips7.visible = true;
chocochips8.visible = true;
chocochips9.visible = true;
mamatoping.visible = true;
balonkatatopping.visible = true;
tombolfinish.visible = true;
menutopping.alpha = 0;
cherry1.alpha = 0;
cherry2.alpha = 0;
cherry3.alpha = 0;
berry1.alpha = 0;
berry2.alpha = 0;
berry3.alpha = 0;
banana1.alpha = 0;
banana2.alpha = 0;
banana3.alpha = 0;
cashewnut1.alpha = 0;
cashewnut2.alpha = 0;
cashewnut3.alpha = 0;
chocobar1.alpha = 0;
chocobar2.alpha = 0;
chocobar3.alpha = 0;
chocochips1.alpha = 0;
chocochips2.alpha = 0;
chocochips3.alpha = 0;
chocochips4.alpha = 0;
chocochips5.alpha = 0;
chocochips6.alpha = 0;
chocochips7.alpha = 0;
chocochips8.alpha = 0;
chocochips9.alpha = 0;
mamatoping.alpha = 0;
balonkatatopping.alpha = 0;
tombolfinish.alpha = 0;
Tweener.addTween(menutopping, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(cherry1, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(cherry2, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(cherry3, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(berry1, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(berry2, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(berry3, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(banana1, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(banana2, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(banana3, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(cashewnut1, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(cashewnut2, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(cashewnut3, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocobar1, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocobar2, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocobar3, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocochips1, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocochips2, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocochips3, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocochips4, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocochips5, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocochips6, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocochips7, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocochips8, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(chocochips9, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(mamatoping, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(balonkatatopping, {alpha:1, time:1, transition:"linear"});
Tweener.addTween(tombolfinish, {alpha:1, time:1, transition:"linear", onComplete:munculkanbntmodetoping});
};
}
private function munculkanbntmodetoping():void{
cherry1.useHandCursor = true;
cherry1.buttonMode = true;
cherry2.useHandCursor = true;
cherry2.buttonMode = true;
cherry3.useHandCursor = true;
cherry3.buttonMode = true;
berry1.useHandCursor = true;
berry1.buttonMode = true;
berry2.useHandCursor = true;
berry2.buttonMode = true;
berry3.useHandCursor = true;
berry3.buttonMode = true;
banana1.useHandCursor = true;
banana1.buttonMode = true;
banana2.useHandCursor = true;
banana2.buttonMode = true;
banana3.useHandCursor = true;
banana3.buttonMode = true;
cashewnut1.useHandCursor = true;
cashewnut1.buttonMode = true;
cashewnut2.useHandCursor = true;
cashewnut2.buttonMode = true;
cashewnut3.useHandCursor = true;
cashewnut3.buttonMode = true;
chocobar1.useHandCursor = true;
chocobar1.buttonMode = true;
chocobar2.useHandCursor = true;
chocobar2.buttonMode = true;
chocobar3.useHandCursor = true;
chocobar3.buttonMode = true;
chocochips1.useHandCursor = true;
chocochips1.buttonMode = true;
chocochips2.useHandCursor = true;
chocochips2.buttonMode = true;
chocochips3.useHandCursor = true;
chocochips3.buttonMode = true;
chocochips4.useHandCursor = true;
chocochips4.buttonMode = true;
chocochips5.useHandCursor = true;
chocochips5.buttonMode = true;
chocochips6.useHandCursor = true;
chocochips6.buttonMode = true;
chocochips7.useHandCursor = true;
chocochips7.buttonMode = true;
chocochips8.useHandCursor = true;
chocochips8.buttonMode = true;
chocochips9.useHandCursor = true;
chocochips9.buttonMode = true;
tombolfinish.useHandCursor = true;
tombolfinish.buttonMode = true;
cherry1.addEventListener(MouseEvent.CLICK, taruhtoping);
cherry2.addEventListener(MouseEvent.CLICK, taruhtoping);
cherry3.addEventListener(MouseEvent.CLICK, taruhtoping);
berry1.addEventListener(MouseEvent.CLICK, taruhtoping);
berry2.addEventListener(MouseEvent.CLICK, taruhtoping);
berry3.addEventListener(MouseEvent.CLICK, taruhtoping);
banana1.addEventListener(MouseEvent.CLICK, taruhtoping);
banana2.addEventListener(MouseEvent.CLICK, taruhtoping);
banana3.addEventListener(MouseEvent.CLICK, taruhtoping);
cashewnut1.addEventListener(MouseEvent.CLICK, taruhtoping);
cashewnut2.addEventListener(MouseEvent.CLICK, taruhtoping);
cashewnut3.addEventListener(MouseEvent.CLICK, taruhtoping);
chocobar1.addEventListener(MouseEvent.CLICK, taruhtoping);
chocobar2.addEventListener(MouseEvent.CLICK, taruhtoping);
chocobar3.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips1.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips2.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips3.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips4.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips5.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips6.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips7.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips8.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips9.addEventListener(MouseEvent.CLICK, taruhtoping);
cherry1.addEventListener(MouseEvent.CLICK, taruhtoping);
cherry2.addEventListener(MouseEvent.CLICK, taruhtoping);
cherry3.addEventListener(MouseEvent.CLICK, taruhtoping);
berry1.addEventListener(MouseEvent.CLICK, taruhtoping);
berry2.addEventListener(MouseEvent.CLICK, taruhtoping);
berry3.addEventListener(MouseEvent.CLICK, taruhtoping);
banana1.addEventListener(MouseEvent.CLICK, taruhtoping);
banana2.addEventListener(MouseEvent.CLICK, taruhtoping);
banana3.addEventListener(MouseEvent.CLICK, taruhtoping);
cashewnut1.addEventListener(MouseEvent.CLICK, taruhtoping);
cashewnut2.addEventListener(MouseEvent.CLICK, taruhtoping);
cashewnut3.addEventListener(MouseEvent.CLICK, taruhtoping);
chocobar1.addEventListener(MouseEvent.CLICK, taruhtoping);
chocobar2.addEventListener(MouseEvent.CLICK, taruhtoping);
chocobar3.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips1.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips2.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips3.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips4.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips5.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips6.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips7.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips8.addEventListener(MouseEvent.CLICK, taruhtoping);
chocochips9.addEventListener(MouseEvent.CLICK, taruhtoping);
tombolfinish.addEventListener(MouseEvent.CLICK, cektotalskor);
}
private function cektotalskor(_arg1:MouseEvent):void{
waktumain.stop();
waktumain.removeEventListener(TimerEvent.TIMER, timerHandlerwaktumain);
waktumain.removeEventListener(TimerEvent.TIMER_COMPLETE, timerHandlerwaktumainhabis);
skor = (skor - (180 - ((menit * 60) + detik)));
gotoAndStop(7);
Main.GetInstance().submitScore(skor);
}
private function taruhtoping(_arg1:MouseEvent):void{
var _local2:*;
if (kliknya == false){
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
_arg1.currentTarget.startDrag();
setChildIndex(_arg1.currentTarget, (numChildren - 1));
kliknya = true;
} else {
if (((((ColDetection.isColliding(_arg1.currentTarget, whipcream1, this, true)) || (ColDetection.isColliding(_arg1.currentTarget, whipcream2, this, true)))) || (ColDetection.isColliding(_arg1.currentTarget, whipcream3, this, true)))){
kliknya = false;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
_arg1.currentTarget.stopDrag();
_arg1.currentTarget.removeEventListener(MouseEvent.CLICK, taruhtoping);
_local2 = jarakDuaTitik(_arg1.currentTarget.x, _arg1.currentTarget.y, this[(_arg1.currentTarget.name + "contoh")].x, this[(_arg1.currentTarget.name + "contoh")].y);
trace(("jarak : " + _local2));
if (_local2 <= 5){
skor = (skor + 100);
score_mc.score_txt.text = skor;
} else {
if (_local2 <= 15){
skor = (skor + 75);
score_mc.score_txt.text = skor;
} else {
if (_local2 <= 30){
skor = (skor + 50);
score_mc.score_txt.text = skor;
} else {
if (_local2 <= 50){
skor = (skor + 25);
score_mc.score_txt.text = skor;
} else {
skor = (skor + 0);
score_mc.score_txt.text = skor;
};
};
};
};
trace(("skor : " + skor));
};
};
}
private function timerHandlerwaktugantigosong(_arg1:TimerEvent):void{
waktugantigosong.stop();
waktugantigosong.removeEventListener(TimerEvent.TIMER_COMPLETE, timerHandlerwaktugantigosong);
waktumain.stop();
waktumain.removeEventListener(TimerEvent.TIMER, timerHandlerwaktumain);
waktumain.removeEventListener(TimerEvent.TIMER_COMPLETE, timerHandlerwaktumainhabis);
gotoAndStop(4);
Main.GetInstance().submitScore(skor);
}
function timerHandlerwaktumain(_arg1:TimerEvent):void{
detik--;
if (detik < 0){
detik = 59;
menit--;
};
if (detik < 10){
time_mc.time_txt.text = (((("0" + menit) + " : ") + "0") + detik);
} else {
time_mc.time_txt.text = ((("0" + menit) + " : ") + detik);
};
}
public function GosongGan(_arg1:TimerEvent){
mKlikOven.visible = false;
mReadyBtn.mouseEnabled = false;
waktugantigosong2.stop();
animasiasap.visible = true;
animasiasap.gotoAndPlay(2);
}
private function adukbahan(_arg1:MouseEvent):void{
if ((((banyakadukan > 0)) && ((urutanbahan == "telur")))){
banyakadukan--;
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
aduktelur.gotoAndStop((aduktelur.currentFrame + 1));
if (banyakadukan == 0){
urutanbahan = "gula";
balonkatatelur.visible = false;
balonkatagula.banyakgula_txt.text = banyakgula;
balonkatagula.visible = true;
klikgula.visible = true;
klikstir.visible = false;
aduktelur.useHandCursor = false;
aduktelur.buttonMode = false;
aduktelur.removeEventListener(MouseEvent.CLICK, adukbahan);
};
} else {
if ((((banyakadukan > 0)) && ((urutanbahan == "gula")))){
banyakadukan--;
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
if (adukgula.visible == false){
gulamasuk.visible = false;
adukgula.useHandCursor = true;
adukgula.buttonMode = true;
adukgula.addEventListener(MouseEvent.CLICK, adukbahan);
adukgula.gotoAndStop(1);
adukgula.visible = true;
} else {
adukgula.gotoAndStop((adukgula.currentFrame + 1));
};
if (banyakadukan == 0){
urutanbahan = "susu";
balonkatagula.visible = false;
balonkatasusu.banyaksusu_txt.text = banyaksusu;
balonkatasusu.visible = true;
kliksusu.visible = true;
klikstir.visible = false;
adukgula.useHandCursor = false;
adukgula.buttonMode = false;
adukgula.removeEventListener(MouseEvent.CLICK, adukbahan);
};
} else {
if ((((banyakadukan > 0)) && ((urutanbahan == "tepung")))){
banyakadukan--;
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
if (aduktepung.visible == false){
tepungmasuk.visible = false;
aduktepung.useHandCursor = true;
aduktepung.buttonMode = true;
aduktepung.addEventListener(MouseEvent.CLICK, adukbahan);
aduktepung.gotoAndStop(1);
aduktepung.visible = true;
} else {
aduktepung.gotoAndStop((aduktepung.currentFrame + 1));
};
if (banyakadukan == 0){
balonkatatepung.visible = false;
if (warna == "strawberry"){
urutanbahan = "topingstrawberry";
balonkatastrawberry.banyakstrawberry_txt.text = banyakstrawberry;
balonkatastrawberry.visible = true;
klikstrawberry.visible = true;
} else {
if (warna == "coklat"){
urutanbahan = "topingcoklat";
balonkatacoklat.banyakcoklat_txt.text = banyakcoklat;
balonkatacoklat.visible = true;
klikcoklat.visible = true;
} else {
if (warna == "vanilla"){
urutanbahan = "topingvanilla";
balonkatavanilla.banyakvanila_txt.text = banyakvanilla;
balonkatavanilla.visible = true;
klikvanilla.visible = true;
};
};
};
klikstir.visible = false;
aduktepung.useHandCursor = false;
aduktepung.buttonMode = false;
aduktepung.removeEventListener(MouseEvent.CLICK, adukbahan);
};
} else {
skor = (skor - 10);
score_mc.score_txt.text = skor;
};
};
};
}
private function tarukadonan(_arg1:MouseEvent):void{
if (ColDetection.isColliding(_arg1.currentTarget, piring, this, true)){
if (warna == "strawberry"){
if (muffinstrawberry1.visible == false){
_arg1.currentTarget.visible = false;
muffinstrawberry1.visible = true;
muffinstrawberry1.alpha = 0;
Tweener.addTween(muffinstrawberry1, {alpha:1, time:1, transition:"linear"});
} else {
if (muffinstrawberry2.visible == false){
_arg1.currentTarget.visible = false;
muffinstrawberry2.visible = true;
muffinstrawberry2.alpha = 0;
Tweener.addTween(muffinstrawberry2, {alpha:1, time:1, transition:"linear"});
} else {
if (muffinstrawberry3.visible == false){
_arg1.currentTarget.visible = false;
muffinstrawberry3.visible = true;
muffinstrawberry3.alpha = 0;
Tweener.addTween(muffinstrawberry3, {alpha:1, time:1, transition:"linear", onComplete:masukkewhipcream});
};
};
};
} else {
if (warna == "coklat"){
if (muffincoklat1.visible == false){
_arg1.currentTarget.visible = false;
muffincoklat1.visible = true;
muffincoklat1.alpha = 0;
Tweener.addTween(muffincoklat1, {alpha:1, time:1, transition:"linear"});
} else {
if (muffincoklat2.visible == false){
_arg1.currentTarget.visible = false;
muffincoklat2.visible = true;
muffincoklat2.alpha = 0;
Tweener.addTween(muffincoklat2, {alpha:1, time:1, transition:"linear"});
} else {
if (muffincoklat3.visible == false){
_arg1.currentTarget.visible = false;
muffincoklat3.visible = true;
muffincoklat3.alpha = 0;
Tweener.addTween(muffincoklat3, {alpha:1, time:1, transition:"linear", onComplete:masukkewhipcream});
};
};
};
} else {
if (warna == "vanilla"){
if (muffinvanilla1.visible == false){
_arg1.currentTarget.visible = false;
muffinvanilla1.visible = true;
muffinvanilla1.alpha = 0;
Tweener.addTween(muffinvanilla1, {alpha:1, time:1, transition:"linear"});
} else {
if (muffinvanilla2.visible == false){
_arg1.currentTarget.visible = false;
muffinvanilla2.visible = true;
muffinvanilla2.alpha = 0;
Tweener.addTween(muffinvanilla2, {alpha:1, time:1, transition:"linear"});
} else {
if (muffinvanilla3.visible == false){
_arg1.currentTarget.visible = false;
muffinvanilla3.visible = true;
muffinvanilla3.alpha = 0;
Tweener.addTween(muffinvanilla3, {alpha:1, time:1, transition:"linear", onComplete:masukkewhipcream});
};
};
};
};
};
};
skor = (skor + 50);
score_mc.score_txt.text = skor;
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
};
}
private function angkatadonan(_arg1:MouseEvent):void{
Main.GetInstance().mOptionBar.PlaySFX("sfx2");
_arg1.currentTarget.startDrag();
}
public function pilihtombol(_arg1:MouseEvent):void{
if ((((((_arg1.currentTarget.name == "playagain")) || ((_arg1.currentTarget.name == "playagain2")))) || ((_arg1.currentTarget.name == "playagain3")))){
Main.GetInstance().gabung();
} else {
if ((((((_arg1.currentTarget.name == "playmoregame")) || ((_arg1.currentTarget.name == "playmoregame2")))) || ((_arg1.currentTarget.name == "playmoregame3")))){
} else {
if ((((((_arg1.currentTarget.name == "backtomainmenu")) || ((_arg1.currentTarget.name == "backtomainmenu2")))) || ((_arg1.currentTarget.name == "backtomainmenu3")))){
Main.GetInstance().killgame();
Main.GetInstance().InitMainMenu();
};
};
};
}
function timerHandlerwaktumainhabis(_arg1:TimerEvent):void{
gotoAndStop(5);
}
public static function GetInstance():CGame{
return (CGameGlobal);
}
}
}//package
Section 89
//CMainMenu (CMainMenu)
package {
import flash.display.*;
import flash.events.*;
public class CMainMenu extends MovieClip {
public var mFreeModeBtn:MovieClip;
public var mCredit:MovieClip;
public function CMainMenu(){
mouseEnabled = false;
mFreeModeBtn.useHandCursor = true;
mFreeModeBtn.buttonMode = true;
mCredit.useHandCursor = true;
mCredit.buttonMode = true;
mFreeModeBtn.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true);
mCredit.addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true);
}
private function onMouseUp(_arg1:MouseEvent):void{
var _local2:MovieClip;
if (_arg1.currentTarget.name == "mFreeModeBtn"){
Main.GetInstance().killmainmenu();
Main.GetInstance().InitGame();
};
if (_arg1.currentTarget.name == "mCredit"){
_local2 = new CCredit();
Main.GetInstance().stage.addChild(_local2);
};
}
}
}//package
Section 90
//COptionBar (COptionBar)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
public class COptionBar extends MovieClip {
public var mMusic:MovieClip;
private var mSfxChannel:Array;
public var mQuality:MovieClip;
public var mSFX:MovieClip;
private var mBgm:Sound;
public var mPopUp:MovieClip;
private var mBgmFlag:Boolean;
private var mBgmChannel:SoundChannel;
private var mSfxFlag:Boolean;// = true
private var mBgmVol:Number;// = 1
public static var Global:COptionBar;
public function COptionBar(_arg1:int=0, _arg2:int=0, _arg3:String=null, _arg4:Number=0.5){
var _local5:Class;
super();
Global = this;
mBgmVol = _arg4;
this.x = _arg1;
this.y = _arg2;
if (_arg3){
_local5 = (getDefinitionByName(_arg3) as Class);
if (_local5){
mBgm = new (_local5);
};
};
mPopUp.mouseEnabled = false;
mMusic.buttonMode = true;
mMusic.useHandCursor = true;
mSFX.buttonMode = true;
mSFX.useHandCursor = true;
mQuality.buttonMode = true;
mQuality.useHandCursor = true;
mMusic.addEventListener(MouseEvent.MOUSE_OVER, MusicOver, false, 0, true);
mMusic.addEventListener(MouseEvent.MOUSE_OUT, MusicOut, false, 0, true);
mMusic.addEventListener(MouseEvent.MOUSE_UP, ToggleMusic, false, 0, true);
mSFX.addEventListener(MouseEvent.MOUSE_OVER, SFXOver, false, 0, true);
mSFX.addEventListener(MouseEvent.MOUSE_OUT, SFXOut, false, 0, true);
mSFX.addEventListener(MouseEvent.MOUSE_UP, ToggleSFX, false, 0, true);
mQuality.addEventListener(MouseEvent.MOUSE_OVER, QualityOver, false, 0, true);
mQuality.addEventListener(MouseEvent.MOUSE_OUT, QualityOut, false, 0, true);
mQuality.addEventListener(MouseEvent.MOUSE_UP, ToggleQuality, false, 0, true);
if (((mBgm) && (!((Main.GetInstance().mState == Main.STATE_PRELOADER))))){
StartBGM();
};
mSfxChannel = new Array();
MusicOut(null);
SFXOut(null);
trace("init option bar");
}
public function StopSFX(_arg1:int){
mSfxChannel[_arg1].stop();
}
private function MusicOut(_arg1:MouseEvent):void{
if (!mBgmFlag){
mMusic.gotoAndStop(2);
} else {
mMusic.gotoAndStop(1);
};
HidePopUp();
}
private function HidePopUp(){
mPopUp.alpha = 0;
}
public function PlaySFX(_arg1:String, _arg2:Number=1):int{
if (!mSfxFlag){
return;
};
var _local3:Class = (getDefinitionByName(_arg1) as Class);
var _local4:Sound = new (_local3);
var _local5:SoundTransform = new SoundTransform(_arg2, 0);
var _local6:SoundChannel = _local4.play(0, 1, _local5);
mSfxChannel.push(_local6);
return ((mSfxChannel.length - 1));
}
private function QualityOver(_arg1:MouseEvent):void{
mQuality.gotoAndStop(2);
ShowPopUp((("Quality: " + Main.GetInstance().stage.quality) + " (B)"));
}
private function SFXOver(_arg1:MouseEvent):void{
if (!mSfxFlag){
mSFX.gotoAndStop(4);
} else {
mSFX.gotoAndStop(3);
};
ShowPopUp("Toggle SFX (N)");
}
public function ToggleMusic(_arg1:MouseEvent=null):void{
if (Main.GetInstance().mState == Main.STATE_PRELOADER){
return;
};
trace("toggle Music");
if (((mBgmFlag) && (mBgmChannel))){
mBgmFlag = false;
mBgmChannel.stop();
} else {
StartBGM();
};
if (_arg1 != null){
MusicOver(null);
} else {
MusicOut(null);
};
}
public function ChangeBGMVol(_arg1:Number){
mBgmVol = _arg1;
mBgmChannel.soundTransform = new SoundTransform(mBgmVol, 0);
}
private function StartBGM(){
trace(("start bgm : " + mBgm));
if (!mBgm){
return;
};
mBgmFlag = true;
var _local1:SoundTransform = new SoundTransform(mBgmVol, 0);
mBgmChannel = mBgm.play(0, 999, _local1);
MusicOut(null);
}
private function SFXOut(_arg1:MouseEvent):void{
if (!mSfxFlag){
mSFX.gotoAndStop(2);
} else {
mSFX.gotoAndStop(1);
};
HidePopUp();
}
private function ShowPopUp(_arg1:String){
if ((this.y - 50) <= 0){
mPopUp.y = 40;
} else {
mPopUp.y = -30;
};
mPopUp.alpha = 1;
mPopUp.mText.text = _arg1;
}
public function ToggleSFX(_arg1:MouseEvent=null):void{
var _local2:int;
if (Main.GetInstance().mState == Main.STATE_PRELOADER){
return;
};
if (mSfxFlag){
mSfxFlag = false;
if (mSfxChannel){
_local2 = 0;
while (_local2 < mSfxChannel.length) {
mSfxChannel[_local2].stop();
_local2++;
};
};
} else {
mSfxFlag = true;
};
if (_arg1 != null){
SFXOver(null);
} else {
SFXOut(null);
};
}
public function ToggleQuality(_arg1:MouseEvent=null):void{
switch (Main.GetInstance().stage.quality){
case "LOW":
Main.GetInstance().stage.quality = StageQuality.MEDIUM;
break;
case "MEDIUM":
Main.GetInstance().stage.quality = StageQuality.HIGH;
break;
case "HIGH":
Main.GetInstance().stage.quality = StageQuality.BEST;
break;
case "BEST":
Main.GetInstance().stage.quality = StageQuality.LOW;
break;
};
ShowPopUp((("Quality: " + Main.GetInstance().stage.quality) + " (B)"));
}
private function QualityOut(_arg1:MouseEvent):void{
mQuality.gotoAndStop(1);
HidePopUp();
}
private function MusicOver(_arg1:MouseEvent):void{
if (!mBgmFlag){
mMusic.gotoAndStop(4);
} else {
mMusic.gotoAndStop(3);
};
ShowPopUp("Toggle Music (M)");
}
public function ChangeBGM(_arg1:String=null){
var _local2:Class;
if (!_arg1){
return;
};
if (_arg1){
_local2 = (getDefinitionByName(_arg1) as Class);
mBgm = new (_local2);
};
if (((mBgmFlag) && (mBgmChannel))){
mBgmChannel.stop();
};
trace(("bgm flag : " + mBgmFlag));
if (mBgmFlag){
StartBGM();
};
}
}
}//package
Section 91
//FPS (FPS)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.geom.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
public dynamic class FPS extends MovieClip {
public var secondTime:Number;
public var prevSecondTime:Number;
public var frames:Number;
public var prevFrameTime:Number;
public var frameTime:Number;
public var iBar:MovieClip;
public var time:Number;
public var fps:String;
public var tf:TextField;
public function FPS(){
addFrameScript(0, frame1, 1, frame2);
}
function frame2(){
stop();
this.addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
function frame1(){
prevFrameTime = getTimer();
prevSecondTime = getTimer();
frames = 0;
fps = "...";
}
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 92
//Global (Global)
package {
import flash.display.*;
import flash.geom.*;
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_HEIGHT = 450;
public static var STAGE_WIDTH = 600;
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 = _arg1.x1;
var _local4:Number = _arg1.y1;
var _local5:Number = _arg1.x2;
var _local6:Number = _arg1.y2;
var _local7:Number = _arg2.x1;
var _local8:Number = _arg2.y1;
var _local9:Number = _arg2.x2;
var _local10:Number = _arg2.y2;
var _local11:Number = Global.Slope(_local3, _local4, _local5, _local6);
var _local12:Number = Global.Slope(_local7, _local8, _local9, _local10);
return (Math.atan(((_local12 - _local11) / (1 + (_local11 * _local12)))));
}
public static function htmlColorToAS(_arg1:String):uint{
var _local2 = "0x";
var _local3 = 1;
while (_local3 < _arg1.length) {
_local2 = _local2.concat(_arg1.charAt(_local3));
_local3++;
};
return (uint(_local2));
}
public static function Slope(_arg1, _arg2, _arg3, _arg4):Number{
var _local5:Number = (_arg1 - _arg3);
var _local6:Number = (_arg2 - _arg4);
return ((_local6 / _local5));
}
public static function duplicateMovieClip(_arg1:MovieClip):MovieClip{
var _local4:Rectangle;
var _local2:Class = Object(_arg1).constructor;
var _local3:MovieClip = 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 = (_arg1 - _arg3);
var _local6:Number = (_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 opened:Boolean;
var msg:String;
var url = _arg1;
var target = _arg2;
var param3 = _arg3;
var ok:Boolean;
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 = "";
var _local3:String = _arg1;
var _local4:int;
var _local5:int = (_local3.length - 1);
while (_local5 >= 0) {
_local4++;
_local2 = (_local3.charAt(_local5) + _local2);
if ((_local4 % 3) == 0){
_local2 = ("," + _local2);
};
_local5--;
};
if (_local2.charAt(0) == ","){
return (_local2.substr(1, (_local2.length - 1)));
};
return (_local2);
}
public static function getFormatedString(_arg1:String, _arg2:Array, _arg3:String="%"):String{
var _local4:String;
for (_local4 in _arg2) {
_arg1 = _arg1.replace((_arg3 + _local4), _arg2[_local4]);
trace(_local4, _arg2[_local4]);
};
return (_arg1);
}
public static function clone(_arg1:Object){
var _local2:ByteArray = new ByteArray();
_local2.writeObject(_arg1);
_local2.position = 0;
return (_local2.readObject());
}
}
}//package
Section 93
//Main (Main)
package {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.ui.*;
import Spill.Components.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public dynamic class Main extends MovieClip {
private var mContextMenu:ContextMenu;
public var mPreloader:MovieClip;
public var mBgmStartFlag:Boolean;// = false
private var mBgm:SoundChannel;
public var Sub:Submitter;
public var mState:int;
public var lbar:MovieClip;
public var mBgmFlag:Boolean;// = true
public var mFPSBar:MovieClip;
private var mMainMenu:CMainMenu;
public var lpc:TextField;
public var xmlData:XML;
public var mSfxFlag:Boolean;// = true
private var mSfx:SoundChannel;
public var flag:Boolean;
public var mOptionBar:COptionBar;
public var mBannedWin:CBannedWin;
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;
Sub = new Submitter();
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;
Sub = new Submitter();
Sub.addEventListener(Event.COMPLETE, SubmiterComponentInitialized);
Sub.addEventListener(IOErrorEvent.IO_ERROR, FailedToLoadSubmitter);
Sub.addEventListener("LoadingFailed", FailedToLoadSubmitter);
Sub._O0000Ol01(parent, "muffinlicous", "muffinlicous.html", 0, "normal", "", 0, 0, 1, true);
}
private function isDomainNOTAllowed(_arg1:Array):Boolean{
var _local4:Number;
var _local2:LocalConnection = new LocalConnection();
var _local3:String = _local2.domain;
trace(("Domain : " + _local3));
_local4 = 0;
while (_local4 < _arg1.length) {
if (_local3 == _arg1[_local4]){
return (true);
};
_local4++;
};
_local4 = 0;
while (_local4 < _arg1.length) {
if (_local3.substr(-((_arg1[_local4].length + 1))) == ("." + _arg1[_local4])){
return (true);
};
_local4++;
};
return (false);
}
public function eventHandlerAchiev(_arg1:Event):void{
if (_arg1.currentTarget.OO00OO1l1l.O1OlOO00O != null){
trace(_arg1.currentTarget.OO00OO1l1l.O1OlOO00O.toString());
} else {
trace(_arg1.type);
};
}
private function RunStateGame(){
this.dispatchEvent(new Event("update"));
}
public function InitMainMenu(){
ShowWindow("MainMenu");
mState = STATE_MAIN_MENU;
}
public function KillWindow(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=true){
var _local6:XML;
var _local7:String;
var _local4:String = ("C" + _arg1);
var _local5:String = ("m" + _arg1);
if (this[_local5]){
if (((this[_local5].parent) && (_arg3))){
this[_local5].parent.removeChild(this[_local5]);
};
if (_arg2){
_local6 = describeType(this[_local5]);
_local7 = _local6.method.@name.toXMLString();
if (_local7.indexOf("RemoveDispatcher") > -1){
this[_local5].RemoveDispatcher();
};
};
this[_local5] = null;
};
if (this[_local5] != null){
trace((("WARNING ### " + _arg1) + "Not null after Kill process"));
};
}
private function menuSelectHandler(_arg1:ContextMenuEvent){
}
private function SubmiterComponentInitialized(_arg1:Event):void{
Sub.removeEventListener(Event.COMPLETE, SubmiterComponentInitialized);
Sub.removeEventListener(IOErrorEvent.IO_ERROR, FailedToLoadSubmitter);
Sub.removeEventListener("LoadingFailed", FailedToLoadSubmitter);
Sub.addEventListener("ScoreLoadError", eventHandlerScore);
Sub.addEventListener("ScoreLoadTimeComplete", eventHandlerScore);
Sub.addEventListener("ScoreLoadSubmitComplete", eventHandlerScore);
Sub.addEventListener("ScoreLoadListComplete", eventHandlerScore);
Sub.addEventListener("ScoreLoadUserListComplete", eventHandlerScore);
Sub.addEventListener("AchievLoadError", eventHandlerAchiev);
Sub.addEventListener("AchievLoadTimeComplete", eventHandlerAchiev);
Sub.addEventListener("AchievLoadListComplete", eventHandlerAchiev);
Sub.addEventListener("AchievLoadInfoComplete", eventHandlerAchiev);
Sub.addEventListener("AchievLoadGrantComplete", eventHandlerAchiev);
}
public function eventHandlerScore(_arg1:Event):void{
if (_arg1.currentTarget.OO00OO1l1l.O0l00l0O0 != null){
trace(_arg1.currentTarget.OO00OO1l1l.O0l00l0O0.toString());
} else {
trace(_arg1.type);
};
}
private function OnKeyFocusChange(_arg1:FocusEvent):void{
stage.focus = this.stage;
}
public function gabung(){
killgame();
InitGame();
}
private function isDomainAllowed(_arg1:Array):Boolean{
var _local4:Number;
var _local2:LocalConnection = new LocalConnection();
var _local3:String = _local2.domain;
trace(("Domain : " + _local3));
_local4 = 0;
while (_local4 < _arg1.length) {
if (_local3 == _arg1[_local4]){
return (true);
};
_local4++;
};
_local4 = 0;
while (_local4 < _arg1.length) {
if (_local3.substr(-((_arg1[_local4].length + 1))) == ("." + _arg1[_local4])){
return (true);
};
_local4++;
};
return (false);
}
public function onKeyUp(_arg1:KeyboardEvent){
if (mState != STATE_PRELOADER){
switch (_arg1.keyCode){
case 77:
if (mOptionBar){
mOptionBar.ToggleMusic();
};
break;
case 66:
if (mOptionBar){
mOptionBar.ToggleQuality();
};
break;
case 78:
if (mOptionBar){
mOptionBar.ToggleSFX();
};
break;
};
};
}
public function loading(_arg1:Event){
var _local2:* = this.stage.loaderInfo.bytesTotal;
var _local3:* = this.stage.loaderInfo.bytesLoaded;
var _local4:* = Math.round(((_local3 * 100) / _local2));
var _local5:Number = (_local3 / _local2);
if (((lbar) && (lpc))){
lbar.scaleX = (_local4 / 100);
lpc.text = (int(_local4) + "%");
};
if (_local4 >= 100){
trace(("loading ... CurrentFrame : " + this.currentFrame));
if (this.currentFrame != 16){
trace("Sapi A");
if (!flag){
this.gotoAndStop(16);
};
} else {
flag = true;
trace("Sapi B");
this.removeEventListener(Event.ENTER_FRAME, loading);
};
};
}
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 _local3:*;
var _local1:Array = new Array("localhost");
var _local2:Array = new Array("ActiveX", "PlugIn", "StandAlone", "External");
if (!isDomainAllowed(_local1)){
trace("BANNED DOMAIN !!!");
if (_local3){
if (_local3.parent){
_local3.parent.removeChild(_local3);
};
_local3 = null;
};
_local3 = new CBannedWin();
this.stage.addChild(_local3);
} else {
trace("Allowed DOMAIN !!!");
};
}
public function killgame(){
mGame.RemoveDispatcher();
mGame.parent.removeChild(mGame);
mGame = null;
}
private function InitOnce(){
InitMainMenu();
mOptionBar = new COptionBar(0, 0, "sfx1");
stage.addChild(mOptionBar);
mFPSBar = new FPS();
stage.addChild(mFPSBar);
mFPSBar.visible = false;
mOptionBar.visible = false;
if (this.hasEventListener(Event.ENTER_FRAME)){
this.removeEventListener(Event.ENTER_FRAME, OnEnterFrame);
};
this.addEventListener(Event.ENTER_FRAME, OnEnterFrame, false, 0, true);
}
function frame16(){
InitOnce();
}
public function OnEnterFrame(_arg1:Event){
switch (mState){
case STATE_GAME:
RunStateGame();
break;
case STATE_PAUSED:
this.dispatchEvent(new Event("pause"));
break;
default:
break;
};
}
public function PL_LOADING(_arg1:ProgressEvent):void{
var _local2:Number = ((_arg1.bytesLoaded / _arg1.bytesTotal) * 100);
lbar.scaleX = (_local2 / 100);
lpc.text = (int(_local2) + "%");
if (_local2 >= 100){
this.gotoAndStop(3);
};
}
public function submitScore(_arg1:int){
trace(("submit score =" + _arg1));
if (Sub){
Sub._O01lOO10O(_arg1);
};
}
private function FailedToLoadSubmitter(_arg1:Event):void{
Sub.removeEventListener(Event.COMPLETE, SubmiterComponentInitialized);
Sub.removeEventListener("LoadingFailed", FailedToLoadSubmitter);
Sub = null;
}
public function ShowWindow(_arg1:String){
var _local2:String = ("C" + _arg1);
var _local3:String = ("m" + _arg1);
var _local4:Class = (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;
}
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;
};
}
function frame1(){
stop();
xmlData = <LocalisedText><textItem identifier="lbPlay"><en_us>Play</en_us><en_uk>Play</en_uk><nl>Spelen</nl><fr>Jouer</fr><de>Spielen</de><es>Jugar</es><br>Jogar</br><pt>Jogar</pt><it>Gioca</it><se>Spela</se><pl>Graj</pl><ru>Играть</ru><id>Main</id><ar>Play</ar><jp>Play</jp><cn>Play</cn></textItem><textItem identifier="lbPlayMore"><en_us>Play More Games</en_us><en_uk>Play More Games</en_uk><nl>Meer spellen spelen</nl><fr>Joue à plus de jeux</fr><de>Spiele weitere Spiele</de><es>Jugar a más juegos</es><br>Mais Jogos</br><pt>Jogar Mais Jogos</pt><it>Gioca con più giochi</it><se>Spela fler spel</se><pl>Zagraj w więcej gier</pl><ru>Другие игры</ru><id>Mainkan Permainan Lain</id><ar>Play More Games</ar><jp>Play More Games</jp><cn>Play More Games</cn></textItem><textItem identifier="lbHeader1"><en_us>Muffintastic</en_us><en_uk>Muffintastic</en_uk><nl>Gek op muffins</nl><fr>Phéno-muffin-al</fr><de>Muffintastisch</de><es>Locos por los muffins</es><br>Muffin Delicioso</br><pt>Quequetástico</pt><it>Muffantastici</it><se>Muffinsmums</se><pl>Muffinowe Fantazje</pl><ru>Суперкексы</ru><id>Muffintastik</id><ar>Muffintastic</ar><jp>Muffintastic</jp><cn>Muffintastic</cn></textItem><textItem identifier="lbHeader2"><en_us>World's Best Muffin Recipes</en_us><en_uk>World's Best Muffin Recipes</en_uk><nl>De beste muffinrecepten ter wereld</nl><fr>Les meilleures recettes de muffin au monde</fr><de>Die weltbesten Muffinrezepte</de><es>Las mejores recetas de muffins del mundo</es><br>As Melhores Receitas de Muffin do Mundo</br><pt>As melhores receitas de queques do mundo</pt><it>Le migliori ricette di muffin del mondo</it><se>Världens bästa muffinsrecept</se><pl>Najlepsze na świecie przepisy na muffiny</pl><ru>Лучшие в мире рецепты!</ru><id>Resep Muffin Terbaik di Dunia</id><ar>World's Best Muffin Recipes</ar><jp>World's Best Muffin Recipes</jp><cn>World's Best Muffin Recipes</cn></textItem><textItem identifier="lbChocolate"><en_us>Chocolate</en_us><en_uk>Chocolate</en_uk><nl>Chocolade</nl><fr>Chocolat</fr><de>Schokolade</de><es>Chocolate</es><br>Chocolate</br><pt>Chocolate</pt><it>Cioccolato</it><se>Choklad</se><pl>Czekolada</pl><ru>Шоколадный</ru><id>Cokelat</id><ar>Chocolate</ar><jp>Chocolate</jp><cn>Chocolate</cn></textItem><textItem identifier="lbVanilla"><en_us>Vanilla</en_us><en_uk>Vanilla</en_uk><nl>Vanille</nl><fr>Vanille</fr><de>Vanille</de><es>Vainilla</es><br>Baunilha</br><pt>Baunilha</pt><it>Vaniglia</it><se>Vanilj</se><pl>Wanilia</pl><ru>Ванильный</ru><id>Vanila</id><ar>Vanilla</ar><jp>Vanilla</jp><cn>Vanilla</cn></textItem><textItem identifier="lbStrawberry"><en_us>Strawberry</en_us><en_uk>Strawberry</en_uk><nl>Aardbei</nl><fr>Fraise</fr><de>Erdbeere</de><es>Fresa</es><br>Morango</br><pt>Morango</pt><it>Fragola</it><se>Jordgubbe</se><pl>Truskawka</pl><ru>Клубничный</ru><id>Stroberi</id><ar>Strawberry</ar><jp>Strawberry</jp><cn>Strawberry</cn></textItem><textItem identifier="lbClick"><en_us>Click this.</en_us><en_uk>Click this.</en_uk><nl>Klik hier.</nl><fr>Clique ici.</fr><de>Klicke hier.</de><es>Haz clic aquí</es><br>Clique aqui.</br><pt>Clica nisto.</pt><it>Cliccaci sopra.</it><se>Klicka här.</se><pl>Kliknij to.</pl><ru>Щелкни</ru><id>Klik ini.</id><ar>Click this.</ar><jp>Click this.</jp><cn>Click this.</cn></textItem><textItem identifier="lbClickToStir"><en_us>Click to stir.</en_us><en_uk>Click to stir.</en_uk><nl>Klik om te roeren.</nl><fr>Clique pour mélanger.</fr><de>Klicke um zu rühren.</de><es>Haz clic para remover</es><br>Clique para mexer.</br><pt>Clica para mexer.</pt><it>Clicca per mescolare.</it><se>Klicka för att vispa.</se><pl>Kliknij, aby zamieszać.</pl><ru>Щелкай.</ru><id>Klik untuk mengaduk.</id><ar>Click to stir.</ar><jp>Click to stir.</jp><cn>Click to stir.</cn></textItem><textItem identifier="lbMilk"><en_us>Milk</en_us><en_uk>Milk</en_uk><nl>Melk</nl><fr>Lait</fr><de>Milch</de><es>Leche</es><br>Leite</br><pt>Leite</pt><it>Latte</it><se>Mjölk</se><pl>Mleko</pl><ru>Молоко</ru><id>Susu</id><ar>Milk</ar><jp>Milk</jp><cn>Milk</cn></textItem><textItem identifier="lbTime"><en_us>Time</en_us><en_uk>Time</en_uk><nl>Tijd</nl><fr>Temps</fr><de>Zeit</de><es>Tiempo</es><br>Tempo</br><pt>Tempo</pt><it>Tempo</it><se>Tid</se><pl>Czas</pl><ru>Время</ru><id>Waktu</id><ar>Time</ar><jp>Time</jp><cn>Time</cn></textItem><textItem identifier="lbScore"><en_us>Score</en_us><en_uk>Score</en_uk><nl>Score</nl><fr>Score</fr><de>Punkte</de><es>Puntuación</es><br>Pontuação</br><pt>Pontuação</pt><it>Punteggio</it><se>Poäng</se><pl>Wynik</pl><ru>Счет</ru><id>Skor</id><ar>Score</ar><jp>Score</jp><cn>Score</cn></textItem><textItem identifier="lbSugar"><en_us>Sugar</en_us><en_uk>Sugar</en_uk><nl>Suiker</nl><fr>Sucre</fr><de>Zucker</de><es>Azúcar</es><br>Açúcar</br><pt>Açúcar</pt><it>Zucchero</it><se>Socker</se><pl>Cukier</pl><ru>Сахар</ru><id>Gula</id><ar>Sugar</ar><jp>Sugar</jp><cn>Sugar</cn></textItem><textItem identifier="lbBalon1"><en_us>Put them on the plate.</en_us><en_uk>Put them on the plate.</en_uk><nl>Leg ze op het bord.</nl><fr>Pose-les sur le plateau.</fr><de>Leg sie auf das Blech.</de><es>Ponlos en una bandeja.</es><br>Coloque-os no prato.</br><pt>Coloca-os no prato.</pt><it>Mettili sul piatto.</it><se>Lägg dem på fatet.</se><pl>Umieść je na tacy.</pl><ru>Выложи их на тарелку.</ru><id>Letakkan di piring.</id><ar>Put them on the plate.</ar><jp>Put them on the plate.</jp><cn>Put them on the plate.</cn></textItem><textItem identifier="lbBalon2"><en_us>Whoops! They're burnt!!!</en_us><en_uk>Whoops! They're burnt!!!</en_uk><nl>Oeps, ze zijn verbrand!!</nl><fr>Oh non ! Ils sont brûlés !!!</fr><de>Mist! Sie sind verbrannt!!!</de><es>¡Oh, no! ¡¡¡Se han quemado!!!</es><br>Minha nossa! Queimaram!!!</br><pt>Meu Deus! Estão queimados!!!</pt><it>Oddio! Sono bruciati!!!</it><se>Åh nej! De blev brända!</se><pl>Ojejku! Przypaliły się!</pl><ru>Боже, они подгорели!</ru><id>Astaga! Gosong!!!</id><ar>Whoops! They're burnt!!!</ar><jp>Whoops! They're burnt!!!</jp><cn>Whoops! They're burnt!!!</cn></textItem><textItem identifier="lbOven"><en_us>It's HOT!</en_us><en_uk>It's HOT!</en_uk><nl>Dat is HEET!</nl><fr>C'est CHAUD !</fr><de>HEISS!</de><es>¡Está CALIENTE!</es><br>Está QUENTE!</br><pt>Está QUENTE!</pt><it>È CALDO!</it><se>Det är HETT!</se><pl>GORĄCE!</pl><ru>ГОРЯЧО!</ru><id>PANAS!</id><ar>It's HOT!</ar><jp>It's HOT!</jp><cn>It's HOT!</cn></textItem><textItem identifier="lbMinutes"><en_us>30 Minutes</en_us><en_uk>30 Minutes</en_uk><nl>30 minuten</nl><fr>30 minutes</fr><de>30 Minuten</de><es>30 minutos</es><br>30 Minutos</br><pt>30 Minutos</pt><it>30 minuti</it><se>30 minuter</se><pl>30 minut</pl><ru>30 минут</ru><id>30 Menit</id><ar>30 Minutes</ar><jp>30 Minutes</jp><cn>30 Minutes</cn></textItem><textItem identifier="lbOven2"><en_us>Ready!</en_us><en_uk>Ready!</en_uk><nl>Klaar!</nl><fr>Prêt !</fr><de>Fertig!</de><es>¡Listo!</es><br>Pronto!</br><pt>Preparado!</pt><it>Pronto!</it><se>Redo!</se><pl>Gotowe!</pl><ru>Готово!</ru><id>Siap!</id><ar>Ready!</ar><jp>Ready!</jp><cn>Ready!</cn></textItem><textItem identifier="lbOven3"><en_us>They're burnt!</en_us><en_uk>They're burnt!</en_uk><nl>Ze zijn verbrand!</nl><fr>Ils sont brûlés !</fr><de>Sie sind verbrannt!</de><es>¡Se han quemado!</es><br>Queimaram!</br><pt>Estão queimados!</pt><it>Sono bruciati!</it><se>De blev brända!</se><pl>Przypaliły się!</pl><ru>Подгорели!</ru><id>Gosong!</id><ar>They're burnt!</ar><jp>They're burnt!</jp><cn>They're burnt!</cn></textItem><textItem identifier="lbBalon3"><en_us>They're ruined!</en_us><en_uk>They're ruined!</en_uk><nl>Ze zijn mislukt!</nl><fr>Ils sont ratés !</fr><de>Sie sind misslungen!</de><es>¡Se han estropeado!</es><br>Estão horríveis!</br><pt>Estão estragados!</pt><it>Sono rovinati!</it><se>De är förstörda!</se><pl>Są do niczego!</pl><ru>Никуда не годится!</ru><id>Hancur deh!</id><ar>They're ruined!</ar><jp>They're ruined!</jp><cn>They're ruined!</cn></textItem><textItem identifier="lbBack"><en_us>Main Menu</en_us><en_uk>Main Menu</en_uk><nl>Hoofdmenu</nl><fr>Menu principal</fr><de>Hauptmenü</de><es>Menú principal</es><br>Menu Principal</br><pt>Menu Principal</pt><it>Menu principale</it><se>Huvudmeny</se><pl>Menu główne</pl><ru>Главное меню</ru><id>Menu utama</id><ar>Main Menu</ar><jp>Main Menu</jp><cn>Main Menu</cn></textItem><textItem identifier="lbPlayAgain"><en_us>Play Again</en_us><en_uk>Play Again</en_uk><nl>Opnieuw spelen</nl><fr>Rejouer</fr><de>Nochmal spielen</de><es>Volver a jugar</es><br>Jogar de Novo</br><pt>Jogar Novamente</pt><it>Rigioca</it><se>Spela om</se><pl>Zagraj ponownie</pl><ru>Сыграть еще раз</ru><id>Main Lagi</id><ar>Play Again</ar><jp>Play Again</jp><cn>Play Again</cn></textItem><textItem identifier="lbSelendang"><en_us>Bye!</en_us><en_uk>Bye!</en_uk><nl>Tot ziens!</nl><fr>Salut !</fr><de>Tschüs!</de><es>¡Adiós!</es><br>Tchau!</br><pt>Adeus!</pt><it>Ciao!</it><se>Hej då!</se><pl>Pa!</pl><ru>Пока!</ru><id>Daag!</id><ar>Bye!</ar><jp>Bye!</jp><cn>Bye!</cn></textItem><textItem identifier="lbBalon4"><en_us>Uh-oh...time's up!</en_us><en_uk>Uh-oh... your time is up!</en_uk><nl>Ah-oh… de tijd is om!</nl><fr>Oh là là, tu as dépassé le temps limite !</fr><de>Oh-oh, die Zeit ist um!</de><es>¡Vaya... se acabó el tiempo!</es><br>Oh, não, o tempo acabou!</br><pt>Ops... acabou o tempo!</pt><it>Oh oh…Tempo scaduto!</it><se>Åh nej, tiden är ute!</se><pl>Och... czas minął!</pl><ru>Время вышло!</ru><id>Ah-oh....waktu habis!</id><ar>Uh-oh...time's up!</ar><jp>Uh-oh...time's up!</jp><cn>Uh-oh...time's up!</cn></textItem><textItem identifier="lbSelendang2"><en_us>Watch the time!</en_us><en_uk>Watch the time!</en_uk><nl>Let op de tijd!</nl><fr>Fais attention au temps limite !</fr><de>Achte auf die Zeit!</de><es>¡Vigila el tiempo!</es><br>Cuidado com o tempo!</br><pt>Atenção ao tempo!</pt><it>Fai attenzione al tempo!</it><se>Håll koll på tiden!</se><pl>Zwracaj uwagę na czas!</pl><ru>Следи за временем!</ru><id>Perhatikan waktu!</id><ar>Watch the time!</ar><jp>Watch the time!</jp><cn>Watch the time!</cn></textItem><textItem identifier="lbAtas1"><en_us>Decorate your muffins just like in the examples.</en_us><en_uk>Decorate your muffins following the examples.</en_uk><nl>Versier je muffins als in de voorbeelden.</nl><fr>Décore tes muffins exactement comme dans les exemples. </fr><de>Verziere deine Muffins so wie in den Beispielen.</de><es>Decora tus muffins igual que en los ejemplos.</es><br>Decore seus muffins como nos exemplos.</br><pt>Decora os teus queques como nos exemplos.</pt><it>Decora i tuoi muffin come negli esempi.</it><se>Dekorera dina muffins som i exemplen.</se><pl>Udekoruj muffiny zgodnie ze wzorem.</pl><ru>Укрась кексы, как показано на картинке.</ru><id>Hias muffinmu persis seperti dalam contoh.</id><ar>Decorate your muffins just like in the examples.</ar><jp>Decorate your muffins just like in the examples.</jp><cn>Decorate your muffins just like in the examples.</cn></textItem><textItem identifier="lbStart"><en_us>Start</en_us><en_uk>Start</en_uk><nl>Starten</nl><fr>Commencer</fr><de>Start</de><es>Iniciar</es><br>Começar</br><pt>Começar</pt><it>Avvia</it><se>Starta</se><pl>Start</pl><ru>Старт</ru><id>Mulai</id><ar>Start</ar><jp>Start</jp><cn>Start</cn></textItem><textItem identifier="lbBalon5"><en_us>Whipped cream time!</en_us><en_uk>Whipped cream time!</en_uk><nl>Tijd voor slagroom!</nl><fr>C'est au tour de la crème fouettée !</fr><de>Zeit für Schlagsahne!</de><es>¡Ahora la nata montada!</es><br>Hora de bater o creme!</br><pt>É altura das natas!</pt><it>È l'ora della panna montata!</it><se>Gräddtajm!</se><pl>Czas na bitą śmietanę!</pl><ru>Пора добавить крем!</ru><id>Waktunya krim kocok!</id><ar>Whipped cream time!</ar><jp>Whipped cream time!</jp><cn>Whipped cream time!</cn></textItem><textItem identifier="lbBalon6"><en_us>Topping time!</en_us><en_uk>Topping time!</en_uk><nl>Tijd voor versieringen!</nl><fr>C'est au tour de la garniture !</fr><de>Zeit für Deko!</de><es>¡Ahora la decoración!</es><br>Hora de colocar a cobertura!</br><pt>E agora a cobertura!</pt><it>È l'ora delle guarnizioni!</it><se>Toppingtajm!</se><pl>Czas na dodatki!</pl><ru>Укрась кексы!</ru><id>Waktunya hiasan!</id><ar>Topping time!</ar><jp>Topping time!</jp><cn>Topping time!</cn></textItem><textItem identifier="lbFinish"><en_us>Finish</en_us><en_uk>Finish</en_uk><nl>Afmaken</nl><fr>Terminer</fr><de>Fertigstellen</de><es>Terminar</es><br>Terminar</br><pt>Terminar</pt><it>Fine</it><se>Slutför</se><pl>Koniec</pl><ru>Готово</ru><id>Selesai</id><ar>Finish</ar><jp>Finish</jp><cn>Finish</cn></textItem><textItem identifier="lbBalon7"><en_us>Put it in the oven for 30 minutes.</en_us><en_uk>Put it in the oven for 30 minutes.</en_uk><nl>Zet het 30 minuten in de oven.</nl><fr>Place dans le four pendant 30 minutes.</fr><de>Stell sie für 30 Minuten in den Ofen.</de><es>Ponlo en el horno durante 30 minutos.</es><br>Coloque no forno por 30 minutos.</br><pt>Coloca no forno durante 30 minutos.</pt><it>Mettilo in forno per 30 minuti.</it><se>Baka i ugnen i 30 minuter.</se><pl>Umieść je w piekarniku na 30 minut.</pl><ru>Поставь в печь на 30 минут.</ru><id>Masukkan ke dalam oven selama 30 menit.</id><ar>Put it in the oven for 30 minutes.</ar><jp>Put it in the oven for 30 minutes.</jp><cn>Put it in the oven for 30 minutes.</cn></textItem><textItem identifier="lbBalon8"><en_us>It's delicious!</en_us><en_uk>It's delicious!</en_uk><nl>Hmmm, heerlijk!</nl><fr>C'est délicieux !</fr><de>Sehr lecker!</de><es>¡Delicioso!</es><br>Está delicioso!</br><pt>É delicioso!</pt><it>È delizioso!</it><se>Smaskens!</se><pl>Pycha!</pl><ru>Какая вкуснятина!</ru><id>Lezat!</id><ar>It's delicious!</ar><jp>It's delicious!</jp><cn>It's delicious!</cn></textItem><textItem identifier="lbSelendang3"><en_us>Congratulations!</en_us><en_uk>Congratulations!</en_uk><nl>Gefeliciteerd!</nl><fr>Félicitations !</fr><de>Glückwunsch!</de><es>¡Enhorabuena!</es><br>Parabéns!</br><pt>Parabéns!</pt><it>Complimenti!</it><se>Gratulerar!</se><pl>Gratulacje!</pl><ru>Молодец!</ru><id>Selamat!</id><ar>Congratulations!</ar><jp>Congratulations!</jp><cn>Congratulations!</cn></textItem><textItem identifier="lbRank"><en_us>Grade</en_us><en_uk>Grade</en_uk><nl>Cijfer</nl><fr>Grade</fr><de>Note</de><es>Nota</es><br>Nota</br><pt>Nota</pt><it>Voto</it><se>Betyg</se><pl>Ocena</pl><ru>Оценка</ru><id>Peringkat</id><ar>Grade</ar><jp>Grade</jp><cn>Grade</cn></textItem><textItem identifier="lbMocha"><en_us>Mocha</en_us><en_uk>Mocha</en_uk><nl>Mokka</nl><fr>Moka</fr><de>Mokka</de><es>Moca</es><br>Moca</br><pt>Mocha</pt><it>Moca</it><se>Mocka</se><pl>Kawa</pl><ru>Кофе</ru><id>Mocha</id><ar>Mocha</ar><jp>Mocha</jp><cn>Mocha</cn></textItem><textItem identifier="lbLemon"><en_us>Lemon</en_us><en_uk>Lemon</en_uk><nl>Citroen</nl><fr>Citron</fr><de>Zitrone</de><es>Limón</es><br>Limão</br><pt>Limão</pt><it>Limone</it><se>Citron</se><pl>Cytryna</pl><ru>Лимон</ru><id>Lemon</id><ar>Lemon</ar><jp>Lemon</jp><cn>Lemon</cn></textItem><textItem identifier="lbBerry"><en_us>Berry</en_us><en_uk>Berry</en_uk><nl>Bessen</nl><fr>Baie</fr><de>Beeren</de><es>Frutas del bosque</es><br>Morango</br><pt>Amoras</pt><it>Bacca</it><se>Bär</se><pl>Jagody</pl><ru>Ягоды</ru><id>Berry</id><ar>Berry</ar><jp>Berry</jp><cn>Berry</cn></textItem><textItem identifier="lbBalon9"><en_us>Choose a wrapper.</en_us><en_uk>Choose a wrapper.</en_uk><nl>Kies een verpakking.</nl><fr>Choisis un emballage.</fr><de>Wähle eine Verpackung.</de><es>Elige un envoltorio.</es><br>Escolha um embrulho.</br><pt>Escolhe um embrulho</pt><it>Scegli un pirottino.</it><se>Välj en muffinsform.</se><pl>Wybierz opakowanie</pl><ru>Выбери обертку.</ru><id>Pilih pembungkus.</id><ar>Choose a wrapper.</ar><jp>Choose a wrapper.</jp><cn>Choose a wrapper.</cn></textItem><textItem identifier="lbFlour"><en_us>Flour</en_us><en_uk>Flour</en_uk><nl>Meel</nl><fr>Farine</fr><de>Mehl</de><es>Harina</es><br>Farinha</br><pt>Farinha</pt><it>Farina</it><se>Mjöl</se><pl>Mąka</pl><ru>Мука</ru><id>Tepung</id><ar>Flour</ar><jp>Flour</jp><cn>Flour</cn></textItem><textItem identifier="btn_moregamesat"><en_us>More funny games at:</en_us><en_uk>More funny games at:</en_uk><nl>Meer grappige spelletjes op:</nl><fr>Plus de jeux divertissants sur :</fr><de>Mehr witzige Spiele auf:</de><es>Más juegos divertidos en:</es><br>Mais jogos divertidos em:</br><pt>Mais jogos divertidos em:</pt><it>Più giochi divertenti su:</it><se>Fler roliga spel på:</se><pl>Więcej zabawnych gier na:</pl><ru>Больше веселых игр на:</ru><id>Permainan lucu lainnya di:</id><ar>More funny games at:</ar><jp>他のゲームで遊ぶ</jp><cn>更多有趣的游戏尽在:</cn></textItem></LocalisedText>
;
SpilGame.importXMLv2(xmlData);
trace("Language Data Succesfully included");
Languages.initialize();
Languages.getLanguage("jp").forceFont = "Arial Unicode MS";
Languages.getLanguage("jp").embedFonts = true;
Languages.getLanguage("cn").forceFont = "Arial Unicode MS";
Languages.getLanguage("cn").embedFonts = true;
Languages.getLanguage("ru").forceFont = "Arial";
Languages.getLanguage("ru").embedFonts = true;
Languages.getLanguage("fr").forceFont = "Arial";
Languages.getLanguage("fr").embedFonts = true;
Languages.getLanguage("de").forceFont = "Arial";
Languages.getLanguage("de").embedFonts = true;
Languages.getLanguage("es").forceFont = "Arial";
Languages.getLanguage("es").embedFonts = true;
Languages.getLanguage("br").forceFont = "Arial";
Languages.getLanguage("br").embedFonts = true;
Languages.getLanguage("pt").forceFont = "Arial";
Languages.getLanguage("pt").embedFonts = true;
Languages.getLanguage("it").forceFont = "Arial";
Languages.getLanguage("it").embedFonts = true;
Languages.getLanguage("pl").forceFont = "Arial";
Languages.getLanguage("pl").embedFonts = true;
Languages.getLanguage("se").forceFont = "Arial";
Languages.getLanguage("se").embedFonts = true;
Languages.getLanguage("nl").forceFont = "Arial";
Languages.getLanguage("nl").embedFonts = true;
Branding.Init("muffinlicous", PortalGroup.GIRL, "muffinlicous.html", this, true);
stop();
this.addEventListener(Event.ENTER_FRAME, loading);
flag = false;
}
public function killmainmenu(){
mMainMenu.parent.removeChild(mMainMenu);
mMainMenu = null;
}
private function isPlayerAllowed(_arg1:Array):Boolean{
var _local2:String = Capabilities.playerType;
trace(("PlayerType : " + _local2));
var _local3:Number = 0;
while (_local3 < _arg1.length) {
if (_local2 == _arg1[_local3]){
return (true);
};
_local3++;
};
return (false);
}
public static function GetInstance():Main{
return (MainGlobal);
}
}
}//package
Section 94
//sfx1 (sfx1)
package {
import flash.media.*;
public dynamic class sfx1 extends Sound {
}
}//package
Section 95
//sfx2 (sfx2)
package {
import flash.media.*;
public dynamic class sfx2 extends Sound {
}
}//package
Section 96
//SubmitterProxy (SubmitterProxy)
package {
import flash.display.*;
import flash.events.*;
import com.spilgames.api.*;
import flash.system.*;
public class SubmitterProxy extends MovieClip {
public var m_scoreXMLData:XML;
public var m_achievXMLData:XML;
private var parentObj;
public var m_scoreServerTimeXMLData:XML;
private static var _failed:Boolean = false;
private static var _loading:Boolean = false;
private static var _initialised:Boolean = false;
private static var SpilComp:SpilGamesServices;
public function SubmitterProxy():void{
var cld:*;
super();
Security.allowDomain("*");
parentObj = this.parent;
parentObj.stop();
var i:int = (parentObj.numChildren - 1);
while (i >= 0) {
cld = parentObj.getChildAt(i);
if ((cld is MovieClip)){
cld.visible = false;
} else {
if (cld != null){
parentObj.removeChild(cld);
};
};
i = (i - 1);
};
try {
parentObj["setLoader"] = setLoader;
parentObj["isDomainAllowed"] = isDomainAllowed;
parentObj["hasUserData"] = hasUserData;
parentObj["_O0000Ol01"] = setLoader;
parentObj["_O0Olll0lO"] = isDomainAllowed;
} catch(e:Error) {
trace(e);
};
}
private function SpilConfiguratorFailedToInitialise(_arg1:Event):void{
if (SpilComp){
SpilComp.removeEventListener("servicesReady", SpilConfiguratorReady);
SpilComp.removeEventListener(IOErrorEvent.IO_ERROR, SpilConfiguratorFailedToLoad);
SpilComp.removeEventListener("servicesFailed", SpilConfiguratorFailedToInitialise);
};
_failed = true;
_loading = false;
parentObj.dispatchEvent(new Event("LoadingFailed"));
}
public function SpilCallback(_arg1:int, _arg2:Object):void{
}
private function onLoadDone():void{
parentObj["isSWFReady"] = isSWFReady;
parentObj["setServerSelect"] = setServerSelect;
parentObj["requestScoreServerTime"] = requestScoreServerTime;
parentObj["getScoreServerTime"] = getScoreServerTime;
parentObj["submitScore"] = submitScore;
parentObj["requestHighscoreList"] = requestHighscoreList;
parentObj["requestUserHighscoreList"] = requestUserHighscoreList;
parentObj["submitGrantAward"] = submitGrantAward;
parentObj["requestAwardList"] = requestAwardList;
parentObj["requestAwardInfo"] = requestAwardInfo;
parentObj["destroy"] = destroy;
parentObj["getSpilGamesConnector"] = getSpilGamesConnector;
parentObj["_O0O1l0OO0"] = isSWFReady;
parentObj["_O0lOO010l"] = requestScoreServerTime;
parentObj["_O01Ol1O1O"] = getScoreServerTime;
parentObj["_O01lOO10O"] = submitScore;
parentObj["_O110l10ll"] = requestHighscoreList;
parentObj["_O11lll1OO0"] = requestUserHighscoreList;
parentObj["_O00OOl1Ol"] = submitGrantAward;
parentObj["_O1OlO10OO"] = requestAwardList;
parentObj["_OOlOOOll1"] = requestAwardInfo;
parentObj["_O010ll111"] = destroy;
parentObj["OO00OO1l1l"] = OO00OO1l1l();
}
private function processTimeResults(_arg1:int, _arg2:Object):void{
if (_arg2){
if (_arg2.errorMessage){
} else {
if (_arg2.xml){
m_scoreServerTimeXMLData = _arg2.xml;
};
};
} else {
m_scoreServerTimeXMLData = new XML("<hyscore><time>123456789</time></hyscore>");
};
}
private function isSWFReady():Boolean{
return (((SpilComp) && (SpilComp.isSWFReady())));
}
private function requestAwardList():void{
if (SpilComp){
SpilComp.send("Awards", "getAwardList", processAwardResults, {userName:SpilComp.getUserName(), userHash:SpilComp.getUserHash()});
};
}
public function set O1lll0ll0(_arg1:XML):void{
m_scoreServerTimeXMLData = _arg1;
}
public function OO00OO1l1l():SubmitterProxy{
return (this);
}
private function hasUserData():Boolean{
return (!(SpilComp.hasValidUserData()));
}
public function get O0l00l0O0():XML{
return (m_scoreXMLData);
}
private function destroy():void{
parentObj = null;
m_scoreXMLData = null;
m_achievXMLData = null;
}
private function requestScoreServerTime():void{
if (SpilComp){
SpilComp.send("Score", "checkServerTime", processTimeResults);
};
}
private function requestUserHighscoreList(_arg1:String):void{
if (SpilComp){
SpilComp.send("Score", "getUserRankList", processScoreResults, {targetUserName:_arg1});
};
}
public function get O1OlOO00O():XML{
return (m_achievXMLData);
}
private function submitGrantAward(_arg1:String):void{
if (SpilComp){
SpilComp.send("Awards", "submitAward", processAwardResults, {tag:_arg1, userName:SpilComp.getUserName(), userHash:SpilComp.getUserHash()});
};
}
private function setLoader(_arg1=null, _arg2:String="default", _arg3="", _arg4:int=0, _arg5:String="normal", _arg6:String="", _arg7:int=0, _arg8:int=0, _arg9:int=1, _arg10:Boolean=false, _arg11:int=1):void{
if (!_initialised){
trace("Initialising for the first time");
_initialised = true;
if (_arg1){
SpilComp = SpilGamesServices.getInstance();
SpilComp.addEventListener("servicesReady", SpilConfiguratorReady);
SpilComp.addEventListener(IOErrorEvent.IO_ERROR, SpilConfiguratorFailedToLoad);
SpilComp.addEventListener("servicesFailed", SpilConfiguratorFailedToInitialise);
_loading = true;
SpilComp.connect(_arg1);
} else {
throw (new Error("'container' cannot be null"));
};
} else {
trace("Initialisation called multiple times");
if (!_loading){
trace("Ready with loading");
if (!_failed){
trace("Simulate Submitter complete");
onLoadDone();
parentObj.dispatchEvent(new Event(Event.COMPLETE));
} else {
trace("Simulate Submitter LoadingFailed");
parentObj.dispatchEvent(new Event("LoadingFailed"));
};
} else {
trace("Still loading");
};
};
}
private function requestHighscoreList():void{
if (SpilComp){
SpilComp.send("Score", "getRankingList", processScoreResults, null);
};
}
public function set O0l00l0O0(_arg1:XML):void{
m_scoreXMLData = _arg1;
}
private function setServerSelect(_arg1:int):void{
if (SpilComp){
};
}
private function requestAwardInfo(_arg1:int):void{
if (SpilComp){
SpilComp.send("Awards", "getAward", SpilCallback, {awardID:_arg1});
};
}
public function set O1OlOO00O(_arg1:XML):void{
m_achievXMLData = _arg1;
}
private function processAwardResults(_arg1:int, _arg2:Object):void{
if (_arg2){
m_achievXMLData = _arg2.xml;
} else {
m_achievXMLData = new XML("<hyscor><awardid>147</awardid></hyscor>");
};
}
public function getSpilGamesConnector(){
return (SpilComp);
}
public function get O1lll0ll0():XML{
return (m_scoreServerTimeXMLData);
}
private function processScoreResults(_arg1:int, _arg2:Object):void{
if (_arg2){
m_scoreXMLData = _arg2.xml;
} else {
m_scoreXMLData = <hyscor><resultset>
<group>daily</group>
<result>
<position>1</position>
<timestamp>1271247768</timestamp>
<username>noot</username>
<authenticated>1</authenticated>
<score>2</score>
<gamelevel>0</gamelevel>
<country>NL</country>
</result>
</resultset>
<resultset>
<group>weekly</group>
<result>
<position>1</position>
<timestamp>1271247768</timestamp>
<username>noot</username>
<authenticated>1</authenticated>
<score>2</score>
<gamelevel>0</gamelevel>
<country>NL</country>
</result>
</resultset>
<resultset>
<group>monthly</group>
<result>
<position>1</position>
<timestamp>1271247768</timestamp>
<username>noot</username>
<authenticated>1</authenticated>
<score>2</score>
<gamelevel>0</gamelevel>
<country>NL</country>
</result>
</resultset>
</hyscor>
;
};
}
private function getScoreServerTime():void{
if (SpilComp){
SpilComp.send("Score", "getLatestTimeCheck", processTimeResults);
};
}
private function SpilConfiguratorReady(_arg1:Event):void{
if (SpilComp){
SpilComp.removeEventListener("servicesReady", SpilConfiguratorReady);
SpilComp.removeEventListener(IOErrorEvent.IO_ERROR, SpilConfiguratorFailedToLoad);
SpilComp.removeEventListener("servicesFailed", SpilConfiguratorFailedToInitialise);
};
_loading = false;
onLoadDone();
parentObj.dispatchEvent(new Event(Event.COMPLETE));
}
private function doCommTest():String{
if (SpilComp){
return ("y");
};
return (("FAILED " + SpilComp));
}
private function submitScore(_arg1:int):void{
if (SpilComp){
SpilComp.send("Score", "submitScore", processScoreResults, {score:_arg1, userName:SpilComp.getUserName(), userHash:SpilComp.getUserHash()});
};
}
private function SpilConfiguratorFailedToLoad(_arg1:Event):void{
if (SpilComp){
SpilComp.removeEventListener("servicesReady", SpilConfiguratorReady);
SpilComp.removeEventListener(IOErrorEvent.IO_ERROR, SpilConfiguratorFailedToLoad);
SpilComp.removeEventListener("servicesFailed", SpilConfiguratorFailedToInitialise);
};
trace("SpilConfiguratorFailedToLoad", _arg1.toString());
_failed = true;
_loading = false;
if (parentObj.hasEventListener(IOErrorEvent.IO_ERROR)){
parentObj.dispatchEvent(new IOErrorEvent(IOErrorEvent.IO_ERROR));
};
}
private function onLegacyEvent(_arg1:Event):void{
dispatchEvent(_arg1);
}
private function isDomainAllowed(_arg1:Boolean=false):Boolean{
return (SpilComp.isDomainAllowed());
}
private function setLoader2(_arg1=null, _arg2:String="default", _arg3:int=1, _arg4="", _arg5:int=0, _arg6:String="normal", _arg7:String="", _arg8:int=0, _arg9:int=0, _arg10:int=1, _arg11:Boolean=false, _arg12:int=1):void{
setLoader(_arg1, _arg2, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11, _arg12);
}
}
}//package