Section 1
//AuxFunctions (caurina.transitions.AuxFunctions)
package caurina.transitions {
public class AuxFunctions {
public static function getObjectLength(_arg1:Object):uint{
var _local3:String;
var _local2:uint;
for (_local3 in _arg1) {
_local2++;
};
return (_local2);
}
public static function numberToG(_arg1:Number):Number{
return (((_arg1 & 0xFF00) >> 8));
}
public static function numberToB(_arg1:Number):Number{
return ((_arg1 & 0xFF));
}
public static function numberToR(_arg1:Number):Number{
return (((_arg1 & 0xFF0000) >> 16));
}
public static function concatObjects(... _args):Object{
var _local3:Object;
var _local5:String;
var _local2:Object = {};
var _local4:int;
while (_local4 < _args.length) {
_local3 = _args[_local4];
for (_local5 in _local3) {
if (_local3[_local5] == null){
delete _local2[_local5];
} else {
_local2[_local5] = _local3[_local5];
};
};
_local4++;
};
return (_local2);
}
}
}//package caurina.transitions
Section 2
//Equations (caurina.transitions.Equations)
package caurina.transitions {
public class Equations {
public function Equations(){
trace("Equations is a static class and should not be instantiated.");
}
public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
if (_arg1 < (1 / 2.75)){
return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2));
};
if (_arg1 < (2 / 2.75)){
_arg1 = (_arg1 - (1.5 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2));
};
if (_arg1 < (2.5 / 2.75)){
_arg1 = (_arg1 - (2.25 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2));
};
_arg1 = (_arg1 - (2.625 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2));
}
public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 == 2){
return ((_arg2 + _arg3));
};
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period;
var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
if (_arg1 < 1){
--_arg1;
return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2));
};
--_arg1;
return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2));
}
public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2));
};
return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2));
}
public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
_local6 = (_local6 * 1.525);
return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2));
};
_arg1 = (_arg1 - 2);
_local6 = (_local6 * 1.525);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2));
}
public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2));
}
public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2));
}
public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot;
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2));
}
public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function init():void{
Tweener.registerTransition("easenone", easeNone);
Tweener.registerTransition("linear", easeNone);
Tweener.registerTransition("easeinquad", easeInQuad);
Tweener.registerTransition("easeoutquad", easeOutQuad);
Tweener.registerTransition("easeinoutquad", easeInOutQuad);
Tweener.registerTransition("easeoutinquad", easeOutInQuad);
Tweener.registerTransition("easeincubic", easeInCubic);
Tweener.registerTransition("easeoutcubic", easeOutCubic);
Tweener.registerTransition("easeinoutcubic", easeInOutCubic);
Tweener.registerTransition("easeoutincubic", easeOutInCubic);
Tweener.registerTransition("easeinquart", easeInQuart);
Tweener.registerTransition("easeoutquart", easeOutQuart);
Tweener.registerTransition("easeinoutquart", easeInOutQuart);
Tweener.registerTransition("easeoutinquart", easeOutInQuart);
Tweener.registerTransition("easeinquint", easeInQuint);
Tweener.registerTransition("easeoutquint", easeOutQuint);
Tweener.registerTransition("easeinoutquint", easeInOutQuint);
Tweener.registerTransition("easeoutinquint", easeOutInQuint);
Tweener.registerTransition("easeinsine", easeInSine);
Tweener.registerTransition("easeoutsine", easeOutSine);
Tweener.registerTransition("easeinoutsine", easeInOutSine);
Tweener.registerTransition("easeoutinsine", easeOutInSine);
Tweener.registerTransition("easeincirc", easeInCirc);
Tweener.registerTransition("easeoutcirc", easeOutCirc);
Tweener.registerTransition("easeinoutcirc", easeInOutCirc);
Tweener.registerTransition("easeoutincirc", easeOutInCirc);
Tweener.registerTransition("easeinexpo", easeInExpo);
Tweener.registerTransition("easeoutexpo", easeOutExpo);
Tweener.registerTransition("easeinoutexpo", easeInOutExpo);
Tweener.registerTransition("easeoutinexpo", easeOutInExpo);
Tweener.registerTransition("easeinelastic", easeInElastic);
Tweener.registerTransition("easeoutelastic", easeOutElastic);
Tweener.registerTransition("easeinoutelastic", easeInOutElastic);
Tweener.registerTransition("easeoutinelastic", easeOutInElastic);
Tweener.registerTransition("easeinback", easeInBack);
Tweener.registerTransition("easeoutback", easeOutBack);
Tweener.registerTransition("easeinoutback", easeInOutBack);
Tweener.registerTransition("easeoutinback", easeOutInBack);
Tweener.registerTransition("easeinbounce", easeInBounce);
Tweener.registerTransition("easeoutbounce", easeOutBounce);
Tweener.registerTransition("easeinoutbounce", easeInOutBounce);
Tweener.registerTransition("easeoutinbounce", easeOutInBounce);
}
public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2));
}
public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001)));
}
public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
}
public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2));
}
public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2));
}
public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2));
}
public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2));
}
public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2));
}
public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
--_arg1;
return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2));
}
public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2));
}
public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2));
}
public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2));
}
public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2));
};
_arg1 = (_arg1 - 2);
return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2));
}
public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = (_arg1 / _arg4);
return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2));
}
public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 == 0){
return (_arg2);
};
if (_arg1 == _arg4){
return ((_arg2 + _arg3));
};
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005)));
};
--_arg1;
return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2));
}
public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
var _local7:Number;
if (_arg1 == 0){
return (_arg2);
};
_arg1 = (_arg1 / _arg4);
if (_arg1 == 1){
return ((_arg2 + _arg3));
};
var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period;
var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude;
if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){
_local8 = _arg3;
_local7 = (_local6 / 4);
} else {
_local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8)));
};
return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2));
}
public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
_arg1 = ((_arg1 / _arg4) - 1);
return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2));
}
public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{
if (_arg1 < (_arg4 / 2)){
return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5));
};
return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5));
}
}
}//package caurina.transitions
Section 3
//PropertyInfoObj (caurina.transitions.PropertyInfoObj)
package caurina.transitions {
public class PropertyInfoObj {
public var modifierParameters:Array;
public var isSpecialProperty:Boolean;
public var valueComplete:Number;
public var modifierFunction:Function;
public var extra:Object;
public var valueStart:Number;
public var hasModifier:Boolean;
public var arrayIndex:Number;
public var originalValueComplete:Object;
public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){
valueStart = _arg1;
valueComplete = _arg2;
originalValueComplete = _arg3;
arrayIndex = _arg4;
extra = _arg5;
isSpecialProperty = _arg6;
hasModifier = Boolean(_arg7);
modifierFunction = _arg7;
modifierParameters = _arg8;
}
public function toString():String{
var _local1 = "\n[PropertyInfoObj ";
_local1 = (_local1 + ("valueStart:" + String(valueStart)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("valueComplete:" + String(valueComplete)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("arrayIndex:" + String(arrayIndex)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("extra:" + String(extra)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("hasModifier:" + String(hasModifier)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("modifierFunction:" + String(modifierFunction)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("modifierParameters:" + String(modifierParameters)));
_local1 = (_local1 + "]\n");
return (_local1);
}
public function clone():PropertyInfoObj{
var _local1:PropertyInfoObj = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters);
return (_local1);
}
}
}//package caurina.transitions
Section 4
//SpecialProperty (caurina.transitions.SpecialProperty)
package caurina.transitions {
public class SpecialProperty {
public var parameters:Array;
public var getValue:Function;
public var preProcess:Function;
public var setValue:Function;
public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){
getValue = _arg1;
setValue = _arg2;
parameters = _arg3;
preProcess = _arg4;
}
public function toString():String{
var _local1 = "";
_local1 = (_local1 + "[SpecialProperty ");
_local1 = (_local1 + ("getValue:" + String(getValue)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("setValue:" + String(setValue)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("parameters:" + String(parameters)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("preProcess:" + String(preProcess)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 5
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier)
package caurina.transitions {
public class SpecialPropertyModifier {
public var getValue:Function;
public var modifyValues:Function;
public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){
modifyValues = _arg1;
getValue = _arg2;
}
public function toString():String{
var _local1 = "";
_local1 = (_local1 + "[SpecialPropertyModifier ");
_local1 = (_local1 + ("modifyValues:" + String(modifyValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("getValue:" + String(getValue)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 6
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter)
package caurina.transitions {
public class SpecialPropertySplitter {
public var parameters:Array;
public var splitValues:Function;
public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){
splitValues = _arg1;
parameters = _arg2;
}
public function toString():String{
var _local1 = "";
_local1 = (_local1 + "[SpecialPropertySplitter ");
_local1 = (_local1 + ("splitValues:" + String(splitValues)));
_local1 = (_local1 + ", ");
_local1 = (_local1 + ("parameters:" + String(parameters)));
_local1 = (_local1 + "]");
return (_local1);
}
}
}//package caurina.transitions
Section 7
//Tweener (caurina.transitions.Tweener)
package caurina.transitions {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class Tweener {
private static var _timeScale:Number = 1;
private static var _currentTimeFrame:Number;
private static var _specialPropertySplitterList:Object;
public static var autoOverwrite:Boolean = true;
private static var _engineExists:Boolean = false;
private static var _currentTime:Number;
private static var _tweenList:Array;
private static var _specialPropertyModifierList:Object;
private static var _specialPropertyList:Object;
private static var _transitionList:Object;
private static var _inited:Boolean = false;
private static var __tweener_controller__:MovieClip;
public function Tweener(){
trace("Tweener is a static class and should not be instantiated.");
}
public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{
if (!_inited){
init();
};
var _local4:SpecialPropertyModifier = new SpecialPropertyModifier(_arg2, _arg3);
_specialPropertyModifierList[_arg1] = _local4;
}
public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{
if (!_inited){
init();
};
var _local6:SpecialProperty = new SpecialProperty(_arg2, _arg3, _arg4, _arg5);
_specialPropertyList[_arg1] = _local6;
}
public static function init(... _args):void{
_inited = true;
_transitionList = new Object();
Equations.init();
_specialPropertyList = new Object();
_specialPropertyModifierList = new Object();
_specialPropertySplitterList = new Object();
}
private static function updateTweens():Boolean{
var _local1:int;
if (_tweenList.length == 0){
return (false);
};
_local1 = 0;
while (_local1 < _tweenList.length) {
if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){
if (!updateTweenByIndex(_local1)){
removeTweenByIndex(_local1);
};
if (_tweenList[_local1] == null){
removeTweenByIndex(_local1, true);
_local1--;
};
};
_local1++;
};
return (true);
}
public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{
var _local3:Number;
var _local4:Array;
var _local8:Function;
var _local9:TweenListObj;
var _local10:Number;
var _local11:String;
if (!Boolean(_arg1)){
return (false);
};
if ((_arg1 is Array)){
_local4 = _arg1.concat();
} else {
_local4 = [_arg1];
};
var _local5:Object = _arg2;
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
var _local6:Number = (isNaN(_local5.time)) ? 0 : _local5.time;
var _local7:Number = (isNaN(_local5.delay)) ? 0 : _local5.delay;
if (typeof(_local5.transition) == "string"){
_local11 = _local5.transition.toLowerCase();
_local8 = _transitionList[_local11];
} else {
_local8 = _local5.transition;
};
if (!Boolean(_local8)){
_local8 = _transitionList["easeoutexpo"];
};
_local3 = 0;
while (_local3 < _local4.length) {
if (_local5.useFrames == true){
_local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams);
} else {
_local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams);
};
_local9.properties = null;
_local9.onStart = _local5.onStart;
_local9.onUpdate = _local5.onUpdate;
_local9.onComplete = _local5.onComplete;
_local9.onOverwrite = _local5.onOverwrite;
_local9.onStartParams = _local5.onStartParams;
_local9.onUpdateParams = _local5.onUpdateParams;
_local9.onCompleteParams = _local5.onCompleteParams;
_local9.onOverwriteParams = _local5.onOverwriteParams;
_local9.onStartScope = _local5.onStartScope;
_local9.onUpdateScope = _local5.onUpdateScope;
_local9.onCompleteScope = _local5.onCompleteScope;
_local9.onOverwriteScope = _local5.onOverwriteScope;
_local9.onErrorScope = _local5.onErrorScope;
_local9.isCaller = true;
_local9.count = _local5.count;
_local9.waitFrames = _local5.waitFrames;
_tweenList.push(_local9);
if ((((_local6 == 0)) && ((_local7 == 0)))){
_local10 = (_tweenList.length - 1);
updateTweenByIndex(_local10);
removeTweenByIndex(_local10);
};
_local3++;
};
return (true);
}
public static function pauseAllTweens():Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
var _local1:Boolean;
_local2 = 0;
while (_local2 < _tweenList.length) {
pauseTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
public static function removeTweens(_arg1:Object, ... _args):Boolean{
var _local4:uint;
var _local5:SpecialPropertySplitter;
var _local6:Array;
var _local7:uint;
var _local3:Array = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
if (_specialPropertySplitterList[_args[_local4]]){
_local5 = _specialPropertySplitterList[_args[_local4]];
_local6 = _local5.splitValues(_arg1, null);
_local7 = 0;
while (_local7 < _local6.length) {
_local3.push(_local6[_local7].name);
_local7++;
};
} else {
_local3.push(_args[_local4]);
};
};
_local4++;
};
return (affectTweens(removeTweenByIndex, _arg1, _local3));
}
public static function updateFrame():void{
_currentTimeFrame++;
}
public static function splitTweens(_arg1:Number, _arg2:Array):uint{
var _local5:uint;
var _local6:String;
var _local7:Boolean;
var _local3:TweenListObj = _tweenList[_arg1];
var _local4:TweenListObj = _local3.clone(false);
_local5 = 0;
while (_local5 < _arg2.length) {
_local6 = _arg2[_local5];
if (Boolean(_local3.properties[_local6])){
_local3.properties[_local6] = undefined;
delete _local3.properties[_local6];
};
_local5++;
};
for (_local6 in _local4.properties) {
_local7 = false;
_local5 = 0;
while (_local5 < _arg2.length) {
if (_arg2[_local5] == _local6){
_local7 = true;
break;
};
_local5++;
};
if (!_local7){
_local4.properties[_local6] = undefined;
delete _local4.properties[_local6];
};
};
_tweenList.push(_local4);
return ((_tweenList.length - 1));
}
public static function resumeTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj = _tweenList[_arg1];
if ((((_local2 == null)) || (!(_local2.isPaused)))){
return (false);
};
var _local3:Number = getCurrentTweeningTime(_local2);
_local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused));
_local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused));
_local2.timePaused = undefined;
_local2.isPaused = false;
return (true);
}
public static function getVersion():String{
return ("AS3 1.33.74");
}
public static function onEnterFrame(_arg1:Event):void{
updateTime();
updateFrame();
var _local2:Boolean;
_local2 = updateTweens();
if (!_local2){
stopEngine();
};
}
public static function updateTime():void{
_currentTime = getTimer();
}
private static function updateTweenByIndex(_arg1:Number):Boolean{
var tTweening:TweenListObj;
var mustUpdate:Boolean;
var nv:Number;
var t:Number;
var b:Number;
var c:Number;
var d:Number;
var pName:String;
var eventScope:Object;
var tScope:Object;
var tProperty:Object;
var pv:Number;
var i = _arg1;
tTweening = _tweenList[i];
if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){
return (false);
};
var isOver:Boolean;
var cTime:Number = getCurrentTweeningTime(tTweening);
if (cTime >= tTweening.timeStart){
tScope = tTweening.scope;
if (tTweening.isCaller){
do {
t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1));
b = tTweening.timeStart;
c = (tTweening.timeComplete - tTweening.timeStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, b, c, d);
} while (!(cTime >= nv));
} else {
mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates)));
if (cTime >= tTweening.timeComplete){
isOver = true;
mustUpdate = true;
};
if (!tTweening.hasStarted){
if (Boolean(tTweening.onStart)){
eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope;
try {
tTweening.onStart.apply(eventScope, tTweening.onStartParams);
} catch(e2:Error) {
handleError(tTweening, e2, "onStart");
};
};
for (pName in tTweening.properties) {
if (tTweening.properties[pName].isSpecialProperty){
if (Boolean(_specialPropertyList[pName].preProcess)){
tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra);
};
pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra);
} else {
pv = tScope[pName];
};
tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv;
};
mustUpdate = true;
tTweening.hasStarted = true;
};
if (mustUpdate){
for (pName in tTweening.properties) {
tProperty = tTweening.properties[pName];
if (isOver){
nv = tProperty.valueComplete;
} else {
if (tProperty.hasModifier){
t = (cTime - tTweening.timeStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams);
nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters);
} else {
t = (cTime - tTweening.timeStart);
b = tProperty.valueStart;
c = (tProperty.valueComplete - tProperty.valueStart);
d = (tTweening.timeComplete - tTweening.timeStart);
nv = tTweening.transition(t, b, c, d, tTweening.transitionParams);
};
};
if (tTweening.rounded){
nv = Math.round(nv);
};
if (tProperty.isSpecialProperty){
_specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra);
} else {
tScope[pName] = nv;
};
};
tTweening.updatesSkipped = 0;
if (Boolean(tTweening.onUpdate)){
eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope;
try {
tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams);
} catch(e3:Error) {
handleError(tTweening, e3, "onUpdate");
};
};
} else {
tTweening.updatesSkipped++;
};
};
if (((isOver) && (Boolean(tTweening.onComplete)))){
eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope;
try {
tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams);
} catch(e4:Error) {
handleError(tTweening, e4, "onComplete");
};
};
return (!(isOver));
};
return (true);
}
public static function setTimeScale(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
if (isNaN(_arg1)){
_arg1 = 1;
};
if (_arg1 < 1E-5){
_arg1 = 1E-5;
};
if (_arg1 != _timeScale){
if (_tweenList != null){
_local2 = 0;
while (_local2 < _tweenList.length) {
_local3 = getCurrentTweeningTime(_tweenList[_local2]);
_tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1));
_tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1));
if (_tweenList[_local2].timePaused != undefined){
_tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1));
};
_local2++;
};
};
_timeScale = _arg1;
};
}
public static function resumeAllTweens():Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
var _local1:Boolean;
_local2 = 0;
while (_local2 < _tweenList.length) {
resumeTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{
var eventScope:Object;
var pTweening = _arg1;
var pError = _arg2;
var pCallBackName = _arg3;
if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){
eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope;
try {
pTweening.onError.apply(eventScope, [pTweening.scope, pError]);
} catch(metaError:Error) {
printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace()));
};
} else {
if (!Boolean(pTweening.onError)){
printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace()));
};
};
}
private static function startEngine():void{
_engineExists = true;
_tweenList = new Array();
__tweener_controller__ = new MovieClip();
__tweener_controller__.addEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame);
_currentTimeFrame = 0;
updateTime();
}
public static function removeAllTweens():Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
var _local1:Boolean;
_local2 = 0;
while (_local2 < _tweenList.length) {
removeTweenByIndex(_local2);
_local1 = true;
_local2++;
};
return (_local1);
}
public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{
var _local3:Number;
var _local4:Number;
var _local5:String;
var _local6:Array;
var _local13:Function;
var _local14:Object;
var _local15:TweenListObj;
var _local16:Number;
var _local17:Array;
var _local18:Array;
var _local19:Array;
var _local20:String;
if (!Boolean(_arg1)){
return (false);
};
if ((_arg1 is Array)){
_local6 = _arg1.concat();
} else {
_local6 = [_arg1];
};
var _local7:Object = TweenListObj.makePropertiesChain(_arg2);
if (!_inited){
init();
};
if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){
startEngine();
};
var _local8:Number = (isNaN(_local7.time)) ? 0 : _local7.time;
var _local9:Number = (isNaN(_local7.delay)) ? 0 : _local7.delay;
var _local10:Array = new Array();
var _local11:Object = {overwrite:true, time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true};
var _local12:Object = new Object();
for (_local5 in _local7) {
if (!_local11[_local5]){
if (_specialPropertySplitterList[_local5]){
_local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters);
_local3 = 0;
while (_local3 < _local17.length) {
if (_specialPropertySplitterList[_local17[_local3].name]){
_local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters);
_local4 = 0;
while (_local4 < _local18.length) {
_local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false};
_local4++;
};
} else {
_local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false};
};
_local3++;
};
} else {
if (_specialPropertyModifierList[_local5] != undefined){
_local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]);
_local3 = 0;
while (_local3 < _local19.length) {
_local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue};
_local3++;
};
} else {
_local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]};
};
};
};
};
for (_local5 in _local10) {
if (_specialPropertyList[_local5] != undefined){
_local10[_local5].isSpecialProperty = true;
} else {
if (_local6[0][_local5] == undefined){
printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property."));
};
};
};
for (_local5 in _local12) {
if (_local10[_local5] != undefined){
_local10[_local5].modifierParameters = _local12[_local5].modifierParameters;
_local10[_local5].modifierFunction = _local12[_local5].modifierFunction;
};
};
if (typeof(_local7.transition) == "string"){
_local20 = _local7.transition.toLowerCase();
_local13 = _transitionList[_local20];
} else {
_local13 = _local7.transition;
};
if (!Boolean(_local13)){
_local13 = _transitionList["easeoutexpo"];
};
_local3 = 0;
while (_local3 < _local6.length) {
_local14 = new Object();
for (_local5 in _local10) {
_local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters);
};
if (_local7.useFrames == true){
_local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams);
} else {
_local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams);
};
_local15.properties = _local14;
_local15.onStart = _local7.onStart;
_local15.onUpdate = _local7.onUpdate;
_local15.onComplete = _local7.onComplete;
_local15.onOverwrite = _local7.onOverwrite;
_local15.onError = _local7.onError;
_local15.onStartParams = _local7.onStartParams;
_local15.onUpdateParams = _local7.onUpdateParams;
_local15.onCompleteParams = _local7.onCompleteParams;
_local15.onOverwriteParams = _local7.onOverwriteParams;
_local15.onStartScope = _local7.onStartScope;
_local15.onUpdateScope = _local7.onUpdateScope;
_local15.onCompleteScope = _local7.onCompleteScope;
_local15.onOverwriteScope = _local7.onOverwriteScope;
_local15.onErrorScope = _local7.onErrorScope;
_local15.rounded = _local7.rounded;
_local15.skipUpdates = _local7.skipUpdates;
if (((_local7.overwrite == undefined)) ? autoOverwrite : _local7.overwrite){
removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete);
};
_tweenList.push(_local15);
if ((((_local8 == 0)) && ((_local9 == 0)))){
_local16 = (_tweenList.length - 1);
updateTweenByIndex(_local16);
removeTweenByIndex(_local16);
};
_local3++;
};
return (true);
}
public static function registerTransition(_arg1:String, _arg2:Function):void{
if (!_inited){
init();
};
_transitionList[_arg1] = _arg2;
}
public static function printError(_arg1:String):void{
trace(("## [Tweener] Error: " + _arg1));
}
private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{
var _local5:uint;
var _local6:Array;
var _local7:uint;
var _local8:uint;
var _local9:uint;
var _local4:Boolean;
if (!Boolean(_tweenList)){
return (false);
};
_local5 = 0;
while (_local5 < _tweenList.length) {
if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){
if (_arg3.length == 0){
_arg1(_local5);
_local4 = true;
} else {
_local6 = new Array();
_local7 = 0;
while (_local7 < _arg3.length) {
if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){
_local6.push(_arg3[_local7]);
};
_local7++;
};
if (_local6.length > 0){
_local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties);
if (_local8 == _local6.length){
_arg1(_local5);
_local4 = true;
} else {
_local9 = splitTweens(_local5, _local6);
_arg1(_local9);
_local4 = true;
};
};
};
};
_local5++;
};
return (_local4);
}
public static function getTweens(_arg1:Object):Array{
var _local2:uint;
var _local3:String;
if (!Boolean(_tweenList)){
return ([]);
};
var _local4:Array = new Array();
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
for (_local3 in _tweenList[_local2].properties) {
_local4.push(_local3);
};
};
_local2++;
};
return (_local4);
}
public static function isTweening(_arg1:Object):Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
return (true);
};
_local2++;
};
return (false);
}
public static function pauseTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj = _tweenList[_arg1];
if ((((_local2 == null)) || (_local2.isPaused))){
return (false);
};
_local2.timePaused = getCurrentTweeningTime(_local2);
_local2.isPaused = true;
return (true);
}
public static function getTweenCountAll():Number{
var _local1:uint;
if (!Boolean(_tweenList)){
return (0);
};
var _local2:Number = 0;
_local1 = 0;
while (_local1 < _tweenList.length) {
if (Boolean(_tweenList[_local1])){
_local2 = (_local2 + AuxFunctions.getObjectLength(_tweenList[_local1].properties));
};
_local1++;
};
return (_local2);
}
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 getCurrentTweeningTime(_arg1:Object):Number{
return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime);
}
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
//_ac916 (classes._ac916)
package classes {
import flash.display.*;
import flash.geom.*;
public class _ac916 {
public var _ur962:Number;// = 0
public var _ql509:Number;// = 0
public var _is264:Function;
public var _iu688:Number;// = 0
public var _fq567:Number;// = 0
public var _td1016:int;// = 0
public var _hy37:Number;// = 0
public var _aw873:Number;// = 0
public var _jx762:Number;// = 0
public var _ay817:int;
public var _eo112:Number;// = 0
public var _dn100:Number;// = 0
public var _sa126:Number;// = 0
public var _tk1104:Boolean;
public var _pf188:Number;// = 0
public var _wr589:Number;// = 0
public var callback:Function;
public var _uo481:Number;// = 0
public var _ur991:Number;// = 0
public var _oj870:Number;// = 0
public var _rm544:BitmapData;
public var _as173:Function;
public var _eb1062:Number;// = 0
public var _vf114:String;
public var _fq473:Number;// = 0
public var _cl141:Number;// = 0
public var _jl222:Number;// = 0
public var _im632:Number;// = 0
public var y:Number;// = 0
public var x:Number;// = 0
public var _ai283:Number;// = 0
public var _dr733:int;
public var _dm169:Boolean;
public var _mt952:Number;// = 0
public var state:int;
public var _gm920:Number;// = 0
public var movedata1:Number;// = 0
public var _rm200:Number;// = 0
public var _ha763:Number;// = 0
public var _tr974:int;
public var _so309:Number;// = 0
public var _yc503:Function;
public var _km139:Number;// = 0
public var _bf825:Number;// = 0
public var _px976:int;
public var _ja140:int;// = 0
public var _yy1021:Number;// = 0
public var _ug443:Number;// = 0
public var _fl824:Number;// = 0
public var _gm836:Number;// = 0
public var _vx906:Number;// = 0
public var _sw66:Number;// = 0
public var _gh391:Number;// = 0
public var _de362:Number;// = 0
public var _jm366:Number;// = 0
public var _mh550:Number;// = 0
public var id:int;
public var _ij175:Number;// = 0
public var _ot1020:Number;// = 0
public var _kf1109:Number;// = 0
public var _mg105:Number;// = 0
public var _fa846:Number;// = 0
public var _dp246:Number;// = 0
public var height:int;
public var _in662:Number;// = 0
public var _dj827:Number;// = 0
public var _mf268:int;
public var _de1100:Number;// = 0
public var _vv1084:Number;// = 0
public var _id648:int;
public var _po946:int;// = 0
public var _tk919:Number;// = 0
public var _eh693:Number;// = 0
public var _rx1040:int;
public var _ww643:Number;// = 0
public var _yj193:Number;// = 0
public var _kg406:Number;// = 0
public var alpha:Number;// = 0
public var frame:Number;// = 0
public var _lr444:Number;// = 0
public var _ov207:Number;// = 0
public var _vt1021:_ac916;
public var _jw188:Boolean;
public var _wy29:Number;// = 0
public var _lt990:Number;// = 0
public var _ds305:int;// = 0
public var _eh472:Number;// = 0
public var _wh10:ColorTransform;
public var target:_ac916;
public var _bf896:Number;// = 0
public var _cg421:Number;// = 0
public var _hc307:Number;// = 0
public var _dt644:int;
public var _qf618:Boolean;
public var _sc42:_ac916;
public var _lk99:int;
public var _mj424:Number;// = 0
public var _vk310:Number;// = 0
public var width:int;
public var _dm55:Number;
public var _br511:Number;// = 0
public var _ch774:Number;// = 0
public var _wl327:int;// = 0
public var _jd374:Number;// = 0
public var _ok16:Number;// = 0
public var _bl1096:int;// = 0
public var _gm675:Number;// = 0
public var _bi831:Object;
public var _nj362:String;
public var _mv409:Number;// = 0
public var _qd1117:int;
public var _fa98:Number;// = 0
public var _mj562:Number;// = 0
public var _vb1111:Number;// = 0
public var _mx710:Number;// = 0
public var _ch675:int;
public var _xx113:Number;// = 0
public var _he640:int;
private var _fa684:Number;// = 0
public var _je1065:Number;// = 0
public var _od512:Number;// = 0
public var _jp362:Number;// = 0
public var _is950:int;
public var _tq176:Number;// = 0
public var _xv1063:int;// = 0
public var _bk916:Number;// = 0
public var _hy340:Boolean;
public var _hx379:Number;// = 0
public var _qc163:Number;// = 0
public var _le1118:Number;// = 0
public var _ds136:Number;// = 0
public var _mc848:Boolean;
public var _xc242:Number;// = 0
public var _br567:Number;// = 0
public var _jd1060:Number;// = 0
public var _ta1084:Number;// = 0
public var _oq713:String;
public var _pc375:Number;// = 0
public var _oc579:Function;
public var _na117:Number;// = 0
public var _ey966:Number;// = 0
public var _ah1035:Number;// = 0
public var name:String;
public var id3:int;
public var _nw223:int;// = 0
public var _ru843:Boolean;
public var _ss696:int;
public var weight:Number;// = 0
public var _tx1050:Point;
public var _ec507:int;// = 0
private var _xr977:Number;// = 0
public var _lm606:Number;// = 0
public var _ta52:int;
public var _yd151:int;
public var _no993:Boolean;
public var _pr626:Object;
public var _oc597:int;
public var _ph603:int;
public var _ei182:Boolean;
public var _hp78:Boolean;
public var _uh1019:BitmapData;
public var _lk447:Boolean;
public var _fe626:Number;// = 0
public var _mn1025:Number;// = 0
public var _ku317:Number;// = 0
public var _tv445:Number;// = 0
public var _wy115:Number;// = 0
public var _bt27:Rectangle;
public var _ao184:Number;// = 0
public var _la677:Number;// = 0
public var _xq433:Number;// = 0
public var _ti158:Boolean;
public var _gs702:Number;// = 0
public var _ah556:Number;// = 0
public var _uy1082:Number;// = 0
public var _wn256:Number;// = 0
public var _vq728:Boolean;
public var _ig113:Number;// = 0
public var type:int;
public var _bu662:Number;// = 0
public var _os959:Number;// = 0
public var _xp485:Number;// = 0
public var _sw523:Number;// = 0
public var _tv599:int;
public var _kl778:Number;// = 0
public var _vl295:Boolean;
public var _ll449:Number;// = 0
public var _he148:int;
public var _pr676:Number;// = 0
public var _fl1017:Number;// = 0
public var _fy42:Number;// = 0
public var rotation:Number;// = 0
public var _tv1047:int;
public var _kt150:Number;
public var _ld505:Number;// = 0
public var _vo15:Number;// = 0
public var _dc302:Number;// = 0
public var _rj1116:BitmapData;
public var _yf166:int;
public var _xu725:Number;// = 0
public var _xt638:Number;// = 0
public var _eb1122:Number;// = 0
public var _kn608:Number;// = 0
public var _fp564:Number;// = 0
public var _nc34:Number;// = 0
public var _cy741:Number;// = 0
public var _qa853:Number;// = 0
public var _ih1058:int;// = 0
public var delta:Number;// = 0
public var _mq625:Number;// = 0
public var _ni941:Array;
public var _cy633:Number;// = 0
public var _vq668:Boolean;
public static var _im840:Number = 0;
public static var _hr542:Number = 0;
public function _ac916(){
_mg105 = -10000;
_br511 = 10000;
_jd1060 = -10000;
_je1065 = 10000;
alpha = 1;
_os959 = 1;
_vk310 = 1;
_wh10 = new ColorTransform();
_wr589 = 1;
_bu662 = 1;
_ur991 = 1;
_fa684 = (Math.PI * 2);
_bt27 = new Rectangle(0, 0, 0, 0);
_tx1050 = new Point(0, 0);
_ti158 = true;
_dm169 = true;
name = "";
_kt150 = 0;
}
public function _gk97():void{
if (_ay817){
_os959 = (_os959 + (_le1118 * delta));
switch (_ay817){
case 1:
if (_os959 >= _uo481){
_os959 = _uo481;
_le1118 = -(_le1118);
} else {
if (_os959 <= _km139){
_os959 = _km139;
_le1118 = -(_le1118);
};
};
break;
case 2:
if (_os959 >= _uo481){
_os959 = _km139;
} else {
if (_os959 <= _km139){
_os959 = _uo481;
};
};
break;
case 3:
if (_os959 >= _uo481){
_os959 = _uo481;
_ay817 = 0;
} else {
if (_os959 <= _km139){
_os959 = _km139;
_ay817 = 0;
};
};
break;
case 4:
if (_os959 >= _uo481){
_os959 = _uo481;
_ay817 = 0;
_tk1104 = true;
} else {
if (_os959 <= _km139){
_os959 = _km139;
_ay817 = 0;
_tk1104 = true;
};
};
break;
case 5:
if (_os959 >= _uo481){
_os959 = _uo481;
_le1118 = -(_le1118);
_ay817 = 3;
};
break;
case 6:
if (_os959 <= _km139){
_os959 = _km139;
_le1118 = -(_le1118);
_ay817 = 3;
};
break;
case 7:
if (_os959 >= _uo481){
_os959 = _uo481;
_le1118 = -(_le1118);
_ay817 = 4;
};
break;
};
};
}
public function _kp957(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
_wd1110(_kl319._yd889(_arg1, 0.01), _kl319._pj189(_arg1, 0.01), 0, 0, 0, false);
_ll449 = _arg2;
_kf1109 = _ll449;
_ao184 = 1;
_ql509 = _arg3;
_xt638 = _arg4;
_gm920 = _arg5;
movedata1 = 0;
_td1016 = 13;
}
public function _wx1016(_arg1:String):void{
_nj362 = _arg1;
}
public function _fi602():void{
if (_yd151){
_jd374 = (_jd374 + (_mv409 * delta));
switch (_yd151){
case 1:
if (_jd374 >= _mn1025){
_jd374 = _mn1025;
_mv409 = -(_mv409);
} else {
if (_jd374 <= _ww643){
_jd374 = _ww643;
_mv409 = -(_mv409);
};
};
break;
case 2:
if (_jd374 >= _mn1025){
_jd374 = _ww643;
} else {
if (_jd374 <= _ww643){
_jd374 = _mn1025;
};
};
break;
case 3:
if (_jd374 >= _mn1025){
_jd374 = _mn1025;
_yd151 = 0;
} else {
if (_jd374 <= _ww643){
_jd374 = _ww643;
_yd151 = 0;
};
};
break;
case 4:
if (_jd374 >= _mn1025){
_jd374 = _mn1025;
_yd151 = 0;
_tk1104 = true;
} else {
if (_jd374 <= _ww643){
_jd374 = _ww643;
_yd151 = 0;
_tk1104 = true;
};
};
break;
};
};
}
public function _le531(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_yd151 = _arg4;
_mv409 = _arg1;
_ww643 = _arg2;
_mn1025 = _arg3;
_jd374 = _arg5;
}
public function _kv275(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_wy115 = _arg1;
_mt952 = _arg3;
_kg406 = _arg2;
_mh550 = _arg4;
}
public function _sv397(_arg1:Object, _arg2:Number, _arg3:int, _arg4:Number):void{
_pr626 = _arg1;
_uh1019 = _pr626[0];
_lk99 = 0;
_ph603 = 0;
_dt644 = 0;
_yf166 = (_arg3 - 1);
_gs702 = _arg2;
_dj827 = 0;
frame = 0;
_ta52 = 3;
_ss696 = 5;
_ch774 = _arg4;
}
public function _sc1048(_arg1:Object, _arg2:Number, _arg3:int, _arg4:int):void{
_pr626 = _arg1;
_uh1019 = _pr626[0];
_lk99 = 0;
_ph603 = 0;
_dt644 = 0;
_yf166 = (_arg3 - 1);
_gs702 = _arg2;
_dj827 = 0;
frame = 0;
_ta52 = 3;
_ss696 = _arg4;
}
public function _sa382():void{
if (_he148){
switch (_he148){
case 1:
alpha = (alpha + (_hx379 * delta));
if (alpha > _sw523){
alpha = _sw523;
_he148 = 0;
} else {
if (alpha < _ey966){
alpha = _ey966;
_he148 = 0;
_tk1104 = true;
};
};
break;
case 2:
if (_bf896 > 0){
_bf896 = (_bf896 - (1 * delta));
if (_bf896 < 1){
_bf896 = 0;
_cp49(-(_hx379), _sw523);
};
} else {
alpha = (alpha + (_hx379 * delta));
if (alpha >= _sw523){
alpha = _sw523;
_bf896 = _dp246;
};
};
break;
};
_kc1077(alpha);
};
}
public function _xb1081(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number=0, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Boolean=true):void{
_kn608 = _arg7;
_fa846 = _arg8;
_xu725 = _arg9;
_gm675 = _arg10;
_ah556 = _arg1;
_ot1020 = _arg2;
_la677 = _arg3;
_vb1111 = _arg4;
_fa98 = _arg5;
_jp362 = _arg6;
_jw188 = _arg11;
_td1016 = 3;
}
public function _dm390(_arg1:BitmapData, _arg2:Number, _arg3:Number):void{
}
public function _lg720():void{
if (_vl295 == true){
if (_vx906 < _hc307){
_vx906 = (_vx906 + (_yy1021 * delta));
if (_vx906 > _hc307){
_vx906 = _hc307;
};
} else {
if (_vx906 > _hc307){
_vx906 = (_vx906 - (_yy1021 * delta));
if (_vx906 < _hc307){
_vx906 = _hc307;
};
};
};
if (_jx762 < _bk916){
_jx762 = (_jx762 + (_xc242 * delta));
if (_jx762 > _bk916){
_jx762 = _bk916;
};
} else {
if (_jx762 > _bk916){
_jx762 = (_jx762 - (_xc242 * delta));
if (_jx762 < _bk916){
_jx762 = _bk916;
};
};
};
if (_ah1035 < _qa853){
_ah1035 = (_ah1035 + (_vo15 * delta));
if (_ah1035 > _qa853){
_ah1035 = _qa853;
};
} else {
if (_ah1035 > _qa853){
_ah1035 = (_ah1035 - (_vo15 * delta));
if (_ah1035 < _qa853){
_ah1035 = _qa853;
};
};
};
_wr589 = _vx906;
_bu662 = _jx762;
_ur991 = _ah1035;
if (_vx906 == _hc307){
if (_jx762 == _bk916){
if (_ah1035 == _qa853){
_vl295 = false;
};
};
};
};
}
public function _tp772(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_tr974 = _arg4;
_sa126 = _arg1;
_jl222 = _arg2;
_fe626 = _arg3;
rotation = _arg5;
}
public function _gt305(_arg1:_ac916, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
target = _arg1;
movedata1 = 0;
_eb1062 = _arg2;
_dc302 = _arg3;
_lt990 = 0;
_mj424 = _arg4;
_ku317 = _arg5;
_td1016 = 2;
}
public function _dx1024():void{
if (_rx1040){
_vk310 = (_vk310 + (_ig113 * delta));
switch (_rx1040){
case 1:
if (_vk310 >= _xq433){
_vk310 = _xq433;
_ig113 = -(_ig113);
} else {
if (_vk310 <= _qc163){
_vk310 = _qc163;
_ig113 = -(_ig113);
};
};
break;
case 2:
if (_vk310 >= _xq433){
_vk310 = _qc163;
} else {
if (_vk310 <= _qc163){
_vk310 = _xq433;
};
};
break;
case 3:
if (_vk310 >= _xq433){
_vk310 = _xq433;
_rx1040 = 0;
} else {
if (_vk310 <= _qc163){
_vk310 = _qc163;
_rx1040 = 0;
};
};
break;
case 4:
if (_vk310 >= _xq433){
_vk310 = _xq433;
_rx1040 = 0;
_tk1104 = true;
} else {
if (_vk310 <= _qc163){
_vk310 = _qc163;
_rx1040 = 0;
_tk1104 = true;
};
};
break;
case 5:
if (_vk310 >= _xq433){
_vk310 = _xq433;
_ig113 = -(_ig113);
_rx1040 = 3;
};
break;
case 7:
if (_vk310 >= _xq433){
_vk310 = _xq433;
_ig113 = -(_ig113);
_rx1040 = 4;
};
break;
};
};
}
public function _rm796(_arg1:Function):void{
_as173 = _arg1;
}
public function _ty479(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:BitmapData, _arg7:int=1, _arg8:Number=0, _arg9:Boolean=true, _arg10:Boolean=true):void{
_cy633 = _arg8;
type = _arg7;
_uh1019 = _arg1;
_rm544 = _arg6;
_lk99 = _arg2;
_ph603 = _arg3;
width = _arg4;
height = _arg5;
_bt27.width = width;
_bt27.height = height;
_dm169 = _arg9;
_dn100 = (width / 2);
_ug443 = width;
_ai283 = height;
_mf268 = 0;
_ti158 = true;
_qf618 = _arg10;
_vq668 = false;
if (_cy633 > 0){
_ru843 = _ti158;
_ti158 = false;
};
_kc1077(1);
}
public function _ec184():void{
if (_ss696){
_dj827 = (_dj827 + (_gs702 * delta));
switch (_ss696){
case 1:
if (_dj827 > _yf166){
_dj827 = _yf166;
_gs702 = -(_gs702);
} else {
if (_dj827 < _dt644){
_dj827 = _dt644;
_gs702 = -(_gs702);
};
};
break;
case 2:
if (_dj827 > _yf166){
_dj827 = _dt644;
} else {
if (_dj827 < _dt644){
_dj827 = _yf166;
};
};
break;
case 3:
if (_dj827 >= _yf166){
_dj827 = _yf166;
_ss696 = 0;
} else {
if (_dj827 <= _dt644){
_dj827 = _dt644;
_ss696 = 0;
};
};
break;
case 4:
if (_dj827 >= _yf166){
_dj827 = _yf166;
_ss696 = 0;
_tk1104 = true;
} else {
if (_dj827 <= _dt644){
_dj827 = _dt644;
_ss696 = 0;
_tk1104 = true;
};
};
break;
case 5:
if (_dj827 > _yf166){
_dj827 = _dt644;
} else {
if (_dj827 < _dt644){
_dj827 = _yf166;
};
};
_ch774 = (_ch774 - delta);
if (_ch774 < 1){
_ch774 = 0;
_dj827 = _dt644;
_ss696 = 0;
};
break;
case 6:
if (_dj827 >= _yf166){
_dj827 = _yf166;
_ss696 = 0;
};
break;
case 7:
if (_dj827 >= _yf166){
_dj827 = _yf166;
_ss696 = 0;
_yc503(this);
_yc503 = null;
};
};
frame = Math.round(_dj827);
if (_ta52 == 1){
_lk99 = (frame * (width + _id648));
} else {
if (_ta52 == 2){
_lk99 = _ni941[(frame * 2)];
_ph603 = _ni941[((frame * 2) + 1)];
} else {
_uh1019 = _pr626[frame];
};
};
};
}
public function _al564(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_kn608 = _arg1;
_fa846 = _arg2;
_mg105 = _arg3;
_br511 = _arg5;
_jd1060 = _arg4;
_je1065 = _arg6;
_td1016 = 11;
}
public function _qt284(_arg1:Number, _arg2:Number, _arg3:Number=1):void{
_he148 = 2;
_hx379 = _arg1;
_ey966 = 0;
_sw523 = _arg3;
alpha = 0;
_bf896 = 0;
_dp246 = _arg2;
}
public function _jv148(_arg1:Boolean):void{
_ti158 = _arg1;
_ru843 = _ti158;
}
public function _cp49(_arg1:Number, _arg2:Number=1, _arg3:Number=0, _arg4:Number=1):void{
_he148 = 1;
_hx379 = _arg1;
_ey966 = _arg3;
_sw523 = _arg4;
alpha = _arg2;
}
public function _cg714(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_mg105 = _arg1;
_br511 = _arg3;
_jd1060 = _arg2;
_je1065 = _arg4;
}
public function _py809(_arg1:BitmapData, _arg2:Number, _arg3:int, _arg4:int, _arg5:Array):void{
_uh1019 = _arg1;
_lk99 = 0;
_dt644 = 0;
_yf166 = (_arg3 - 1);
_gs702 = _arg2;
_dj827 = 0;
frame = 0;
_id648 = 0;
_ta52 = 2;
_ss696 = _arg4;
_ni941 = _arg5;
}
public function _id849(_arg1:Number, _arg2:Number, _arg3:Number=1):void{
var _local4:Number = rotation;
var _local5:Number = _arg1;
var _local6:Number = 0;
if (_local4 < _local5){
_local6 = 1;
if ((_local5 - _local4) > 179){
_local6 = -1;
_local4 = (_local4 + ((_arg2 * _local6) * _arg3));
} else {
_local4 = (_local4 + ((_arg2 * _local6) * _arg3));
};
} else {
if (_local4 > _local5){
_local6 = -1;
if ((_local4 - _local5) > 179){
_local6 = 1;
_local4 = (_local4 + ((_arg2 * _local6) * _arg3));
} else {
_local4 = (_local4 + ((_arg2 * _local6) * _arg3));
};
};
};
if (_local4 < 0){
_local4 = (_local4 + 360);
} else {
if (_local4 > 359){
_local4 = (_local4 - 360);
};
};
if (Math.abs((_local4 - _local5)) < 2){
_local4 = _local5;
};
rotation = _local4;
}
public function _sn222(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_kn608 = _arg1;
_fa846 = _arg2;
_gm675 = _arg3;
movedata1 = _arg4;
_td1016 = 17;
}
public function _gj674(_arg1:Number, _arg2:Number):void{
_os959 = _arg1;
_vk310 = _arg2;
}
private function _se300(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean{
if ((((((((_arg1 < (_arg3 + _arg5))) && ((_arg2 < (_arg4 + _arg6))))) && ((_arg1 > _arg3)))) && ((_arg2 > _arg4)))){
return (true);
};
return (false);
}
public function _th612(_arg1:Number, _arg2:Number):void{
_bf825 = _arg1;
_br567 = _arg2;
}
public function _fl705(_arg1:Number, _arg2:Number=0.95):void{
_kf1109 = _arg1;
_ll449 = _arg1;
_ao184 = _arg2;
}
public function _kn136(_arg1:Number=1):void{
delta = _arg1;
if (_cy633 != 0){
_cy633 = (_cy633 - delta);
if (_cy633 < 1){
_cy633 = 0;
_ti158 = _ru843;
};
} else {
_vv261();
_uv660();
_gk97();
_dx1024();
_sa382();
_ec184();
_lg720();
if (callback != null){
callback(this);
};
if (_dm55){
_dm55 = (_dm55 - _arg1);
if (_dm55 < 1){
_dm55 = 0;
_tk1104 = true;
};
};
};
}
public function _df222(_arg1:_ac916, _arg2:Number):void{
_tr974 = 5;
_sa126 = _arg2;
_sc42 = _arg1;
}
public function _ot115(_arg1:Number, _arg2:Number):void{
_sw66 = _arg1;
_jd374 = _arg2;
}
public function _ej745(_arg1:String):void{
name = _arg1;
}
public function _vt1007(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Function):void{
movedata1 = _arg1;
_eb1062 = _arg2;
_dc302 = _arg3;
_lt990 = _arg4;
_td1016 = 7;
_yc503 = _arg5;
}
public function get scale():Number{
return (_mj562);
}
public function _pp806(_arg1:Number, _arg2:Number):void{
_hr542 = _arg1;
_im840 = _arg2;
}
public function _be1095(_arg1:Number, _arg2:Number):void{
_ug443 = _arg1;
_ai283 = _arg2;
_mf268 = 0;
}
public function _pn401(_arg1:Function):void{
_oc579 = _arg1;
}
public function _gy728(_arg1:Function):void{
callback = _arg1;
}
public function _sh1022(_arg1:Number):void{
_dn100 = _arg1;
_mf268 = 1;
}
public function _jy256(_arg1:Function):void{
_is264 = _arg1;
}
public function _wd1110(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0, _arg6:Boolean=true):void{
_kn608 = _arg1;
_fa846 = _arg2;
_xu725 = _arg3;
_gm675 = _arg4;
_xp485 = _arg5;
_jw188 = _arg6;
_td1016 = 1;
if (_jw188 == false){
_td1016 = 10;
};
}
public function _yd670(_arg1:_ac916, _arg2:Number, _arg3:Number):void{
_fp564 = _kl319._wv414(x, y, _arg1.x, _arg1.y);
x = (x + (_kl319._yd889(_fp564, _arg2) * _arg3));
y = (y + (_kl319._pj189(_fp564, _arg2) * _arg3));
}
public function _st842(_arg1:_ac916):Number{
return (_kl319._ja592(x, y, _arg1.x, _arg1.y));
}
public function _lh34(_arg1:Number, _arg2:Number=0):void{
_dc302 = _arg1;
_lt990 = _arg2;
_td1016 = 18;
}
public function _yl166(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_kn608 = _kl319._yd889(_arg1, _arg2);
_fa846 = _kl319._pj189(_arg1, _arg2);
_mg105 = _arg3;
_br511 = _arg5;
_jd1060 = _arg4;
_je1065 = _arg6;
_td1016 = 15;
}
public function _xk276(_arg1:BitmapData, _arg2:Number, _arg3:int, _arg4:int, _arg5:int=0, _arg6:int=0):void{
_uh1019 = _arg1;
_lk99 = 0;
_dt644 = 0;
_yf166 = (_arg3 - 1);
_gs702 = _arg2;
_dj827 = _arg6;
frame = _arg6;
_id648 = _arg5;
_ta52 = 1;
_ss696 = _arg4;
}
public function _ea864(_arg1:Number, _arg2:Number, _arg3:_ac916, _arg4:Number, _arg5:Number, _arg6:Boolean=true):void{
target = _arg3;
_kn608 = _arg1;
_fa846 = _arg2;
_jw188 = _arg6;
movedata1 = _arg4;
_eb1062 = _arg5;
_td1016 = 19;
}
public function _cf245(_arg1:Number, _arg2:Number):Boolean{
if (_ti158 == true){
if (_dm169 == true){
return (_se300(_arg1, _arg2, (x - ((_ug443 * Math.abs(_os959)) / 2)), (y - ((_ai283 * Math.abs(_vk310)) / 2)), (_ug443 * Math.abs(_os959)), (_ai283 * Math.abs(_vk310))));
};
return (_se300(_arg1, _arg2, x, y, (_ug443 * Math.abs(_os959)), (_ai283 * Math.abs(_vk310))));
//unresolved jump
};
return (false);
}
public function _id1071(_arg1:Number=1):void{
delta = _arg1;
_vv261();
_ec184();
if (callback != null){
callback(this);
};
}
public function _sf238(_arg1:Number, _arg2:Number):void{
x = _arg1;
y = _arg2;
}
public function _of803(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number=0, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Boolean=true):void{
_kn608 = _arg7;
_fa846 = _arg8;
_xu725 = _arg9;
_gm675 = _arg10;
_ha763 = _arg1;
_wy29 = _arg2;
_ld505 = _arg3;
_uy1082 = _arg4;
_eh472 = _arg5;
_fq567 = _arg6;
_jw188 = _arg11;
_td1016 = 31;
}
public function _ss64(_arg1:Number, _arg2:Number):void{
_tr974 = 6;
_sa126 = _arg2;
_jl222 = _arg1;
}
public function _vy604(_arg1:int):Boolean{
_he640 = (_he640 - _arg1);
if (_he640 < 1){
_he640 = 0;
return (true);
};
return (false);
}
public function _uv660():void{
if (_tr974){
switch (_tr974){
case 1:
rotation = (rotation + (_sa126 * delta));
if (rotation >= _fe626){
rotation = _fe626;
_sa126 = -(_sa126);
} else {
if (rotation <= _jl222){
rotation = _jl222;
_sa126 = -(_sa126);
};
};
break;
case 2:
rotation = (rotation + (_sa126 * delta));
if (rotation >= _fe626){
rotation = _jl222;
} else {
if (rotation <= _jl222){
rotation = _fe626;
};
};
break;
case 3:
rotation = (rotation + (_sa126 * delta));
if (rotation >= _fe626){
rotation = _fe626;
_tr974 = 0;
} else {
if (rotation <= _jl222){
rotation = _jl222;
_tr974 = 0;
};
};
break;
case 4:
rotation = (rotation + (_sa126 * delta));
if (rotation >= _fe626){
rotation = _fe626;
_tr974 = 0;
_tk1104 = true;
} else {
if (rotation <= _jl222){
rotation = _jl222;
_tr974 = 0;
_tk1104 = true;
};
};
break;
case 5:
_is370(_sc42, _sa126);
break;
case 6:
_id849(_jl222, _sa126, delta);
break;
};
};
}
public function _rh513(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_rx1040 = _arg4;
_ig113 = _arg1;
_qc163 = _arg2;
_xq433 = _arg3;
_vk310 = _arg5;
_ay817 = _arg4;
_le1118 = _arg1;
_km139 = _arg2;
_uo481 = _arg3;
_os959 = _arg5;
}
public function _ek22(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):void{
_ah556 = _arg1;
_ot1020 = _arg2;
_la677 = _arg3;
_vb1111 = _arg4;
_fa98 = _arg5;
_jp362 = _arg6;
_vv1084 = _arg7;
_td1016 = 8;
}
public function _dt570(_arg1:Number):void{
_dm55 = _arg1;
}
public function _st769(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_hy37 = _arg1;
_oj870 = _arg3;
_ur962 = _arg2;
_de1100 = _arg4;
}
public function _nq913(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
_uh1019 = _arg1;
_lk99 = _arg2;
_ph603 = _arg3;
width = _arg4;
height = _arg5;
_bt27.width = width;
_bt27.height = height;
_dn100 = (width / 2);
_ug443 = width;
_ai283 = height;
_ti158 = true;
}
public function _ox467(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_ay817 = _arg4;
_le1118 = _arg1;
_km139 = _arg2;
_uo481 = _arg3;
_os959 = _arg5;
}
public function _yq555(_arg1:_ac916, _arg2:Number, _arg3:Number, _arg4:Number):void{
target = _arg1;
_ah556 = _arg2;
_ot1020 = _arg3;
_la677 = _arg4;
_td1016 = 5;
}
public function set scale(_arg1:Number):void{
_mj562 = _arg1;
_os959 = _arg1;
_vk310 = _arg1;
}
public function _rl1118(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_rx1040 = _arg4;
_ig113 = _arg1;
_qc163 = _arg2;
_xq433 = _arg3;
_vk310 = _arg5;
}
public function _mv39(_arg1:Object, _arg2:Number, _arg3:int, _arg4:Function):void{
_pr626 = _arg1;
_uh1019 = _pr626[0];
_lk99 = 0;
_ph603 = 0;
_dt644 = 0;
_yf166 = (_arg3 - 1);
_gs702 = _arg2;
_dj827 = 0;
frame = 0;
_ta52 = 3;
_ss696 = 7;
_yc503 = _arg4;
}
public function _vv261():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
if (_td1016 == 1){
if (_kf1109 > 0){
_kf1109 = (_kf1109 - delta);
if (_kf1109 < 1){
_kf1109 = _ll449;
_kn608 = (_kn608 * _ao184);
_fa846 = (_fa846 * _ao184);
if (Math.abs(_kn608) < 0.001){
_kn608 = 0;
};
if (Math.abs(_fa846) < 0.001){
_fa846 = 0;
};
if ((((_kn608 == 0)) && ((_fa846 == 0)))){
_kf1109 = 0;
_td1016 = 0;
};
};
};
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
_kn608 = (_kn608 + (_xu725 * delta));
_fa846 = (_fa846 + (_gm675 * delta));
if ((((x < _mg105)) || ((x > _br511)))){
_tk1104 = true;
};
if ((((y < _jd1060)) || ((y > _je1065)))){
_tk1104 = true;
};
if (_xp485 > 0){
_xp485 = (_xp485 - delta);
if (_xp485 < 1){
_td1016 = 0;
};
};
} else {
if (_td1016 == 2){
_local1 = x;
_local2 = y;
_local3 = 0;
_local4 = 0;
if (target == null){
} else {
_local3 = target.x;
_local4 = target.y;
if (_local1 < _local3){
movedata1 = (movedata1 + (_eb1062 * delta));
if (movedata1 > _dc302){
movedata1 = _dc302;
};
} else {
if (_local1 > _local3){
movedata1 = (movedata1 - (_eb1062 * delta));
if (movedata1 < -(_dc302)){
movedata1 = -(_dc302);
};
};
};
x = (x + (movedata1 * delta));
if (_local2 < _local4){
_lt990 = (_lt990 + (_mj424 * delta));
if (_lt990 > _ku317){
_lt990 = _ku317;
};
} else {
if (_local2 > _local4){
_lt990 = (_lt990 - (_mj424 * delta));
if (_lt990 < -(_ku317)){
_lt990 = -(_ku317);
};
};
};
y = (y + (_lt990 * delta));
};
} else {
if (_td1016 == 3){
_ah556 = (_ah556 + (_ot1020 * delta));
_vb1111 = (_vb1111 + (_fa98 * delta));
x = (x + ((Math.cos(_ah556) * _la677) * delta));
y = (y + ((Math.sin(_vb1111) * _jp362) * delta));
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
_kn608 = (_kn608 + (_xu725 * delta));
_fa846 = (_fa846 + (_gm675 * delta));
if (_jw188 == true){
if ((((x < _mg105)) || ((x > _br511)))){
_tk1104 = true;
};
if ((((y < _jd1060)) || ((y > _je1065)))){
_tk1104 = true;
};
};
} else {
if (_td1016 == 31){
_ha763 = (_ha763 + (_wy29 * delta));
_uy1082 = (_uy1082 + (_eh472 * delta));
x = (x + ((Math.cos(_ha763) * _ld505) * delta));
y = (y + ((Math.sin(_uy1082) * _fq567) * delta));
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
_kn608 = (_kn608 + (_xu725 * delta));
_fa846 = (_fa846 + (_gm675 * delta));
if (_jw188 == true){
if ((((x < _mg105)) || ((x > _br511)))){
_tk1104 = true;
};
if ((((y < _jd1060)) || ((y > _je1065)))){
_tk1104 = true;
};
};
} else {
if (_td1016 == 4){
} else {
if (_td1016 == 5){
if (target != null){
_ah556 = (_ah556 + (_ot1020 * delta));
x = (target.x + (Math.cos(_ah556) * _la677));
y = (target.y + (Math.sin(_ah556) * _la677));
} else {
_tk1104 = true;
};
} else {
if (_td1016 == 6){
if (target != null){
if (_gm836 > 0){
_gm836 = (_gm836 - delta);
if (_gm836 < 1){
_gm836 = _im632;
_fp564 = _kl319._wv414(x, y, target.x, target.y);
_kn608 = _kl319._yd889(_fp564, movedata1);
_fa846 = _kl319._pj189(_fp564, movedata1);
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
movedata1 = (movedata1 + (_eb1062 * delta));
};
} else {
_fp564 = _kl319._wv414(x, y, target.x, target.y);
_kn608 = _kl319._yd889(_fp564, movedata1);
_fa846 = _kl319._pj189(_fp564, movedata1);
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
movedata1 = (movedata1 + (_eb1062 * delta));
};
if (_dc302 > 0){
_dc302 = (_dc302 - delta);
if (_dc302 < 1){
_dc302 = 0;
_td1016 = 0;
};
};
} else {
_tk1104 = true;
};
} else {
if (_td1016 == 7){
_fp564 = _kl319._wv414(x, y, movedata1, _eb1062);
_kn608 = _kl319._yd889(_fp564, _dc302);
_fa846 = _kl319._pj189(_fp564, _dc302);
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
_dc302 = (_dc302 + (_lt990 * delta));
if (_kn608 > 0){
if (x > movedata1){
x = movedata1;
};
} else {
if (_kn608 < 0){
if (x < movedata1){
x = movedata1;
};
};
};
if (_fa846 > 0){
if (y > _eb1062){
y = _eb1062;
};
} else {
if (_fa846 < 0){
if (y < _eb1062){
y = _eb1062;
};
};
};
if ((((x == movedata1)) && ((y == _eb1062)))){
if (_vq728 == false){
_td1016 = 0;
if (_yc503 != null){
_yc503(this);
_yc503 = null;
};
};
};
} else {
if (_td1016 == 8){
_ah556 = (_ah556 + (_ot1020 * delta));
_vb1111 = (_vb1111 + (_fa98 * delta));
x = (x + ((Math.cos(_ah556) * _la677) * delta));
y = (y + ((Math.sin(_vb1111) * _jp362) * delta));
_la677 = (_la677 + (_vv1084 * delta));
_jp362 = (_jp362 + (_vv1084 * delta));
if ((((x < _mg105)) || ((x > _br511)))){
_tk1104 = true;
};
if ((((y < _jd1060)) || ((y > _je1065)))){
_tk1104 = true;
};
} else {
if (_td1016 == 9){
_fp564 = _kl319._wv414(x, y, movedata1, _eb1062);
_kn608 = _kl319._yd889(_fp564, _dc302);
_fa846 = _kl319._pj189(_fp564, _dc302);
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
_dc302 = (_dc302 + (_lt990 * delta));
if (_kn608 > 0){
if (x > movedata1){
x = movedata1;
};
} else {
if (_kn608 < 0){
if (x < movedata1){
x = movedata1;
};
};
};
if (_fa846 > 0){
if (y > _eb1062){
y = _eb1062;
};
} else {
if (_fa846 < 0){
if (y < _eb1062){
y = _eb1062;
};
};
};
if ((((x == movedata1)) && ((y == _eb1062)))){
_td1016 = 0;
_tk1104 = true;
};
} else {
if (_td1016 == 10){
if (_kf1109 > 0){
_kf1109 = (_kf1109 - delta);
if (_kf1109 < 1){
_kf1109 = _ll449;
_kn608 = (_kn608 * _ao184);
_fa846 = (_fa846 * _ao184);
if (Math.abs(_kn608) < 0.001){
_kn608 = 0;
};
if (Math.abs(_fa846) < 0.001){
_fa846 = 0;
};
if ((((_kn608 == 0)) && ((_fa846 == 0)))){
_kf1109 = 0;
_td1016 = 0;
};
};
};
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
_kn608 = (_kn608 + (_xu725 * delta));
_fa846 = (_fa846 + (_gm675 * delta));
if (_xp485 > 0){
_xp485 = (_xp485 - delta);
if (_xp485 < 1){
_td1016 = 0;
};
};
} else {
if (_td1016 == 11){
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
if (x < _mg105){
x = _mg105;
_kn608 = -(_kn608);
} else {
if (x > _br511){
x = _br511;
_kn608 = -(_kn608);
};
};
if (y < _jd1060){
y = _jd1060;
_fa846 = -(_fa846);
} else {
if (y > _je1065){
y = _je1065;
_fa846 = -(_fa846);
};
};
} else {
if (_td1016 == 12){
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
if (x < _mg105){
x = _br511;
} else {
if (x > _br511){
x = _mg105;
};
};
if (y < _jd1060){
y = _je1065;
} else {
if (y > _je1065){
y = _jd1060;
};
};
} else {
if (_td1016 == 13){
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
_kf1109 = (_kf1109 - delta);
if (_kf1109 < 1){
_kf1109 = _ll449;
_kn608 = (_kn608 * _ao184);
_fa846 = (_fa846 * _ao184);
_ao184 = (_ao184 + _ql509);
if (movedata1 == 0){
if (_ao184 > _xt638){
_ao184 = _xt638;
_ql509 = -(_ql509);
movedata1 = 1;
};
} else {
if (_ao184 < _gm920){
_ao184 = _gm920;
};
if (Math.abs(_kn608) < 0.001){
_kn608 = 0;
};
if (Math.abs(_fa846) < 0.001){
_fa846 = 0;
};
if ((((_kn608 == 0)) && ((_fa846 == 0)))){
_td1016 = 0;
};
};
};
} else {
if (_td1016 == 14){
_kn608 = _kl319._yd889(rotation, _cy741);
_fa846 = _kl319._pj189(rotation, _cy741);
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
if (_jw188 == true){
if ((((x < _mg105)) || ((x > _br511)))){
_tk1104 = true;
};
if ((((y < _jd1060)) || ((y > _je1065)))){
_tk1104 = true;
};
};
} else {
if (_td1016 == 15){
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
if (x < _mg105){
x = _br511;
y = _kl319._un210._vc1039(_jd1060, _je1065);
} else {
if (x > _br511){
x = _mg105;
y = _kl319._un210._vc1039(_jd1060, _je1065);
};
};
if (y < _jd1060){
y = _je1065;
x = _kl319._un210._vc1039(_mg105, _br511);
} else {
if (y > _je1065){
y = _jd1060;
x = _kl319._un210._vc1039(_mg105, _br511);
};
};
} else {
if (_td1016 == 16){
_ah556 = (_ah556 + (_ot1020 * delta));
x = (movedata1 + (Math.cos(_ah556) * _la677));
y = (_eb1062 + (Math.sin(_ah556) * _la677));
} else {
if (_td1016 == 17){
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
_fa846 = (_fa846 + (_gm675 * delta));
if (_fa846 > 0){
if (y > movedata1){
y = movedata1;
_td1016 = 0;
};
};
} else {
if (_td1016 == 18){
_fp564 = _kl319._wv414(x, y, _fl1017, _kl778);
_kn608 = _kl319._yd889(_fp564, _dc302);
_fa846 = _kl319._pj189(_fp564, _dc302);
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
_dc302 = (_dc302 + (_lt990 * delta));
if (_kn608 > 0){
if (x > _fl1017){
x = _fl1017;
};
} else {
if (_kn608 < 0){
if (x < _fl1017){
x = _fl1017;
};
};
};
if (_fa846 > 0){
if (y > _kl778){
y = _kl778;
};
} else {
if (_fa846 < 0){
if (y < _kl778){
y = _kl778;
};
};
};
if ((((x == _fl1017)) && ((y == _kl778)))){
_td1016 = 0;
};
} else {
if (_td1016 == 19){
x = (x + (_kn608 * delta));
y = (y + (_fa846 * delta));
if (movedata1 != 0){
if (x > target.x){
x = (x - (movedata1 * delta));
if (x < target.x){
x = target.x;
};
} else {
if (x < target.x){
x = (x + (movedata1 * delta));
if (x > target.x){
x = target.x;
};
};
};
};
if (_eb1062 != 0){
if (y > target.y){
y = (y - (_eb1062 * delta));
if (y < target.y){
y = target.y;
};
} else {
if (y < target.y){
y = (y + (_eb1062 * delta));
if (y > target.y){
y = target.y;
};
};
};
};
if (_jw188 == true){
if ((((x < _mg105)) || ((x > _br511)))){
_tk1104 = true;
};
if ((((y < _jd1060)) || ((y > _je1065)))){
_tk1104 = true;
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
public function _la891(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_px976 = _arg4;
_tk919 = _arg1;
_in662 = _arg2;
_lm606 = _arg3;
_sw66 = _arg5;
}
public function _xh805(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Number=0, _arg6:Boolean=true):void{
var _local7:Number = (_arg1 + _kl319._un210._vc1039((-(_arg2) / 2), (_arg2 / 2)));
if (_local7 < 0){
_local7 = (_local7 + 360);
} else {
if (_local7 > 360){
_local7 = (_local7 - 360);
};
};
_wd1110(_kl319._yd889(_local7, _arg3), _kl319._pj189(_local7, _arg3), 0, _arg5, _arg4, _arg6);
}
public function _ee603():void{
if (_px976){
_sw66 = (_sw66 + (_tk919 * delta));
switch (_px976){
case 1:
if (_sw66 >= _lm606){
_sw66 = _lm606;
_tk919 = -(_tk919);
} else {
if (_sw66 <= _in662){
_sw66 = _in662;
_tk919 = -(_tk919);
};
};
break;
case 2:
if (_sw66 >= _lm606){
_sw66 = _in662;
} else {
if (_sw66 <= _in662){
_sw66 = _lm606;
};
};
break;
case 3:
if (_sw66 >= _lm606){
_sw66 = _lm606;
_px976 = 0;
} else {
if (_sw66 <= _in662){
_sw66 = _in662;
_px976 = 0;
};
};
break;
case 4:
if (_sw66 >= _lm606){
_sw66 = _lm606;
_px976 = 0;
_tk1104 = true;
} else {
if (_sw66 <= _in662){
_sw66 = _in662;
_px976 = 0;
_tk1104 = true;
};
};
break;
};
};
}
public function _rm802(_arg1:Number, _arg2:Boolean=true):void{
_cy741 = _arg1;
_td1016 = 14;
_jw188 = _arg2;
}
public function _jt201(_arg1:Boolean):void{
_qf618 = _arg1;
}
public function _yf46(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Boolean=false, _arg6:Boolean=false):void{
movedata1 = _arg1;
_eb1062 = _arg2;
_dc302 = _arg3;
_lt990 = _arg4;
_td1016 = 7;
if (_arg5 == true){
_td1016 = 9;
};
_vq728 = _arg6;
}
public function _ne662(_arg1:_ac916, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):void{
target = _arg1;
movedata1 = _arg2;
_im632 = _arg3;
_gm836 = _im632;
_td1016 = 6;
_eb1062 = _arg4;
_dc302 = _arg5;
}
public function _md416():void{
_ni941 = null;
callback = null;
_oc579 = null;
_is264 = null;
_as173 = null;
_yc503 = null;
_bt27 = null;
_tx1050 = null;
_bi831 = null;
_sc42 = null;
target = null;
_vt1021 = null;
}
public function _kv566(_arg1:BitmapData):void{
var _local2:BitmapData = _rm544;
var _local3:Boolean = _ei182;
_ei182 = false;
_rm544 = _arg1;
_lb440();
_rm544 = _local2;
_ei182 = _local3;
}
public function _lb440():void{
var _local1:Number;
var _local2:Matrix;
if (_cy633 == 0){
if (_ei182 == false){
if (type == 1){
_local1 = 0;
if (rotation != 0){
if (rotation > 180){
_local1 = (-360 + rotation);
} else {
_local1 = rotation;
};
_local1 = ((_fa684 * _local1) / 360);
};
_local2 = new Matrix();
if (_dm169 == true){
_local2.translate((-(width) / 2), (-(height) / 2));
};
_local2.scale(_os959, _vk310);
_local2.rotate(_local1);
_local2.translate((x + _hr542), (y + _im840));
_wh10.redMultiplier = _wr589;
_wh10.greenMultiplier = _bu662;
_wh10.blueMultiplier = _ur991;
_wh10.alphaMultiplier = alpha;
_rm544.draw(_uh1019, _local2, _wh10, _nj362, null, _qf618);
} else {
if (_dm169 == true){
_tx1050.x = ((x + _hr542) - (width / 2));
_tx1050.y = ((y + _im840) - (height / 2));
} else {
_tx1050.x = (x + _hr542);
_tx1050.y = (y + _im840);
};
_bt27.x = _lk99;
_bt27.y = _ph603;
_rm544.copyPixels(_uh1019, _bt27, _tx1050, null, null, false);
};
};
};
}
public function _kc1077(_arg1:Number):void{
alpha = _arg1;
}
public function _bx977(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
movedata1 = _arg1;
_eb1062 = _arg2;
_ah556 = _arg3;
_ot1020 = _arg4;
_la677 = _arg5;
_td1016 = 16;
}
public function _au420(_arg1:Number, _arg2:Number):void{
_fl1017 = _arg1;
_kl778 = _arg2;
}
public function _pv835(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_kn608 = _kl319._yd889(_arg1, _arg2);
_fa846 = _kl319._pj189(_arg1, _arg2);
_mg105 = _arg3;
_br511 = _arg5;
_jd1060 = _arg4;
_je1065 = _arg6;
_td1016 = 12;
}
public function _uo686(_arg1:Number, _arg2:Number, _arg3:Number):void{
_wr589 = _arg1;
_bu662 = _arg2;
_ur991 = _arg3;
}
public function _is370(_arg1:_ac916, _arg2:Number, _arg3:Number=1):void{
var _local4:Number = rotation;
var _local5:Number = _kl319._wv414(x, y, _arg1.x, _arg1.y);
var _local6:Number = 0;
if (_local4 < _local5){
_local6 = 1;
if ((_local5 - _local4) > 179){
_local6 = -1;
};
} else {
if (_local4 > _local5){
_local6 = -1;
if ((_local4 - _local5) > 179){
_local6 = 1;
};
};
};
_local4 = (_local4 + ((_arg2 * _local6) * _arg3));
if (_local4 < 0){
_local4 = (_local4 + 360);
} else {
if (_local4 > 359){
_local4 = (_local4 - 360);
};
};
if (Math.abs((_local4 - _local5)) < 2){
_local4 = _local5;
};
rotation = _local4;
}
public function _kp812(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_vx906 = _arg1;
_jx762 = _arg2;
_ah1035 = _arg3;
_yy1021 = _arg4;
_xc242 = _arg5;
_vo15 = _arg6;
_hc307 = 1;
_bk916 = 1;
_qa853 = 1;
_vl295 = true;
}
}
}//package classes
Section 10
//_bx637 (classes._bx637)
package classes {
public class _bx637 {
private var _dc350:_mc636;
private var _jq882:Array;
public function _bx637(){
_jq882 = [];
super();
}
public function _kn136(_arg1:Number):void{
var _local2:int = (_jq882.length - 1);
var _local3:int = _local2;
while (_local3 >= 0) {
_dc350 = _jq882[_local3];
if (_dc350._tr230 == 0){
_dc350._mt118 = (_dc350._mt118 - _arg1);
if (_dc350._mt118 < 1){
_dc350._ib52();
_dc350._mt118 = _dc350._mu289;
_dc350._dt726 = (_dc350._dt726 - 1);
if (_dc350._dt726 == 0){
_dc350._ib52 = null;
_jq882.splice(_local3, 1);
_dc350 = null;
};
};
} else {
_dc350._tr230 = (_dc350._tr230 - _arg1);
if (_dc350._tr230 < 1){
_dc350._tr230 = 0;
};
};
_local3--;
};
}
public function _xj129():void{
var _local1:int = (_jq882.length - 1);
var _local2:int = _local1;
while (_local2 >= 0) {
_dc350 = _jq882[_local2];
_dc350._ib52 = null;
_jq882.splice(_local2, 1);
_dc350 = null;
_local2--;
};
}
public function _hu957(_arg1:Function, _arg2:Number=0, _arg3:int=1, _arg4:Number=0):void{
var _local5:_mc636;
_local5 = new _mc636();
_local5._ib52 = _arg1;
_local5._tr230 = _arg2;
_local5._dt726 = _arg3;
_local5._mt118 = 0;
_local5._mu289 = _arg4;
_jq882[_jq882.length] = _local5;
}
}
}//package classes
Section 11
//_ew336 (classes._ew336)
package classes {
public class _ew336 {
public var _xm912:Number;// = 0
public var _av737:Number;// = 0
public var Text:String;
public var _ft1102:Number;// = 0
public var _bd134:Number;// = 0
public var _fl675:Number;// = 0
public var _ql257:Boolean;
public var _qk1107:Boolean;
public var _my475:Number;// = 0
public var _bs82:Number;// = 0
public var _xa543:Number;// = 0
public var State:int;
public var _lx926:Number;// = 0
public var _jd744:Number;// = 0
public function _md416():void{
Text = null;
_ql257 = true;
}
}
}//package classes
Section 12
//_gn947 (classes._gn947)
package classes {
import flash.display.*;
public class _gn947 {
public var _mx1095:Array;
public var _fl410:Number;// = 0
public var _ug44:Number;// = 0
public var _st628:int;// = 0
public function _gn947(){
_mx1095 = [];
super();
}
public function _is858(_arg1:int=0):_mc269{
var _local2:int;
var _local3:_mc269;
var _local4:_mc269;
var _local5:int = (_mx1095.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _mx1095[_local2];
if (_local3._ch675 == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _ei627(_arg1:int):Boolean{
var _local2:_mc269;
var _local3:Boolean;
for each (_local2 in _mx1095) {
if (_local2._ch675 == _arg1){
_local3 = true;
};
};
return (_local3);
}
public function _lo368(_arg1:_mc269):void{
_mx1095[_mx1095.length] = _arg1;
}
public function _eq799(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Boolean=true, _arg7:Boolean=true, _arg8:uint=0):_mc269{
var _local9:_mc269;
_local9 = new _mc269();
_local9.Init(_arg1, _arg5, _arg2.width, _arg2.height, _arg6, _arg8, _arg7);
_local9._sf238(_arg3, _arg4);
_local9._or715(_arg2);
_mx1095[_mx1095.length] = _local9;
return (_local9);
}
public function _mm395(_arg1:int=0):_mc269{
var _local2:int;
var _local3:_mc269;
var _local4:_mc269;
var _local5:int = (_mx1095.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _mx1095[_local2];
if (_local3.id == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _kp930():int{
return (_mx1095.length);
}
public function _uv212(_arg1:Sprite, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:int, _arg7:Boolean=true, _arg8:Boolean=true, _arg9:uint=0):_mc269{
var _local10:_mc269;
_local10 = new _mc269();
_local10.Init(_arg1, _arg6, _arg2, _arg3, _arg7, _arg9, _arg8);
_local10._sf238(_arg4, _arg5);
_mx1095[_mx1095.length] = _local10;
return (_local10);
}
public function _cq1118(_arg1:Number):void{
var _local4:_mc269;
var _local2:int = (_mx1095.length - 1);
var _local3:int = _local2;
while (_local3 >= 0) {
_local4 = _mx1095[_local3];
_local4._kn136(_arg1);
if (_local4._tk1104 == true){
_local4._md416();
_mx1095.splice(_local3, 1);
_local4 = null;
};
_local3--;
};
}
public function _yi911(_arg1:int=0):void{
var _local2:int;
var _local3:Object;
var _local4:int = (_mx1095.length - 1);
_local2 = _local4;
while (_local2 >= 0) {
_local3 = _mx1095[_local2];
if (_arg1 > 0){
if (_local3._ch675 == _arg1){
_mx1095.splice(_local2, 1);
_local3._md416();
_local3 = null;
};
} else {
_mx1095.splice(_local2, 1);
_local3._md416();
_local3 = null;
};
_local2--;
};
}
public function _pg819(_arg1:Number=0.001):void{
var _local2:_mc269;
for each (_local2 in _mx1095) {
_local2._cp49(-(_arg1), 1);
};
}
public function _qr103():void{
var _local1:_mc269;
for each (_local1 in _mx1095) {
_local1._tk1104 = true;
};
}
public function _cc10(_arg1:Object, _arg2:Number):void{
var _local5:_mc269;
var _local3:int = (_mx1095.length - 1);
var _local4:int = _local3;
while (_local4 >= 0) {
_local5 = _mx1095[_local4];
_local5._kn136(_arg2);
_arg1(_local5);
if (_local5._tk1104 == true){
_local5._md416();
_mx1095.splice(_local4, 1);
_local5 = null;
};
_local4--;
};
}
public function _sl788(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Function, _arg7:Function, _arg8:Function, _arg9:uint=0):_mc269{
var _local10:_mc269;
_local10 = new _mc269();
_local10._rq405(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9);
_mx1095[_mx1095.length] = _local10;
return (_local10);
}
}
}//package classes
Section 13
//_gs626 (classes._gs626)
package classes {
import flash.media.*;
import flash.utils.*;
public class _gs626 {
private static var _th508:Dictionary;
private static var _pv439:Boolean;
public static function _jk353(_arg1:String, _arg2:Number=0):void{
var _local3:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<OIGUqwpfu> Ewg: ", 2) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local3 = _th508[_arg1];
if (_local3._fv757 == 0){
_local3._vg728 = true;
_local3._rw725 = _arg2;
};
}
public static function _cr377(_arg1:String, _arg2:Sound, _arg3:Number=0, _arg4:int=0):void{
var _local5:_lg549 = new _lg549();
_local5._cr377(_arg2, _arg3, _arg4);
_th508[_arg1] = _local5;
}
public static function _bc1118():void{
var _local1:_lg549;
for each (_local1 in _th508) {
if (_local1._fv757 > 0){
_local1._fv757 = (_local1._fv757 - _nw890._sv215);
if (_local1._fv757 < 1){
_local1._fv757 = 0;
};
} else {
if (_local1._vg728 == true){
_local1._vg728 = false;
if (_pv439 == true){
_local1._do21();
_local1._fv757 = _local1._rw725;
};
};
};
};
}
public static function _do21(_arg1:String):void{
var _local2:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<PJHVrxqgv> Sodb Vrxqg: ", 3) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local2 = _th508[_arg1];
if (_pv439 == true){
_local2._do21();
};
}
public static function _fj991(_arg1:String):Number{
var _local2:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<NHFTpvoet> Hfu Wpmvnf: ", 1) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local2 = _th508[_arg1];
return (_local2._lv544);
}
public static function Init():void{
_th508 = new Dictionary();
_pv439 = true;
}
public static function _io931():Boolean{
return (_pv439);
}
public static function _lh94():void{
var _local1:_lg549;
for each (_local1 in _th508) {
_local1._gj737();
};
_ke382();
}
public static function _he168(_arg1:String, _arg2:Number):void{
var _local3:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<QKIWsyrhw> Wix Zspyqi: ", 4) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2))));
};
_local3 = _th508[_arg1];
_local3._lv544 = _arg2;
}
public static function _rd1078(_arg1:String, _arg2:Number):void{
var _local3:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<OIGUqwpfu> Ugv Rcp: ", 2) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local3 = _th508[_arg1];
_local3._uq80 = _arg2;
}
public static function _gj737(_arg1:String):void{
var _local2:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<QKIWsyrhw> Wxst Wsyrh: ", 4) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local2 = _th508[_arg1];
_local2._gj737();
}
public static function _ri26(_arg1:Boolean):void{
_pv439 = _arg1;
}
public static function _ke382():void{
var _local1:_lg549;
for each (_local1 in _th508) {
_local1._vg728 = false;
_local1._fv757 = 0;
_local1._rw725 = 0;
};
}
public static function _ny1115(_arg1:String):Number{
var _local2:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<PJHVrxqgv> Jhw Sdq: ", 3) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2))));
};
_local2 = _th508[_arg1];
return (_local2._uq80);
}
}
}//package classes
Section 14
//_jq504 (classes._jq504)
package classes {
import flash.display.*;
public class _jq504 {
public var _ex653:_kw417;
public var _gm922:BitmapData;
public var _aq1026:Array;
public function _jq504(){
_aq1026 = [];
super();
}
public function Init(_arg1:_kw417, _arg2:BitmapData):void{
_ex653 = _arg1;
_gm922 = _arg2;
}
public function _fh729(_arg1:Number):void{
var _local4:_ew336;
var _local2:int = (_aq1026.length - 1);
var _local3:int = _local2;
while (_local3 >= 0) {
_local4 = _aq1026[_local3];
_ex653._ms88(_gm922, _local4.Text, _local4._bs82, _local4._av737, _local4._jd744, _local4._xm912, _local4._my475, _local4._bd134, _local4._fl675, _local4._qk1107, _local4._xa543);
if (_local4.State == 1){
_local4._xa543 = (_local4._xa543 + (_local4._lx926 * _arg1));
if (_local4._xa543 > 1){
_local4._xa543 = 1;
_local4.State = 2;
};
} else {
if (_local4.State == 2){
_local4._ft1102 = (_local4._ft1102 - _arg1);
if (_local4._ft1102 < 1){
_local4._ft1102 = 0;
_local4.State = 3;
};
} else {
if (_local4.State == 3){
_local4._xa543 = (_local4._xa543 - (_local4._lx926 * _arg1));
if (_local4._xa543 < 0){
_local4._md416();
_aq1026.splice(_local3, 1);
_local4 = null;
};
};
};
};
_local3--;
};
}
public function _nc310():void{
var _local3:_ew336;
var _local1:int = (_aq1026.length - 1);
var _local2:int = _local1;
while (_local2 >= 0) {
_local3 = _aq1026[_local2];
_local3._md416();
_aq1026.splice(_local2, 1);
_local3 = null;
_local2--;
};
}
public function _hu957(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=true, _arg5:Number=0.001, _arg6:Number=0, _arg7:Number=1, _arg8:Number=1, _arg9:Number=1, _arg10:Number=1, _arg11:Number=1):void{
var _local12:_ew336;
_local12 = new _ew336();
_local12.Text = _arg1;
_local12._bs82 = _arg2;
_local12._av737 = _arg3;
_local12._qk1107 = _arg4;
_local12._xa543 = 1;
_local12._lx926 = _arg5;
_local12._ft1102 = _arg6;
_local12._jd744 = _arg7;
_local12._xm912 = _arg8;
_local12._my475 = _arg9;
_local12._bd134 = _arg10;
_local12._fl675 = _arg11;
_local12.State = 1;
_aq1026[_aq1026.length] = _local12;
}
}
}//package classes
Section 15
//_kl319 (classes._kl319)
package classes {
import flash.display.*;
import flash.geom.*;
import flash.net.*;
public class _kl319 {
private static var _tp354:Number = 0.0174532925199433;
private static var _cd712:Number = 57.2957795130823;
public static var _un210:_oo960 = new _oo960();
private static var _fa684:Number = 6.28318530717959;
private static var _at610:Point;
private static var rect:Rectangle;
public static function _wp229(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:BitmapData, _arg9:Number=1, _arg10:Number=1, _arg11:Number=1, _arg12:Number=1, _arg13:String=null):void{
var _local14:BitmapData = new BitmapData(_arg4, _arg5, true, 0);
var _local15:BitmapData = new BitmapData(_arg4, _arg5, true, 0);
_ul1002(_arg1, 0, 0, _arg2, _arg3, _arg4, _arg5, _local14);
var _local16:Matrix = new Matrix();
var _local17:ColorTransform = new ColorTransform(_arg10, _arg11, _arg12, _arg9, 0, 0, 0, 0);
_local16.scale(1, 1);
_local16.translate(0, 0);
_local15.draw(_local14, _local16, _local17, _arg13, null, true);
_ul1002(_local15, _arg6, _arg7, 0, 0, _arg4, _arg5, _arg8);
_local14 = null;
_local15 = null;
}
public static function _lv571(_arg1:_ac916, _arg2:_ac916):Boolean{
if ((((_arg1._ti158 == true)) && ((_arg2._ti158 == true)))){
if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1._dn100 * _arg1._os959) + (_arg2._dn100 * _arg2._os959))){
return (true);
};
return (false);
//unresolved jump
};
return (false);
}
public static function _oj374(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=2, _arg5:Number=20):void{
var _local6:BitmapData;
var _local7:BitmapData;
var _local8:BitmapData = _arg3;
var _local9:int;
var _local10:Number = _arg4;
var _local11:Number = ((_local10 - 1) / _arg5);
_arg1[_arg2] = new BitmapData((_local8.width * _arg5), _local8.height, true, 0);
var _local12:int;
while (_local12 < _arg5) {
_local6 = new BitmapData(_local8.width, _local8.height, true, 0);
_local7 = new BitmapData(_local8.width, _local8.height, true, 0);
_ul1002(_local8, 0, 0, 0, 0, _local8.width, _local8.height, _local6);
_eh697(_local6, 0, 0, _local7, 1, 1, 1, _local10, _local10, _local10, null, false);
_ul1002(_local7, (_local12 * _local8.width), 0, 0, 0, _local8.width, _local8.height, _arg1[_arg2]);
_local10 = (_local10 - _local11);
if (_local10 < 1){
_local10 = 1;
};
_local12++;
};
_local6 = null;
_local7 = null;
_local8 = null;
}
public static function _ul1002(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:BitmapData, _arg9:Boolean=true):void{
_at610 = new Point(_arg2, _arg3);
rect = new Rectangle(_arg4, _arg5, _arg6, _arg7);
_arg8.copyPixels(_arg1, rect, _at610, null, null, _arg9);
}
public static function _fb41():Number{
return (_un210._vc1039(0, 359));
}
public static function _wv414(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
var _local5:Number = (Math.atan2((_arg4 - _arg2), (_arg3 - _arg1)) * _cd712);
if (_local5 < 0){
_local5 = (_local5 + 360);
};
return (_local5);
}
public static function _qk346(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=1, _arg5:Number=1, _arg6:Number=1, _arg7:Number=0, _arg8:Boolean=true, _arg9:Number=20, _arg10:Number=0, _arg11:Number=0, _arg12:Number=0, _arg13:Boolean=false, _arg14:Number=1, _arg15:Number=0):void{
var _local17:BitmapData;
var _local18:BitmapData;
var _local16:Number = _arg15;
var _local19:BitmapData = _arg3;
var _local20:Number = 0;
var _local21:Number = 1;
var _local22:Number = 1;
var _local23:int;
var _local24:Boolean;
if (_arg8 == false){
_local21 = 0;
_local22 = 0;
};
_arg1[_arg2] = new BitmapData((_local19.width * _arg9), _local19.height, true, 0);
_local20 = 1;
var _local25:int;
while (_local25 < _arg9) {
if (_arg8 == false){
_local21 = (_local21 + ((1 / _arg9) * _arg14));
_local22 = (_local22 + ((1 / _arg9) * _arg14));
};
_local17 = new BitmapData(_local19.width, _local19.height, true, 0);
_local18 = new BitmapData(_local19.width, _local19.height, true, 0);
if (_arg13 == true){
if (_local24 == false){
_local24 = true;
} else {
_local24 = false;
};
} else {
_local24 = true;
};
if (_local24 == true){
_ul1002(_local19, 0, 0, 0, 0, _local19.width, _local19.height, _local17);
_rm74(_local17, ((_local19.width / 2) - 0.5), ((_local19.height / 2) - 0.5), _local18, _local20, _local21, _local22, _local16, 0, 0, _arg4, _arg5, _arg6);
};
_ul1002(_local18, (_local25 * _local19.width), 0, 0, 0, _local19.width, _local19.height, _arg1[_arg2]);
_local20 = (_local20 - (1 / _arg9));
_arg4 = (_arg4 + _arg10);
_arg5 = (_arg5 + _arg11);
_arg6 = (_arg6 + _arg12);
if (_arg4 < 0){
_arg4 = 0;
};
if (_arg5 < 0){
_arg5 = 0;
};
if (_arg6 < 0){
_arg6 = 0;
};
if (_arg8 == true){
_local21 = (_local21 - ((1 / _arg9) * _arg14));
_local22 = (_local22 - ((1 / _arg9) * _arg14));
};
_local16 = (_local16 + _arg7);
if (_local16 > 360){
_local16 = (_local16 - 360);
} else {
if (_local16 < 0){
_local16 = (_local16 + 360);
};
};
_local25++;
};
_local17 = null;
_local18 = null;
_local19 = null;
}
public static function _lf296():Number{
if (_br526() == true){
return (1);
};
return (-1);
}
public static function _vr339(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean{
if ((((((((_arg1 < (_arg3 + _arg5))) && ((_arg2 < (_arg4 + _arg6))))) && ((_arg1 > _arg3)))) && ((_arg2 > _arg4)))){
return (true);
};
return (false);
}
public static function _nm849(_arg1:String, _arg2:int):String{
while (_arg1.length < _arg2) {
_arg1 = ("0" + _arg1);
};
return (_arg1);
}
public static function _jy611(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Number):void{
var _local5:ColorTransform = new ColorTransform();
_local5.redMultiplier = _arg2;
_local5.greenMultiplier = _arg3;
_local5.blueMultiplier = _arg4;
_arg1.transform.colorTransform = _local5;
}
public static function _br468(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=1, _arg5:Number=1, _arg6:Number=1, _arg7:Number=0, _arg8:Boolean=true, _arg9:Number=20, _arg10:Number=0, _arg11:Number=0, _arg12:Number=0, _arg13:Boolean=false, _arg14:Number=1):void{
var _local16:BitmapData;
var _local17:BitmapData;
var _local15:Number = 0;
var _local18:BitmapData = _arg3;
var _local19:Number = 1;
var _local20:Number = 1;
var _local21:Number = 1;
var _local22:int;
var _local23:Boolean;
if (_arg8 == false){
_local20 = 0;
_local21 = 0;
};
_arg1[_arg2] = new BitmapData((_local18.width * _arg9), _local18.height, true, 0);
_local19 = 1;
var _local24:int;
while (_local24 < _arg9) {
if (_arg8 == false){
_local20 = (_local20 + ((1 / _arg9) * _arg14));
_local21 = (_local21 + ((1 / _arg9) * _arg14));
};
_local16 = new BitmapData(_local18.width, _local18.height, true, 0);
_local17 = new BitmapData(_local18.width, _local18.height, true, 0);
if (_arg13 == true){
if (_local23 == false){
_local23 = true;
} else {
_local23 = false;
};
} else {
_local23 = true;
};
if (_local23 == true){
_ul1002(_local18, 0, 0, 0, 0, _local18.width, _local18.height, _local16);
_rm74(_local16, ((_local18.width / 2) - 0.5), ((_local18.height / 2) - 0.5), _local17, _local19, _local20, _local21, _local15, 0, 0, _arg4, _arg5, _arg6);
};
_ul1002(_local17, (_local24 * _local18.width), 0, 0, 0, _local18.width, _local18.height, _arg1[_arg2]);
_arg4 = (_arg4 + _arg10);
_arg5 = (_arg5 + _arg11);
_arg6 = (_arg6 + _arg12);
if (_arg4 < 0){
_arg4 = 0;
};
if (_arg5 < 0){
_arg5 = 0;
};
if (_arg6 < 0){
_arg6 = 0;
};
if (_arg8 == true){
_local20 = (_local20 - ((1 / _arg9) * _arg14));
_local21 = (_local21 - ((1 / _arg9) * _arg14));
};
_local15 = (_local15 + _arg7);
if (_local15 > 360){
_local15 = (_local15 - 360);
} else {
if (_local15 < 0){
_local15 = (_local15 + 360);
};
};
_local24++;
};
_local16 = null;
_local17 = null;
_local18 = null;
}
public static function _rm74(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Number=1, _arg6:Number=1, _arg7:Number=1, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Number=1, _arg12:Number=1, _arg13:Number=1, _arg14:String=null, _arg15:Boolean=true):void{
var _local16:Number = 0;
if (_arg8 != 0){
if (_arg8 > 180){
_local16 = (-360 + _arg8);
} else {
_local16 = _arg8;
};
_local16 = ((_fa684 * _local16) / 360);
};
var _local17:Number = _arg1.width;
var _local18:Number = _arg1.height;
var _local19:ColorTransform = new ColorTransform(_arg11, _arg12, _arg13, _arg5, 0, 0, 0, 0);
var _local20:Matrix = new Matrix();
var _local21:Number = (_local17 + ((_arg10 * _local17) / 2));
var _local22:Number = -((_local18 / 2));
_local22 = (_local22 - ((_arg9 * _local18) / 1));
_local20.translate((-(_local21) / 2), _local22);
_local20.b = _arg9;
_local20.c = _arg10;
_local20.scale(_arg6, _arg7);
_local20.rotate(_local16);
_local20.translate(_arg2, _arg3);
_arg4.draw(_arg1, _local20, _local19, _arg14, null, _arg15);
}
public static function _pj189(_arg1:Number, _arg2:Number):Number{
return ((_arg2 * Math.sin((_arg1 * _tp354))));
}
public static function _jl999(_arg1:Object, _arg2:BitmapData, _arg3:Number=1, _arg4:Number=1, _arg5:Number=1, _arg6:Number=20):void{
var _local8:BitmapData;
var _local9:BitmapData;
var _local7:Number = 0;
var _local10:BitmapData = _arg2;
var _local11:Number = 0;
var _local12:Number = 1;
var _local13:Number = 1;
var _local14:int;
var _local15:Number = (360 / _arg6);
_local11 = 1;
var _local16:int;
while (_local16 < _arg6) {
_arg1[_local16] = new BitmapData(_local10.width, _local10.height, true, 0);
_local8 = new BitmapData(_local10.width, _local10.height, true, 0);
_local9 = new BitmapData(_local10.width, _local10.height, true, 0);
_ul1002(_local10, 0, 0, 0, 0, _local10.width, _local10.height, _local8);
_rm74(_local8, ((_local10.width / 2) - 0.5), ((_local10.height / 2) - 0.5), _local9, _local11, _local12, _local13, _local7, 0, 0, _arg3, _arg4, _arg5);
_ul1002(_local9, 0, 0, 0, 0, _local10.width, _local10.height, _arg1[_local16]);
_local7 = (_local7 + _local15);
_local16++;
};
_local8 = null;
_local9 = null;
_local10 = null;
}
public static function _me135(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number, _arg5:Number, _arg6:Number=20, _arg7:Boolean=true, _arg8:Number=0, _arg9:Number=1):void{
var _local10:BitmapData;
var _local11:BitmapData;
var _local12:BitmapData = _arg3;
var _local13:Number = _arg9;
var _local14:Number = _arg9;
var _local15:int;
var _local16:Number = (_local12.width * _arg9);
var _local17:Number = (_local12.height * _arg9);
_arg1[_arg2] = new BitmapData((_local16 * _arg6), _local17, true, 0);
var _local18:int;
while (_local18 < _arg6) {
_local10 = new BitmapData(_local12.width, _local12.height, true, 0);
_local11 = new BitmapData(_local16, _local17, true, 0);
_ul1002(_local12, 0, 0, 0, 0, _local12.width, _local12.height, _local10);
_rm74(_local10, ((_local16 / 2) - 0.5), ((_local17 / 2) - 0.5), _local11, 1, _local13, _local14, _arg8, 0, 0, 1, 1, 1, null, _arg7);
_ul1002(_local11, (_local18 * _local16), 0, 0, 0, _local16, _local17, _arg1[_arg2]);
_local13 = (_local13 + _arg4);
_local14 = (_local14 + _arg5);
_local18++;
};
_local10 = null;
_local11 = null;
_local12 = null;
}
public static function _uy254(_arg1:_ac916, _arg2:_ac916):Boolean{
var _local3:Boolean;
if ((((_arg1._ti158 == true)) && ((_arg2._ti158 == true)))){
if (_arg1._mf268 == 0){
if (_arg2._mf268 == 0){
_local3 = _wy826(_arg1, _arg2);
} else {
_local3 = _lx218(_arg1, _arg2);
};
} else {
if (_arg2._mf268 == 1){
_local3 = _lv571(_arg1, _arg2);
} else {
_local3 = _lx218(_arg2, _arg1);
};
};
};
return (_local3);
}
public static function _wp402(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean{
if (Math.sqrt((((_arg4 - _arg1) * (_arg4 - _arg1)) + ((_arg5 - _arg2) * (_arg5 - _arg2)))) <= (_arg3 + _arg6)){
return (true);
};
return (false);
}
public static function _fy146(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Boolean=true):void{
_at610 = new Point(_arg2, _arg3);
rect = new Rectangle(0, 0, _arg1.width, _arg1.height);
_arg4.copyPixels(_arg1, rect, _at610, null, null, _arg5);
}
public static function _md322(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):Boolean{
if ((((_arg1 > (_arg5 + _arg7))) || (((_arg1 + _arg3) < _arg5)))){
return (false);
};
if ((((_arg2 > (_arg6 + _arg8))) || (((_arg2 + _arg4) < _arg6)))){
return (false);
};
return (true);
}
public static function _ct732(_arg1:Number, _arg2:Number):Number{
return (_un210._vc1039(_arg1, _arg2));
}
public static function _tb587(_arg1:Number, _arg2:Number, _arg3:Number=100):Number{
return ((_arg1 / (_arg2 / _arg3)));
}
public static function _mv154(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Number=1, _arg6:Number=1, _arg7:Number=1, _arg8:String=null):void{
var _local9:Matrix = new Matrix();
var _local10:ColorTransform = new ColorTransform(1, 1, 1, _arg5, 0, 0, 0, 0);
_local9.translate((-(_arg1.width) / 2), (-(_arg1.height) / 2));
_local9.scale(_arg6, _arg7);
_local9.translate(_arg2, _arg3);
_arg4.draw(_arg1, _local9, _local10, _arg8, null, true);
}
public static function _pc394(_arg1:int, _arg2:int):int{
return (_un210._qn245(_arg1, _arg2));
}
public static function _jy824(_arg1:Number, _arg2:Number):Number{
var _local3:Number = (Math.atan2(_arg2, _arg1) * _cd712);
if (_local3 < 0){
_local3 = (_local3 + 360);
};
return (_local3);
}
public static function _lx218(_arg1:_ac916, _arg2:_ac916):Boolean{
var _local3:Number = _arg1.x;
var _local4:Number = _arg1.y;
var _local5:Number = ((_arg1._ug443 - 1) * Math.abs(_arg1._os959));
var _local6:Number = ((_arg1._ai283 - 1) * Math.abs(_arg1._vk310));
if (_arg1._dm169 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
return (_ap303(_local3, _local4, _local5, _local6, _arg2.x, _arg2.y, (_arg2._dn100 * Math.abs(_arg2._os959))));
}
public static function _eh697(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Number=1, _arg6:Number=1, _arg7:Number=1, _arg8:Number=1, _arg9:Number=1, _arg10:Number=1, _arg11:String=null, _arg12:Boolean=true):void{
var _local13:Matrix = new Matrix();
var _local14:ColorTransform = new ColorTransform(_arg8, _arg9, _arg10, _arg5, 0, 0, 0, 0);
_local13.scale(_arg6, _arg7);
_local13.translate(_arg2, _arg3);
_arg4.draw(_arg1, _local13, _local14, _arg11, null, _arg12);
}
public static function _yd889(_arg1:Number, _arg2:Number):Number{
return ((_arg2 * Math.cos((_arg1 * _tp354))));
}
public static function _mo327(_arg1:String):void{
var _local2:URLRequest = new URLRequest(_arg1);
navigateToURL(_local2, irrcrpt("_cmbol", 1));
}
public static function _wy826(_arg1:_ac916, _arg2:_ac916):Boolean{
var _local3:Number = _arg1.x;
var _local4:Number = _arg1.y;
var _local5:Number = ((_arg1._ug443 - 1) * Math.abs(_arg1._os959));
var _local6:Number = ((_arg1._ai283 - 1) * Math.abs(_arg1._vk310));
var _local7:Number = _arg2.x;
var _local8:Number = _arg2.y;
var _local9:Number = ((_arg2._ug443 - 1) * Math.abs(_arg2._os959));
var _local10:Number = ((_arg2._ai283 - 1) * Math.abs(_arg2._vk310));
if (_arg1._dm169 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
if (_arg2._dm169 == true){
_local7 = (_local7 - (_local9 / 2));
_local8 = (_local8 - (_local10 / 2));
};
if ((((_arg1._ti158 == true)) && ((_arg2._ti158 == true)))){
return (_md322(_local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10));
};
return (false);
}
public static function _ia700(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=1, _arg5:Number=1, _arg6:Number=1, _arg7:Number=20, _arg8:Number=1):void{
var _local10:BitmapData;
var _local11:BitmapData;
var _local9:Number = 0;
var _local12:BitmapData = _arg3;
var _local13:Number = 0;
var _local14:Number = _arg8;
var _local15:Number = _arg8;
var _local16:int;
var _local17:Number = (360 / _arg7);
var _local18:Number = (_local12.width * _arg8);
var _local19:Number = (_local12.height * _arg8);
_arg1[_arg2] = new BitmapData((_local18 * _arg7), _local19, true, 0);
_local13 = 1;
var _local20:int;
while (_local20 < _arg7) {
_local10 = new BitmapData(_local12.width, _local12.height, true, 0);
_local11 = new BitmapData(_local18, _local19, true, 0);
_ul1002(_local12, 0, 0, 0, 0, _local12.width, _local12.height, _local10);
_rm74(_local10, ((_local18 / 2) - 0.5), ((_local19 / 2) - 0.5), _local11, _local13, _local14, _local15, _local9, 0, 0, _arg4, _arg5, _arg6);
_ul1002(_local11, (_local20 * _local18), 0, 0, 0, _local18, _local19, _arg1[_arg2]);
_local9 = (_local9 + _local17);
_local20++;
};
_local10 = null;
_local11 = null;
_local12 = null;
}
public static function _kg17(_arg1:Number, _arg2:Number):Number{
_arg1 = (_arg1 + _arg2);
if (_arg1 > 360){
_arg1 = (_arg1 - 360);
};
if (_arg1 < 0){
_arg1 = (_arg1 + 360);
};
return (_arg1);
}
public static function _ap303(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Boolean{
var _local8:Number = _arg5;
var _local9:Number = _arg6;
if (_local8 < _arg1){
_local8 = _arg1;
};
if (_local8 > (_arg1 + _arg3)){
_local8 = (_arg1 + _arg3);
};
if (_local9 < _arg2){
_local9 = _arg2;
};
if (_local9 > (_arg2 + _arg4)){
_local9 = (_arg2 + _arg4);
};
return (((((_arg5 - _local8) * (_arg5 - _local8)) + ((_arg6 - _local9) * (_arg6 - _local9))) < (_arg7 * _arg7)));
}
public static function _br526(_arg1:int=50):Boolean{
if (_arg1 > _un210._qn245(0, 100)){
return (true);
};
return (false);
}
public static function _re864(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:BitmapData, _arg9:Boolean=true):void{
_at610 = new Point((_arg2 - (_arg6 / 2)), (_arg3 - (_arg7 / 2)));
rect = new Rectangle(_arg4, _arg5, _arg6, _arg7);
_arg8.copyPixels(_arg1, rect, _at610, null, null, _arg9);
}
public static function _be233(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=1, _arg5:Number=1, _arg6:Number=1, _arg7:Number=20, _arg8:Number=1, _arg9:Boolean=true, _arg10:Number=0):void{
var _local11:BitmapData;
var _local12:BitmapData;
var _local13:BitmapData = _arg3;
var _local14:Number = 0;
var _local15:Number = 1;
var _local16:Number = 1;
var _local17:int;
_arg1[_arg2] = new BitmapData((_local13.width * _arg7), _local13.height, true, 0);
_local14 = 1;
if (_arg9 == false){
_local14 = 0;
};
var _local18:int;
while (_local18 < _arg7) {
_local11 = new BitmapData(_local13.width, _local13.height, true, 0);
_local12 = new BitmapData(_local13.width, _local13.height, true, 0);
_ul1002(_local13, 0, 0, 0, 0, _local13.width, _local13.height, _local11);
_rm74(_local11, ((_local13.width / 2) - 0.5), ((_local13.height / 2) - 0.5), _local12, _local14, _local15, _local16, _arg10, 0, 0, _arg4, _arg5, _arg6, null, true);
_ul1002(_local12, (_local18 * _local13.width), 0, 0, 0, _local13.width, _local13.height, _arg1[_arg2]);
if (_arg9 == true){
_local14 = (_local14 - ((1 / _arg7) * _arg8));
} else {
_local14 = (_local14 + ((1 / _arg7) * _arg8));
};
_local18++;
};
_local11 = null;
_local12 = null;
_local13 = null;
}
public static function _ja592(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (Math.sqrt((((_arg3 - _arg1) * (_arg3 - _arg1)) + ((_arg4 - _arg2) * (_arg4 - _arg2)))));
}
public static function _rm952(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:BitmapData, _arg5:Number=20):void{
var _local6:BitmapData;
var _local7:BitmapData;
var _local8:BitmapData = _arg3;
var _local9:int;
var _local10:Number = 0;
_local10 = 1;
_arg1[_arg2] = new BitmapData((_local8.width * _arg5), _local8.height, true, 0);
var _local11:int;
while (_local11 < _arg5) {
_local6 = new BitmapData(_local8.width, _local8.height, true, 0);
_local7 = new BitmapData(_local8.width, _local8.height, true, 0);
_ul1002(_local8, 0, 0, 0, 0, _local8.width, _local8.height, _local6);
_ul1002(_local6, 0, 0, 0, 0, _local6.width, _local6.height, _local7);
_eh697(_arg4, 0, 0, _local7, _local10, 1, 1, 1, 1, 1, null, false);
_ul1002(_local7, (_local11 * _local8.width), 0, 0, 0, _local8.width, _local8.height, _arg1[_arg2]);
_local10 = (_local10 - (1 / _arg5));
if (_local10 < 0){
_local10 = 0;
};
_local11++;
};
_local6 = null;
_local7 = null;
_local8 = null;
}
public static function _rk1028(_arg1:_ac916, _arg2:_ac916):Boolean{
if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1._dn100 * _arg1._os959) + (_arg2._dn100 * _arg2._os959))){
return (true);
};
return (false);
}
}
}//package classes
Section 16
//_kw417 (classes._kw417)
package classes {
import flash.display.*;
import flash.utils.*;
import flash.geom.*;
import flash.ui.*;
public class _kw417 {
public var _ix496:Number;// = 0
private var _nx52:Object;
private var _in576:BitmapData;
private var _kp302:Object;
public function _kw417(){
_kp302 = new Object();
_nx52 = new Object();
super();
}
public function _ms88(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number=1, _arg6:Number=1, _arg7:Number=1, _arg8:Number=1, _arg9:Number=1, _arg10:Boolean=true, _arg11:Number=1):void{
var _local12:int = _arg2.length;
var _local13:Number = 0;
if (_arg10 == true){
_arg3 = (_arg3 - (_pw886(_arg2, _arg5) / 2));
};
var _local14:int;
while (_local14 < _local12) {
_local13 = _arg2.charCodeAt(_local14);
_kl319._eh697(_nx52[_local13], _arg3, _arg4, _arg1, _arg11, _arg5, _arg6, _arg7, _arg8, _arg9);
_arg3 = ((_arg3 + (_kp302[_local13].width * _arg5)) + (_ix496 * _arg5));
_local14++;
};
}
public function _gb714(_arg1:int, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
_kp302[_arg1] = new Rectangle(_arg2, _arg3, _arg4, _arg5);
_nx52[_arg1] = new BitmapData(_kp302[_arg1].width, _kp302[_arg1].height, true, 0);
_kl319._ul1002(_in576, 0, 0, _kp302[_arg1].x, _kp302[_arg1].y, _kp302[_arg1].width, _kp302[_arg1].height, _nx52[_arg1]);
}
public function _xf275(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Boolean=true, _arg6:Boolean=true):void{
var _local7:int = _arg2.length;
var _local8:Number = 0;
var _local9:Point = new Point();
if (_arg5 == true){
_arg3 = (_arg3 - (_pw886(_arg2) / 2));
};
_local9.y = _arg4;
var _local10:int;
while (_local10 < _local7) {
_local8 = _arg2.charCodeAt(_local10);
_local9.x = _arg3;
_arg1.copyPixels(_in576, _kp302[_local8], _local9, null, null, _arg6);
_arg3 = (_arg3 + (_kp302[_local8].width + _ix496));
_local10++;
};
}
public function _va768(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number=1, _arg8:Number=1, _arg9:Number=1, _arg10:Number=1, _arg11:Number=1, _arg12:Boolean=true, _arg13:Number=1):void{
var _local16:int;
var _local17:Number;
var _local14:int = _arg2.length;
var _local15:Number = 0;
if (_arg12 == true){
_arg3 = (_arg3 - (_pw886(_arg2, _arg7) / 2));
};
_local17 = _arg3;
_local16 = 0;
while (_local16 < _local14) {
_local15 = _arg2.charCodeAt(_local16);
_kl319._eh697(_nx52[_local15], (_arg3 + _arg5), (_arg4 + _arg6), _arg1, _arg13, _arg7, _arg8, 0.1, 0.1, 0.1);
_arg3 = ((_arg3 + (_kp302[_local15].width * _arg7)) + (_ix496 * _arg7));
_local16++;
};
_arg3 = _local17;
_local16 = 0;
while (_local16 < _local14) {
_local15 = _arg2.charCodeAt(_local16);
_kl319._eh697(_nx52[_local15], _arg3, _arg4, _arg1, _arg13, _arg7, _arg8, _arg9, _arg10, _arg11);
_arg3 = ((_arg3 + (_kp302[_local15].width * _arg7)) + _ix496);
_local16++;
};
}
public function _mk344(_arg1:BitmapData, _arg2:Number=1):void{
_in576 = _arg1;
_ix496 = _arg2;
}
public function _pw886(_arg1:String, _arg2:Number=1):Number{
var _local3:int = _arg1.length;
var _local4:Number = 0;
var _local5:int;
while (_local5 < _local3) {
_local4 = ((_local4 + (_kp302[_arg1.charCodeAt(_local5)].width * _arg2)) + (_ix496 * _arg2));
_local5++;
};
return ((_local4 - (_ix496 * _arg2)));
}
}
}//package classes
Section 17
//_lg549 (classes._lg549)
package classes {
import flash.media.*;
import caurina.transitions.*;
public class _lg549 {
private var _nk738:Sound;
public var _fv757:Number;// = 0
private var _hj553:SoundTransform;
public var _rw725:Number;// = 0
private var _ju974:SoundChannel;
public var _vg728:Boolean;
private var _gl423:int;
private var _bb369:Number;// = 0
public function _lg549(){
_ju974 = new SoundChannel();
_hj553 = new SoundTransform(1, 0);
}
public function get _lv544():Number{
return (_hj553.volume);
}
public function _cr377(_arg1:Sound, _arg2:Number, _arg3:int):void{
_nk738 = _arg1;
_bb369 = _arg2;
_gl423 = _arg3;
}
public function get _dq703():Number{
return (_bb369);
}
public function _gj737():void{
_ju974.stop();
}
public function set _dq703(_arg1:Number):void{
_bb369 = _arg1;
}
public function set _lv544(_arg1:Number):void{
if (_arg1 < 0){
_arg1 = 0;
};
_hj553.volume = _arg1;
_ju974.soundTransform = _hj553;
}
public function _md416():void{
_gj737();
_nk738 = null;
_ju974 = null;
_hj553 = null;
}
public function _hg170(_arg1:Number=1):void{
_lv544 = 0;
_do21();
Tweener.addTween(this, {_lv544:1, time:_arg1, transition:irrcrpt("olqhdu", 3)});
}
public function set _uq80(_arg1:Number):void{
_hj553.pan = _arg1;
_ju974.soundTransform = _hj553;
}
public function _do21():void{
_ju974 = _nk738.play(_bb369, _gl423, _hj553);
}
public function _nm733(_arg1:Number=1):void{
Tweener.addTween(this, {_lv544:0, time:_arg1, transition:irrcrpt("pmriev", 4), onComplete:_gj737});
}
public function get _uq80():Number{
return (_hj553.pan);
}
}
}//package classes
Section 18
//_mc269 (classes._mc269)
package classes {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
public class _mc269 extends Sprite {
public var tooltip:_mc269;
public var _is264:Object;
public var _fa98:Number;// = 0
public var _ky645:Function;
public var _iu688:Number;// = 0
public var _ch675:int;
public var _vb1111:Number;// = 0
public var _td1016:int;// = 0
public var _hy37:Number;// = 0
public var _he640:int;
public var _aw873:Number;// = 0
public var _od512:Number;// = 0
public var _jx762:Number;// = 0
public var _ay817:int;
public var _jp362:Number;// = 0
public var _is950:int;
public var _dn100:Number;// = 0
public var _bh522:Bitmap;
public var _sa126:Number;// = 0
public var _ji733:Number;// = 0
public var _tk1104:Boolean;
public var _pf188:Number;// = 0
public var _bk916:Number;// = 0
public var _wr589:Number;// = 0
public var callback:Object;
public var _rv350:Array;
public var _hx379:Number;// = 0
public var _uo481:Number;// = 0
public var _ur991:Number;// = 0
public var _oj870:Number;// = 0
public var _qc163:Number;// = 0
public var _eb1062:Number;// = 0
public var _le1118:Number;// = 0
public var _ds136:Number;// = 0
public var _ta1084:Number;// = 0
public var _xc242:Number;// = 0
public var _jl222:Number;// = 0
public var _bb445:BlurFilter;
public var _jd1060:Number;// = 0
public var _pc375:Number;// = 0
public var _im632:Number;// = 0
public var _oc579:Object;
public var _ai283:Number;// = 0
public var _ah1035:Number;// = 0
public var _ey966:int;
public var state:int;
public var _hk301:Object;
public var _ju608:Boolean;
public var _rm200:Number;// = 0
public var _tr974:int;
public var id3:int;
public var movedata1:Number;// = 0
public var _ss696:int;
public var _km139:Number;// = 0
public var _pr626:Object;
public var _ba265:Number;// = 0
public var _fe626:Number;// = 0
public var _yy1021:Number;// = 0
public var _ug443:Number;// = 0
public var _ko455:Function;
public var _gm836:Number;// = 0
public var _ku317:Number;// = 0
public var _ao184:Number;// = 0
public var _la677:Number;// = 0
public var _xq433:Number;// = 0
public var _vx906:Number;// = 0
public var _ti158:Boolean;
public var _ah556:Number;// = 0
public var _gs702:Number;// = 0
public var id:int;
public var _mg105:Number;// = 0
public var _fa846:Number;// = 0
public var _ot1020:Number;// = 0
public var _kf1109:Number;// = 0
public var _ig113:Number;// = 0
public var _dj827:Number;// = 0
public var _xp485:Number;// = 0
public var _bu662:Number;// = 0
public var _ll449:Number;// = 0
public var _we697:Boolean;
public var _vv1084:Number;// = 0
public var _dp246:Number;// = 0
public var _sw523:int;
public var _de1100:Number;// = 0
public var _vl295:Boolean;
public var _he148:int;
public var _id648:int;
public var frame:Number;// = 0
public var _rx1040:int;
public var _vo15:Number;// = 0
public var _uk850:int;
public var _kn608:Number;// = 0
public var _yf166:int;
public var _lt990:Number;// = 0
public var target:_mc269;
public var _bf896:Number;// = 0
public var _dc302:Number;// = 0
public var _xu725:Number;// = 0
public var _hc307:Number;// = 0
public var _rg622:Function;
public var _ia726:BitmapData;
public var _dt644:int;
public var _fp564:Number;// = 0
public var _sc42:_mc269;
public var _nc34:Number;// = 0
public var delta:Number;// = 0
public var _mj424:Number;// = 0
public var _br511:Number;// = 0
public var _qa853:Number;// = 0
public var _gm675:Number;// = 0
public var _nj362:String;
public var _je1065:Number;// = 0
public var _ur962:Number;// = 0
public function _id229(_arg1:Object):void{
_oc579 = _arg1;
}
public function _rh513(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_rx1040 = _arg4;
_ig113 = _arg1;
_qc163 = _arg2;
_xq433 = _arg3;
this.scaleY = _arg5;
_ay817 = _arg4;
_le1118 = _arg1;
_km139 = _arg2;
_uo481 = _arg3;
this.scaleX = _arg5;
}
public function _pj778():void{
_ia726.lock();
}
private function _uv660():void{
if (_tr974){
switch (_tr974){
case 1:
this.rotation = (this.rotation + (_sa126 * delta));
if (this.rotation >= _fe626){
this.rotation = _fe626;
_sa126 = -(_sa126);
} else {
if (this.rotation <= _jl222){
this.rotation = _jl222;
_sa126 = -(_sa126);
};
};
break;
case 2:
this.rotation = (this.rotation + (_sa126 * delta));
if (this.rotation >= _fe626){
this.rotation = _jl222;
} else {
if (this.rotation <= _jl222){
this.rotation = _fe626;
};
};
break;
case 3:
this.rotation = (this.rotation + (_sa126 * delta));
if (this.rotation >= _fe626){
this.rotation = _fe626;
_tr974 = 0;
} else {
if (this.rotation <= _jl222){
this.rotation = _jl222;
_tr974 = 0;
};
};
break;
case 4:
this.rotation = (this.rotation + (_sa126 * delta));
if (this.rotation >= _fe626){
this.rotation = _fe626;
_tr974 = 0;
_tk1104 = true;
} else {
if (this.rotation <= _jl222){
this.rotation = _jl222;
_tr974 = 0;
_tk1104 = true;
};
};
break;
case 5:
_is370(_sc42, _sa126);
break;
case 6:
_id849(_jl222, _sa126);
break;
};
};
}
public function get brightness():Number{
return (_ba265);
}
private function _lg720():void{
if (_vl295 == true){
_vx906 = (_vx906 - (_yy1021 * delta));
_jx762 = (_jx762 - (_xc242 * delta));
_ah1035 = (_ah1035 - (_vo15 * delta));
if (_vx906 < _hc307){
_vx906 = _hc307;
};
if (_jx762 < _bk916){
_jx762 = _bk916;
};
if (_ah1035 < _qa853){
_ah1035 = _hc307;
};
_wr589 = _vx906;
_bu662 = _jx762;
_ur991 = _ah1035;
if (_vx906 == _hc307){
if (_jx762 == _bk916){
if (_ah1035 == _qa853){
_vl295 = false;
};
};
};
};
}
private function _dx1024():void{
if (_rx1040){
this.scaleY = (this.scaleY + (_ig113 * delta));
switch (_rx1040){
case 1:
if (this.scaleY >= _xq433){
this.scaleY = _xq433;
_ig113 = -(_ig113);
} else {
if (this.scaleY <= _qc163){
this.scaleY = _qc163;
_ig113 = -(_ig113);
};
};
break;
case 2:
if (this.scaleY >= _xq433){
this.scaleY = _qc163;
} else {
if (this.scaleY <= _qc163){
this.scaleY = _xq433;
};
};
break;
case 3:
if (this.scaleY >= _xq433){
this.scaleY = _xq433;
_rx1040 = 0;
} else {
if (this.scaleY <= _qc163){
this.scaleY = _qc163;
_rx1040 = 0;
};
};
break;
case 4:
if (this.scaleY >= _xq433){
this.scaleY = _xq433;
_rx1040 = 0;
_tk1104 = true;
} else {
if (this.scaleY <= _qc163){
this.scaleY = _qc163;
_rx1040 = 0;
_tk1104 = true;
};
};
break;
};
};
}
public function _bu384(_arg1:Boolean):void{
_bh522.cacheAsBitmap = _arg1;
}
public function _tp772(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_tr974 = _arg4;
_sa126 = _arg1;
_jl222 = _arg2;
_fe626 = _arg3;
this.rotation = _arg5;
}
public function _ox467(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_ay817 = _arg4;
_le1118 = _arg1;
_km139 = _arg2;
_uo481 = _arg3;
this.scaleX = _arg5;
}
private function _sa382():void{
if (_he148){
switch (_he148){
case 1:
this.alpha = (this.alpha + (_hx379 * delta));
if (this.alpha >= _sw523){
this.alpha = _sw523;
_he148 = 0;
} else {
if ((((this.alpha < _ey966)) || ((this.alpha == _ey966)))){
this.alpha = _ey966;
_he148 = 0;
_tk1104 = true;
};
};
break;
case 2:
if (_bf896 > 0){
_bf896 = (_bf896 - (1 * delta));
if (_bf896 < 1){
_bf896 = 0;
_cp49(-(_hx379));
};
} else {
this.alpha = (this.alpha + (_hx379 * delta));
if (this.alpha >= _sw523){
this.alpha = _sw523;
_bf896 = _dp246;
};
};
break;
};
};
}
public function set scale(_arg1:Number):void{
_ji733 = _arg1;
this.scaleX = _ji733;
this.scaleY = _ji733;
}
public function _rl1118(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_rx1040 = _arg4;
_ig113 = _arg1;
_qc163 = _arg2;
_xq433 = _arg3;
this.scaleY = _arg5;
}
public function get _uy601():Number{
return (_bb445.blurY);
}
public function set brightness(_arg1:Number):void{
_ba265 = _arg1;
_kl319._jy611(this, _ba265, _ba265, _ba265);
}
public function _cp49(_arg1:Number, _arg2:Number=1):void{
_he148 = 1;
_hx379 = _arg1;
_ey966 = 0;
_sw523 = 1;
this.alpha = _arg2;
}
public function _cg714(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_mg105 = _arg1;
_br511 = _arg3;
_jd1060 = _arg2;
_je1065 = _arg4;
}
private function _vv261():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
if (_td1016 == 1){
if (_kf1109 > 0){
_kf1109 = (_kf1109 - delta);
if (_kf1109 < 1){
_kf1109 = _ll449;
_kn608 = (_kn608 * _ao184);
_fa846 = (_fa846 * _ao184);
if (Math.abs(_kn608) < 0.001){
_kn608 = 0;
};
if (Math.abs(_fa846) < 0.001){
_fa846 = 0;
};
if ((((_kn608 == 0)) && ((_fa846 == 0)))){
_kf1109 = 0;
};
};
};
this.x = (this.x + (_kn608 * delta));
this.y = (this.y + (_fa846 * delta));
_kn608 = (_kn608 + (_xu725 * delta));
_fa846 = (_fa846 + (_gm675 * delta));
if ((((this.x < _mg105)) || ((this.x > _br511)))){
_tk1104 = true;
};
if ((((this.y < _jd1060)) || ((this.y > _je1065)))){
_tk1104 = true;
};
if (_xp485 > 0){
_xp485 = (_xp485 - delta);
if (_xp485 < 1){
_td1016 = 0;
};
};
} else {
if (_td1016 == 2){
_local1 = this.x;
_local2 = this.y;
_local3 = target.x;
_local4 = target.y;
if (_local1 < _local3){
movedata1 = (movedata1 + (_eb1062 * delta));
if (movedata1 > _dc302){
movedata1 = _dc302;
};
} else {
if (_local1 > _local3){
movedata1 = (movedata1 - (_eb1062 * delta));
if (movedata1 < -(_dc302)){
movedata1 = -(_dc302);
};
};
};
this.x = (this.x + (movedata1 * delta));
if (_local2 < _local4){
_lt990 = (_lt990 + (_mj424 * delta));
if (_lt990 > _ku317){
_lt990 = _ku317;
};
} else {
if (_local2 > _local4){
_lt990 = (_lt990 - (_mj424 * delta));
if (_lt990 < -(_ku317)){
_lt990 = -(_ku317);
};
};
};
this.y = (this.y + (_lt990 * delta));
} else {
if (_td1016 == 3){
_ah556 = (_ah556 + (_ot1020 * delta));
_vb1111 = (_vb1111 + (_fa98 * delta));
this.x = (this.x + ((Math.cos(_ah556) * _la677) * delta));
this.y = (this.y + ((Math.sin(_vb1111) * _jp362) * delta));
this.x = (this.x + (_kn608 * delta));
this.y = (this.y + (_fa846 * delta));
_kn608 = (_kn608 + (_xu725 * delta));
_fa846 = (_fa846 + (_gm675 * delta));
if ((((this.x < _mg105)) || ((this.x > _br511)))){
_tk1104 = true;
};
if ((((this.y < _jd1060)) || ((this.y > _je1065)))){
_tk1104 = true;
};
};
};
};
if (_xp485 > 0){
_xp485 = (_xp485 - delta);
if (_xp485 < 1){
_td1016 = 0;
};
} else {
if (_td1016 == 4){
} else {
if (_td1016 == 5){
if (target != null){
_ah556 = (_ah556 + (_ot1020 * delta));
this.x = (target.x + (Math.cos(_ah556) * _la677));
this.y = (target.y + (Math.sin(_ah556) * _la677));
} else {
_tk1104 = true;
};
} else {
if (_td1016 == 6){
if (target != null){
if (_gm836 > 0){
_gm836 = (_gm836 - delta);
if (_gm836 < 1){
_gm836 = _im632;
_fp564 = _kl319._wv414(this.x, this.y, target.x, target.y);
_kn608 = _kl319._yd889(_fp564, movedata1);
_fa846 = _kl319._pj189(_fp564, movedata1);
this.x = (this.x + (_kn608 * delta));
this.y = (this.y + (_fa846 * delta));
movedata1 = (movedata1 + (_eb1062 * delta));
};
} else {
_fp564 = _kl319._wv414(this.x, this.y, target.x, target.y);
_kn608 = _kl319._yd889(_fp564, movedata1);
_fa846 = _kl319._pj189(_fp564, movedata1);
this.x = (this.x + (_kn608 * delta));
this.y = (this.y + (_fa846 * delta));
movedata1 = (movedata1 + (_eb1062 * delta));
};
} else {
_tk1104 = true;
};
} else {
if (_td1016 == 7){
_fp564 = _kl319._wv414(this.x, this.y, movedata1, _eb1062);
_kn608 = _kl319._yd889(_fp564, _dc302);
_fa846 = _kl319._pj189(_fp564, _dc302);
this.x = (this.x + (_kn608 * delta));
this.y = (this.y + (_fa846 * delta));
_dc302 = (_dc302 + (_lt990 * delta));
if (_kn608 > 0){
if (this.x > movedata1){
this.x = movedata1;
};
} else {
if (_kn608 < 0){
if (this.x < movedata1){
this.x = movedata1;
};
};
};
if (_fa846 > 0){
if (this.y > _eb1062){
this.y = _eb1062;
};
} else {
if (_fa846 < 0){
if (this.y < _eb1062){
this.y = _eb1062;
};
};
};
if ((((this.x == movedata1)) && ((this.y == _eb1062)))){
_td1016 = 0;
};
} else {
if (_td1016 == 8){
_ah556 = (_ah556 + (_ot1020 * delta));
_vb1111 = (_vb1111 + (_fa98 * delta));
this.x = (this.x + ((Math.cos(_ah556) * _la677) * delta));
this.y = (this.y + ((Math.sin(_vb1111) * _jp362) * delta));
_la677 = (_la677 + (_vv1084 * delta));
_jp362 = (_jp362 + (_vv1084 * delta));
if ((((this.x < _mg105)) || ((this.x > _br511)))){
_tk1104 = true;
};
if ((((this.y < _jd1060)) || ((this.y > _je1065)))){
_tk1104 = true;
};
} else {
if (_td1016 == 9){
_fp564 = _kl319._wv414(this.x, this.y, movedata1, _eb1062);
_kn608 = _kl319._yd889(_fp564, _dc302);
_fa846 = _kl319._pj189(_fp564, _dc302);
this.x = (this.x + (_kn608 * delta));
this.y = (this.y + (_fa846 * delta));
_dc302 = (_dc302 + (_lt990 * delta));
if (_kn608 > 0){
if (this.x > movedata1){
this.x = movedata1;
};
} else {
if (_kn608 < 0){
if (this.x < movedata1){
this.x = movedata1;
};
};
};
if (_fa846 > 0){
if (this.y > _eb1062){
this.y = _eb1062;
};
} else {
if (_fa846 < 0){
if (this.y < _eb1062){
this.y = _eb1062;
};
};
};
if ((((this.x == movedata1)) && ((this.y == _eb1062)))){
_td1016 = 0;
_tk1104 = true;
};
};
};
};
};
};
};
};
}
public function _id849(_arg1:Number, _arg2:Number):void{
var _local3:Number = this.rotation;
var _local4:Number = _arg1;
var _local5:Number = 0;
if (_local3 < _local4){
_local5 = 1;
if ((_local4 - _local3) > 179){
_local5 = -1;
};
} else {
if (_local3 > _local4){
_local5 = -1;
if ((_local3 - _local4) > 179){
_local5 = 1;
};
};
};
_local3 = (_local3 + ((_arg2 * _local5) * delta));
if (_local3 < 0){
_local3 = (_local3 + 360);
};
if (_local3 > 359){
_local3 = (_local3 - 360);
};
this.rotation = _local3;
}
public function set _om622(_arg1:Number):void{
_bb445.blurX = _arg1;
if (_arg1 == 0){
this.filters = null;
} else {
_bb445.quality = BitmapFilterQuality.LOW;
};
this.filters = _rv350;
}
public function _or715(_arg1:BitmapData, _arg2:int=0, _arg3:int=0):void{
_ia726.copyPixels(_arg1, new Rectangle(_arg2, _arg3, width, height), new Point(0, 0));
}
private function _se300(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean{
if ((((((((_arg1 < (_arg3 + _arg5))) && ((_arg2 < (_arg4 + _arg6))))) && ((_arg1 > _arg3)))) && ((_arg2 > _arg4)))){
return (true);
};
return (false);
}
public function _kn136(_arg1:Number=1):void{
delta = _arg1;
_vv261();
_uv660();
_gk97();
_dx1024();
_sa382();
if (callback != null){
callback(this);
};
}
public function set _uy601(_arg1:Number):void{
_bb445.blurY = _arg1;
if (_arg1 == 0){
this.filters = null;
} else {
_bb445.quality = BitmapFilterQuality.LOW;
};
this.filters = _rv350;
}
public function _df222(_arg1:_mc269, _arg2:Number):void{
_tr974 = 5;
_sa126 = _arg2;
_sc42 = _arg1;
}
public function Init(_arg1:Object, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean=true, _arg6:uint=0, _arg7:Boolean=true):void{
_hk301 = _arg1;
_uk850 = _arg2;
_ia726 = new BitmapData(_arg3, _arg4, _arg5, _arg6);
_bh522 = new Bitmap(_ia726);
_bh522.smoothing = _arg7;
_bh522.x = (-(_bh522.width) / 2);
_bh522.y = (-(_bh522.height) / 2);
this.addChild(_bh522);
this.x = (_ia726.width / 2);
this.y = (_ia726.height / 2);
width = _arg3;
height = _arg4;
_bb445 = new BlurFilter(0, 0, 1);
_rv350 = new Array();
_rv350.push(_bb445);
this.filters = _rv350;
_bb445.blurX = 0;
_bb445.blurY = 0;
_bb445.quality = 0;
this.filters = _rv350;
_dn100 = (width / 2);
_ug443 = width;
_ai283 = height;
_ti158 = true;
_mg105 = -10000;
_br511 = 10000;
_jd1060 = -10000;
_je1065 = 10000;
this.alpha = 1;
this.scaleX = 1;
this.scaleY = 1;
_wr589 = 1;
_bu662 = 1;
_ur991 = 1;
_ba265 = 1;
_ji733 = 1;
_hk301.addChild(this);
}
public function get scale():Number{
return (_ji733);
}
public function _be1095(_arg1:Number, _arg2:Number):void{
_ug443 = _arg1;
_ai283 = _arg2;
}
public function _md416():void{
callback = null;
_oc579 = null;
_is264 = null;
_sc42 = null;
target = null;
if (_we697 == true){
this.removeEventListener(MouseEvent.CLICK, _ko455);
this.removeEventListener(MouseEvent.MOUSE_OVER, _ky645);
this.removeEventListener(MouseEvent.MOUSE_OUT, _rg622);
};
_ko455 = null;
_ky645 = null;
_rg622 = null;
_hk301.removeChild(this);
this.removeChild(_bh522);
_ia726 = null;
_bh522 = null;
_bb445 = null;
_rv350 = null;
}
public function _gs177():void{
_ia726.unlock();
}
public function get _om622():Number{
return (_bb445.blurX);
}
public function _gy728(_arg1:Object):void{
callback = _arg1;
}
public function _sh1022(_arg1:Number):void{
_dn100 = _arg1;
}
public function _rq405(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Function, _arg7:Function, _arg8:Function, _arg9:uint=0):void{
this.Init(_arg1, _arg5, _arg2.width, _arg2.height, true, _arg9, true);
this._sf238(_arg3, _arg4);
this._or715(_arg2);
this.mouseEnabled = true;
this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, _arg6);
this.addEventListener(MouseEvent.MOUSE_OVER, _arg7);
this.addEventListener(MouseEvent.MOUSE_OUT, _arg8);
this._we697 = true;
this._ko455 = _arg6;
this._ky645 = _arg7;
this._rg622 = _arg8;
}
public function _wd1110(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):void{
_kn608 = _arg1;
_fa846 = _arg2;
_xu725 = _arg3;
_gm675 = _arg4;
_xp485 = _arg5;
_td1016 = 1;
}
public function _yy574(_arg1:Number, _arg2:Number):void{
_he148 = 2;
_hx379 = _arg1;
_ey966 = 0;
_sw523 = 1;
this.alpha = 0;
_bf896 = 0;
_dp246 = _arg2;
}
private function _gk97():void{
if (_ay817){
this.scaleX = (this.scaleX + (_le1118 * delta));
switch (_ay817){
case 1:
if (this.scaleX >= _uo481){
this.scaleX = _uo481;
_le1118 = -(_le1118);
} else {
if (this.scaleX <= _km139){
this.scaleX = _km139;
_le1118 = -(_le1118);
};
};
break;
case 2:
if (this.scaleX >= _uo481){
this.scaleX = _km139;
} else {
if (this.scaleX <= _km139){
this.scaleX = _uo481;
};
};
break;
case 3:
if (this.scaleX >= _uo481){
this.scaleX = _uo481;
_ay817 = 0;
} else {
if (this.scaleX <= _km139){
this.scaleX = _km139;
_ay817 = 0;
};
};
break;
case 4:
if (this.scaleX >= _uo481){
this.scaleX = _uo481;
_ay817 = 0;
_tk1104 = true;
} else {
if (this.scaleX <= _km139){
this.scaleX = _km139;
_ay817 = 0;
_tk1104 = true;
};
};
break;
};
};
}
public function _is370(_arg1:_mc269, _arg2:Number):void{
var _local3:Number = this.rotation;
var _local4:Number = _kl319._wv414(this.x, this.y, _arg1.x, _arg1.y);
var _local5:Number = 0;
if (_local3 < _local4){
_local5 = 1;
if ((_local4 - _local3) > 179){
_local5 = -1;
};
} else {
if (_local3 > _local4){
_local5 = -1;
if ((_local3 - _local4) > 179){
_local5 = 1;
};
};
};
_local3 = (_local3 + ((_arg2 * _local5) * delta));
if (_local3 < 0){
_local3 = (_local3 + 360);
};
if (_local3 > 359){
_local3 = (_local3 - 360);
};
this.rotation = _local3;
}
public function _sf238(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
public function _tc440(_arg1:Object):void{
_is264 = _arg1;
}
public function _cf245(_arg1:Number, _arg2:Number):Boolean{
return (_se300(_arg1, _arg2, (this.x - ((_ug443 * this.scaleX) / 2)), (this.y - ((_ai283 * this.scaleY) / 2)), (_ug443 * this.scaleX), (_ai283 * this.scaleY)));
}
public function _ss64(_arg1:Number, _arg2:Number):void{
_tr974 = 6;
_sa126 = _arg2;
_jl222 = _arg1;
}
}
}//package classes
Section 19
//_mc636 (classes._mc636)
package classes {
public class _mc636 {
public var _tr230:Number;// = 0
public var _dt726:int;
public var _ib52:Function;
public var _mt118:Number;// = 0
public var _mu289:Number;// = 0
}
}//package classes
Section 20
//_na190 (classes._na190)
package classes {
import flash.display.*;
import flash.geom.*;
public class _na190 {
private var _au994:Number;
private var _bs633:Class;
private var i:int;
private var _ij1115:Object;
private var _ur680:Number;
private var _jh278:Bitmap;
public static const CENTER:int = 2;
public static const LEFT:int = 0;
public static const RIGHT:int = 1;
public function _na190():void{
_bs633 = _na190__bs633;
_jh278 = new _bs633();
_au994 = "?".charCodeAt(0);
_ur680 = irrcrpt("\n", 3).charCodeAt(0);
_ij1115 = new Object();
super();
i = 32;
while (i < 161) {
_ij1115[i] = new Rectangle((((i - 32) % 16) * 16), (int(((i - 32) / 16)) * 16), 9, 16);
i++;
};
}
private function _vg420(_arg1:BitmapData, _arg2:String, _arg3:int, _arg4:int):void{
var _local8:Number;
var _local5:Point = new Point(_arg3, _arg4);
var _local6:int = _arg2.length;
var _local7:int;
while (_local7 < _local6) {
_local8 = _arg2.charCodeAt(_local7);
if ((((_local8 > 160)) || ((_local8 < 32)))){
_local8 = _au994;
};
_arg1.copyPixels(_jh278.bitmapData, _ij1115[_local8], _local5);
_local5.x = (_local5.x + 8);
_local7++;
};
}
public function draw(_arg1:BitmapData, _arg2:String, _arg3:int=0, _arg4:int=0, _arg5:int=0):void{
var _local7:String;
var _local6:Array = _arg2.split(irrcrpt("\n", 1));
for each (_local7 in _local6) {
if (_arg5 == LEFT){
_vg420(_arg1, _local7, _arg3, _arg4);
} else {
if (_arg5 == RIGHT){
_vg420(_arg1, _local7, (_arg3 - (_local7.length * 8)), _arg4);
} else {
_vg420(_arg1, _local7, (_arg3 - ((_local7.length * 8) / 2)), _arg4);
};
};
_arg4 = (_arg4 + 13);
};
}
}
}//package classes
Section 21
//_na190__bs633 (classes._na190__bs633)
package classes {
import mx.core.*;
public class _na190__bs633 extends BitmapAsset {
}
}//package classes
Section 22
//_oo960 (classes._oo960)
package classes {
public class _oo960 {
public var _gu424:uint;
public function _oo960(){
_gu424 = 1;
}
public function _ei630():Number{
return ((_xl728() / 2147483647));
}
public function _vc1039(_arg1:Number, _arg2:Number):Number{
return ((_arg1 + ((_arg2 - _arg1) * _ei630())));
}
public function _qn245(_arg1:Number, _arg2:Number):uint{
_arg1 = (_arg1 - 0.4999);
_arg2 = (_arg2 + 0.4999);
return (Math.round((_arg1 + ((_arg2 - _arg1) * _ei630()))));
}
private function _xl728():uint{
return ((_gu424 = ((_gu424 * 16807) % 2147483647)));
}
public function _yg800():uint{
return (_xl728());
}
}
}//package classes
Section 23
//_ps404 (classes._ps404)
package classes {
import flash.utils.*;
public class _ps404 {
private static var _ta827:int;
private static var _rh780:int;
private static var _mk504:int;
public static function _bk487():int{
_ta827++;
if ((getTimer() - _mk504) > 1000){
_mk504 = getTimer();
_rh780 = _ta827;
_ta827 = 0;
};
return (_rh780);
}
public static function _nc310():void{
_mk504 = getTimer();
_ta827 = 0;
_rh780 = 0;
}
}
}//package classes
Section 24
//_qi1006 (classes._qi1006)
package classes {
import caurina.transitions.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
public class _qi1006 {
public var _mb600:BitmapData;
public var _sh509:uint;
public var height:int;
public var _ji733:Number;// = 0
public var _mx1095:_gn947;
public var width:int;
public var _rv350:Array;
private var _sf942:Object;
public var Parent:Sprite;
public var _ba265:Number;// = 0
public var _lf233:Bitmap;
public var _ul217:Number;// = 0
public var _bb445:BlurFilter;
public function _gu886(_arg1:Number=1):void{
Parent.visible = true;
Parent.alpha = 1;
brightness = 1;
_wm375 = 0;
Parent.mouseEnabled = true;
Parent.mouseChildren = true;
}
public function _sd508(_arg1:Number=1, _arg2:Number=0, _arg3:Boolean=true):void{
Parent.visible = _arg3;
Parent.mouseEnabled = true;
Parent.mouseChildren = true;
Tweener.addTween(this, {brightness:1, time:0.5, transition:irrcrpt("mjofbs", 1)});
Tweener.addTween(this, {_wm375:0, time:0.5, transition:irrcrpt("qnsjfw", 5)});
}
public function set scale(_arg1:Number):void{
_ji733 = _arg1;
Parent.scaleX = _ji733;
Parent.scaleY = _ji733;
}
public function _og663(_arg1:Boolean):void{
Parent.mouseEnabled = _arg1;
Parent.mouseChildren = _arg1;
}
public function _pj778():void{
_mb600.lock();
}
public function _yl750():void{
Parent.visible = false;
Parent.alpha = 1;
brightness = 1;
_wm375 = 0;
Parent.mouseEnabled = false;
Parent.mouseChildren = false;
}
public function set brightness(_arg1:Number):void{
_ba265 = _arg1;
_kl319._jy611(Parent, _ba265, _ba265, _ba265);
}
public function _es392():void{
_mb600.unlock();
}
public function Init(_arg1:Object, _arg2:int, _arg3:int, _arg4:Boolean=false, _arg5:uint=4278190080, _arg6:Boolean=true):void{
_sf942 = _arg1;
_sh509 = _arg5;
_mb600 = new BitmapData(_arg2, _arg3, _arg4, _arg5);
_lf233 = new Bitmap(_mb600);
_lf233.smoothing = _arg6;
Parent = new Sprite();
_sf942.addChild(Parent);
_lf233.x = (-(_lf233.width) / 2);
_lf233.y = (-(_lf233.height) / 2);
Parent.addChild(_lf233);
Parent.x = (_mb600.width / 2);
Parent.y = (_mb600.height / 2);
width = _arg2;
height = _arg3;
_ba265 = 1;
_ji733 = 1;
_bb445 = new BlurFilter(0, 0, 1);
_rv350 = new Array();
_rv350.push(_bb445);
Parent.filters = _rv350;
_ul217 = 0;
_bb445.blurX = 0;
_bb445.blurY = 0;
_bb445.quality = 0;
Parent.filters = _rv350;
_mx1095 = new _gn947();
}
public function _fj667(_arg1:Number, _arg2:Number):void{
brightness = _arg1;
Tweener.addTween(this, {brightness:1, time:_arg2, transition:irrcrpt("qnsjfw", 5)});
}
public function _nm733(_arg1:Number=1, _arg2:Function=null):void{
Parent.mouseEnabled = false;
Parent.mouseChildren = false;
if (_arg2 != null){
Tweener.addTween(Parent, {alpha:0, time:_arg1, transition:irrcrpt("pmriev", 4), onComplete:_arg2});
} else {
Tweener.addTween(Parent, {alpha:0, time:_arg1, transition:irrcrpt("mjofbs", 1)});
};
}
public function get _wm375():Number{
return (_ul217);
}
public function _bu384(_arg1:Boolean):void{
_lf233.cacheAsBitmap = _arg1;
}
public function _lx250(_arg1:Object, _arg2:Boolean=true):void{
_sf942 = _arg1;
Parent = new Sprite();
_sf942.addChild(Parent);
Parent.x = 0;
Parent.y = 0;
width = 1;
height = 1;
_ba265 = 1;
_ji733 = 1;
_bb445 = new BlurFilter(0, 0, 1);
_rv350 = new Array();
_rv350.push(_bb445);
Parent.filters = _rv350;
_ul217 = 0;
_bb445.blurX = 0;
_bb445.blurY = 0;
_bb445.quality = 0;
Parent.filters = _rv350;
_mx1095 = new _gn947();
}
public function get scale():Number{
return (_ji733);
}
public function _lv235(_arg1:Number=0.5, _arg2:Number=0, _arg3:Boolean=true):void{
Parent.visible = _arg3;
Parent.mouseEnabled = false;
Parent.mouseChildren = false;
Tweener.addTween(this, {brightness:_arg1, time:0.5, transition:irrcrpt("olqhdu", 3)});
Tweener.addTween(this, {_wm375:_arg2, time:0.5, transition:irrcrpt("nkpgct", 2)});
}
public function _vq462():void{
_mb600.fillRect(new Rectangle(0, 0, width, height), _sh509);
}
public function _yl17(_arg1:Boolean):void{
Parent.visible = _arg1;
}
public function _yw127(_arg1:Number, _arg2:String, _arg3:Number, _arg4:Function=null):void{
if (_arg4 != null){
Tweener.addTween(this, {scale:_arg1, time:_arg3, transition:_arg2, onComplete:_arg4});
} else {
Tweener.addTween(this, {scale:_arg1, time:_arg3, transition:_arg2});
};
}
public function _md416():void{
_mx1095._yi911();
_sf942.removeChild(Parent);
Parent.removeChild(_lf233);
if (_mb600 != null){
_mb600 = null;
};
if (_lf233 != null){
_lf233 = null;
};
Parent = null;
_bb445 = null;
_rv350 = null;
}
public function _sf238(_arg1:Number, _arg2:Number):void{
Parent.x = _arg1;
Parent.y = _arg2;
}
public function _or715(_arg1:BitmapData):void{
_mb600.copyPixels(_arg1, new Rectangle(0, 0, width, height), new Point(0, 0));
}
public function get brightness():Number{
return (_ba265);
}
public function _hg170(_arg1:Number=1, _arg2:Function=null):void{
Parent.alpha = 0;
Parent.visible = true;
Parent.mouseEnabled = true;
Parent.mouseChildren = true;
if (_arg2 != null){
Tweener.addTween(Parent, {alpha:1, time:_arg1, transition:irrcrpt("pmriev", 4), onComplete:_arg2});
} else {
Tweener.addTween(Parent, {alpha:1, time:_arg1, transition:irrcrpt("olqhdu", 3)});
};
}
public function set _wm375(_arg1:Number):void{
_ul217 = _arg1;
_bb445.blurX = _arg1;
_bb445.blurY = _arg1;
if (_arg1 == 0){
_bb445.quality = 0;
Parent.filters = null;
} else {
_bb445.quality = 2;
};
Parent.filters = _rv350;
}
}
}//package classes
Section 25
//_qm351 (classes._qm351)
package classes {
import flash.media.*;
import flash.utils.*;
public class _qm351 {
private static var _th508:Dictionary;
private static var _pv439:Boolean;
public static function _nm733(_arg1:String, _arg2:Number=2):void{
var _local3:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<OIGOwuke> HcfgQwv: ", 2) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local3 = _th508[_arg1];
_local3._nm733(_arg2);
}
public static function _cr377(_arg1:String, _arg2:Sound, _arg3:Number=0, _arg4:int=100000):void{
var _local5:_lg549 = new _lg549();
_local5._cr377(_arg2, _arg3, _arg4);
_th508[_arg1] = _local5;
}
public static function _do21(_arg1:String):void{
var _local2:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<RLJRzxnh> Uqfd Xtzsi: ", 5) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local2 = _th508[_arg1];
if (_pv439 == true){
_local2._do21();
};
}
public static function _oa859(_arg1:String, _arg2:Number):void{
var _local3:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<PJHPxvlf> Vhw OrrsVwduw: ", 3) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local3 = _th508[_arg1];
_local3._dq703 = _arg2;
}
public static function _hg170(_arg1:String, _arg2:Number=2):void{
var _local3:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<OIGOwuke> HcfgKp: ", 2) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local3 = _th508[_arg1];
if (_pv439 == true){
_local3._hg170(_arg2);
};
}
public static function _fj991(_arg1:String):Number{
var _local2:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<RLJRzxnh> Ljy Atqzrj: ", 5) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2))));
};
_local2 = _th508[_arg1];
return (_local2._lv544);
}
public static function Init():void{
_th508 = new Dictionary();
_pv439 = true;
}
public static function _io931():Boolean{
return (_pv439);
}
public static function _lh94():void{
var _local1:_lg549;
for each (_local1 in _th508) {
_local1._gj737();
};
}
public static function _he168(_arg1:String, _arg2:Number):void{
var _local3:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<PJHPxvlf> Vhw Yroxph: ", 3) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local3 = _th508[_arg1];
_local3._lv544 = _arg2;
}
public static function _rd1078(_arg1:String, _arg2:Number):void{
var _local3:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<OIGOwuke> Ugv Rcp: ", 2) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local3 = _th508[_arg1];
_local3._uq80 = _arg2;
}
public static function _gj737(_arg1:String):void{
var _local2:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<RLJRzxnh> Xytu Xtzsi: ", 5) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local2 = _th508[_arg1];
_local2._gj737();
}
public static function _ri26(_arg1:Boolean):void{
_pv439 = _arg1;
}
public static function _en507(_arg1:String):Number{
var _local2:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<QKIQywmg> Kix PsstWxevx: ", 4) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local2 = _th508[_arg1];
return (_local2._dq703);
}
public static function _ny1115(_arg1:String):Number{
var _local2:_lg549;
if (_th508[_arg1] == null){
throw (new Error(((irrcrpt("<PJHPxvlf> Jhw Sdq: ", 3) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local2 = _th508[_arg1];
return (_local2._uq80);
}
}
}//package classes
Section 26
//_qt1119 (classes._qt1119)
package classes {
import flash.display.*;
public class _qt1119 {
public var _mx1095:Array;
public var _fl410:Number;// = 0
public var _ou58:int;// = 0
public var _ug44:Number;// = 0
public var _st628:int;// = 0
public function _qt1119(){
_mx1095 = [];
super();
}
public function _ct411(_arg1:Number=1):void{
var _local3:_ac916;
var _local2:int = (_mx1095.length - 1);
var _local4:int = _local2;
while (_local4 >= 0) {
_local3 = _mx1095[_local4];
_local3._id1071(_arg1);
if (_local3._tk1104 == true){
if (_local3._as173 != null){
_local3._as173(_local3);
};
_local3._md416();
_mx1095.splice(_local4, 1);
_local3 = null;
} else {
_local3._lb440();
};
_local4--;
};
}
public function _eq464():void{
var _local1:_ac916;
for each (_local1 in _mx1095) {
_local1._lb440();
};
}
public function _ow345(_arg1:Function):void{
var _local2:_ac916;
for each (_local2 in _mx1095) {
_local2._lb440();
_arg1(_local2);
};
}
public function _ai303(_arg1:_ac916, _arg2:Function):void{
var _local3:_ac916;
for each (_local3 in _mx1095) {
if (_td1076._uy254(_local3, _arg1) == true){
_arg2(_local3, _arg1);
};
};
}
public function _ce200(_arg1:Object, _arg2:Number=1):void{
var _local5:_ac916;
var _local3:int = (_mx1095.length - 1);
var _local4:int = _local3;
while (_local4 >= 0) {
_local5 = _mx1095[_local4];
_arg1(_local5);
_local5._kn136(_arg2);
if (_local5._tk1104 == true){
if (_local5._as173 != null){
_local5._as173(_local5);
};
_local5._md416();
_mx1095.splice(_local4, 1);
_local5 = null;
} else {
_local5._lb440();
};
_local4--;
};
}
public function _kp930():int{
return (_mx1095.length);
}
public function _lo368(_arg1:_ac916):void{
_mx1095[_mx1095.length] = _arg1;
}
public function _aj357(_arg1:Object, _arg2:Number=1):void{
var _local4:_ac916;
var _local3:int = (_mx1095.length - 1);
var _local5:int = _local3;
while (_local5 >= 0) {
_local4 = _mx1095[_local5];
_local4._kn136(_arg2);
if (_local4._tk1104 == true){
if (_local4._as173 != null){
_local4._as173(_local4);
};
_local4._md416();
_mx1095.splice(_local5, 1);
_local4 = null;
} else {
_local4._lb440();
_arg1(_local4);
};
_local5--;
};
}
public function _ei627(_arg1:int):Boolean{
var _local2:_ac916;
var _local3:Boolean;
for each (_local2 in _mx1095) {
if (_local2._ch675 == _arg1){
_local3 = true;
};
};
return (_local3);
}
public function _yi911(_arg1:int=0):void{
var _local2:int;
var _local3:Object;
var _local4:int = (_mx1095.length - 1);
_local2 = _local4;
while (_local2 >= 0) {
_local3 = _mx1095[_local2];
if (_arg1 > 0){
if (_local3._ch675 == _arg1){
_mx1095.splice(_local2, 1);
_local3._md416();
_local3 = null;
};
} else {
_mx1095.splice(_local2, 1);
_local3._md416();
_local3 = null;
};
_local2--;
};
}
public function _cq1118(_arg1:Number=1):void{
var _local3:_ac916;
var _local2:int = (_mx1095.length - 1);
var _local4:int = _local2;
while (_local4 >= 0) {
_local3 = _mx1095[_local4];
_local3._kn136(_arg1);
if (_local3._tk1104 == true){
if (_local3._as173 != null){
_local3._as173(_local3);
};
_local3._md416();
_mx1095.splice(_local4, 1);
_local3 = null;
};
_local4--;
};
}
public function _to227(_arg1:Number):Number{
var _local3:_ac916;
var _local2:Number = 0;
for each (_local3 in _mx1095) {
if (_local3.id == _arg1){
_local2++;
};
};
return (_local2);
}
public function _vi264(_arg1:BitmapData):void{
var _local2:_ac916;
for each (_local2 in _mx1095) {
_local2._kv566(_arg1);
};
}
public function _oq966(_arg1:_ac916):Boolean{
var _local2:_ac916;
var _local3:Boolean;
for each (_local2 in _mx1095) {
if (_td1076._uy254(_arg1, _local2) == true){
(_local3 == true);
};
};
return (_local3);
}
public function _ga823(_arg1:int):Boolean{
var _local2:_ac916;
var _local3:Boolean;
for each (_local2 in _mx1095) {
if (_local2.id == _arg1){
_local3 = true;
};
};
return (_local3);
}
public function _sk646(_arg1:String):_ac916{
var _local2:int;
var _local3:_ac916;
var _local4:_ac916;
var _local5:int = (_mx1095.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _mx1095[_local2];
if (_local3.name == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _ui742(_arg1:Number=1):void{
var _local3:_ac916;
var _local2:int = (_mx1095.length - 1);
var _local4:int = _local2;
while (_local4 >= 0) {
_local3 = _mx1095[_local4];
_local3._kn136(_arg1);
if (_local3._tk1104 == true){
if (_local3._as173 != null){
_local3._as173(_local3);
};
_local3._md416();
_mx1095.splice(_local4, 1);
_local3 = null;
} else {
_local3._lb440();
};
_local4--;
};
}
public function _eq799(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:BitmapData, _arg7:Number, _arg8:Number, _arg9:int, _arg10:Number=0, _arg11:Boolean=true, _arg12:Boolean=true):_ac916{
var _local13:_ac916;
_local13 = new _ac916();
_local13._ty479(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg9, _arg10, _arg11);
_local13._sf238(_arg7, _arg8);
_local13._qf618 = _arg12;
_mx1095[_mx1095.length] = _local13;
return (_local13);
}
public function _bk792(_arg1:Object, _arg2:Number=1):void{
var _local4:_ac916;
var _local3:int = (_mx1095.length - 1);
var _local5:int = _local3;
while (_local5 >= 0) {
_local4 = _mx1095[_local5];
_local4._kn136(_arg2);
_arg1(_local4);
if (_local4._tk1104 == true){
if (_local4._as173 != null){
_local4._as173(_local4);
};
_local4._md416();
_mx1095.splice(_local5, 1);
_local4 = null;
} else {
_local4._lb440();
};
_local5--;
};
}
public function _vd259(_arg1:int):void{
var _local2:_ac916;
for each (_local2 in _mx1095) {
if (_local2._dr733 == _arg1){
_local2._tk1104 = true;
_local2._ti158 = false;
};
};
}
public function _is858(_arg1:int=0):_ac916{
var _local2:int;
var _local3:_ac916;
var _local4:_ac916;
var _local5:int = (_mx1095.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _mx1095[_local2];
if (_local3._ch675 == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _qr103():void{
var _local1:_ac916;
for each (_local1 in _mx1095) {
_local1._tk1104 = true;
};
}
public function _sj65(_arg1:Object, _arg2:Number=1):void{
var _local4:_ac916;
var _local3:int = (_mx1095.length - 1);
var _local5:int = _local3;
while (_local5 >= 0) {
_local4 = _mx1095[_local5];
_local4._kn136(_arg2);
if (_local4._tk1104 == true){
if (_local4._as173 != null){
_local4._as173(_local4);
};
_local4._md416();
_mx1095.splice(_local5, 1);
_local4 = null;
} else {
_arg1(_local4);
_local4._lb440();
};
_local5--;
};
}
public function _mm395(_arg1:int=0):_ac916{
var _local2:int;
var _local3:_ac916;
var _local4:_ac916;
var _local5:int = (_mx1095.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _mx1095[_local2];
if (_local3.id == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _he359(_arg1:BitmapData, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Boolean=true, _arg7:Boolean=true):_ac916{
var _local8:_ac916;
_local8 = new _ac916();
_local8._ty479(_arg1, 0, 0, _arg1.width, _arg1.height, _arg2, 1, _arg5, _arg6);
_local8._sf238(_arg3, _arg4);
_local8._qf618 = _arg7;
_mx1095[_mx1095.length] = _local8;
return (_local8);
}
public function _pp806(_arg1:Number, _arg2:Number):void{
var _local3:_ac916;
for each (_local3 in _mx1095) {
_local3._pp806(_arg1, _arg2);
};
}
}
}//package classes
Section 27
//_td1076 (classes._td1076)
package classes {
import flash.geom.*;
public class _td1076 {
private static var _at610:Point;
private static var rect:Rectangle;
private static var _cd712:Number = 57.2957795130823;
private static var _tp354:Number = 0.0174532925199433;
private static var _fa684:Number = 6.28318530717959;
public static function _md322(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):Boolean{
if ((((_arg1 > (_arg5 + _arg7))) || (((_arg1 + _arg3) < _arg5)))){
return (false);
};
if ((((_arg2 > (_arg6 + _arg8))) || (((_arg2 + _arg4) < _arg6)))){
return (false);
};
return (true);
}
public static function _rk1028(_arg1:_ac916, _arg2:_ac916):Boolean{
if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1._dn100 * _arg1._os959) + (_arg2._dn100 * _arg2._os959))){
return (true);
};
return (false);
}
public static function _lv571(_arg1:_ac916, _arg2:_ac916):Boolean{
if ((((_arg1._ti158 == true)) && ((_arg2._ti158 == true)))){
if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1._dn100 * _arg1._os959) + (_arg2._dn100 * _arg2._os959))){
return (true);
};
return (false);
//unresolved jump
};
return (false);
}
public static function _uy254(_arg1:_ac916, _arg2:_ac916):Boolean{
var _local3:Boolean;
if ((((_arg1._ti158 == true)) && ((_arg2._ti158 == true)))){
if (_arg1._mf268 == 0){
if (_arg2._mf268 == 0){
_local3 = _wy826(_arg1, _arg2);
} else {
_local3 = _lx218(_arg1, _arg2);
};
} else {
if (_arg2._mf268 == 1){
_local3 = _lv571(_arg1, _arg2);
} else {
_local3 = _lx218(_arg2, _arg1);
};
};
};
return (_local3);
}
public static function _ap303(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Boolean{
var _local8:Number = _arg5;
var _local9:Number = _arg6;
if (_local8 < _arg1){
_local8 = _arg1;
} else {
if (_local8 > (_arg1 + _arg3)){
_local8 = (_arg1 + _arg3);
};
};
if (_local9 < _arg2){
_local9 = _arg2;
} else {
if (_local9 > (_arg2 + _arg4)){
_local9 = (_arg2 + _arg4);
};
};
return (((((_arg5 - _local8) * (_arg5 - _local8)) + ((_arg6 - _local9) * (_arg6 - _local9))) < (_arg7 * _arg7)));
}
public static function _wy826(_arg1:_ac916, _arg2:_ac916):Boolean{
var _local3:Number = _arg1.x;
var _local4:Number = _arg1.y;
var _local5:Number = ((_arg1._ug443 - 1) * Math.abs(_arg1._os959));
var _local6:Number = ((_arg1._ai283 - 1) * Math.abs(_arg1._vk310));
var _local7:Number = _arg2.x;
var _local8:Number = _arg2.y;
var _local9:Number = ((_arg2._ug443 - 1) * Math.abs(_arg2._os959));
var _local10:Number = ((_arg2._ai283 - 1) * Math.abs(_arg2._vk310));
if (_arg1._dm169 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
if (_arg2._dm169 == true){
_local7 = (_local7 - (_local9 / 2));
_local8 = (_local8 - (_local10 / 2));
};
if ((((_arg1._ti158 == true)) && ((_arg2._ti158 == true)))){
return (_md322(_local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10));
};
return (false);
}
public static function _lx218(_arg1:_ac916, _arg2:_ac916):Boolean{
var _local3:Number = _arg1.x;
var _local4:Number = _arg1.y;
var _local5:Number = ((_arg1._ug443 - 1) * Math.abs(_arg1._os959));
var _local6:Number = ((_arg1._ai283 - 1) * Math.abs(_arg1._vk310));
if (_arg1._dm169 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
return (_ap303(_local3, _local4, _local5, _local6, _arg2.x, _arg2.y, (_arg2._dn100 * Math.abs(_arg2._os959))));
}
public static function _wp402(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Boolean{
if (Math.sqrt((((_arg4 - _arg1) * (_arg4 - _arg1)) + ((_arg5 - _arg2) * (_arg5 - _arg2)))) <= (_arg3 + _arg6)){
return (true);
};
return (false);
}
}
}//package classes
Section 28
//_wt562 (classes._wt562)
package classes {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.geom.*;
import flash.ui.*;
public class _wt562 extends Sprite {
public static var _cx168:Boolean;
private static var _ku661:Array = [];
public static var _gg561:Boolean;
private static var _tr61:Array = [];
private static var _xr156:Array = [];
private static var _xy326:Array = [];
public static var _fc590:int;
private static function _pc1017(_arg1:KeyboardEvent):void{
_tr61[_arg1.keyCode] = false;
_xr156[_arg1.keyCode] = false;
_ku661[_arg1.keyCode] = true;
_fc590 = _arg1.keyCode;
}
private static function _pm873(_arg1:KeyboardEvent):void{
_tr61[_arg1.keyCode] = true;
_xr156[_arg1.keyCode] = true;
_ku661[_arg1.keyCode] = false;
trace((irrcrpt("Lfz: ", 1) + _arg1.keyCode));
}
private static function _fy527(_arg1:MouseEvent):void{
_gg561 = true;
_cx168 = true;
}
private static function _fl695(_arg1:MouseEvent):void{
_gg561 = false;
_cx168 = false;
}
public static function _qu380():void{
var _local1:int;
_local1 = 0;
while (_local1 < 0x0100) {
_tr61[_local1] = false;
_ku661[_local1] = false;
_xr156[_local1] = false;
_xy326[_local1] = false;
_local1++;
};
_fc590 = 0;
}
public static function _tm751(_arg1:int):void{
_tr61[_arg1] = false;
_xr156[_arg1] = false;
_ku661[_arg1] = false;
_fc590 = 0;
}
public static function Init(_arg1:Stage):void{
_arg1.addEventListener(MouseEvent.MOUSE_DOWN, _fy527);
_arg1.addEventListener(MouseEvent.MOUSE_UP, _fl695);
_arg1.addEventListener(KeyboardEvent.KEY_DOWN, _pm873);
_arg1.addEventListener(KeyboardEvent.KEY_UP, _pc1017);
}
}
}//package classes
Section 29
//_yt92 (classes._yt92)
package classes {
import flash.events.*;
import flash.utils.*;
public class _yt92 {
private static const _nb337:int = 20;
private static var _di66:int;
private static var _ob337:Number = 0;
public static var _dt976:Number = 20;
public static var _qh661:Number = 1;
private static var _kf771:Array = [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30];
private static var _vr883:Number = 0;
public static var _pm634:Number = 0;
public static function _wr693():void{
_ob337 = getTimer();
_kf771 = [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30];
_vr883 = 30;
_di66 = -1;
}
public static function _do330(_arg1:Number=40):void{
_dt976 = _arg1;
}
public static function _fh797():Number{
var _local1:uint = getTimer();
var _local2:uint = (_local1 - _ob337);
_ob337 = getTimer();
if (_local2 > _dt976){
_local2 = _dt976;
};
return ((_local2 * _qh661));
}
public static function _px579():Number{
var _local1:uint = getTimer();
var _local2:uint = (_local1 - _ob337);
_ob337 = getTimer();
_di66++;
if (_di66 == _nb337){
_di66 = 0;
};
_kf771[_di66] = _local2;
_vr883 = 0;
var _local3:int;
while (_local3 < _nb337) {
_vr883 = (_vr883 + _kf771[_local3]);
_local3++;
};
_pm634 = (_vr883 / _nb337);
if (_pm634 > _dt976){
_pm634 = _dt976;
};
return ((_pm634 * _qh661));
}
}
}//package classes
Section 30
//InitializedSprite (com.urbansquall.display.InitializedSprite)
package com.urbansquall.display {
import flash.events.*;
import flash.display.*;
public class InitializedSprite extends Sprite {
public function InitializedSprite(){
if (this.stage != null){
Init();
} else {
addEventListener(Event.ADDED_TO_STAGE, doInit);
};
}
protected function Init():void{
throw (new Error("InitializedSprite. Override the subclasses' init. That's the whole point of InitializedSprite."));
}
private function doInit(_arg1:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, doInit);
Init();
}
}
}//package com.urbansquall.display
Section 31
//Preloader (com.urbansquall.preloader.Preloader)
package com.urbansquall.preloader {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class Preloader extends MovieClip {
public var oktoexit:Boolean;// = false
private var m_firstFrame:Boolean;// = true
public function Preloader(){
addEventListener(Event.ENTER_FRAME, checkFrame);
}
protected function endLoading():void{
}
protected function updateLoading(_arg1:Number):void{
}
protected function get mainClassName():String{
return ("_nw890");
}
protected function beginLoading():void{
}
private function checkFrame(_arg1:Event):void{
if ((((currentFrame == totalFrames)) && ((oktoexit == true)))){
removeEventListener(Event.ENTER_FRAME, checkFrame);
startup();
return;
};
if (m_firstFrame){
beginLoading();
m_firstFrame = false;
return;
};
var _local2:Number = (root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal);
updateLoading(_local2);
}
private function startup():void{
stop();
if (!m_firstFrame){
endLoading();
};
var _local1:Class = (getDefinitionByName(mainClassName) as Class);
if (_local1 == null){
throw (new Error((("Preloader:startup. There was no class matching [" + mainClassName) + "]. You may need to override Preloader::mainClassName")));
};
var _local2:DisplayObject = (new (_local1) as DisplayObject);
if (_local2 == null){
throw (new Error((("Preloader::startup. [" + mainClassName) + "] needs to inherit from Sprite or MovieClip.")));
};
addChildAt(_local2, 0);
}
}
}//package com.urbansquall.preloader
Section 32
//MochiAd (mochi.MochiAd)
package mochi {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class MochiAd {
public static function getVersion():String{
return ("3.0 as3");
}
public static function showClickAwayAd(_arg1:Object):void{
var clip:Object;
var mc:MovieClip;
var chk:MovieClip;
var options = _arg1;
var DEFAULTS:Object = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{
}, ad_finished:function ():void{
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function ():void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
var ad_timeout:Number = options.ad_timeout;
delete options.ad_timeout;
if (!MochiAd.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
options.ad_finished();
};
var wh:Array = MochiAd._getRes(options, clip);
var w:Number = wh[0];
var h:Number = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
var sendHostProgress:Boolean;
mc.regContLC = function (_arg1:String):void{
mc._containerLCName = _arg1;
};
chk["onEnterFrame"] = function ():void{
var _local4:Number;
if (!this.parent){
delete this.onEnterFrame;
return;
};
var _local1:Object = this.parent._mochiad_ctr;
var _local2:Number = (getTimer() - this.started);
var _local3:Boolean;
if (!chk.showing){
_local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local4 > 0){
chk.showing = true;
_local3 = true;
chk.started = getTimer();
} else {
if (_local2 > chk.ad_timeout){
options.ad_failed();
_local3 = true;
};
};
};
if (this.root == null){
_local3 = true;
};
if (_local3){
delete this.onEnterFrame;
};
};
doOnEnterFrame(chk);
}
public static function _isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function _allowDomains(_arg1:String):String{
var _local2:String = _arg1.split("/")[2].split(":")[0];
if (Security.sandboxType == "application"){
return (_local2);
};
Security.allowDomain("*");
Security.allowDomain(_local2);
Security.allowInsecureDomain("*");
Security.allowInsecureDomain(_local2);
return (_local2);
}
public static function unload(_arg1:Object):Boolean{
if (((_arg1.clip) && (_arg1.clip._mochiad))){
_arg1 = _arg1.clip;
};
if (_arg1.origFrameRate != undefined){
_arg1.stage.frameRate = _arg1.origFrameRate;
};
if (!_arg1._mochiad){
return (false);
};
if (_arg1._mochiad._containerLCName != undefined){
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"});
};
if (_arg1._mochiad.onUnload){
_arg1._mochiad.onUnload();
};
delete _arg1._mochiad_loaded;
delete _arg1._mochiad;
return (true);
}
public static function showInterLevelAd(_arg1:Object):void{
var clip:Object;
var mc:MovieClip;
var chk:MovieClip;
var options = _arg1;
var DEFAULTS:Object = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function ():void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
var ad_msec:Number = 11000;
var ad_timeout:Number = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time:Number = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
options.ad_finished();
};
var wh:Array = MochiAd._getRes(options, clip);
var w:Number = wh[0];
var h:Number = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
if (!this.parent){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object = mc._mochiad_wait;
_local2.server_control = true;
_local2.showing = true;
_local2.started = getTimer();
_local2.ad_msec = (_arg1 - 250);
};
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
chk["onEnterFrame"] = function ():void{
var _local4:Number;
if (!this.parent){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
var _local1:Object = this.parent._mochiad_ctr;
var _local2:Number = (getTimer() - this.started);
var _local3:Boolean;
if (!chk.showing){
_local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local4 > 0){
chk.showing = true;
chk.started = getTimer();
MochiAd.adShowing(clip);
} else {
if (_local2 > chk.ad_timeout){
options.ad_failed();
_local3 = true;
};
};
};
if (_local2 > chk.ad_msec){
_local3 = true;
};
if (_local3){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function _parseOptions(_arg1:Object, _arg2:Object):Object{
var _local4:String;
var _local5:Array;
var _local6:Number;
var _local7:Array;
var _local3:Object = {};
for (_local4 in _arg2) {
_local3[_local4] = _arg2[_local4];
};
if (_arg1){
for (_local4 in _arg1) {
_local3[_local4] = _arg1[_local4];
};
};
if (_local3.clip == undefined){
throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite."));
};
_arg1 = _local3.clip.loaderInfo.parameters.mochiad_options;
if (_arg1){
_local5 = _arg1.split("&");
_local6 = 0;
while (_local6 < _local5.length) {
_local7 = _local5[_local6].split("=");
_local3[unescape(_local7[0])] = unescape(_local7[1]);
_local6++;
};
};
if (_local3.id == "test"){
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
};
return (_local3);
}
public static function _cleanup(_arg1:Object):void{
var k:String;
var lc:LocalConnection;
var f:Function;
var mc = _arg1;
if (("lc" in mc)){
lc = mc.lc;
f = function ():void{
try {
lc.client = null;
lc.close();
} catch(e:Error) {
};
};
setTimeout(f, 0);
};
var idx:Number = DisplayObjectContainer(mc).numChildren;
while (idx > 0) {
idx = (idx - 1);
DisplayObjectContainer(mc).removeChildAt(idx);
};
for (k in mc) {
delete mc[k];
};
}
public static function load(_arg1:Object):MovieClip{
var clip:Object;
var k:String;
var server:String;
var hostname:String;
var lc:LocalConnection;
var name:String;
var loader:Loader;
var g:Function;
var req:URLRequest;
var v:Object;
var options = _arg1;
var DEFAULTS:Object = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
clip = options.clip;
if (!MochiAd._isNetworkAvailable()){
return (null);
};
try {
if (clip._mochiad_loaded){
return (null);
};
} catch(e:Error) {
throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic."));
};
var depth:Number = options.depth;
delete options.depth;
var mc:MovieClip = createEmptyMovieClip(clip, "_mochiad", depth);
var wh:Array = MochiAd._getRes(options, clip);
options.res = ((wh[0] + "x") + wh[1]);
options.server = (options.server + options.id);
delete options.id;
clip._mochiad_loaded = true;
if (clip.loaderInfo.loaderURL.indexOf("http") == 0){
options.as3_swf = clip.loaderInfo.loaderURL;
} else {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
};
var lv:URLVariables = new URLVariables();
for (k in options) {
v = options[k];
if (!(v is Function)){
lv[k] = v;
};
};
server = lv.server;
delete lv.server;
hostname = _allowDomains(server);
lc = new LocalConnection();
lc.client = mc;
name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.lc = lc;
mc.lcName = name;
lv.lc = name;
lv.st = getTimer();
loader = new Loader();
g = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
MochiAd.unload(clip);
};
loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g);
req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime()));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function (_arg1:IOErrorEvent):void{
trace("[MochiAds] Blocked URL");
});
loader.load(req);
mc.addChild(loader);
mc._mochiad_ctr = loader;
return (mc);
}
public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{
var _local4:Array = _arg2.split(".");
var _local5:Number = 0;
while (_local5 < (_local4.length - 1)) {
if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){
return (undefined);
};
_arg1 = _arg1[_local4[_local5]];
_local5++;
};
if (typeof(_arg1[_local4[_local5]]) == "function"){
return (_arg1[_local4[_local5]].apply(_arg1, _arg3));
};
return (undefined);
}
public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{
var _local4:MovieClip = new MovieClip();
if (((false) && (_arg3))){
_arg1.addChildAt(_local4, _arg3);
} else {
_arg1.addChild(_local4);
};
_arg1[_arg2] = _local4;
_local4["_name"] = _arg2;
return (_local4);
}
public static function _getRes(_arg1:Object, _arg2:Object):Array{
var _local6:Array;
var _local3:Object = _arg2.getBounds(_arg2.root);
var _local4:Number = 0;
var _local5:Number = 0;
if (typeof(_arg1.res) != "undefined"){
_local6 = _arg1.res.split("x");
_local4 = parseFloat(_local6[0]);
_local5 = parseFloat(_local6[1]);
} else {
_local4 = (_local3.xMax - _local3.xMin);
_local5 = (_local3.yMax - _local3.yMin);
};
if ((((_local4 == 0)) || ((_local5 == 0)))){
_local4 = _arg2.stage.stageWidth;
_local5 = _arg2.stage.stageHeight;
};
return ([_local4, _local5]);
}
public static function adShowing(_arg1:Object):void{
_arg1.origFrameRate = _arg1.stage.frameRate;
_arg1.stage.frameRate = 30;
}
public static function getValue(_arg1:Object, _arg2:String):Object{
var _local3:Array = _arg2.split(".");
var _local4:Number = 0;
while (_local4 < (_local3.length - 1)) {
if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){
return (undefined);
};
_arg1 = _arg1[_local3[_local4]];
_local4++;
};
return (_arg1[_local3[_local4]]);
}
public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{
var _local4:Object;
var _local5:Object;
switch (_arg3.id){
case "setValue":
MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value);
break;
case "getValue":
_local4 = MochiAd.getValue(_arg1, _arg3.objectName);
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4);
break;
case "runMethod":
_local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args);
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5);
break;
default:
trace(("[mochiads rpc] unknown rpc id: " + _arg3.id));
};
}
public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{
var _local4:Array = _arg2.split(".");
var _local5:Number = 0;
while (_local5 < (_local4.length - 1)) {
if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){
return;
};
_arg1 = _arg1[_local4[_local5]];
_local5++;
};
_arg1[_local4[_local5]] = _arg3;
}
public static function showPreGameAd(_arg1:Object):void{
var clip:Object;
var mc:MovieClip;
var chk:MovieClip;
var complete:Boolean;
var unloaded:Boolean;
var sendHostProgress:Boolean;
var fn:Function;
var r:MovieClip;
var options = _arg1;
var DEFAULTS:Object = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function ():void{
}, ad_progress:function (_arg1:Number):void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){
options.ad_started();
fn = function ():void{
options.ad_finished();
};
setTimeout(fn, 100);
return;
};
clip = options.clip;
var ad_msec:Number = 11000;
var ad_timeout:Number = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time:Number = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
var fn:Function = function ():void{
options.ad_finished();
};
setTimeout(fn, 100);
};
var wh:Array = MochiAd._getRes(options, clip);
var w:Number = wh[0];
var h:Number = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.x = (w * -0.5);
chk.y = (h * -0.5);
var bar:MovieClip = createEmptyMovieClip(chk, "_mochiad_bar", 4);
if (options.no_progress_bar){
bar.visible = false;
delete options.no_progress_bar;
} else {
bar.x = 10;
bar.y = (h - 20);
};
var bar_color:Number = options.color;
delete options.color;
var bar_background:Number = options.background;
delete options.background;
var bar_outline:Number = options.outline;
delete options.outline;
var backing_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 1);
var backing:Object = backing_mc.graphics;
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo((w - 20), 0);
backing.lineTo((w - 20), 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
var inside_mc:MovieClip = createEmptyMovieClip(bar, "_inside", 2);
var inside:Object = inside_mc.graphics;
inside.beginFill(bar_color);
inside.moveTo(0, 0);
inside.lineTo((w - 20), 0);
inside.lineTo((w - 20), 10);
inside.lineTo(0, 10);
inside.lineTo(0, 0);
inside.endFill();
inside_mc.scaleX = 0;
var outline_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 3);
var outline:Object = outline_mc.graphics;
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo((w - 20), 0);
outline.lineTo((w - 20), 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
complete = false;
unloaded = false;
var f:Function = function (_arg1:Event):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
complete = true;
if (unloaded){
MochiAd.unload(clip);
};
};
clip.loaderInfo.addEventListener(Event.COMPLETE, f);
if ((clip.root is MovieClip)){
r = (clip.root as MovieClip);
if (r.framesLoaded >= r.totalFrames){
complete = true;
};
};
mc.unloadAd = function ():void{
unloaded = true;
if (complete){
MochiAd.unload(clip);
};
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object = mc._mochiad_wait;
_local2.server_control = true;
_local2.showing = true;
_local2.started = getTimer();
_local2.ad_msec = _arg1;
};
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
mc.rpcTestFn = function (_arg1:String):Object{
trace(("[MOCHIAD rpcTestFn] " + _arg1));
return (_arg1);
};
mc.regContLC = function (_arg1:String):void{
mc._containerLCName = _arg1;
};
sendHostProgress = false;
mc.sendHostLoadProgress = function (_arg1:String):void{
sendHostProgress = true;
};
chk["onEnterFrame"] = function ():void{
var _local11:Number;
if (((!(this.parent)) || (!(this.parent.parent)))){
delete this["onEnterFrame"];
return;
};
var _local1:Object = this.parent.parent.root;
var _local2:Object = this.parent._mochiad_ctr;
var _local3:Number = (getTimer() - this.started);
var _local4:Boolean;
var _local5:Number = _local1.loaderInfo.bytesTotal;
var _local6:Number = _local1.loaderInfo.bytesLoaded;
if (complete){
_local6 = Math.max(1, _local6);
_local5 = _local6;
};
var _local7:Number = ((100 * _local6) / _local5);
var _local8:Number = ((100 * _local3) / chk.ad_msec);
var _local9:Object = this._mochiad_bar._inside;
var _local10:Number = Math.min(100, Math.min(((_local7) || (0)), _local8));
_local10 = Math.max(this.last_pcnt, _local10);
this.last_pcnt = _local10;
_local9.scaleX = (_local10 * 0.01);
options.ad_progress(_local10);
if (sendHostProgress){
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7});
if (_local7 == 100){
sendHostProgress = false;
};
};
if (!chk.showing){
_local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local11 > 0){
chk.showing = true;
chk.started = getTimer();
MochiAd.adShowing(clip);
} else {
if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){
options.ad_failed();
_local4 = true;
};
};
};
if (_local3 > chk.ad_msec){
_local4 = true;
};
if (((complete) && (_local4))){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function showPreloaderAd(_arg1:Object):void{
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
MochiAd.showPreGameAd(_arg1);
}
public static function showTimedAd(_arg1:Object):void{
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
MochiAd.showInterLevelAd(_arg1);
}
public static function doOnEnterFrame(_arg1:MovieClip):void{
var mc = _arg1;
var f:Function = function (_arg1:Object):void{
if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){
mc.onEnterFrame();
} else {
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
};
};
mc.addEventListener(Event.ENTER_FRAME, f);
}
}
}//package mochi
Section 33
//MochiDigits (mochi.MochiDigits)
package mochi {
public final class MochiDigits {
private var Sibling:MochiDigits;
private var Fragment:Number;
private var Encoder:Number;
public function MochiDigits(_arg1:Number=0, _arg2:uint=0):void{
Encoder = 0;
setValue(_arg1, _arg2);
}
public function reencode():void{
var _local1:uint = int((2147483647 * Math.random()));
Fragment = (Fragment ^ (_local1 ^ Encoder));
Encoder = _local1;
}
public function set value(_arg1:Number):void{
setValue(_arg1);
}
public function toString():String{
var _local1:String = String.fromCharCode((Fragment ^ Encoder));
if (Sibling != null){
_local1 = (_local1 + Sibling.toString());
};
return (_local1);
}
public function setValue(_arg1:Number=0, _arg2:uint=0):void{
var _local3:String = _arg1.toString();
var _temp1 = _arg2;
_arg2 = (_arg2 + 1);
Fragment = (_local3.charCodeAt(_temp1) ^ Encoder);
if (_arg2 < _local3.length){
Sibling = new MochiDigits(_arg1, _arg2);
} else {
Sibling = null;
};
reencode();
}
public function get value():Number{
return (Number(this.toString()));
}
public function addValue(_arg1:Number):void{
value = (value + _arg1);
}
}
}//package mochi
Section 34
//MochiMedia (mochi.MochiMedia)
package mochi {
import flash.events.*;
import flash.display.*;
public class MochiMedia {
public static var mochiadsmc:MovieClip = new MovieClip();
public static var ShowScoresDone:Boolean;
public static var Parent:Object;
public static var SubmitScoreDone:Boolean;
public static var mochiconnecterror:Boolean;
public static var mochiconnect:MovieClip = new MovieClip();
public static var CallWhenMochiScoresDone:Function;
public static var MochiIDString:String = "";
public static var mochileaderboard:MovieClip = new MovieClip();
public static var mochiboardID:String = "";
public static function CloseMochiScores(_arg1:String=null):void{
Parent.removeChild(mochileaderboard);
ShowScoresDone = true;
CallWhenMochiScoresDone();
}
public static function SubmitMochiScore(_arg1:Number, _arg2:Function, _arg3:String=null):void{
var _local4:String = mochiboardID;
if (_arg3 != null){
_local4 = _arg3;
};
CallWhenMochiScoresDone = _arg2;
SubmitScoreDone = false;
if (mochiconnecterror == false){
Parent.addChild(mochileaderboard);
MochiScores.showLeaderboard({boardID:_local4, clip:mochileaderboard, score:_arg1, onClose:CloseMochiScoreSubmit});
} else {
SubmitScoreDone = true;
CallWhenMochiScoresDone();
};
}
public static function SetDefaultLeaderBoardID(_arg1:String):void{
mochiboardID = _arg1;
}
public static function ShowMochiScores(_arg1:Function, _arg2:String=null):void{
var _local3:String = mochiboardID;
if (_arg2 != null){
_local3 = _arg2;
};
CallWhenMochiScoresDone = _arg1;
ShowScoresDone = false;
if (mochiconnecterror == false){
Parent.addChild(mochileaderboard);
MochiScores.showLeaderboard({boardID:_local3, clip:mochileaderboard, onClose:CloseMochiScores, onError:CloseMochiScores});
} else {
ShowScoresDone = true;
CallWhenMochiScoresDone();
};
}
public static function CloseMochiScoreSubmit():void{
Parent.removeChild(mochileaderboard);
SubmitScoreDone = true;
CallWhenMochiScoresDone();
}
public static function MochiServicesConnect(_arg1:Object, _arg2:String):void{
MochiIDString = _arg2;
Parent = _arg1;
mochiconnecterror = false;
Parent.addChild(mochiconnect);
MochiServices.connect(MochiIDString, mochiconnect, MochiServicesConnectError);
}
public static function Init():void{
}
public static function MochiServicesConnectError(_arg1:String):void{
mochiconnecterror = true;
}
}
}//package mochi
Section 35
//MochiScores (mochi.MochiScores)
package mochi {
import flash.display.*;
import flash.text.*;
public class MochiScores {
private static var boardID:String;
public static var onErrorHandler:Object;
public static var onCloseHandler:Object;
public static function showLeaderboard(_arg1:Object=null):void{
var n:Number;
var options = _arg1;
if (options != null){
if (options.clip != null){
if ((options.clip is Sprite)){
MochiServices.setContainer(options.clip);
};
delete options.clip;
} else {
MochiServices.setContainer();
};
MochiServices.stayOnTop();
if (options.name != null){
if ((options.name is TextField)){
if (options.name.text.length > 0){
options.name = options.name.text;
};
};
};
if (options.score != null){
if ((options.score is TextField)){
if (options.score.text.length > 0){
options.score = options.score.text;
};
} else {
if ((options.score is MochiDigits)){
options.score = options.score.value;
};
};
n = Number(options.score);
if (isNaN(n)){
trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'"));
} else {
if ((((n == Number.NEGATIVE_INFINITY)) || ((n == Number.POSITIVE_INFINITY)))){
trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite"));
} else {
if (Math.floor(n) != n){
trace((("WARNING: Submitted score '" + options.score) + "' will be truncated"));
};
options.score = n;
};
};
};
if (options.onDisplay != null){
options.onDisplay();
} else {
if (MochiServices.clip != null){
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.stop();
} else {
trace("Warning: Container is not a MovieClip, cannot call default onDisplay.");
};
};
};
} else {
options = {};
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.stop();
} else {
trace("Warning: Container is not a MovieClip, cannot call default onDisplay.");
};
};
if (options.onClose != null){
onCloseHandler = options.onClose;
} else {
onCloseHandler = function ():void{
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.play();
} else {
trace("Warning: Container is not a MovieClip, cannot call default onClose.");
};
};
};
if (options.onError != null){
onErrorHandler = options.onError;
} else {
onErrorHandler = null;
};
if (options.boardID == null){
if (MochiScores.boardID != null){
options.boardID = MochiScores.boardID;
};
};
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose);
}
public static function closeLeaderboard():void{
MochiServices.send("scores_closeLeaderboard");
}
public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{
MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2);
}
public static function requestList(_arg1:Object, _arg2:Object=null):void{
MochiServices.send("scores_requestList", null, _arg1, _arg2);
}
public static function scoresArrayToObjects(_arg1:Object):Object{
var _local3:Number;
var _local4:Number;
var _local5:Object;
var _local6:Object;
var _local7:String;
var _local8:String;
var _local2:Object = {};
for (_local7 in _arg1) {
if (typeof(_arg1[_local7]) == "object"){
if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){
_local2[_local7] = [];
_local5 = _arg1[_local7];
_local4 = 0;
while (_local4 < _local5.rows.length) {
_local6 = {};
_local3 = 0;
while (_local3 < _local5.cols.length) {
_local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3];
_local3++;
};
_local2[_local7].push(_local6);
_local4++;
};
} else {
_local2[_local7] = {};
for (_local8 in _arg1[_local7]) {
_local2[_local7][_local8] = _arg1[_local7][_local8];
};
};
} else {
_local2[_local7] = _arg1[_local7];
};
};
return (_local2);
}
public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{
_arg1 = Number(_arg1);
if (isNaN(_arg1)){
trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is 'Not a Number'"));
} else {
if ((((_arg1 == Number.NEGATIVE_INFINITY)) || ((_arg1 == Number.POSITIVE_INFINITY)))){
trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is an infinite"));
} else {
if (Math.floor(_arg1) != _arg1){
trace((("WARNING: Submitted score '" + String(_arg1)) + "' will be truncated"));
};
_arg1 = Number(_arg1);
};
};
MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4);
}
public static function onClose(_arg1:Object=null):void{
if (_arg1 != null){
if (_arg1.error != null){
if (_arg1.error == true){
if (onErrorHandler != null){
if (_arg1.errorCode == null){
_arg1.errorCode = "IOError";
};
onErrorHandler(_arg1.errorCode);
MochiServices.doClose();
return;
};
};
};
};
onCloseHandler();
MochiServices.doClose();
}
public static function setBoardID(_arg1:String):void{
MochiScores.boardID = _arg1;
MochiServices.send("scores_setBoardID", {boardID:_arg1});
}
}
}//package mochi
Section 36
//MochiServices (mochi.MochiServices)
package mochi {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.utils.*;
import flash.geom.*;
import flash.system.*;
public class MochiServices {
private static var _container:Object;
private static var _connected:Boolean = false;
private static var _swfVersion:String;
public static var netupAttempted:Boolean = false;
private static var _sendChannel:LocalConnection;
private static var _clip:MovieClip;
private static var _loader:Loader;
private static var _id:String;
private static var _listenChannel:LocalConnection;
public static var widget:Boolean = false;
private static var _timer:Timer;
private static var _sendChannelName:String;
private static var _connecting:Boolean = false;
public static var onError:Object;
private static var _listenChannelName:String = "__ms_";
private static var _servicesURL:String = "http://www.mochiads.com/static/lib/services/services.swf";
public static var netup:Boolean = true;
public static function isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function get connected():Boolean{
return (_connected);
}
private static function flush(_arg1:Boolean):void{
var _local2:Object;
var _local3:Object;
if (_clip != null){
if (_clip._queue != null){
while (_clip._queue.length > 0) {
_local2 = _clip._queue.shift();
_local3 = null;
if (_local2 != null){
if (_local2.callbackID != null){
_local3 = _clip._callbacks[_local2.callbackID];
};
delete _clip._callbacks[_local2.callbackID];
if (((_arg1) && (!((_local3 == null))))){
handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod);
};
};
};
};
};
}
public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{
if (_connected){
_sendChannel.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID});
} else {
if ((((_clip == null)) || (!(_connecting)))){
onError("NotConnected");
handleError(_arg2, _arg3, _arg4);
flush(true);
return;
};
_clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID});
};
if (_clip != null){
if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){
_clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4};
_clip._nextcallbackID++;
};
};
}
private static function init(_arg1:String, _arg2:Object):void{
_id = _arg1;
if (_arg2 != null){
_container = _arg2;
loadCommunicator(_arg1, _container);
};
}
public static function get childClip():Object{
return (_clip);
}
private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{
var _local4:int;
var _local14:Loader;
var _local3:Array = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23];
var _local5:Array = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3];
var _local6:Array = [0, 64, 0, 0, 0];
var _local7:MovieClip = new MovieClip();
var _local8:LocalConnection = new LocalConnection();
var _local9:String = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().getTime()));
_local8 = new LocalConnection();
_local7.lc = _local8;
_local7.click = _arg2;
_local8.client = _local7;
_local8.connect(_local9);
var _local10:ByteArray = new ByteArray();
var _local11:ByteArray = new ByteArray();
_local11.endian = Endian.LITTLE_ENDIAN;
_local11.writeShort(1);
_local11.writeUTFBytes(((_arg1 + " ") + _local9));
_local11.writeByte(0);
var _local12:uint = ((_local3.length + _local11.length) + 4);
var _local13:uint = (_local12 + 35);
_local10.endian = Endian.LITTLE_ENDIAN;
_local10.writeUTFBytes("FWS");
_local10.writeByte(8);
_local10.writeUnsignedInt(_local13);
for each (_local4 in _local5) {
_local10.writeByte(_local4);
};
_local10.writeUnsignedInt(_local12);
_local10.writeByte(136);
_local10.writeShort(_local11.length);
_local10.writeBytes(_local11);
for each (_local4 in _local3) {
_local10.writeByte(_local4);
};
for each (_local4 in _local6) {
_local10.writeByte(_local4);
};
_local14 = new Loader();
_local14.loadBytes(_local10);
_local7.addChild(_local14);
return (_local7);
}
public static function stayOnTop():void{
_container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true);
if (_clip != null){
_clip.visible = true;
};
}
public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{
var avm1Click:DisplayObject;
var x:String;
var req:URLRequest;
var loader:Loader;
var setURL:Function;
var err:Function;
var complete:Function;
var url = _arg1;
var burl = _arg2;
var btn = _arg3;
var onClick = _arg4;
var vars:Object = new Object();
vars["mav"] = getVersion();
vars["swfv"] = "9";
vars["swfurl"] = btn.loaderInfo.loaderURL;
vars["fv"] = Capabilities.version;
vars["os"] = Capabilities.os;
vars["lang"] = Capabilities.language;
vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY);
var s = "?";
var i:Number = 0;
for (x in vars) {
if (i != 0){
s = (s + "&");
};
i = (i + 1);
s = (((s + x) + "=") + escape(vars[x]));
};
req = new URLRequest("http://x.mochiads.com/linkping.swf");
loader = new Loader();
setURL = function (_arg1:String):void{
if (avm1Click){
btn.removeChild(avm1Click);
};
avm1Click = clickMovie(_arg1, onClick);
var _local2:Rectangle = btn.getBounds(btn);
btn.addChild(avm1Click);
avm1Click.x = _local2.x;
avm1Click.y = _local2.y;
avm1Click.scaleX = (0.01 * _local2.width);
avm1Click.scaleY = (0.01 * _local2.height);
};
err = function (_arg1:Object):void{
netup = false;
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
setURL(burl);
};
complete = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
};
if (netup){
setURL((url + s));
} else {
setURL(burl);
};
if (!((netupAttempted) || (_connected))){
netupAttempted = true;
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete);
loader.load(req);
};
}
public static function disconnect():void{
if (((_connected) || (_connecting))){
if (_clip != null){
if (_clip.parent != null){
if ((_clip.parent is Sprite)){
Sprite(_clip.parent).removeChild(_clip);
_clip = null;
};
};
};
_connecting = (_connected = false);
flush(true);
try {
_listenChannel.close();
} catch(error:Error) {
};
};
if (_timer != null){
try {
_timer.stop();
} catch(error:Error) {
};
};
}
public static function allowDomains(_arg1:String):String{
var _local2:String;
if (Security.sandboxType != "application"){
Security.allowDomain("*");
Security.allowInsecureDomain("*");
};
if (_arg1.indexOf("http://") != -1){
_local2 = _arg1.split("/")[2].split(":")[0];
if (Security.sandboxType != "application"){
Security.allowDomain(_local2);
Security.allowInsecureDomain(_local2);
};
};
return (_local2);
}
public static function getVersion():String{
return ("3.0");
}
public static function doClose():void{
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
if (_clip.parent != null){
Sprite(_clip.parent).removeChild(_clip);
};
}
private static function onStatus(_arg1:StatusEvent):void{
switch (_arg1.level){
case "error":
_connected = false;
_listenChannel.connect(_listenChannelName);
break;
};
}
public static function get id():String{
return (_id);
}
private static function urlOptions(_arg1:Object):Object{
var _local4:Array;
var _local5:Number;
var _local6:Array;
var _local2:Object = {};
var _local3:String = _arg1.loaderInfo.parameters.mochiad_options;
if (_local3){
_local4 = _local3.split("&");
_local5 = 0;
while (_local5 < _local4.length) {
_local6 = _local4[_local5].split("=");
_local2[unescape(_local6[0])] = unescape(_local6[1]);
_local5++;
};
};
return (_local2);
}
public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{
if (_arg1 != null){
if ((_arg1 is Sprite)){
_container = _arg1;
};
};
if (_arg2){
if ((_container is Sprite)){
Sprite(_container).addChild(_clip);
};
};
}
private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{
var args = _arg1;
var callbackObject = _arg2;
var callbackMethod = _arg3;
if (args != null){
if (args.onError != null){
args.onError.apply(null, ["NotConnected"]);
};
if (((!((args.options == null))) && (!((args.options.onError == null))))){
args.options.onError.apply(null, ["NotConnected"]);
};
};
if (callbackMethod != null){
args = {};
args.error = true;
args.errorCode = "NotConnected";
if (((!((callbackObject == null))) && ((callbackMethod is String)))){
try {
var _local5 = callbackObject;
_local5[callbackMethod](args);
} catch(error:Error) {
};
} else {
if (callbackMethod != null){
try {
callbackMethod.apply(args);
} catch(error:Error) {
};
};
};
};
}
private static function initComChannels():void{
if (!_connected){
_sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus);
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion(), parentURL:_container.loaderInfo.loaderURL});
_listenChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus);
_clip.onReceive = function (_arg1:Object):void{
var methodName:String;
var pkg = _arg1;
var cb:String = pkg.callbackID;
var cblst:Object = this.client._callbacks[cb];
if (!cblst){
return;
};
var method:* = cblst.callbackMethod;
methodName = "";
var obj:Object = cblst.callbackObject;
if (((obj) && ((typeof(method) == "string")))){
methodName = method;
if (obj[method] != null){
method = obj[method];
} else {
trace((("Error: Method " + method) + " does not exist."));
};
};
if (method != undefined){
try {
method.apply(obj, pkg.args);
} catch(error:Error) {
trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString()));
};
} else {
if (obj != null){
try {
obj(pkg.args);
} catch(error:Error) {
trace(("Error invoking method on object: " + error.toString()));
};
};
};
delete this.client._callbacks[cb];
};
_clip.onError = function ():void{
MochiServices.onError("IOError");
};
trace("connected!");
_connecting = false;
_connected = true;
while (_clip._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift());
};
};
}
private static function listen():void{
_listenChannel = new LocalConnection();
_listenChannel.client = _clip;
_clip.handshake = function (_arg1:Object):void{
MochiServices.comChannelName = _arg1.newChannel;
};
_listenChannel.allowDomain("*", "localhost");
_listenChannel.allowInsecureDomain("*", "localhost");
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
public static function set comChannelName(_arg1:String):void{
if (_arg1 != null){
if (_arg1.length > 3){
_sendChannelName = (_arg1 + "_fromgame");
initComChannels();
};
};
}
private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{
var id = _arg1;
var clip = _arg2;
var clipname:String = ("_mochiservices_com_" + id);
if (_clip != null){
return (_clip);
};
if (!MochiServices.isNetworkAvailable()){
return (null);
};
if (urlOptions(clip).servicesURL != undefined){
_servicesURL = urlOptions(clip).servicesURL;
};
MochiServices.allowDomains(_servicesURL);
_clip = createEmptyMovieClip(clip, clipname, 10336, false);
_loader = new Loader();
var f:Function = function (_arg1:Object):void{
_clip._mochiad_ctr_failed = true;
trace("MochiServices could not load.");
MochiServices.disconnect();
MochiServices.onError("IOError");
};
_listenChannelName = (_listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor((Math.random() * 99999))));
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f);
var req:URLRequest = new URLRequest(_servicesURL);
var vars:URLVariables = new URLVariables();
vars.listenLC = _listenChannelName;
vars.mochiad_options = clip.loaderInfo.parameters.mochiad_options;
if (widget){
vars.widget = true;
};
req.data = vars;
listen();
_loader.load(req);
_clip.addChild(_loader);
_clip._mochiservices_com = _loader;
_sendChannel = new LocalConnection();
_clip._queue = [];
_clip._nextcallbackID = 0;
_clip._callbacks = {};
_timer = new Timer(10000, 1);
_timer.addEventListener(TimerEvent.TIMER, connectWait);
_timer.start();
return (_clip);
}
public static function get clip():Object{
return (_container);
}
public static function bringToTop(_arg1:Event):void{
var e = _arg1;
if (MochiServices.clip != null){
if (MochiServices.childClip != null){
try {
if (MochiServices.clip.numChildren > 1){
MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1));
};
} catch(errorObject:Error) {
trace("Warning: Depth sort error.");
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
};
};
};
}
public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{
var id = _arg1;
var clip = _arg2;
var onError = _arg3;
if ((clip is DisplayObject)){
if (((!(_connected)) && ((_clip == null)))){
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
};
} else {
trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage.");
};
if (onError != null){
MochiServices.onError = onError;
} else {
if (MochiServices.onError == null){
MochiServices.onError = function (_arg1:String):void{
trace(_arg1);
};
};
};
}
public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{
var parent = _arg1;
var name = _arg2;
var depth = _arg3;
var doAdd = _arg4;
var mc:MovieClip = new MovieClip();
if (doAdd){
if (((false) && (depth))){
parent.addChildAt(mc, depth);
} else {
parent.addChild(mc);
};
};
try {
parent[name] = mc;
} catch(e:Error) {
throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic."));
};
mc["_name"] = name;
return (mc);
}
public static function connectWait(_arg1:TimerEvent):void{
if (!_connected){
_clip._mochiad_ctr_failed = true;
trace("MochiServices could not load. (timeout)");
MochiServices.disconnect();
MochiServices.onError("IOError");
};
}
}
}//package mochi
Section 37
//BitmapAsset (mx.core.BitmapAsset)
package mx.core {
import flash.display.*;
public class BitmapAsset extends FlexBitmap implements IFlexAsset, IFlexDisplayObject {
mx_internal static const VERSION:String = "3.2.0.3958";
public function BitmapAsset(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
public function get measuredWidth():Number{
if (bitmapData){
return (bitmapData.width);
};
return (0);
}
public function get measuredHeight():Number{
if (bitmapData){
return (bitmapData.height);
};
return (0);
}
public function setActualSize(_arg1:Number, _arg2:Number):void{
width = _arg1;
height = _arg2;
}
public function move(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
}
}//package mx.core
Section 38
//FlexBitmap (mx.core.FlexBitmap)
package mx.core {
import flash.display.*;
import mx.utils.*;
public class FlexBitmap extends Bitmap {
mx_internal static const VERSION:String = "3.2.0.3958";
public function FlexBitmap(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){
var bitmapData = _arg1;
var pixelSnapping = _arg2;
var smoothing = _arg3;
super(bitmapData, pixelSnapping, smoothing);
try {
name = NameUtil.createUniqueName(this);
} catch(e:Error) {
};
}
override public function toString():String{
return (NameUtil.displayObjectToString(this));
}
}
}//package mx.core
Section 39
//IFlexAsset (mx.core.IFlexAsset)
package mx.core {
public interface IFlexAsset {
}
}//package mx.core
Section 40
//IFlexDisplayObject (mx.core.IFlexDisplayObject)
package mx.core {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.accessibility.*;
public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher {
function get visible():Boolean;
function get rotation():Number;
function localToGlobal(_arg1:Point):Point;
function get name():String;
function set width(_arg1:Number):void;
function get measuredHeight():Number;
function get blendMode():String;
function get scale9Grid():Rectangle;
function set name(_arg1:String):void;
function set scaleX(_arg1:Number):void;
function set scaleY(_arg1:Number):void;
function get measuredWidth():Number;
function get accessibilityProperties():AccessibilityProperties;
function set scrollRect(_arg1:Rectangle):void;
function get cacheAsBitmap():Boolean;
function globalToLocal(_arg1:Point):Point;
function get height():Number;
function set blendMode(_arg1:String):void;
function get parent():DisplayObjectContainer;
function getBounds(_arg1:DisplayObject):Rectangle;
function get opaqueBackground():Object;
function set scale9Grid(_arg1:Rectangle):void;
function setActualSize(_arg1:Number, _arg2:Number):void;
function set alpha(_arg1:Number):void;
function set accessibilityProperties(_arg1:AccessibilityProperties):void;
function get width():Number;
function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean;
function set cacheAsBitmap(_arg1:Boolean):void;
function get scaleX():Number;
function get scaleY():Number;
function get scrollRect():Rectangle;
function get mouseX():Number;
function get mouseY():Number;
function set height(_arg1:Number):void;
function set mask(_arg1:DisplayObject):void;
function getRect(_arg1:DisplayObject):Rectangle;
function get alpha():Number;
function set transform(_arg1:Transform):void;
function move(_arg1:Number, _arg2:Number):void;
function get loaderInfo():LoaderInfo;
function get root():DisplayObject;
function hitTestObject(_arg1:DisplayObject):Boolean;
function set opaqueBackground(_arg1:Object):void;
function set visible(_arg1:Boolean):void;
function get mask():DisplayObject;
function set x(_arg1:Number):void;
function set y(_arg1:Number):void;
function get transform():Transform;
function set filters(_arg1:Array):void;
function get x():Number;
function get y():Number;
function get filters():Array;
function set rotation(_arg1:Number):void;
function get stage():Stage;
}
}//package mx.core
Section 41
//IRepeaterClient (mx.core.IRepeaterClient)
package mx.core {
public interface IRepeaterClient {
function get instanceIndices():Array;
function set instanceIndices(_arg1:Array):void;
function get isDocument():Boolean;
function set repeaters(_arg1:Array):void;
function initializeRepeaterArrays(_arg1:IRepeaterClient):void;
function get repeaters():Array;
function set repeaterIndices(_arg1:Array):void;
function get repeaterIndices():Array;
}
}//package mx.core
Section 42
//mx_internal (mx.core.mx_internal)
package mx.core {
public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
}//package mx.core
Section 43
//SoundAsset (mx.core.SoundAsset)
package mx.core {
import flash.media.*;
public class SoundAsset extends Sound implements IFlexAsset {
mx_internal static const VERSION:String = "3.2.0.3958";
}
}//package mx.core
Section 44
//NameUtil (mx.utils.NameUtil)
package mx.utils {
import flash.display.*;
import mx.core.*;
import flash.utils.*;
public class NameUtil {
mx_internal static const VERSION:String = "3.2.0.3958";
private static var counter:int = 0;
public static function displayObjectToString(_arg1:DisplayObject):String{
var result:String;
var o:DisplayObject;
var s:String;
var indices:Array;
var displayObject = _arg1;
try {
o = displayObject;
while (o != null) {
if (((((o.parent) && (o.stage))) && ((o.parent == o.stage)))){
break;
};
s = o.name;
if ((o is IRepeaterClient)){
indices = IRepeaterClient(o).instanceIndices;
if (indices){
s = (s + (("[" + indices.join("][")) + "]"));
};
};
result = ((result == null)) ? s : ((s + ".") + result);
o = o.parent;
};
} catch(e:SecurityError) {
};
return (result);
}
public static function createUniqueName(_arg1:Object):String{
if (!_arg1){
return (null);
};
var _local2:String = getQualifiedClassName(_arg1);
var _local3:int = _local2.indexOf("::");
if (_local3 != -1){
_local2 = _local2.substr((_local3 + 2));
};
var _local4:int = _local2.charCodeAt((_local2.length - 1));
if ((((_local4 >= 48)) && ((_local4 <= 57)))){
_local2 = (_local2 + "_");
};
return ((_local2 + counter++));
}
}
}//package mx.utils
Section 45
//_ak846 (_ak846)
package {
import classes.*;
public class _ak846 {
public static var _al983:Class = _ak846__al983;
public static var _yq909:Class = _ak846__yq909;
public static var _tg840:Class = _ak846__tg840;
public static var _xy210:Class = _ak846__xy210;
public static var _ec303:Class = _ak846__ec303;
public static var _gd713:Class = _ak846__gd713;
public static function Init():void{
_gs626.Init();
_gs626._cr377(irrcrpt("gpmgo", 4), new _xy210(), 0, 0);
_gs626._cr377(irrcrpt("fkrps4", 3), new _al983(), 0, 0);
_gs626._cr377(irrcrpt("fpssh", 4), new _tg840(), 0, 0);
_gs626._cr377(irrcrpt("cvccmft", 1), new _ec303(), 0, 0);
_qm351.Init();
_qm351._cr377(irrcrpt("wudfn4", 3), new _yq909(), 0, 1000);
_qm351._cr377(irrcrpt("vkvng", 2), new _gd713(), 43, 1000);
}
}
}//package
Section 46
//_ak846__al983 (_ak846__al983)
package {
import mx.core.*;
public class _ak846__al983 extends SoundAsset {
}
}//package
Section 47
//_ak846__ec303 (_ak846__ec303)
package {
import mx.core.*;
public class _ak846__ec303 extends SoundAsset {
}
}//package
Section 48
//_ak846__gd713 (_ak846__gd713)
package {
import mx.core.*;
public class _ak846__gd713 extends SoundAsset {
}
}//package
Section 49
//_ak846__tg840 (_ak846__tg840)
package {
import mx.core.*;
public class _ak846__tg840 extends SoundAsset {
}
}//package
Section 50
//_ak846__xy210 (_ak846__xy210)
package {
import mx.core.*;
public class _ak846__xy210 extends SoundAsset {
}
}//package
Section 51
//_ak846__yq909 (_ak846__yq909)
package {
import mx.core.*;
public class _ak846__yq909 extends SoundAsset {
}
}//package
Section 52
//_bm1110 (_bm1110)
package {
import classes.*;
public class _bm1110 {
public static var _ap129:_kw417;
public static function Init():void{
_ap129 = new _kw417();
_kx158();
}
private static function _kx158():void{
var _local1:int;
_ap129 = new _kw417();
_ap129._mk344(_is372._vl664, 2);
_ap129._gb714(48, 0, 0, 12, 18);
_ap129._gb714(49, 13, 0, 5, 18);
_ap129._gb714(50, 19, 0, 13, 18);
_ap129._gb714(51, 33, 0, 13, 18);
_ap129._gb714(52, 47, 0, 13, 18);
_ap129._gb714(53, 61, 0, 13, 18);
_ap129._gb714(54, 75, 0, 12, 18);
_ap129._gb714(55, 88, 0, 12, 18);
_ap129._gb714(56, 101, 0, 13, 18);
_ap129._gb714(57, 115, 0, 12, 18);
_ap129._gb714(65, 128, 0, 17, 18);
_ap129._gb714(66, 146, 0, 12, 18);
_ap129._gb714(67, 159, 0, 18, 18);
_ap129._gb714(68, 178, 0, 15, 18);
_ap129._gb714(69, 194, 0, 10, 18);
_ap129._gb714(70, 205, 0, 10, 18);
_ap129._gb714(71, 216, 0, 20, 18);
_ap129._gb714(72, 237, 0, 14, 18);
_ap129._gb714(73, 252, 0, 2, 18);
_ap129._gb714(74, 0xFF, 0, 9, 18);
_ap129._gb714(75, 265, 0, 13, 18);
_ap129._gb714(76, 279, 0, 10, 18);
_ap129._gb714(77, 290, 0, 20, 18);
_ap129._gb714(78, 311, 0, 15, 18);
_ap129._gb714(79, 327, 0, 19, 18);
_ap129._gb714(80, 347, 0, 12, 18);
_ap129._gb714(81, 360, 0, 19, 18);
_ap129._gb714(82, 380, 0, 12, 18);
_ap129._gb714(83, 393, 0, 11, 18);
_ap129._gb714(84, 405, 0, 11, 18);
_ap129._gb714(85, 417, 0, 13, 18);
_ap129._gb714(86, 431, 0, 16, 18);
_ap129._gb714(87, 448, 0, 22, 18);
_ap129._gb714(88, 471, 0, 14, 18);
_ap129._gb714(89, 486, 0, 14, 18);
_ap129._gb714(90, 501, 0, 11, 18);
_ap129._gb714(32, 513, 0, 12, 18);
_ap129._gb714(58, 529, 0, 3, 18);
_ap129._gb714(43, 533, 0, 12, 18);
_ap129._gb714(45, 546, 0, 8, 18);
_ap129._gb714(46, 555, 0, 3, 18);
_ap129._gb714(33, 559, 0, 3, 18);
}
}
}//package
Section 53
//_ft396 (_ft396)
package {
import flash.events.*;
import caurina.transitions.*;
import flash.display.*;
import flash.geom.*;
import classes.*;
import com.urbansquall.preloader.*;
import mochi.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
public class _ft396 extends Preloader {
private var _hx897:BitmapData;
private var _bo746:String;
private var _we1048:Class;
private var _nu901:BitmapData;
private var _up298:Class;
private var _sf599:Sprite;
private var _af34:Boolean;
private var _aj682:_qi1006;
private var _bf825:Number;// = 0
private var _sm45:int;
private var _fa258:MovieClip;
private var _tg473:Boolean;// = true
public function _ft396(){
_we1048 = _ft396__we1048;
_hx897 = new _we1048().bitmapData;
_up298 = _ft396__up298;
_nu901 = new _up298().bitmapData;
_aj682 = new _qi1006();
_bo746 = irrcrpt("eh6fgehfj07037j3", 4);
super();
}
override protected function updateLoading(_arg1:Number):void{
var _local2:int = Math.round((_arg1 * 100));
var _local3:int = (_nu901.width * (_local2 / 100));
var _local4:int = (_nu901.height * (_local2 / 100));
if (_bf825 != _local3){
_bf825 = _local3;
if (_local3 < _nu901.width){
_aj682._pj778();
_kl319._ul1002(_hx897, 214, 178, 214, 178, _local3, _nu901.height, _aj682._mb600);
_kl319._ul1002(_nu901, 214, 178, 0, 0, _local3, _nu901.height, _aj682._mb600);
_aj682._es392();
};
};
if (_af34 == true){
_sm45 = (_sm45 - 1);
if (_sm45 < 1){
oktoexit = true;
};
};
}
private function _mb409(_arg1:Event):void{
_mo327(irrcrpt("kwws://pxqvlhjdphv.frp", 3));
}
private function _se837(_arg1:Event):void{
Tweener.addTween(_arg1.currentTarget, {brightness:1.5, time:0.25, transition:irrcrpt("mjofbs", 1)});
}
override protected function beginLoading():void{
_af34 = false;
_sm45 = (stage.frameRate * 2);
_sf599 = new Sprite();
addChild(_sf599);
_sf599.x = 0;
_sf599.y = 0;
_sf599.scrollRect = new Rectangle(0, 0, 700, 438);
_aj682.Init(_sf599, 700, 438, true, 267386880, true);
_aj682._or715(_hx897);
if (_tg473 == true){
_fa258 = new MovieClip();
addChild(_fa258);
MochiAd.showPreGameAd({id:_bo746, res:irrcrpt("144b872", 4), clip:_fa258, ad_failed:_xt541, ad_skipped:_xt541, ad_finished:_xt541});
} else {
_xt541();
};
}
override protected function endLoading():void{
_aj682._md416();
_hx897 = null;
removeChild(_sf599);
_sf599 = null;
if (_tg473 == true){
removeChild(_fa258);
_fa258.visible = false;
_fa258 = null;
};
}
private function _mo327(_arg1:String):void{
var _local2:URLRequest = new URLRequest(_arg1);
navigateToURL(_local2, irrcrpt("_dncpm", 2));
}
private function _xt541():void{
_af34 = true;
}
private function _yi1035(_arg1:Event):void{
Tweener.addTween(_arg1.currentTarget, {brightness:1, time:0.25, transition:irrcrpt("mjofbs", 1)});
}
}
}//package
Section 54
//_ft396__up298 (_ft396__up298)
package {
import mx.core.*;
public class _ft396__up298 extends BitmapAsset {
}
}//package
Section 55
//_ft396__we1048 (_ft396__we1048)
package {
import mx.core.*;
public class _ft396__we1048 extends BitmapAsset {
}
}//package
Section 56
//_hu153 (_hu153)
package {
import flash.events.*;
import flash.display.*;
import classes.*;
import mochi.*;
import flash.net.*;
import flash.utils.*;
import flash.geom.*;
import caurina.transitions.*;
import flash.filters.*;
import flash.ui.*;
public class _hu153 {
public static var _tw262:_mc269;
public static var _iv1114:Number = 0;
public static var _nu402:Function;
public static var _eu1113:_jq504 = new _jq504();
public static var _xl272:Array = [];
public static var _pd154:Number = 0;
public static var _sh273:Number = 0;
public static var _sg907:Array = [];
public static var _ur1050:int;
public static var _yd120:Number = 0;
public static var _qr1019:Number = 0;
public static var _vy581:Object = new Object();
public static var _ra1011:_qi1006;
public static var _if390:Number = 0;
public static var _lo683:Boolean;
public static var _fe383:Boolean;
public static var _iq148:_iq1040;
public static var _tq624:Number = 0;
public static var _uc168:Boolean;
public static var _tb679:_ac916;
public static var _dm676:Object = new Object();
public static var _rd581:Object = new Object();
public static var _vu958:Number = 0;
public static var _be12:Number = 0;
public static var _cb407:Number = 1;
public static var _wl705:Number = 0;
public static var _xn771:_qt1119;
public static var _tq807:int;
public static var _ks994:BitmapData;
public static var _eh488:_qt1119;
public static var _pe1107:Array = [];
public static var _dt27:int;
private static var Parent:Sprite;
public static var _vw240:Number = 0;
public static var _hb193:_qt1119;
public static var _ys482:Array = [_is372._hp77, _is372._ci120, _is372._rl34, _is372._li610, _is372._tp610, _is372._iy667, _is372._ei169];
public static var _uu142:Number = 0;
public static var _ea345:Object = new Object();
public static var _ax48:int;
public static var _ao571:Object = new Object();
public static var _vc200:Array = [_is372._aa825, _is372._mi893, _is372._kx601, _is372._mu966, _is372._tf681, _is372._kd803, _is372._kx285, _is372._nt725, _is372._gq428];
public static var _aj682:_qi1006;
public static var _sa20:_ac916;
public static var _xf835:Array = [];
public static var _em1108:Object = new Object();
public static var _mk131:Object = new Object();
public static var _ih663:Object = new Object();
public static var _gf885:_qt1119;
public static var _cx824:Array = [0, 0, 0, 0, 0, 0, 0, 0];
public static function _eg85():void{
_aj682._lv235();
MochiMedia.SubmitMochiScore(_nw890._mi237.value, SubmitScoreDone, irrcrpt("f07f2713131512hj", 4));
}
public static function _fx877(_arg1:_ac916):void{
if (_arg1.id > 0){
_bm1110._ap129._xf275(_aj682._mb600, ("" + int(_arg1.weight)), _arg1.x, (_arg1.y + ((_arg1.height * _arg1._vk310) / 2)), true, true);
};
}
public static function _uw81(_arg1:Number, _arg2:Number, _arg3:int):void{
var _local4:int;
while (_local4 < _arg3) {
_sa20 = _xn771._eq799(_vy581[1], 0, 0, _is372._mu160.width, _is372._mu160.height, _aj682._mb600, 0, 0, 0);
_sa20._xk276(_vy581[1], _kl319._un210._vc1039(0.0005, 0.025), 30, 4, 0, _kl319._pc394(0, 20));
_sa20._sf238((_arg1 + _kl319._ct732(-8, 8)), (_arg2 + _kl319._ct732(-8, 8)));
_sa20._xh805(0, 360, _kl319._un210._vc1039(0.005, 0.05), 0, -1E-5, false);
_local4++;
};
}
public static function _yi911():void{
_gf885._yi911();
_xn771._yi911();
_hb193._yi911();
_eh488._yi911();
}
public static function _kn136():void{
_aj682._mb600.lock();
_vu958 = (_vu958 - (0.02 * _nw890._sv215));
if (_vu958 < -700){
_vu958 = 0;
};
_if390 = (_if390 - (0.03 * _nw890._sv215));
if (_if390 < -700){
_if390 = 0;
};
if (_uc168 == false){
_kl319._ul1002(_is372._et642, _vu958, 44, 0, 44, 700, (438 - 44), _aj682._mb600, false);
_kl319._ul1002(_is372._et642, (_vu958 + 700), 44, 0, 44, 700, (438 - 44), _aj682._mb600, false);
} else {
_kl319._ul1002(_is372._et642, _vu958, 0, 0, 0, 700, 438, _aj682._mb600, false);
_kl319._ul1002(_is372._et642, (_vu958 + 700), 0, 0, 0, 700, 438, _aj682._mb600, false);
};
if (_lo683 == false){
if (_tq807 == 1){
_ww902();
};
};
_gf885._cq1118(_nw890._sv215);
_gf885._eq464();
if (_uc168 == false){
if (_lo683 == false){
if (_tq807 == 1){
_ir525();
_xn771._ui742(_nw890._sv215);
_ao362();
};
};
} else {
if (_kl319._br526(1) == true){
_tb679.y = _kl319._ct732(0, 438);
};
};
_xs720();
if (_kl319._br526(1) == true){
_ti332(_kl319._ct732(0, 699), 448, _kl319._pc394(5, 50));
if (_uc168 == false){
_gs626._jk353(irrcrpt("dwddngu", 2), 2000);
};
};
_hb193._ui742(_nw890._sv215);
_yd120 = (_yd120 - _nw890._sv215);
if (_yd120 < 1){
_yd120 = _kl319._ct732(1000, 10000);
if (_eh488._kp930() < 1){
_sa20 = _eh488._he359(_is372._rt231, _aj682._mb600, 0, 0, 0, false, false);
_sa20._sf238(_kl319._ct732(0, 700), 0);
_sa20._qt284(_kl319._ct732(5E-5, 0.0003), _kl319._ct732(2000, 10000), _kl319._ct732(0.1, 0.4));
_sa20._wd1110(_kl319._ct732(-0.02, 0.02), 0, 0, 0, 0, false);
_sa20._nj362 = BlendMode.ADD;
_sa20._os959 = _kl319._ct732(0.8, 6);
};
};
_eh488._ui742(_nw890._sv215);
_eu1113._fh729(_nw890._sv215);
if (_uc168 == false){
_vx867();
};
_aj682._mb600.unlock();
if (_wt562._fc590 > 0){
if (_wt562._fc590 == 27){
_og1078();
};
_wt562._tm751(_wt562._fc590);
};
}
public static function _hk743():void{
_dt27 = -1;
_tq624 = 0;
_ur1050 = 1;
_ra1011._mx1095._yi911();
_ra1011._or715(_is372._yq1024);
_kl319._ul1002(_is372._cu718, 10, 10, 0, 0, _is372._cu718.width, _is372._cu718.height, _ra1011._mb600, true);
_ra1011._sf238(320, 229);
_ra1011._gu886(0);
_ra1011._mx1095._sl788(_ra1011.Parent, _is372._yd1061, 265, -60, 1, _ng354, _nw890._pe976, _nw890._du877);
_ra1011._mx1095._sl788(_ra1011.Parent, _is372._vo466, 265, 60, 1, _bk377, _nw890._pe976, _nw890._du877);
_ra1011._hg170(1);
}
public static function _gx1017():void{
_eu1113._nc310();
_nw890._yg21._xj129();
_wt562._qu380();
_kl319._un210._gu424 = _kl319._un210._qn245(100, 100000);
if (_nw890._qp39 == false){
_nw890._qr892 = _nw890._go771;
} else {
_yi911();
_aj682._mx1095._yi911();
_aj682._yl750();
_nw890._ai652(_aj682.Parent);
_nx94();
_nw890._qr892 = _kn136;
_nu402 = _ss898;
_gg771();
_aj682._hg170(1, _ny1059);
if (_uc168 == false){
_qm351._hg170(irrcrpt("wudfn4", 3));
};
};
}
private static function _lv976():void{
_aj682._yl750();
_ng325._gx1017();
}
public static function _ww902():void{
var _local1:int;
var _local2:Number = 0;
_iv1114 = (_iv1114 + _nw890._sv215);
if (_iv1114 > _uu142){
_iv1114 = 0;
_local1 = _kl319._pc394(1, (_ax48 - 1));
if (_kl319._br526(93) == true){
_local1 = 0;
};
_iq148 = _sg907[_local1];
_sa20 = _gf885._eq799(_iq148._vy163, 0, 0, _iq148.width, _iq148.height, _aj682._mb600, 0, 0, 0);
_sa20._sf238((700 + (_sa20.width / 2)), _kl319._ct732(0, (437 - 25)));
_sa20._be1095(_iq148._nj867, _iq148._tn115);
_sa20.weight = ((_iq148._nj867 * 1.25) * _iq148._tn115);
_sa20.id = _local1;
if (_local1 < 1){
_local2 = _kl319._ct732(0.025, 0.05);
_sa20._xk276(_iq148._vy163, (_local2 * 0.85), 3, 1);
_sa20._gy728(_gk727);
_sa20._is950 = 0;
} else {
if (_local1 < 5){
_local2 = _kl319._ct732(0.025, 0.2);
_sa20._xk276(_iq148._vy163, _local2, 9, 1);
_sa20._is950 = 1;
_sa20._gy728(_cy933);
if (_kl319._br526() == true){
if (_kl319._br526(50) == true){
_sa20._no993 = true;
};
_sa20._gy728(_vw40);
};
} else {
if (_local1 < 9){
_local2 = _kl319._ct732(0.025, 0.05);
_sa20._xk276(_iq148._vy163, _local2, 9, 1);
_sa20._gy728(_cy933);
_sa20._is950 = 2;
if (_kl319._br526() == true){
if (_kl319._br526(40) == true){
_sa20._no993 = true;
};
_sa20._gy728(_mj902);
};
} else {
if (_local1 < 13){
_local2 = _kl319._ct732(0.025, 0.15);
_sa20._xk276(_iq148._vy163, (_local2 * 0.35), 9, 1);
if (_kl319._br526(70) == true){
_sa20._no993 = true;
};
_sa20._gy728(_ex503);
_sa20._is950 = 3;
} else {
if (_local1 < 17){
_local2 = _kl319._ct732(0.025, 0.15);
_sa20._xk276(_iq148._vy163, (_local2 * 0.3), 9, 1);
_sa20._gy728(_cy933);
_sa20._is950 = 4;
if (_kl319._br526(50) == true){
_sa20.y = _kl319._ct732(100, (437 - 25));
};
if (_kl319._br526() == true){
if (_kl319._br526(25) == true){
_sa20._no993 = true;
};
_sa20._gy728(_gw309);
};
} else {
if (_local1 < 21){
_local2 = _kl319._ct732(0.025, 0.15);
_sa20._xk276(_iq148._vy163, (_local2 * 0.3), 9, 1);
_sa20._is950 = 5;
_sa20._gy728(_cy933);
if (_kl319._br526() == true){
if (_kl319._br526(50) == true){
_sa20._no993 = true;
};
_sa20._gy728(_wm930);
};
} else {
if (_local1 < 25){
_local2 = _kl319._ct732(0.025, 0.2);
_sa20._xk276(_iq148._vy163, (_local2 * 0.3), 9, 1);
_sa20._gy728(_cy933);
_sa20._is950 = 6;
if (_kl319._br526(70) == true){
_sa20.y = _kl319._ct732(200, (437 - 25));
};
if (_kl319._br526() == true){
if (_kl319._br526(60) == true){
_sa20._no993 = true;
};
_sa20._gy728(_am464);
};
};
};
};
};
};
};
};
if ((((_kl319._br526(25) == true)) && ((_local1 > 0)))){
_local2 = (_local2 * _kl319._ct732(1, 2.5));
};
_sa20._xh805(180, 0, _local2, 0, 0, true);
if ((((_kl319._br526(15) == true)) && ((_local1 > 0)))){
if (_sa20.weight > _tb679.weight){
_sa20._ea864(-(_local2), 0, _tb679, 0, (Math.abs(_local2) * 0.25), true);
};
};
_sa20._cg714(-((_sa20.width / 2)), -((_sa20.height / 2)), (700 + (_sa20.width / 2)), (438 + (_sa20.height / 2)));
_sa20._eh693 = _sa20._kn608;
_sa20._tv445 = _sa20._fa846;
if (_uc168 == false){
if ((_sa20.y - ((_sa20.height * _sa20._vk310) / 2)) < 44){
_sa20.y = (44 + ((_sa20.height * _sa20._vk310) / 2));
};
};
};
if (_tq807 == 1){
if (_uc168 == false){
if (_kl319._br526(1) == true){
if (_kl319._br526(50) == true){
_qf45();
};
};
};
};
}
public static function _nr1078(_arg1:_ac916):void{
_arg1._qd1117 = 0;
_arg1._sc1048(_vc200, 0.05, 9, 1);
}
public static function _cy933(_arg1:_ac916):void{
if (_arg1.state == 0){
} else {
if (_arg1.state == 1){
} else {
if (_arg1.state == 2){
} else {
if (_arg1.state == 3){
};
};
};
};
if (_td1076._uy254(_arg1, _tb679) == true){
_vv237(_arg1);
};
}
public static function _ht1053():void{
var _local1:int;
var _local3:int;
var _local2:Number = _tb679.weight;
_cx824 = [0, 0, 0, 0, 0, 0, 0, 0];
if (_local2 < 1000){
_local1 = 1;
} else {
if (_local2 < 2000){
_local1 = 2;
} else {
if (_local2 < 3000){
_local1 = 3;
} else {
if (_local2 < 4000){
_local1 = 4;
} else {
if (_local2 < 5000){
_local1 = 5;
} else {
if (_local2 < 6000){
_local1 = 6;
} else {
if (_local2 < 7000){
_local1 = 7;
} else {
_local1 = 7;
};
};
};
};
};
};
};
var _local4:int;
while (_local4 < _local1) {
if (_kl319._br526() == true){
_fe383 = true;
if (_local4 == 0){
_local3 = _kl319._pc394(10, 60);
} else {
if (_local4 == 1){
_local3 = _kl319._pc394(1, 3);
} else {
if (_local4 == 2){
_local3 = _kl319._pc394(1, 2);
} else {
if (_local4 == 3){
_local3 = _kl319._pc394(1, 2);
} else {
if (_local4 == 4){
_local3 = 1;
} else {
if (_local4 == 5){
_local3 = 1;
} else {
if (_local4 == 6){
_local3 = 1;
};
};
};
};
};
};
};
_cx824[_local4] = _local3;
};
_local4++;
};
if (_pd154 < 15){
if (_kl319._br526(80) == true){
_cx824[0] = _kl319._pc394(15, 60);
_fe383 = true;
};
};
if (_fe383 == true){
_sh273 = _kl319._ct732(2500, 12000);
_be12 = 0;
};
}
public static function _ci374():void{
var _local2:int;
var _local1:Number = 0;
_lk1010(_is372._ln215, _is372._dl71, 16, 7, 10, 14, 5);
_lk1010(_is372._eo570, _is372._af165, 80, 80, 100, 66, 34);
_lk1010(_mk131[1], _mk131[2], (80 * 0.65), (80 * 0.65), (100 * 0.65), (66 * 0.65), (34 * 0.65));
_lk1010(_mk131[3], _mk131[4], (80 * 0.45), (80 * 0.45), (100 * 0.45), (66 * 0.45), (34 * 0.45));
_lk1010(_mk131[5], _mk131[6], (80 * 0.25), (80 * 0.25), (100 * 0.25), (66 * 0.25), (34 * 0.25));
_lk1010(_is372._pw341, _is372._eb156, 150, 150, 100, 125, 27);
_lk1010(_ih663[1], _ih663[2], (150 * 0.7), (150 * 0.7), (100 * 0.7), (125 * 0.7), (27 * 0.7));
_lk1010(_ih663[3], _ih663[4], (150 * 0.5), (150 * 0.5), (100 * 0.5), (125 * 0.5), (27 * 0.5));
_lk1010(_ih663[5], _ih663[6], (150 * 0.3), (150 * 0.3), (100 * 0.3), (125 * 0.3), (27 * 0.3));
_lk1010(_is372._cn101, _is372._yh316, 180, 180, 100, 148, 46);
_lk1010(_dm676[1], _dm676[2], (180 * 0.75), (180 * 0.75), (100 * 0.75), (148 * 0.75), (46 * 0.75));
_lk1010(_dm676[3], _dm676[4], (180 * 0.5), (180 * 0.5), (100 * 0.5), (148 * 0.5), (46 * 0.5));
_lk1010(_dm676[5], _dm676[6], (180 * 0.25), (180 * 0.25), (100 * 0.25), (148 * 0.25), (46 * 0.25));
_lk1010(_is372._yh102, _is372._gn749, 200, 200, 100, 160, 46);
_lk1010(_em1108[1], _em1108[2], (200 * 0.8), (200 * 0.8), (100 * 0.8), (160 * 0.8), (46 * 0.8));
_lk1010(_em1108[3], _em1108[4], (200 * 0.55), (200 * 0.55), (100 * 0.55), (160 * 0.55), (46 * 0.55));
_lk1010(_em1108[5], _em1108[6], (200 * 0.25), (200 * 0.25), (100 * 0.25), (160 * 0.25), (46 * 0.25));
_lk1010(_is372._dg123, _is372._bw625, 280, 280, 100, 238, 34);
_lk1010(_ao571[1], _ao571[2], (280 * 0.85), (280 * 0.85), (100 * 0.85), (238 * 0.85), (34 * 0.85));
_lk1010(_ao571[3], _ao571[4], (280 * 0.65), (280 * 0.65), (100 * 0.65), (238 * 0.65), (34 * 0.65));
_lk1010(_ao571[5], _ao571[6], (280 * 0.5), (280 * 0.5), (100 * 0.5), (238 * 0.5), (34 * 0.5));
_lk1010(_is372._js952, _is372._xl474, 300, 300, 100, 247, 34);
_lk1010(_ea345[1], _ea345[2], (300 * 0.85), (300 * 0.85), (100 * 0.85), (247 * 0.85), (34 * 0.85));
_lk1010(_ea345[3], _ea345[4], (300 * 0.7), (300 * 0.7), (100 * 0.7), (247 * 0.7), (34 * 0.7));
_lk1010(_ea345[5], _ea345[6], (300 * 0.5), (300 * 0.5), (100 * 0.5), (247 * 0.5), (34 * 0.5));
}
public static function Init(_arg1:Sprite):void{
var _local3:int;
var _local2:Number = 0;
Parent = _arg1;
_aj682 = new _qi1006();
_aj682.Init(Parent, _nw890._oa1092, _nw890._vq165, false);
_aj682._yl750();
if (_nw890._qp39 == false){
_aj682._gu886();
_aj682._or715(_is372._ad567);
} else {
_wm580();
_gf885 = new _qt1119();
_xn771 = new _qt1119();
_hb193 = new _qt1119();
_eh488 = new _qt1119();
_kl319._qk346(_vy581, 1, _is372._mu160, 1, 1, 1, 0, true, 30);
_kl319._qk346(_rd581, 1, _is372._vk939, 1, 1, 1, 0, true, 30);
_eu1113.Init(_bm1110._ap129, _aj682._mb600);
_rn1077(_ea345, 1, _is372._js952, 0.85);
_rn1077(_ea345, 3, _is372._js952, 0.7);
_rn1077(_ea345, 5, _is372._js952, 0.5);
_rn1077(_ao571, 1, _is372._dg123, 0.85);
_rn1077(_ao571, 3, _is372._dg123, 0.65);
_rn1077(_ao571, 5, _is372._dg123, 0.5);
_rn1077(_em1108, 1, _is372._yh102, 0.8);
_rn1077(_em1108, 3, _is372._yh102, 0.55);
_rn1077(_em1108, 5, _is372._yh102, 0.25);
_rn1077(_dm676, 1, _is372._cn101, 0.75);
_rn1077(_dm676, 3, _is372._cn101, 0.5);
_rn1077(_dm676, 5, _is372._cn101, 0.25);
_rn1077(_ih663, 1, _is372._pw341, 0.7);
_rn1077(_ih663, 3, _is372._pw341, 0.5);
_rn1077(_ih663, 5, _is372._pw341, 0.3);
_rn1077(_mk131, 1, _is372._eo570, 0.65);
_rn1077(_mk131, 3, _is372._eo570, 0.45);
_rn1077(_mk131, 5, _is372._eo570, 0.25);
_ci374();
_ra1011 = new _qi1006();
_ra1011.Init(Parent, 516, 266, true);
_ra1011._yl750();
};
}
public static function _hd29(_arg1:_ac916):void{
if (_td1076._uy254(_arg1, _tb679) == true){
_arg1._ti158 = false;
_arg1.type = 1;
_arg1._ss696 = 0;
_arg1._tr974 = 0;
_arg1._rh513(-0.0025, 0, 10, 3, _arg1._os959);
_arg1.state = 3;
_arg1._td1016 = 0;
_arg1._gy728(_qi252);
_tb679._mv39(_ys482, 0.02, 7, _nr1078);
_tb679._qd1117 = 1;
_gs626._jk353(irrcrpt("fkrps4", 3), 250);
};
}
public static function _qf45():void{
_sa20 = _gf885._he359(_is372._iv212, _aj682._mb600, 0, 0);
_sa20._sf238(_kl319._ct732(250, 700), -25);
_sa20._be1095((_sa20.width * 0.7), (_sa20.height * 0.7));
_sa20._gy728(_hd29);
_sa20._tp772(_kl319._ct732(-0.2, 0.2), 0, 360, 2, _kl319._fb41());
_sa20._wd1110(-(_kl319._ct732(0.01, 0.05)), _kl319._ct732(0.025, 0.08), 0, 0, 0, true);
_sa20._cg714(-25, -25, (700 + 25), (438 + 25));
_sa20.scale = _kl319._ct732(0.5, 1);
_sa20.weight = ((((_sa20._ug443 * 1.25) * _sa20._ai283) * _sa20.scale) * 0.5);
_sa20.id = 100;
_sa20._is950 = -1;
}
public static function _og1078():void{
if (_lo683 == true){
_ra1011._yl750();
_lo683 = false;
};
_aj682._nm733(1, _lv976);
_qm351._nm733(irrcrpt("xvego5", 4));
_nu402 = _nw890._go771;
_nw890._qr892 = _nw890._go771;
}
public static function _px1050():void{
var _local1:Number = _tb679.weight;
if (_local1 < 1000){
_uu142 = (1000 / 3);
} else {
if (_local1 < 2000){
_uu142 = (1000 / 5);
} else {
if (_local1 < 3000){
_uu142 = (1000 / 8);
} else {
if (_local1 < 4000){
_uu142 = (1000 / 11);
} else {
if (_local1 < 5000){
_uu142 = (1000 / 14);
} else {
if (_local1 < 6000){
_uu142 = (1000 / 17);
} else {
if (_local1 < 7000){
_uu142 = (1000 / 20);
} else {
_uu142 = (1000 / 23);
};
};
};
};
};
};
};
}
public static function _nb264(_arg1:Event):void{
_gs626._do21(irrcrpt("gpmgo", 4));
}
public static function _ti332(_arg1:Number, _arg2:Number, _arg3:int):void{
var _local4:int;
while (_local4 < _arg3) {
if (_kl319._br526() == true){
_sa20 = _hb193._eq799(_is372._qx1094, 0, 0, 20, 20, _aj682._mb600, 0, 0, 0);
} else {
_sa20 = _hb193._eq799(_is372._qx1094, 20, 0, 15, 15, _aj682._mb600, 0, 0, 0);
};
_sa20._sf238(_arg1, (_arg2 + _kl319._ct732(0, 100)));
_sa20._xh805(260, 25, _kl319._ct732(0.0005, 0.1), 0, -2.5E-5, true);
_sa20._cg714(-20, -20, (700 + 20), (438 + 100));
_local4++;
};
}
public static function _mj902(_arg1:_ac916):void{
if (_arg1.state == 0){
if (_arg1.weight > _tb679.weight){
if (_arg1._no993 == true){
if (_arg1.x > _tb679.x){
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1.state = 4;
};
};
};
} else {
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1.state = 1;
};
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 1){
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.25));
if (_arg1._kn608 < -0.3){
_arg1._kn608 = -0.3;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(5E-5, 0.00025) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(5E-5, 0.00025) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
if (_arg1.state == 2){
_arg1._kn608 = (_arg1._kn608 * 0.95);
if (_arg1._kn608 >= _arg1._eh693){
_arg1._kn608 = _arg1._eh693;
_arg1.state = 0;
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 3){
} else {
if (_arg1.state == 4){
if (_arg1._st842(_tb679) < _kl319._ct732(130, 155)){
if (_arg1.x > _tb679.x){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.04));
if (_arg1._kn608 < -0.3){
_arg1._kn608 = -0.3;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(0.0001, 0.0004) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(0.0001, 0.0004) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
_arg1.state = 2;
};
};
};
};
};
};
if (_td1076._uy254(_arg1, _tb679) == true){
_vv237(_arg1);
};
}
public static function _ao362():void{
if (_fe383 == false){
if (_sh273 == 0){
if (_kl319._br526() == true){
_ht1053();
};
} else {
_sh273 = (_sh273 - _nw890._sv215);
if (_sh273 < 1){
_sh273 = 0;
};
};
} else {
_be12 = (_be12 + _nw890._sv215);
if (_be12 > 500){
_be12 = 0;
_wm552(-1);
if (_qr1019 == 0){
_qr1019 = 0;
_es453(-1);
};
};
};
_vw240 = (_vw240 + _nw890._sv215);
if (_vw240 > 6000){
_vw240 = 0;
_es453(2);
};
}
public static function _nx94():void{
_tw262 = _aj682._mx1095._sl788(_aj682.Parent, _is372._jw1073, (350 - (_is372._jw1073.width / 2)), (219 - (_is372._jw1073.height / 2)), 1, _mb409, _nw890._dn291, _nw890._dn291);
}
public static function _am464(_arg1:_ac916):void{
if (_arg1.state == 0){
if (_arg1.weight > _tb679.weight){
if (_arg1._no993 == true){
if (_arg1.x > _tb679.x){
if (_arg1._st842(_tb679) < _kl319._ct732(125, 230)){
_arg1.state = 4;
};
};
};
} else {
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1.state = 1;
};
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 1){
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.25));
if (_arg1._kn608 < -0.3){
_arg1._kn608 = -0.3;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(5E-5, 0.00025) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(5E-5, 0.00025) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
if (_arg1.state == 2){
_arg1._kn608 = (_arg1._kn608 * 0.95);
if (_arg1._kn608 >= _arg1._eh693){
_arg1._kn608 = _arg1._eh693;
_arg1.state = 0;
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 3){
} else {
if (_arg1.state == 4){
if (_arg1._st842(_tb679) < _kl319._ct732(130, 175)){
if (_arg1.x > _tb679.x){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.4));
if (_arg1._kn608 < -0.35){
_arg1._kn608 = -0.35;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(0.0001, 0.0005) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(0.0001, 0.0005) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
_arg1.state = 2;
};
};
};
};
};
};
if (_td1076._uy254(_arg1, _tb679) == true){
_vv237(_arg1);
};
}
public static function _vv237(_arg1:_ac916):void{
if (_tb679.weight > _arg1.weight){
_arg1._ti158 = false;
_arg1.type = 1;
_iq148 = _sg907[_arg1.id];
_arg1._uh1019 = _iq148._ec648;
_arg1._ss696 = 0;
_arg1._gj674(1, 1);
_arg1._rh513(-0.0045, 0, 1, 3, 1);
_arg1.state = 3;
_arg1._td1016 = 0;
_arg1._gy728(_qi252);
_tb679._mv39(_ys482, 0.02, 7, _nr1078);
_tb679._qd1117 = 1;
_gs626._jk353(irrcrpt("fkrps4", 3), 250);
} else {
if (_tb679.x < (_arg1.x + ((_arg1.width * _arg1._os959) / 2))){
_tb679._kp812(3, 0, 0, 0.004, 0.004, 0.004);
if (_tb679._fl824 == 0){
_vw240 = 0;
_wm552(-5);
_es453(-10);
if (_pd154 != 0){
_tb679._fl824 = 2000;
_tb679._rh513(-0.002, _tb679._os959, (_tb679._os959 + 0.2), 3, (_tb679._os959 + 0.2));
};
};
_gs626._jk353(irrcrpt("fpssh", 4), 500);
};
};
}
public static function _wm580():void{
_cb407 = 0.5;
var _local1:int;
while (_local1 < 205) {
_pe1107.push(((_cb407 / 205) * _local1));
_xf835.push(((_cb407 / 205) * _local1));
_xl272.push(0.01);
_local1++;
};
}
public static function _gk727(_arg1:_ac916):void{
if (_arg1.state == 0){
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1.state = 1;
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 1){
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.25));
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(5E-5, 0.0003) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(5E-5, 0.0003) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
if (_arg1.state == 2){
_arg1._kn608 = (_arg1._kn608 * 0.95);
if (_arg1._kn608 >= _arg1._eh693){
_arg1._kn608 = _arg1._eh693;
_arg1.state = 0;
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 3){
};
};
};
};
if (_td1076._uy254(_arg1, _tb679) == true){
_vv237(_arg1);
};
}
public static function _lj834():void{
_nw890._cd608 = (_nw890._cd608 + 1);
}
public static function _qi252(_arg1:_ac916):void{
var _local2:int;
var _local3:int;
_arg1.x = (((_tb679.x - (5 * _tb679._os959)) + ((_tb679.width * _tb679._os959) / 2)) + ((_arg1.width * _arg1._os959) / 2));
_arg1.y = _tb679.y;
if (_arg1._ay817 == 0){
_rg866();
_ba520((_arg1.weight * 1.5E-5));
_arg1._tk1104 = true;
_arg1._ti158 = false;
_nw890._dd733(int(((_arg1.weight * 1) * _qr1019)));
if (_tb679.scale > 1.25){
_tb679.scale = 1.25;
_nw869();
};
if (_arg1.id == 100){
_wm552(5);
};
if ((((_fe383 == true)) && ((_arg1._is950 > -1)))){
if (_cx824[_arg1._is950] > 0){
_cx824[_arg1._is950] = (_cx824[_arg1._is950] - 1);
_wm552(1);
_be12 = 0;
} else {
_wm552(-1.5);
};
_local2 = 0;
_local3 = 0;
while (_local3 < 7) {
_local2 = (_local2 + _cx824[_local3]);
_local3++;
};
if (_local2 == 0){
_fe383 = false;
};
};
};
}
public static function _yc286(_arg1:Event):void{
_gs626._do21(irrcrpt("hqnhp", 5));
}
public static function _ir525():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:_ac916;
var _local6:Number = (1000 - (_pd154 * 6.5));
if (_tb679.state == 0){
_local1 = (_nw890._ts67 - _tb679.x);
_local2 = ((_nw890._mm938 - 50) - _tb679.y);
_local3 = (_local1 / _local6);
_local4 = (_local2 / _local6);
_tb679.x = (_tb679.x + (_local3 * _nw890._sv215));
_tb679.y = (_tb679.y + (_local4 * _nw890._sv215));
if (_tb679._qd1117 == 0){
if (_tb679._gs702 < 0){
_tb679._gs702 = (-(Math.abs(_local3)) * 0.8);
} else {
_tb679._gs702 = (Math.abs(_local3) * 0.8);
};
};
_tb679._kn136(_nw890._sv215);
if (_tb679._fl824 != 0){
_local1 = (_tb679.x + ((_tb679.width * _tb679._os959) / 2));
_uw81((_local1 + _kl319._pc394(-10, 0)), _tb679.y, _kl319._pc394(1, 4));
_tb679._fl824 = (_tb679._fl824 - _nw890._sv215);
if (_tb679._fl824 < 1){
_tb679._fl824 = 0;
};
};
_tb679._lb440();
if (Math.abs(_local3) > 0.3){
_nv492((_tb679.x + ((_tb679.width * _tb679._os959) / 2)), _tb679.y, _kl319._pc394(1, 3));
};
} else {
if (_tb679.state == 1){
_tb679._kn136(_nw890._sv215);
if (_tb679._vk310 < 0){
_tb679._nq913(_is372._fp639, 0, 0, _is372._fp639.width, _is372._fp639.height);
_tb679._ti158 = false;
_tb679.state = 2;
};
_tb679._lb440();
} else {
if (_tb679.state == 2){
_tb679._kn136(_nw890._sv215);
_tb679._lb440();
if (_tb679.y < -(((_tb679.height * _tb679._vk310) / 2))){
_tq807 = 2;
_eg85();
};
};
};
};
}
public static function _gg771():void{
_tq807 = 1;
_yi911();
_tb679 = new _ac916();
_tb679._ty479(_is372._aa825, 0, 0, 100, 100, _aj682._mb600, 1);
_tb679._sc1048(_vc200, 0.05, 9, 1);
_tb679.scale = 0.35;
_tb679._qf618 = true;
_tb679._be1095(86, 42);
_nw869();
_tb679._sf238(0, (438 / 2));
_yd120 = _kl319._ct732(7000, 15000);
_nw890._wo66(0);
_cx824 = [0, 0, 0, 0, 0, 0, 0, 0];
_fe383 = false;
_pd154 = 100;
_qr1019 = 100;
_sh273 = _kl319._ct732(5000, 20000);
_vw240 = 0;
_be12 = 0;
_uu142 = 0;
_iv1114 = 0;
_px1050();
if (_uc168 == true){
_tb679.x = -1000;
_tb679._ti158 = false;
_uu142 = (1000 / 20);
_eu1113._hu957(irrcrpt("WGVIIR WEZIV QSHI. TVIWW IWG XS IBMX.", 4), 350, 219, true, 0.0005, 4000);
} else {
_lo683 = true;
_nw890._yg21._hu957(_hk743, 2000, 1);
};
}
public static function _ny1059():void{
_lj834();
}
public static function _ex503(_arg1:_ac916):void{
if (_arg1.state == 0){
if (_arg1.weight > _tb679.weight){
if (_arg1._no993 == true){
if (_arg1.x > _tb679.x){
if (_arg1._st842(_tb679) < _kl319._ct732(125, 160)){
_arg1.state = 4;
};
};
};
} else {
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1.state = 1;
};
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 1){
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.25));
if (_arg1._kn608 < -0.3){
_arg1._kn608 = -0.3;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(5E-5, 0.00025) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(5E-5, 0.00025) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
if (_arg1.state == 2){
_arg1._kn608 = (_arg1._kn608 * 0.95);
if (_arg1._kn608 >= _arg1._eh693){
_arg1._kn608 = _arg1._eh693;
_arg1.state = 0;
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 3){
} else {
if (_arg1.state == 4){
if (_arg1._st842(_tb679) < _kl319._ct732(130, 155)){
if (_arg1.x > _tb679.x){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.1));
if (_arg1._kn608 < -0.3){
_arg1._kn608 = -0.3;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(0.0001, 0.0005) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(0.0001, 0.0005) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
_arg1.state = 2;
};
};
};
};
};
};
if (_td1076._uy254(_arg1, _tb679) == true){
_vv237(_arg1);
};
}
public static function _bk377(_arg1:Event):void{
_gs626._do21(irrcrpt("dmjdl", 1));
_ur1050 = 0;
_ra1011._nm733(1, _cr967);
}
public static function _nv492(_arg1:Number, _arg2:Number, _arg3:int):void{
var _local4:int;
while (_local4 < _arg3) {
if (_kl319._br526() == true){
_sa20 = _xn771._eq799(_is372._qx1094, 35, 0, 10, 10, _aj682._mb600, 0, 0, 0);
} else {
_sa20 = _xn771._eq799(_is372._qx1094, 45, 0, 5, 5, _aj682._mb600, 0, 0, 0);
};
_sa20._sf238(_arg1, _arg2);
_sa20._xh805(270, 10, _kl319._ct732(0.001, 0.1), 0, -0.0001, true);
_sa20._cg714(-20, -20, (700 + 20), (438 + 20));
_local4++;
};
}
public static function _es453(_arg1:Number):void{
_pd154 = (_pd154 + _arg1);
if (_pd154 < 0){
_pd154 = 0;
if (_tb679.state == 0){
_sb17();
};
} else {
if (_pd154 > 100){
_pd154 = 100;
};
};
}
public static function _mb409(_arg1:Event):void{
_gs626._do21(irrcrpt("gpmgo", 4));
_kl319._mo327(irrcrpt("kwws://pxqvlhjdphv.frp", 3));
}
public static function _gw309(_arg1:_ac916):void{
if (_arg1.state == 0){
if (_arg1.weight > _tb679.weight){
if (_arg1._no993 == true){
if (_arg1.x > _tb679.x){
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1.state = 4;
};
};
};
} else {
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1.state = 1;
};
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 1){
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.2));
if (_arg1._kn608 < -0.3){
_arg1._kn608 = -0.3;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(5E-5, 0.0002) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(5E-5, 0.0002) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
if (_arg1.state == 2){
_arg1._kn608 = (_arg1._kn608 * 0.95);
if (_arg1._kn608 >= _arg1._eh693){
_arg1._kn608 = _arg1._eh693;
_arg1.state = 0;
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 3){
} else {
if (_arg1.state == 4){
if (_arg1._st842(_tb679) < _kl319._ct732(130, 155)){
if (_arg1.x > _tb679.x){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.03));
if (_arg1._kn608 < -0.3){
_arg1._kn608 = -0.3;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(0.0001, 0.0004) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(0.0001, 0.0004) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
_arg1.state = 2;
};
};
};
};
};
};
if (_td1076._uy254(_arg1, _tb679) == true){
_vv237(_arg1);
};
}
public static function _nw869():void{
_tb679.weight = (((_tb679._ug443 * _tb679._os959) * (_tb679._ai283 * _tb679._vk310)) * 1.2);
}
public static function _ba520(_arg1:Number=0.001):void{
_tb679.scale = (_tb679.scale + _arg1);
_nw869();
_px1050();
}
public static function _rn1077(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number):void{
_arg1[_arg2] = new BitmapData((_arg3.width * _arg4), (_arg3.height * _arg4), true, 0);
_kl319._eh697(_arg3, 0, 0, _arg1[_arg2], 1, _arg4, _arg4);
_arg1[(_arg2 + 1)] = new BitmapData((_arg3.height * _arg4), (_arg3.height * _arg4), true, 0);
_kl319._ul1002(_arg1[_arg2], 0, 0, 0, 0, (_arg3.height * _arg4), (_arg3.height * _arg4), _arg1[(_arg2 + 1)]);
}
public static function _sb17():void{
_tb679._ss696 = 0;
_tb679._ti158 = false;
_tb679._rl1118(-0.004, -(_tb679._vk310), _tb679._vk310, 3, _tb679._vk310);
_tb679.state = 1;
_tb679._wd1110(0, -0.025, 0, -1E-6, 0, false);
_nv492(_tb679.x, _tb679.y, 3);
}
public static function _ti647():void{
}
public static function _rg866():void{
var _local1:Number = (_tb679.x + ((_tb679.width * _tb679._os959) / 2));
var _local2:Number = _tb679.y;
var _local3:int = _kl319._pc394(2, 5);
var _local4:int;
while (_local4 < _local3) {
_sa20 = _xn771._eq799(_rd581[1], 0, 0, _is372._vk939.width, _is372._vk939.height, _aj682._mb600, 0, 0, 0);
_sa20._xk276(_rd581[1], _kl319._un210._vc1039(0.0005, 0.025), 30, 4, 0, _kl319._pc394(0, 25));
_sa20._sf238((_local1 + _kl319._ct732(-4, 4)), (_local2 + _kl319._ct732(-4, 4)));
_sa20._xh805(0, 90, _kl319._un210._vc1039(0.0025, 0.025), 0, -1E-5, false);
_sa20._xu725 = -3E-5;
_local4++;
};
}
public static function _ng354(_arg1:Event):void{
_gs626._do21(irrcrpt("gpmgo", 4));
_ur1050++;
if (_ur1050 < 5){
_ra1011._or715(_is372._yq1024);
};
if (_ur1050 == 2){
_kl319._ul1002(_is372._tl989, 10, 10, 0, 0, _is372._tl989.width, _is372._tl989.height, _ra1011._mb600, true);
} else {
if (_ur1050 == 3){
_kl319._ul1002(_is372._ss517, 10, 10, 0, 0, _is372._ss517.width, _is372._ss517.height, _ra1011._mb600, true);
} else {
if (_ur1050 == 4){
_cx824 = [0, 0, 0, 0, 0, 0, 0, 0];
_kl319._ul1002(_is372._ow893, 10, 10, 0, 0, _is372._ow893.width, _is372._ow893.height, _ra1011._mb600, true);
_tw262 = _ra1011._mx1095._mx1095[1];
_tw262._or715(_is372._yy766);
_tw262 = _ra1011._mx1095._mx1095[0];
_tw262._tk1104 = true;
_ra1011._mx1095._cq1118(1);
} else {
if (_ur1050 == 5){
_ra1011._nm733(1, _cr967);
};
};
};
};
}
public static function _wm930(_arg1:_ac916):void{
if (_arg1.state == 0){
if (_arg1.weight > _tb679.weight){
if (_arg1._no993 == true){
if (_arg1.x > _tb679.x){
if (_arg1._st842(_tb679) < _kl319._ct732(125, 200)){
_arg1.state = 4;
};
};
};
} else {
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1.state = 1;
};
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 1){
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.25));
if (_arg1._kn608 < -0.3){
_arg1._kn608 = -0.3;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(5E-5, 0.00025) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(5E-5, 0.00025) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
if (_arg1.state == 2){
_arg1._kn608 = (_arg1._kn608 * 0.95);
if (_arg1._kn608 >= _arg1._eh693){
_arg1._kn608 = _arg1._eh693;
_arg1.state = 0;
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 3){
} else {
if (_arg1.state == 4){
if (_arg1._st842(_tb679) < _kl319._ct732(130, 155)){
if (_arg1.x > _tb679.x){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.2));
if (_arg1._kn608 < -0.3){
_arg1._kn608 = -0.3;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(0.0001, 0.0005) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(0.0001, 0.0005) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
_arg1.state = 2;
};
};
};
};
};
};
if (_td1076._uy254(_arg1, _tb679) == true){
_vv237(_arg1);
};
}
public static function _lk1010(_arg1:BitmapData, _arg2:BitmapData, _arg3:int, _arg4:int, _arg5:Number, _arg6:Number, _arg7:Number):void{
var _local8:_iq1040 = new _iq1040();
_local8.Init(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7);
_sg907[_sg907.length] = _local8;
_ax48++;
}
public static function SubmitScoreDone():void{
_aj682._sd508();
_nw890._yg21._hu957(_og1078, 1000);
}
public static function _vw40(_arg1:_ac916):void{
if (_arg1.state == 0){
if (_arg1.weight > _tb679.weight){
if (_arg1._no993 == true){
if (_arg1.x > _tb679.x){
if (_arg1._st842(_tb679) < _kl319._ct732(80, 100)){
_arg1.state = 4;
};
};
};
} else {
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1.state = 1;
};
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 1){
if (_arg1._st842(_tb679) < _kl319._ct732(75, 125)){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.25));
if (_arg1._kn608 < -0.3){
_arg1._kn608 = -0.3;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(5E-5, 0.00025) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(5E-5, 0.00025) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
if (_arg1.state == 2){
_arg1._kn608 = (_arg1._kn608 * 0.95);
if (_arg1._kn608 >= _arg1._eh693){
_arg1._kn608 = _arg1._eh693;
_arg1.state = 0;
};
if (_arg1._fa846 != 0){
_arg1._fa846 = (_arg1._fa846 * 0.85);
if (Math.abs(_arg1._fa846) < 0.01){
_arg1._fa846 = 0;
};
};
} else {
if (_arg1.state == 3){
} else {
if (_arg1.state == 4){
if (_arg1._st842(_tb679) < _kl319._ct732(130, 155)){
if (_arg1.x > _tb679.x){
_arg1._kn608 = (_arg1._kn608 * _kl319._ct732(1.025, 1.05));
if (_arg1._kn608 < -0.3){
_arg1._kn608 = -0.3;
};
if (_arg1.y > _tb679.y){
_arg1._fa846 = (_arg1._fa846 - (_kl319._ct732(0.0001, 0.0004) * _nw890._sv215));
} else {
_arg1._fa846 = (_arg1._fa846 + (_kl319._ct732(0.0001, 0.0004) * _nw890._sv215));
};
} else {
_arg1.state = 2;
};
} else {
_arg1.state = 2;
};
};
};
};
};
};
if (_td1076._uy254(_arg1, _tb679) == true){
_vv237(_arg1);
};
}
public static function _cr967():void{
_cx824 = [0, 0, 0, 0, 0, 0, 0, 0];
_ra1011._yl750();
_lo683 = false;
}
public static function _qg325(_arg1:Event):void{
_gs626._do21(irrcrpt("enkem", 2));
}
public static function _xs720():void{
var _local1:int;
while (_local1 < 205) {
_xf835[_local1] = (_xf835[_local1] + _xl272[_local1]);
_pe1107[_local1] = (_pe1107[_local1] + _xf835[_local1]);
if (_xl272[_local1] < 0){
if (_xf835[_local1] < -(_cb407)){
_xf835[_local1] = -(_cb407);
_xl272[_local1] = -(_xl272[_local1]);
};
};
if (_xl272[_local1] > 0){
if (_xf835[_local1] > _cb407){
_xf835[_local1] = _cb407;
_xl272[_local1] = -(_xl272[_local1]);
};
};
_kl319._ul1002(_is372._jo230, (_if390 + _pe1107[_local1]), (233 + _local1), 0, _local1, 700, 1, _aj682._mb600, false);
_kl319._ul1002(_is372._jo230, ((_if390 + 700) + _pe1107[_local1]), (233 + _local1), 0, _local1, 700, 1, _aj682._mb600, false);
_local1++;
};
}
public static function _nk1088(_arg1:Event):void{
}
public static function _vx867():void{
_kl319._ul1002(_is372._rj303, 0, 0, 0, 0, 700, 44, _aj682._mb600, false);
_kl319._ul1002(_is372._uo974, 136, 15, 0, 0, int(_pd154), 15, _aj682._mb600, false);
_kl319._ul1002(_is372._uo974, 267, 15, 0, 0, int(_qr1019), 15, _aj682._mb600, false);
if (_lo683 == true){
if (_ur1050 == 2){
_kl319._ul1002(_is372._dy920, 26, 54, 0, 0, _is372._dy920.width, _is372._dy920.height, _aj682._mb600);
} else {
if (_ur1050 == 3){
_kl319._ul1002(_is372._pr425, 479, 54, 0, 0, _is372._pr425.width, _is372._pr425.height, _aj682._mb600);
_tq624 = (_tq624 + _nw890._sv215);
if (_tq624 > 250){
_tq624 = 0;
_dt27++;
if (_dt27 == 7){
_dt27 = 0;
};
if (_dt27 == 0){
_cx824 = [1, 0, 0, 0, 0, 0, 0, 0];
} else {
if (_dt27 == 1){
_cx824 = [0, 1, 0, 0, 0, 0, 0, 0];
} else {
if (_dt27 == 2){
_cx824 = [0, 0, 1, 0, 0, 0, 0, 0];
} else {
if (_dt27 == 3){
_cx824 = [0, 0, 0, 1, 0, 0, 0, 0];
} else {
if (_dt27 == 4){
_cx824 = [0, 0, 0, 0, 1, 0, 0, 0];
} else {
if (_dt27 == 5){
_cx824 = [0, 0, 0, 0, 0, 1, 0, 0];
} else {
if (_dt27 == 6){
_cx824 = [0, 0, 0, 0, 0, 0, 1, 0];
};
};
};
};
};
};
};
};
};
};
};
var _local1:int;
while (_local1 < 7) {
if (_cx824[_local1] > 0){
_kl319._ul1002(_is372._le1050, (386 + (_local1 * 44)), 0, (_local1 * 44), 44, 44, 44, _aj682._mb600, false);
} else {
_kl319._ul1002(_is372._le1050, (386 + (_local1 * 44)), 0, (_local1 * 44), 0, 44, 44, _aj682._mb600, false);
};
_local1++;
};
_bm1110._ap129._xf275(_aj682._mb600, _nw890._kj790, 4, 13, false);
}
public static function _wm552(_arg1:Number):void{
_qr1019 = (_qr1019 + _arg1);
if (_qr1019 < 0){
_qr1019 = 0;
} else {
if (_qr1019 > 100){
_qr1019 = 100;
_es453(0.5);
};
};
}
public static function _ss898():void{
}
}
}//package
Section 57
//_iq1040 (_iq1040)
package {
import flash.display.*;
public class _iq1040 {
public var _tn115:Number;// = 0
public var width:int;
public var height:int;
public var _vy163:BitmapData;
public var weight:Number;// = 0
public var _ec648:BitmapData;
public var _nj867:Number;// = 0
public function _iq1040():void{
}
public function Init(_arg1:BitmapData, _arg2:BitmapData, _arg3:int, _arg4:int, _arg5:Number, _arg6:Number, _arg7:Number):void{
_vy163 = _arg1;
_ec648 = _arg2;
width = _arg3;
height = _arg4;
weight = _arg5;
_nj867 = _arg6;
_tn115 = _arg7;
}
}
}//package
Section 58
//_is372 (_is372)
package {
import flash.display.*;
import flash.media.*;
public class _is372 {
private static var _ao344:Class = _is372__ao344;
private static var _fq329:Class = _is372__fq329;
public static var _ln215:BitmapData = new _dl685().bitmapData;
private static var _tp755:Class = _is372__tp755;
public static var _nt725:BitmapData = new _tp755().bitmapData;
private static var _wq499:Class = _is372__wq499;
private static var _qj588:Class = _is372__qj588;
public static var _dl71:BitmapData = new _nl101().bitmapData;
private static var _aw640:Class = _is372__aw640;
private static var font:Class = _is372_font;
private static var _ya898:Class = _is372__ya898;
private static var _fp813:Class = _is372__fp813;
private static var title:Class = _is372_title;
private static var _sq820:Class = _is372__sq820;
private static var start:Class = _is372_start;
public static var _vu49:BitmapData = new _qp362().bitmapData;
private static var _kh1001:Class = _is372__kh1001;
private static var _um81:Class = _is372__um81;
private static var _nl101:Class = _is372__nl101;
public static var _dy920:BitmapData = new _ss717().bitmapData;
public static var _wg499:BitmapData = new _xl1075().bitmapData;
public static var _iv212:BitmapData = new _nv422().bitmapData;
public static var _tl989:BitmapData = new _ya898().bitmapData;
public static var _vk939:BitmapData = new _ci180().bitmapData;
public static var _ee242:BitmapData = new _sq820().bitmapData;
public static var _ei169:BitmapData = new _kh1001().bitmapData;
private static var _np286:Class = _is372__np286;
private static var _qp362:Class = _is372__qp362;
public static var _cn101:BitmapData = new _fp813().bitmapData;
private static var _xk420:Class = _is372__xk420;
public static var _hp77:BitmapData = new _ty57().bitmapData;
private static var _gp892:Class = _is372__gp892;
private static var _ty57:Class = _is372__ty57;
private static var _lj598:Class = _is372__lj598;
public static var _yq1024:BitmapData = new _pj872().bitmapData;
private static var _le108:Class = _is372__le108;
public static var _hp340:BitmapData = new start().bitmapData;
private static var _ff282:Class = _is372__ff282;
private static var _wd213:Class = _is372__wd213;
private static var _lk572:Class = _is372__lk572;
private static var next:Class = _is372_next;
private static var _sg67:Class = _is372__sg67;
public static var _rl34:BitmapData = new _ml134().bitmapData;
private static var _yx427:Class = _is372__yx427;
public static var _uo974:BitmapData = new _te1114().bitmapData;
public static var _tf681:BitmapData = new _gp892().bitmapData;
public static var _mu160:BitmapData = new _hd179().bitmapData;
private static var _cw628:Class = _is372__cw628;
private static var _ck542:Class = _is372__ck542;
private static var _am202:Class = _is372__am202;
public static var _ci120:BitmapData = new _sg67().bitmapData;
public static var _mu966:BitmapData = new _ij11().bitmapData;
public static var _fp639:BitmapData = new _pg59().bitmapData;
private static var _ho77:Class = _is372__ho77;
public static var _le1050:BitmapData = new _ho77().bitmapData;
private static var _tt836:Class = _is372__tt836;
private static var _if497:Class = _is372__if497;
public static var _yy766:BitmapData = new _is682().bitmapData;
public static var _kx285:BitmapData = new _np286().bitmapData;
public static var _et642:BitmapData = new background().bitmapData;
public static var _jw1073:BitmapData = new _qj588().bitmapData;
public static var _yh316:BitmapData = new _am202().bitmapData;
public static var _kx601:BitmapData = new _wq499().bitmapData;
private static var _dl685:Class = _is372__dl685;
public static var _qu297:BitmapData = new _tt836().bitmapData;
private static var background:Class = _is372_background;
private static var _ve645:Class = _is372__ve645;
private static var _co917:Class = _is372__co917;
private static var _vm1045:Class = _is372__vm1045;
private static var _id999:Class = _is372__id999;
public static var _wv304:BitmapData = new _yl1057().bitmapData;
private static var _un301:Class = _is372__un301;
public static var _pr425:BitmapData = new _cw628().bitmapData;
public static var _rj303:BitmapData = new _lk572().bitmapData;
public static var _li610:BitmapData = new _rc368().bitmapData;
public static var _kd803:BitmapData = new _yx427().bitmapData;
private static var _ss717:Class = _is372__ss717;
public static var _mi893:BitmapData = new _fq329().bitmapData;
private static var _is682:Class = _is372__is682;
public static var _iy667:BitmapData = new _xk420().bitmapData;
private static var _xl1075:Class = _is372__xl1075;
public static var _gq428:BitmapData = new _ve645().bitmapData;
public static var _ho965:BitmapData = new _vm1045().bitmapData;
private static var _te1114:Class = _is372__te1114;
private static var _hd179:Class = _is372__hd179;
private static var _ml134:Class = _is372__ml134;
public static var _aa825:BitmapData = new _id999().bitmapData;
private static var _kr78:Class = _is372__kr78;
public static var _ow893:BitmapData = new _nt347().bitmapData;
private static var _rc368:Class = _is372__rc368;
public static var _qx1094:BitmapData = new bubbles().bitmapData;
private static var bubbles:Class = _is372_bubbles;
private static var _nt347:Class = _is372__nt347;
public static var _af165:BitmapData = new _kj386().bitmapData;
public static var _ok215:BitmapData = new title().bitmapData;
public static var _yh102:BitmapData = new _ao344().bitmapData;
public static var _pw341:BitmapData = new _um81().bitmapData;
public static var _xg219:BitmapData = new _qg708().bitmapData;
public static var _bw625:BitmapData = new _ed215().bitmapData;
public static var _rt231:BitmapData = new _if497().bitmapData;
public static var _vo466:BitmapData = new _co917().bitmapData;
private static var _ob645:Class = _is372__ob645;
public static var _xl474:BitmapData = new _ck542().bitmapData;
public static var _ig826:BitmapData = new _ff282().bitmapData;
private static var _qg708:Class = _is372__qg708;
public static var _jo230:BitmapData = new _un301().bitmapData;
private static var _nv422:Class = _is372__nv422;
public static var _js952:BitmapData = new _aw640().bitmapData;
public static var _bf662:BitmapData = new _kr78().bitmapData;
private static var _yl1057:Class = _is372__yl1057;
public static var _ad567:BitmapData = new _yn585().bitmapData;
private static var _aa174:Class = _is372__aa174;
private static var _pg59:Class = _is372__pg59;
public static var _ss517:BitmapData = new _wd213().bitmapData;
public static var _gn749:BitmapData = new _aa174().bitmapData;
private static var _yn585:Class = _is372__yn585;
public static var _yd1061:BitmapData = new next().bitmapData;
private static var _ci180:Class = _is372__ci180;
private static var _kj386:Class = _is372__kj386;
public static var _eb156:BitmapData = new _ob645().bitmapData;
private static var _ed215:Class = _is372__ed215;
public static var _dg123:BitmapData = new _lj598().bitmapData;
private static var _kd734:Class = _is372__kd734;
private static var _pj872:Class = _is372__pj872;
public static var _eo570:BitmapData = new _le108().bitmapData;
private static var _ij11:Class = _is372__ij11;
public static var _cu718:BitmapData = new _kd734().bitmapData;
public static var _tp610:BitmapData = new _dj1080().bitmapData;
private static var _dj1080:Class = _is372__dj1080;
public static var _vl664:BitmapData = new font().bitmapData;
}
}//package
Section 59
//_is372__aa174 (_is372__aa174)
package {
import mx.core.*;
public class _is372__aa174 extends BitmapAsset {
}
}//package
Section 60
//_is372__am202 (_is372__am202)
package {
import mx.core.*;
public class _is372__am202 extends BitmapAsset {
}
}//package
Section 61
//_is372__ao344 (_is372__ao344)
package {
import mx.core.*;
public class _is372__ao344 extends BitmapAsset {
}
}//package
Section 62
//_is372__aw640 (_is372__aw640)
package {
import mx.core.*;
public class _is372__aw640 extends BitmapAsset {
}
}//package
Section 63
//_is372__ci180 (_is372__ci180)
package {
import mx.core.*;
public class _is372__ci180 extends BitmapAsset {
}
}//package
Section 64
//_is372__ck542 (_is372__ck542)
package {
import mx.core.*;
public class _is372__ck542 extends BitmapAsset {
}
}//package
Section 65
//_is372__co917 (_is372__co917)
package {
import mx.core.*;
public class _is372__co917 extends BitmapAsset {
}
}//package
Section 66
//_is372__cw628 (_is372__cw628)
package {
import mx.core.*;
public class _is372__cw628 extends BitmapAsset {
}
}//package
Section 67
//_is372__dj1080 (_is372__dj1080)
package {
import mx.core.*;
public class _is372__dj1080 extends BitmapAsset {
}
}//package
Section 68
//_is372__dl685 (_is372__dl685)
package {
import mx.core.*;
public class _is372__dl685 extends BitmapAsset {
}
}//package
Section 69
//_is372__ed215 (_is372__ed215)
package {
import mx.core.*;
public class _is372__ed215 extends BitmapAsset {
}
}//package
Section 70
//_is372__ff282 (_is372__ff282)
package {
import mx.core.*;
public class _is372__ff282 extends BitmapAsset {
}
}//package
Section 71
//_is372__fp813 (_is372__fp813)
package {
import mx.core.*;
public class _is372__fp813 extends BitmapAsset {
}
}//package
Section 72
//_is372__fq329 (_is372__fq329)
package {
import mx.core.*;
public class _is372__fq329 extends BitmapAsset {
}
}//package
Section 73
//_is372__gp892 (_is372__gp892)
package {
import mx.core.*;
public class _is372__gp892 extends BitmapAsset {
}
}//package
Section 74
//_is372__hd179 (_is372__hd179)
package {
import mx.core.*;
public class _is372__hd179 extends BitmapAsset {
}
}//package
Section 75
//_is372__ho77 (_is372__ho77)
package {
import mx.core.*;
public class _is372__ho77 extends BitmapAsset {
}
}//package
Section 76
//_is372__id999 (_is372__id999)
package {
import mx.core.*;
public class _is372__id999 extends BitmapAsset {
}
}//package
Section 77
//_is372__if497 (_is372__if497)
package {
import mx.core.*;
public class _is372__if497 extends BitmapAsset {
}
}//package
Section 78
//_is372__ij11 (_is372__ij11)
package {
import mx.core.*;
public class _is372__ij11 extends BitmapAsset {
}
}//package
Section 79
//_is372__is682 (_is372__is682)
package {
import mx.core.*;
public class _is372__is682 extends BitmapAsset {
}
}//package
Section 80
//_is372__kd734 (_is372__kd734)
package {
import mx.core.*;
public class _is372__kd734 extends BitmapAsset {
}
}//package
Section 81
//_is372__kh1001 (_is372__kh1001)
package {
import mx.core.*;
public class _is372__kh1001 extends BitmapAsset {
}
}//package
Section 82
//_is372__kj386 (_is372__kj386)
package {
import mx.core.*;
public class _is372__kj386 extends BitmapAsset {
}
}//package
Section 83
//_is372__kr78 (_is372__kr78)
package {
import mx.core.*;
public class _is372__kr78 extends BitmapAsset {
}
}//package
Section 84
//_is372__le108 (_is372__le108)
package {
import mx.core.*;
public class _is372__le108 extends BitmapAsset {
}
}//package
Section 85
//_is372__lj598 (_is372__lj598)
package {
import mx.core.*;
public class _is372__lj598 extends BitmapAsset {
}
}//package
Section 86
//_is372__lk572 (_is372__lk572)
package {
import mx.core.*;
public class _is372__lk572 extends BitmapAsset {
}
}//package
Section 87
//_is372__ml134 (_is372__ml134)
package {
import mx.core.*;
public class _is372__ml134 extends BitmapAsset {
}
}//package
Section 88
//_is372__nl101 (_is372__nl101)
package {
import mx.core.*;
public class _is372__nl101 extends BitmapAsset {
}
}//package
Section 89
//_is372__np286 (_is372__np286)
package {
import mx.core.*;
public class _is372__np286 extends BitmapAsset {
}
}//package
Section 90
//_is372__nt347 (_is372__nt347)
package {
import mx.core.*;
public class _is372__nt347 extends BitmapAsset {
}
}//package
Section 91
//_is372__nv422 (_is372__nv422)
package {
import mx.core.*;
public class _is372__nv422 extends BitmapAsset {
}
}//package
Section 92
//_is372__ob645 (_is372__ob645)
package {
import mx.core.*;
public class _is372__ob645 extends BitmapAsset {
}
}//package
Section 93
//_is372__pg59 (_is372__pg59)
package {
import mx.core.*;
public class _is372__pg59 extends BitmapAsset {
}
}//package
Section 94
//_is372__pj872 (_is372__pj872)
package {
import mx.core.*;
public class _is372__pj872 extends BitmapAsset {
}
}//package
Section 95
//_is372__qg708 (_is372__qg708)
package {
import mx.core.*;
public class _is372__qg708 extends BitmapAsset {
}
}//package
Section 96
//_is372__qj588 (_is372__qj588)
package {
import mx.core.*;
public class _is372__qj588 extends BitmapAsset {
}
}//package
Section 97
//_is372__qp362 (_is372__qp362)
package {
import mx.core.*;
public class _is372__qp362 extends BitmapAsset {
}
}//package
Section 98
//_is372__rc368 (_is372__rc368)
package {
import mx.core.*;
public class _is372__rc368 extends BitmapAsset {
}
}//package
Section 99
//_is372__sg67 (_is372__sg67)
package {
import mx.core.*;
public class _is372__sg67 extends BitmapAsset {
}
}//package
Section 100
//_is372__sq820 (_is372__sq820)
package {
import mx.core.*;
public class _is372__sq820 extends BitmapAsset {
}
}//package
Section 101
//_is372__ss717 (_is372__ss717)
package {
import mx.core.*;
public class _is372__ss717 extends BitmapAsset {
}
}//package
Section 102
//_is372__te1114 (_is372__te1114)
package {
import mx.core.*;
public class _is372__te1114 extends BitmapAsset {
}
}//package
Section 103
//_is372__tp755 (_is372__tp755)
package {
import mx.core.*;
public class _is372__tp755 extends BitmapAsset {
}
}//package
Section 104
//_is372__tt836 (_is372__tt836)
package {
import mx.core.*;
public class _is372__tt836 extends BitmapAsset {
}
}//package
Section 105
//_is372__ty57 (_is372__ty57)
package {
import mx.core.*;
public class _is372__ty57 extends BitmapAsset {
}
}//package
Section 106
//_is372__um81 (_is372__um81)
package {
import mx.core.*;
public class _is372__um81 extends BitmapAsset {
}
}//package
Section 107
//_is372__un301 (_is372__un301)
package {
import mx.core.*;
public class _is372__un301 extends BitmapAsset {
}
}//package
Section 108
//_is372__wd213 (_is372__wd213)
package {
import mx.core.*;
public class _is372__wd213 extends BitmapAsset {
}
}//package
Section 109
//_is372__ve645 (_is372__ve645)
package {
import mx.core.*;
public class _is372__ve645 extends BitmapAsset {
}
}//package
Section 110
//_is372__vm1045 (_is372__vm1045)
package {
import mx.core.*;
public class _is372__vm1045 extends BitmapAsset {
}
}//package
Section 111
//_is372__wq499 (_is372__wq499)
package {
import mx.core.*;
public class _is372__wq499 extends BitmapAsset {
}
}//package
Section 112
//_is372__xk420 (_is372__xk420)
package {
import mx.core.*;
public class _is372__xk420 extends BitmapAsset {
}
}//package
Section 113
//_is372__xl1075 (_is372__xl1075)
package {
import mx.core.*;
public class _is372__xl1075 extends BitmapAsset {
}
}//package
Section 114
//_is372__ya898 (_is372__ya898)
package {
import mx.core.*;
public class _is372__ya898 extends BitmapAsset {
}
}//package
Section 115
//_is372__yl1057 (_is372__yl1057)
package {
import mx.core.*;
public class _is372__yl1057 extends BitmapAsset {
}
}//package
Section 116
//_is372__yn585 (_is372__yn585)
package {
import mx.core.*;
public class _is372__yn585 extends BitmapAsset {
}
}//package
Section 117
//_is372__yx427 (_is372__yx427)
package {
import mx.core.*;
public class _is372__yx427 extends BitmapAsset {
}
}//package
Section 118
//_is372_background (_is372_background)
package {
import mx.core.*;
public class _is372_background extends BitmapAsset {
}
}//package
Section 119
//_is372_bubbles (_is372_bubbles)
package {
import mx.core.*;
public class _is372_bubbles extends BitmapAsset {
}
}//package
Section 120
//_is372_font (_is372_font)
package {
import mx.core.*;
public class _is372_font extends BitmapAsset {
}
}//package
Section 121
//_is372_next (_is372_next)
package {
import mx.core.*;
public class _is372_next extends BitmapAsset {
}
}//package
Section 122
//_is372_start (_is372_start)
package {
import mx.core.*;
public class _is372_start extends BitmapAsset {
}
}//package
Section 123
//_is372_title (_is372_title)
package {
import mx.core.*;
public class _is372_title extends BitmapAsset {
}
}//package
Section 124
//_ng325 (_ng325)
package {
import flash.events.*;
import flash.display.*;
import classes.*;
import mochi.*;
public class _ng325 {
private static var Parent:Sprite;
public static var _tw262:_mc269;
public static var _dq703:Number = 50;
public static var _nu402:Function;
public static var _hb193:_qt1119;
public static var _ao696:_mc269;
public static var _aj682:_qi1006;
public static var _sa20:_ac916;
public static var _bm930:_mc269;
public static var _ks994:BitmapData;
public static var _xy286:int;
public static var _kh782:_qt1119;
public static var _ul167:int;
public static function ShowScoresDone():void{
_aj682._sd508();
}
public static function _ps32(_arg1:Event):void{
}
public static function _kp559(_arg1:Event):void{
_gs626._do21(irrcrpt("folfn", 3));
if (_ao696.state == 1){
_ao696.state = 0;
_qm351._lh94();
_qm351._ri26(false);
_ao696._or715(_is372._ig826);
} else {
_ao696.state = 1;
_qm351._ri26(true);
_qm351._he168(irrcrpt("vkvng", 2), 1);
_qm351._do21(irrcrpt("wlwoh", 3));
_ao696._or715(_is372._ee242);
};
_xy286 = _ao696.state;
}
public static function _nx94():void{
}
public static function _fm787(_arg1:Event):void{
_gs626._do21(irrcrpt("enkem", 2));
_nw890._yg21._xj129();
_hu153._uc168 = true;
_og1078();
}
public static function _rr301(_arg1:Event):void{
_gs626._do21(irrcrpt("dmjdl", 1));
_aj682._lv235();
MochiMedia.ShowMochiScores(ShowScoresDone, irrcrpt("c74c9480808289eg", 1));
}
private static function _lv976():void{
_aj682._yl750();
_hu153._gx1017();
}
public static function _yi911():void{
_kh782._yi911();
}
public static function _gx1017():void{
_wt562._qu380();
_kl319._un210._gu424 = _kl319._un210._qn245(100, 100000);
if (_nw890._qp39 == false){
_nw890._qr892 = _nw890._go771;
} else {
_hb193._yi911();
_aj682._mx1095._yi911();
_aj682._yl750();
_nw890._ai652(_aj682.Parent);
_uo209();
_nw890._qr892 = _kn136;
_aj682._hg170(1, _ny1059);
_qm351._hg170(irrcrpt("vkvng", 2));
};
}
public static function _kn136():void{
_aj682._pj778();
_aj682._or715(_is372._ok215);
_hb193._ui742(_nw890._sv215);
_aj682._es392();
if (_wt562._fc590 > 0){
_wt562._tm751(_wt562._fc590);
};
if (_kl319._br526(2) == true){
_ti332(_kl319._ct732(0, 699), 437, _kl319._pc394(5, 30));
};
}
public static function _mb409(_arg1:Event):void{
_gs626._do21(irrcrpt("dmjdl", 1));
_kl319._mo327(irrcrpt("jvvr://owpukgicogu.eqo", 2));
}
public static function _ti647():void{
}
public static function _uo209():void{
var _local1:BitmapData;
_tw262 = _aj682._mx1095._sl788(_aj682.Parent, _is372._ho965, 0, -197, 1, _uy224, _nw890._dn291, _nw890._dn291);
_tw262 = _aj682._mx1095._sl788(_aj682.Parent, _is372._hp340, 0, 60, 1, _nb264, _nw890._pe976, _nw890._du877);
_tw262 = _aj682._mx1095._sl788(_aj682.Parent, _is372._qu297, -150, 20, 1, _rr301, _nw890._pe976, _nw890._du877);
_tw262 = _aj682._mx1095._sl788(_aj682.Parent, _is372._wv304, 150, 20, 1, _fm787, _nw890._pe976, _nw890._du877);
_tw262 = _aj682._mx1095._sl788(_aj682.Parent, _is372._bf662, -260, 135, 1, _mb409, _nw890._pe976, _nw890._du877);
_tw262 = _aj682._mx1095._sl788(_aj682.Parent, _is372._vu49, 260, 135, 1, _qg325, _nw890._pe976, _nw890._du877);
_local1 = _is372._wg499;
if (_ul167 == 0){
_local1 = _is372._xg219;
};
_bm930 = _aj682._mx1095._sl788(_aj682.Parent, _is372._wg499, -330, (-180 - (_local1.height / 2)), 1, _qf61, _nw890._dn291, _nw890._dn291);
_bm930.state = _ul167;
_local1 = _is372._ee242;
if (_xy286 == 0){
_local1 = _is372._ig826;
};
_ao696 = _aj682._mx1095._sl788(_aj682.Parent, _local1, -330, (-150 - (_local1.height / 2)), 1, _kp559, _nw890._dn291, _nw890._dn291);
_ao696.state = _xy286;
}
public static function _yc286(_arg1:Event):void{
_gs626._do21(irrcrpt("folfn", 3));
_kl319._mo327(irrcrpt("lxxt://qyrwmikeqiw.gsq", 4));
}
public static function _qf61(_arg1:Event):void{
_gs626._do21(irrcrpt("gpmgo", 4));
if (_bm930.state == 1){
_bm930.state = 0;
_gs626._ri26(false);
_bm930._or715(_is372._xg219);
} else {
_bm930.state = 1;
_gs626._ri26(true);
_bm930._or715(_is372._wg499);
};
_ul167 = _bm930.state;
}
public static function Init(_arg1:Sprite):void{
Parent = _arg1;
_aj682 = new _qi1006();
_aj682.Init(Parent, _nw890._oa1092, _nw890._vq165);
_aj682._or715(_is372._ok215);
_aj682._yl750();
if (_nw890._qp39 == false){
_aj682._gu886();
_aj682._or715(_is372._ad567);
} else {
_nx94();
_hb193 = new _qt1119();
_ul167 = 1;
_xy286 = 1;
};
}
public static function _uy224(_arg1:Event):void{
_gs626._do21(irrcrpt("gpmgo", 4));
_kl319._mo327(irrcrpt("jvvr://owpukgicogu.eqo", 2));
}
public static function _ny1059():void{
}
public static function _og1078():void{
_aj682._nm733(1, _lv976);
_qm351._nm733(irrcrpt("wlwoh", 3));
_nu402 = _nw890._go771;
_nw890._qr892 = _nw890._go771;
}
public static function _qg325(_arg1:Event):void{
_gs626._do21(irrcrpt("hqnhp", 5));
_kl319._mo327(irrcrpt("iuuq://nvotjfhbnft.dpn", 1));
}
public static function _nk1088(_arg1:Event):void{
}
public static function _nb264(_arg1:Event):void{
_gs626._do21(irrcrpt("enkem", 2));
_nw890._yg21._xj129();
_hu153._uc168 = false;
_og1078();
}
public static function _ti332(_arg1:Number, _arg2:Number, _arg3:int):void{
var _local4:int;
while (_local4 < _arg3) {
if (_kl319._br526() == true){
_sa20 = _hb193._eq799(_is372._qx1094, 0, 0, 20, 20, _aj682._mb600, 0, 0, 0);
} else {
_sa20 = _hb193._eq799(_is372._qx1094, 20, 0, 15, 15, _aj682._mb600, 0, 0, 0);
};
_sa20._sf238(_arg1, (_arg2 + _kl319._ct732(0, 100)));
_sa20._xh805(270, 25, _kl319._ct732(0.0005, 0.1), 0, -2.5E-5, true);
_sa20._cg714(-20, -20, (700 + 20), (438 + 100));
_local4++;
};
}
public static function _ss898():void{
}
}
}//package
Section 125
//_nw890 (_nw890)
package {
import flash.events.*;
import flash.display.*;
import classes.*;
import com.urbansquall.display.*;
import mochi.*;
import flash.net.*;
import flash.geom.*;
import caurina.transitions.*;
public class _nw890 extends InitializedSprite {
public static var _mx199:int;
public static var _ft316:Sprite;
public static var _cl472:String = irrcrpt("UwtojhySfrj", 5);
public static var _qr892:Function;
public static var _sv215:Number;
public static var _vq165:int = 438;
public static var _xt834:int;
public static var _tq807:int;
public static var _qp39:Boolean;
public static var _ai135:int;
public static var _gn107:Number;
public static var _cl529:Boolean;
public static var _jt929:Stage;
public static var _if622:_na190 = new _na190();
public static var _mm938:Number;
public static var _tk15:int = 35;
public static var _yg21:_bx637;
public static var _cd608:int;
public static var _kj790:String;
public static var _uy989:String;
public static var _ts67:Number;
public static var _oa1092:int = 700;
public static var _ya466:SharedObject = SharedObject.getLocal(_cl472);
public static var _mi237:MochiDigits = new MochiDigits();
public function _nw890():void{
}
override protected function Init():void{
_jt929 = stage;
_jt929.frameRate = _tk15;
_jt929.quality = StageQuality.MEDIUM;
_jt929.stageFocusRect = false;
_gf56();
_yg21 = new _bx637();
_wt562.Init(_jt929);
_bm1110.Init();
_ak846.Init();
_ft316 = new Sprite();
_ft316.x = 0;
_ft316.y = 0;
_ft316.scrollRect = new Rectangle(0, 0, _oa1092, _vq165);
_jt929.addChild(_ft316);
_dm238();
}
private function _gf56():void{
var _local1:String = _lq333();
_qp39 = true;
}
private function _up577(_arg1:Event):void{
_sv215 = _yt92._px579();
_ts67 = mouseX;
_mm938 = mouseY;
_yg21._kn136(_sv215);
if (_gn107 > 0){
_gn107 = (_gn107 - _sv215);
if (_gn107 < 1){
_gn107 = 0;
};
} else {
_qr892();
};
_gs626._bc1118();
_wt562._cx168 = false;
}
private function _lq333():String{
var _local2:String;
var _local1:String = this.root.loaderInfo.url;
_local2 = _local1;
return (_local2.toLowerCase());
}
private function _dm238():void{
MochiMedia.MochiServicesConnect(_jt929, irrcrpt("dg5efdgei96926i2", 3));
_sh1019();
_yt92._wr693();
_ps404._nc310();
_yt92._do330((1000 / 30));
_jt929.addEventListener(Event.ENTER_FRAME, _up577);
_ng325._gx1017();
}
public static function _dn291(_arg1:Event):void{
}
private static function _sh1019():void{
_jt929.quality = StageQuality.BEST;
_ng325.Init(_ft316);
_hu153.Init(_ft316);
_jt929.quality = StageQuality.MEDIUM;
}
public static function _rs616(_arg1:BitmapData, _arg2:Number, _arg3:Number):void{
_if622.draw(_arg1, ("" + _ps404._bk487()), _arg2, _arg3);
}
public static function _ry579(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number):void{
_if622.draw(_arg1, _arg2, _arg3, _arg4);
}
public static function _ai652(_arg1:InteractiveObject):void{
_jt929.focus = _arg1;
}
public static function _pe976(_arg1:Event):void{
var _local2:String = irrcrpt("hdvhRxwHodvwlf", 3);
Tweener.addTween(_arg1.currentTarget, {scale:1.2, time:0.8, transition:_local2});
}
public static function _wl918(_arg1:_qi1006):void{
_arg1._mx1095._yi911();
_arg1.Parent.visible = false;
}
public static function _go771():void{
}
public static function _du877(_arg1:Event):void{
var _local2:String = irrcrpt("iewiSyxIpewxmg", 4);
Tweener.addTween(_arg1.currentTarget, {scale:1, time:0.8, transition:_local2});
}
public static function _dd733(_arg1:Number):void{
_mi237.addValue(_arg1);
_kj790 = ("" + _kl319._nm849(_mi237.toString(), 7));
}
public static function _wo66(_arg1:Number=0):void{
_mi237.value = _arg1;
_dd733(0);
}
}
}//package
Section 126
//irrcrpt (irrcrpt)
package {
public function irrcrpt(_arg1:String, _arg2:int):String{
var _local5:int;
var _local3:String = new String();
var _local4:int;
while (_local4 < _arg1.length) {
_local5 = _arg1.charCodeAt(_local4);
if ((((_local5 >= 48)) && ((_local5 <= 57)))){
_local5 = ((_local5 - _arg2) - 48);
if (_local5 < 0){
_local5 = (_local5 + ((57 - 48) + 1));
};
_local5 = ((_local5 % ((57 - 48) + 1)) + 48);
} else {
if ((((_local5 >= 65)) && ((_local5 <= 90)))){
_local5 = ((_local5 - _arg2) - 65);
if (_local5 < 0){
_local5 = (_local5 + ((90 - 65) + 1));
};
_local5 = ((_local5 % ((90 - 65) + 1)) + 65);
} else {
if ((((_local5 >= 97)) && ((_local5 <= 122)))){
_local5 = ((_local5 - _arg2) - 97);
if (_local5 < 0){
_local5 = (_local5 + ((122 - 97) + 1));
};
_local5 = ((_local5 % ((122 - 97) + 1)) + 97);
};
};
};
_local3 = (_local3 + String.fromCharCode(_local5));
_local4++;
};
return (_local3);
}
}//package