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
//_ai498 (classes._ai498)
package classes {
import flash.media.*;
import flash.utils.*;
public class _ai498 {
private static var _es212:Dictionary;
private static var _kv1142:Boolean;
public static function _ny81(_arg1:String, _arg2:Number):void{
var _local3:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<PJHPxvlf> Vhw Sdq: ", 3) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local3 = _es212[_arg1];
_local3._rs439 = _arg2;
}
public static function _ho53(_arg1:String, _arg2:Number):void{
var _local3:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<OIGOwuke> Ugv Xqnwog: ", 2) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local3 = _es212[_arg1];
_local3._li586 = _arg2;
}
public static function _nx680(_arg1:String):void{
var _local2:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<NHFNvtjd> Qmbz Tpvoe: ", 1) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local2 = _es212[_arg1];
if (_kv1142 == true){
_local2._nx680();
};
}
public static function _mx496(_arg1:String, _arg2:Number=2):void{
var _local3:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<OIGOwuke> HcfgKp: ", 2) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local3 = _es212[_arg1];
if (_kv1142 == true){
_local3._mx496(_arg2);
};
}
public static function _dt1083():Boolean{
return (_kv1142);
}
public static function _xl402():void{
var _local1:_be314;
for each (_local1 in _es212) {
_local1._lv829();
};
}
public static function _wj747(_arg1:String):Number{
var _local2:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<RLJRzxnh> Ljy QttuXyfwy: ", 5) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local2 = _es212[_arg1];
return (_local2._na359);
}
public static function Init():void{
_es212 = new Dictionary();
_kv1142 = true;
}
public static function _nb1047(_arg1:Boolean):void{
_kv1142 = _arg1;
}
public static function _vq1140(_arg1:String, _arg2:Sound, _arg3:Number=0, _arg4:int=100000):void{
var _local5:_be314 = new _be314();
_local5._vq1140(_arg2, _arg3, _arg4);
_es212[_arg1] = _local5;
}
public static function _xt204(_arg1:String, _arg2:Number=2):void{
var _local3:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<PJHPxvlf> IdghRxw: ", 3) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2))));
};
_local3 = _es212[_arg1];
_local3._xt204(_arg2);
}
public static function _qp879(_arg1:String):Number{
var _local2:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<PJHPxvlf> Jhw Yroxph: ", 3) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2))));
};
_local2 = _es212[_arg1];
return (_local2._li586);
}
public static function _lv829(_arg1:String):void{
var _local2:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<QKIQywmg> Wxst Wsyrh: ", 4) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2))));
};
_local2 = _es212[_arg1];
_local2._lv829();
}
public static function _lv844(_arg1:String, _arg2:Number):void{
var _local3:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<QKIQywmg> Wix PsstWxevx: ", 4) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local3 = _es212[_arg1];
_local3._na359 = _arg2;
}
public static function _pd343(_arg1:String):Number{
var _local2:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<RLJRzxnh> Ljy Ufs: ", 5) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local2 = _es212[_arg1];
return (_local2._rs439);
}
}
}//package classes
Section 10
//_be314 (classes._be314)
package classes {
import flash.media.*;
import caurina.transitions.*;
public class _be314 {
private var _eo202:Number;// = 0
public var _xv391:Number;// = 0
public var _ds1145:Boolean;
private var _ja440:SoundChannel;
private var _wl975:Sound;
private var _nw1054:int;
private var _eb459:SoundTransform;
public var _ih887:Number;// = 0
public function _be314(){
_ja440 = new SoundChannel();
_eb459 = new SoundTransform(1, 0);
}
public function _xt204(_arg1:Number=1):void{
Tweener.addTween(this, {_li586:0, time:_arg1, transition:irrcrpt("nkpgct", 2), onComplete:_lv829});
}
public function get _na359():Number{
return (_eo202);
}
public function _mx496(_arg1:Number=1):void{
_li586 = 0;
_nx680();
Tweener.addTween(this, {_li586:1, time:_arg1, transition:irrcrpt("pmriev", 4)});
}
public function _my580():void{
_lv829();
_wl975 = null;
_ja440 = null;
_eb459 = null;
}
public function set _na359(_arg1:Number):void{
_eo202 = _arg1;
}
public function get _li586():Number{
return (_eb459.volume);
}
public function _nx680():void{
_ja440 = _wl975.play(_eo202, _nw1054, _eb459);
}
public function set _li586(_arg1:Number):void{
if (_arg1 < 0){
_arg1 = 0;
};
_eb459.volume = _arg1;
_ja440.soundTransform = _eb459;
}
public function _lv829():void{
_ja440.stop();
}
public function get _rs439():Number{
return (_eb459.pan);
}
public function set _rs439(_arg1:Number):void{
_eb459.pan = _arg1;
_ja440.soundTransform = _eb459;
}
public function _vq1140(_arg1:Sound, _arg2:Number, _arg3:int):void{
_wl975 = _arg1;
_eo202 = _arg2;
_nw1054 = _arg3;
}
}
}//package classes
Section 11
//_br1059 (classes._br1059)
package classes {
import flash.display.*;
import flash.geom.*;
public class _br1059 {
public var _ow264:int;
public var _xj1095:int;
public var _mo545:int;
public var _af418:int;
public var _uo662:Object;
public var _bc500:Point;
public var _ba403:Number;// = 0
public var _bs871:Array;
public var _nw470:int;
public var _db24:int;
public var _sq178:BitmapData;
public var _mk1133:BitmapData;
public var _xm531:int;
public var _eq1175:int;
public var _aw807:int;
public var _cq1118:int;
public var _nr1012:Number;// = 0
public var _ej1108:int;
public function _br1059(){
_bs871 = [];
super();
}
public function _wr609(_arg1:Number, _arg2:Number, _arg3:int):void{
var _local4:_jl162 = _bs871[((_arg2 * _mo545) + _arg1)];
_local4._rl1009 = _arg3;
}
public function _sl425(_arg1:_kx788):Boolean{
_arg1.y = (_arg1.y + (_arg1._is535 * _rn300._fi392));
if ((((_wy880((_arg1.x + ((_arg1.width - 1) / 2)), (_arg1.y + (_arg1.height / 2))) > 0)) || ((_wy880((_arg1.x - ((_arg1.width - 1) / 2)), (_arg1.y + (_arg1.height / 2))) > 0)))){
_arg1.y = (_tq429((_arg1.y + (_arg1.height / 2))) - (_arg1.height / 2));
return (true);
};
return (false);
}
public function _ss139(_arg1:_kx788):Boolean{
_arg1.x = (_arg1.x + (_arg1._kp395 * _rn300._fi392));
if ((((_wy880((_arg1.x - (_arg1.width / 2)), (_arg1.y - ((_arg1.height - 1) / 2))) > 0)) || ((_wy880((_arg1.x - (_arg1.width / 2)), (_arg1.y + ((_arg1.height - 1) / 2))) > 0)))){
_arg1.x = ((_dt621((_arg1.x - (_arg1.width / 2))) + _aw807) + (_arg1.width / 2));
return (true);
};
return (false);
}
public function _wy880(_arg1:Number, _arg2:Number):int{
var _local3:_jl162 = _ur1002(_arg1, _arg2);
return (_local3._rl1009);
}
public function _ur1002(_arg1:Number, _arg2:Number):_jl162{
var _local3:int = (_arg1 / _aw807);
var _local4:int = (_arg2 / _xm531);
return (_bs871[((_local4 * _mo545) + _local3)]);
}
public function _ee887(_arg1:Number, _arg2:Number, _arg3:Boolean):void{
var _local4:_jl162 = _bs871[int(((_arg2 * _mo545) + _arg1))];
_local4._sg1039 = _arg3;
}
public function _ga247(_arg1:Number, _arg2:Number):_kx788{
var _local3:_jl162 = _bs871[int(((_arg2 * _mo545) + _arg1))];
return (_local3._ml137);
}
public function _ps623():void{
var _local1:int;
var _local2:int;
var _local3:_jl162;
trace(irrcrpt("Pds Fohduhg", 3));
_local2 = 0;
while (_local2 < _af418) {
_local1 = 0;
while (_local1 < _mo545) {
_local3 = _ra591(_local1, _local2);
_local3._ps623();
_local1++;
};
_local2++;
};
}
public function _sk78(_arg1:Number, _arg2:Number, _arg3:_kx788):void{
var _local4:_jl162 = _bs871[int(((_arg2 * _mo545) + _arg1))];
_local4._ml137 = _arg3;
}
public function _lx721(_arg1:Number):int{
return (int((_arg1 / _aw807)));
}
public function Init(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:BitmapData, _arg6:int, _arg7:int, _arg8:int=0):void{
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:_jl162;
_bc500 = new Point(0, 0);
_nr1012 = 0;
_ba403 = 0;
_mo545 = _arg1;
_af418 = _arg2;
_aw807 = _arg3;
_xm531 = _arg4;
_sq178 = _arg5;
_cq1118 = _arg6;
_xj1095 = _arg7;
_db24 = _arg8;
_bs871 = [];
_local10 = 0;
while (_local10 < _af418) {
_local9 = 0;
while (_local9 < _mo545) {
_local12 = new _jl162();
_bs871.push(_local12);
_local9++;
};
_local10++;
};
_uo662 = new Object();
_local11 = 1;
_local10 = 0;
while (_local10 < _xj1095) {
_local9 = 0;
while (_local9 < _cq1118) {
_uo662[_local11] = new Rectangle((_local9 * (_aw807 + _db24)), (_local10 * (_xm531 + _db24)), _aw807, _xm531);
_local11++;
_local9++;
};
_local10++;
};
_ow264 = (_mo545 * _aw807);
_eq1175 = (_af418 * _xm531);
}
public function _nv584(_arg1:Number, _arg2:Number):int{
var _local3:_jl162 = _bs871[int(((_arg2 * _mo545) + _arg1))];
return (_local3._rl1009);
}
public function _ei813(_arg1:Number, _arg2:Number):Boolean{
var _local3:_jl162 = _bs871[int(((_arg2 * _mo545) + _arg1))];
return (_local3._sg1039);
}
public function _rq975(_arg1:Number):Rectangle{
return (_uo662[_arg1]);
}
public function _cr715(_arg1:BitmapData, _arg2:int, _arg3:int):void{
_mk1133 = _arg1;
_nw470 = _arg2;
_ej1108 = _arg3;
}
public function _ty935(_arg1:Number):int{
return (int((_arg1 / _xm531)));
}
public function _rx419(_arg1:Number, _arg2:Number):void{
_nr1012 = _arg1;
_ba403 = _arg2;
}
public function _my580():void{
}
public function _id655(_arg1:Function):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local11:_jl162;
var _local5:int = (_nr1012 / _aw807);
var _local6:int = (_ba403 / _xm531);
var _local7:Number = int((0 - (_nr1012 % _aw807)));
var _local8:Number = int((0 - (_ba403 % _xm531)));
var _local9:int;
var _local10:int;
_local3 = _local6;
while (_local3 < (_local6 + _ej1108)) {
_local9 = 0;
_local2 = _local5;
while (_local2 < (_local5 + _nw470)) {
_bc500.x = (_local7 + (_local9 * _aw807));
_bc500.y = (_local8 + (_local10 * _xm531));
_local11 = _bs871[int(((_local3 * _mo545) + _local2))];
_local11._ju269();
_local4 = _local11._rl1009;
if (_local4){
_mk1133.copyPixels(_sq178, _uo662[_local4], _bc500, null, null, false);
_arg1(_bc500.x, _bc500.y, _local4);
};
_local9 = (_local9 + 1);
_local2++;
};
_local10 = (_local10 + 1);
_local3++;
};
}
public function _tq429(_arg1:Number):int{
return ((int((_arg1 / _xm531)) * _xm531));
}
public function _uk406(_arg1:_kx788):Boolean{
_arg1.y = (_arg1.y + (_arg1._is535 * _rn300._fi392));
if ((((_wy880((_arg1.x + ((_arg1.width - 1) / 2)), (_arg1.y - (_arg1.height / 2))) > 0)) || ((_wy880((_arg1.x - ((_arg1.width - 1) / 2)), (_arg1.y - (_arg1.height / 2))) > 0)))){
_arg1.y = ((_tq429((_arg1.y - (_arg1.height / 2))) + _xm531) + (_arg1.height / 2));
return (true);
};
return (false);
}
public function _dt621(_arg1:Number):int{
return ((int((_arg1 / _aw807)) * _aw807));
}
public function _dt987(_arg1:Function):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local11:_jl162;
var _local5:int = (_nr1012 / _aw807);
var _local6:int = (_ba403 / _xm531);
var _local7:Number = int((0 - (_nr1012 % _aw807)));
var _local8:Number = int((0 - (_ba403 % _xm531)));
var _local9:int;
var _local10:int;
_local3 = _local6;
while (_local3 < (_local6 + _ej1108)) {
_local9 = 0;
_local2 = _local5;
while (_local2 < (_local5 + _nw470)) {
_bc500.x = (_local7 + (_local9 * _aw807));
_bc500.y = (_local8 + (_local10 * _xm531));
_local11 = _bs871[int(((_local3 * _mo545) + _local2))];
_local11._ju269();
_local4 = _local11._rl1009;
if (_local4){
_arg1(_bc500.x, _bc500.y, _local4);
_mk1133.copyPixels(_sq178, _uo662[_local4], _bc500, null, null, false);
};
_local9 = (_local9 + 1);
_local2++;
};
_local10 = (_local10 + 1);
_local3++;
};
}
public function _qu632(_arg1:Number, _arg2:Number, _arg3:int):void{
var _local4:_jl162 = _ur1002(_arg1, _arg2);
_local4._rl1009 = _arg3;
}
public function _pn368():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local10:_jl162;
var _local4:int = (_nr1012 / _aw807);
var _local5:int = (_ba403 / _xm531);
var _local6:Number = int((0 - (_nr1012 % _aw807)));
var _local7:Number = int((0 - (_ba403 % _xm531)));
var _local8:int;
var _local9:int;
_local2 = _local5;
while (_local2 < (_local5 + _ej1108)) {
_local8 = 0;
_local1 = _local4;
while (_local1 < (_local4 + _nw470)) {
_bc500.x = (_local6 + (_local8 * _aw807));
_bc500.y = (_local7 + (_local9 * _xm531));
_local10 = _bs871[int(((_local2 * _mo545) + _local1))];
_local10._ju269();
_local3 = _local10._rl1009;
if (_local3){
_mk1133.copyPixels(_sq178, _uo662[_local3], _bc500, null, null, false);
};
_local8 = (_local8 + 1);
_local1++;
};
_local9 = (_local9 + 1);
_local2++;
};
}
public function _md584(_arg1:_kx788):Boolean{
_arg1.x = (_arg1.x + (_arg1._kp395 * _rn300._fi392));
if ((((_wy880((_arg1.x + (_arg1.width / 2)), (_arg1.y - ((_arg1.height - 1) / 2))) > 0)) || ((_wy880((_arg1.x + (_arg1.width / 2)), (_arg1.y + ((_arg1.height - 1) / 2))) > 0)))){
_arg1.x = (_dt621((_arg1.x + (_arg1.width / 2))) - (_arg1.width / 2));
return (true);
};
return (false);
}
public function _ra591(_arg1:Number, _arg2:Number):_jl162{
return (_bs871[((_arg2 * _mo545) + _arg1)]);
}
}
}//package classes
Section 12
//_ch490 (classes._ch490)
package classes {
import flash.display.*;
import flash.geom.*;
import caurina.transitions.*;
import flash.filters.*;
public class _ch490 {
public var _qv190:Array;
public var width:int;
public var Parent:Sprite;
private var _nt1123:Object;
public var _bs729:BitmapData;
public var _sc579:Number;// = 0
public var _di363:uint;
public var _id315:_gn587;
public var height:int;
public var _mw1065:Number;// = 0
public var _aw79:BlurFilter;
public var _ia1017:Bitmap;
public var _ir928:Number;// = 0
public function _td1124():void{
_bs729.lock();
}
public function _la372(_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("olqhdu", 3)});
Tweener.addTween(this, {_gn851:0, time:0.5, transition:irrcrpt("mjofbs", 1)});
}
public function _my580():void{
_id315._dx718();
_nt1123.removeChild(Parent);
Parent.removeChild(_ia1017);
if (_bs729 != null){
_bs729 = null;
};
if (_ia1017 != null){
_ia1017 = null;
};
Parent = null;
_aw79 = null;
_qv190 = null;
}
public function _ur809(_arg1:Boolean):void{
Parent.mouseEnabled = _arg1;
Parent.mouseChildren = _arg1;
}
public function _mx496(_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("qnsjfw", 5), onComplete:_arg2});
} else {
Tweener.addTween(Parent, {alpha:1, time:_arg1, transition:irrcrpt("qnsjfw", 5)});
};
}
public function _rm890(_arg1:BitmapData):void{
_bs729.copyPixels(_arg1, new Rectangle(0, 0, width, height), new Point(0, 0));
}
public function _fp393(_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 get brightness():Number{
return (_ir928);
}
public function _yi699(_arg1:Boolean):void{
_ia1017.cacheAsBitmap = _arg1;
}
public function _rx419(_arg1:Number, _arg2:Number):void{
Parent.x = _arg1;
Parent.y = _arg2;
}
public function _pm531(_arg1:Object, _arg2:Boolean=true):void{
_nt1123 = _arg1;
Parent = new Sprite();
_nt1123.addChild(Parent);
Parent.x = 0;
Parent.y = 0;
width = 1;
height = 1;
_ir928 = 1;
_mw1065 = 1;
_aw79 = new BlurFilter(0, 0, 1);
_qv190 = new Array();
_qv190.push(_aw79);
Parent.filters = _qv190;
_sc579 = 0;
_aw79.blurX = 0;
_aw79.blurY = 0;
_aw79.quality = 0;
Parent.filters = _qv190;
_id315 = new _gn587();
}
public function _tq1038(_arg1:Number, _arg2:Number):void{
brightness = _arg1;
Tweener.addTween(this, {brightness:1, time:_arg2, transition:irrcrpt("qnsjfw", 5)});
}
public function set brightness(_arg1:Number):void{
_ir928 = _arg1;
_jt881._vw694(Parent, _ir928, _ir928, _ir928);
}
public function set scale(_arg1:Number):void{
_mw1065 = _arg1;
Parent.scaleX = _mw1065;
Parent.scaleY = _mw1065;
}
public function _gm1000(_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("pmriev", 4)});
Tweener.addTween(this, {_gn851:_arg2, time:0.5, transition:irrcrpt("mjofbs", 1)});
}
public function _ss879():void{
_bs729.unlock();
}
public function set _gn851(_arg1:Number):void{
_sc579 = _arg1;
_aw79.blurX = _arg1;
_aw79.blurY = _arg1;
if (_arg1 == 0){
_aw79.quality = 0;
Parent.filters = null;
} else {
_aw79.quality = 2;
};
Parent.filters = _qv190;
}
public function get scale():Number{
return (_mw1065);
}
public function _ps623():void{
_bs729.fillRect(new Rectangle(0, 0, width, height), _di363);
}
public function Init(_arg1:Object, _arg2:int, _arg3:int, _arg4:Boolean=false, _arg5:uint=4278190080, _arg6:Boolean=true):void{
_nt1123 = _arg1;
_di363 = _arg5;
_bs729 = new BitmapData(_arg2, _arg3, _arg4, _arg5);
_ia1017 = new Bitmap(_bs729);
_ia1017.smoothing = _arg6;
Parent = new Sprite();
_nt1123.addChild(Parent);
_ia1017.x = (-(_ia1017.width) / 2);
_ia1017.y = (-(_ia1017.height) / 2);
Parent.addChild(_ia1017);
Parent.x = (_bs729.width / 2);
Parent.y = (_bs729.height / 2);
width = _arg2;
height = _arg3;
_ir928 = 1;
_mw1065 = 1;
_aw79 = new BlurFilter(0, 0, 1);
_qv190 = new Array();
_qv190.push(_aw79);
Parent.filters = _qv190;
_sc579 = 0;
_aw79.blurX = 0;
_aw79.blurY = 0;
_aw79.quality = 0;
Parent.filters = _qv190;
_id315 = new _gn587();
}
public function get _gn851():Number{
return (_sc579);
}
public function _rc698(_arg1:Boolean):void{
Parent.visible = _arg1;
}
public function _xt204(_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("mjofbs", 1), onComplete:_arg2});
} else {
Tweener.addTween(Parent, {alpha:0, time:_arg1, transition:irrcrpt("pmriev", 4)});
};
}
}
}//package classes
Section 13
//_ft1144 (classes._ft1144)
package classes {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
public class _ft1144 extends Sprite {
public var _vt829:Number;// = 0
public var tooltip:_ft1144;
public var _td62:int;
public var _io464:Number;// = 0
public var _vc1037:Object;
public var _kp395:Number;// = 0
public var _qp672:Number;// = 0
public var _qj339:int;
public var _ao593:Number;// = 0
public var _kd1106:Number;// = 0
public var _we724:Number;// = 0
public var _so1032:Number;// = 0
public var _fe811:Number;// = 0
public var _br792:Object;
public var callback:Object;
public var _rs1087:Number;// = 0
public var _yd926:Number;// = 0
public var _gh1032:Number;// = 0
public var _cu190:Number;// = 0
public var _qn398:Number;// = 0
public var _ba88:BitmapData;
public var _dv520:Number;// = 0
public var _rj717:Boolean;
public var _xg843:Number;// = 0
public var _ks454:Object;
public var _pc921:int;// = 0
public var _pr169:_ft1144;
public var _vx423:Number;// = 0
public var _aw79:BlurFilter;
public var id3:int;
public var _nc1105:Number;// = 0
public var _dq647:int;
public var state:int;
public var _is508:Number;// = 0
public var _lu39:Number;// = 0
public var _ij1165:int;
public var _nt1151:Number;// = 0
public var _qf456:Number;// = 0
public var _jw911:int;
public var _cc599:Number;// = 0
public var _dt121:Boolean;
public var _qg1131:Number;// = 0
public var _iu931:Number;// = 0
public var _cx496:int;
public var _om815:Number;// = 0
public var _ec519:Number;// = 0
public var _lr1186:Number;// = 0
public var _rl931:Number;// = 0
public var _tf435:int;
public var _mw1065:Number;// = 0
public var _cw859:int;
public var _oy595:Number;// = 0
public var _nj645:Number;// = 0
public var _is535:Number;// = 0
public var _yl469:Number;// = 0
public var _ai523:Function;
public var _mu727:Number;// = 0
public var id:int;
public var _mf139:Function;
public var _pm523:Number;// = 0
public var _ps296:Number;// = 0
public var _vm1048:int;
public var _ya808:Number;// = 0
public var _xl687:Bitmap;
public var _eb909:int;
public var _wg1081:Number;// = 0
public var _cl24:Number;// = 0
public var _ds1060:Number;// = 0
public var _yx91:int;
public var _qf150:Number;// = 0
public var _fa1052:Number;// = 0
public var _md415:Number;// = 0
public var _yg242:Number;// = 0
public var _xl337:Number;// = 0
public var _yj865:Number;// = 0
public var frame:Number;// = 0
public var _dr1035:Number;// = 0
public var _vu430:Object;
public var _yy433:Number;// = 0
public var _yw378:Number;// = 0
public var _hc532:Number;// = 0
public var _wh859:Number;// = 0
public var _kd389:Number;// = 0
public var _wn168:Number;// = 0
public var _ir928:Number;// = 0
public var _ei84:Number;// = 0
public var _gq563:int;
public var _gp592:Number;// = 0
public var _np670:Number;// = 0
public var _gm522:Boolean;
public var target:_ft1144;
public var _gh868:Number;// = 0
public var _aa168:Number;// = 0
public var _ko701:String;
public var _jg742:Number;// = 0
public var _ss868:Number;// = 0
public var _yh591:Number;// = 0
public var _ga209:Number;// = 0
public var _dn1051:Function;
public var _vc1003:Number;// = 0
public var delta:Number;// = 0
public var _tl926:Number;// = 0
public var _qv190:Array;
public var _ck920:Number;// = 0
public var _dc683:Number;// = 0
public var _pr239:Number;// = 0
public var _ur838:Number;// = 0
public var _lf836:Boolean;
public var _kx72:int;
public var _rw1053:Number;// = 0
public var _ou399:Number;// = 0
public var _hj760:int;
public var _hk1084:Boolean;
public function _ap561(_arg1:Number, _arg2:Number):void{
_kx72 = 2;
_gp592 = _arg1;
_yx91 = 0;
_tf435 = 1;
this.alpha = 0;
_kd389 = 0;
_np670 = _arg2;
}
public function _rm890(_arg1:BitmapData, _arg2:int=0, _arg3:int=0):void{
_ba88.copyPixels(_arg1, new Rectangle(_arg2, _arg3, width, height), new Point(0, 0));
}
public function _sh794(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_gh1032 = _arg1;
_fe811 = _arg3;
_rl931 = _arg2;
_dr1035 = _arg4;
}
public function _of707(_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 _ju269(_arg1:Number=1):void{
delta = _arg1;
_xk486();
_cp1141();
_kp1049();
_df1056();
_pe1111();
if (callback != null){
callback(this);
};
}
public function get _js523():Number{
return (_aw79.blurX);
}
public function get brightness():Number{
return (_ir928);
}
public function _rx419(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
public function _wy559(_arg1:Object):void{
_ks454 = _arg1;
}
public function get _ck737():Number{
return (_aw79.blurY);
}
public function set _js523(_arg1:Number):void{
_aw79.blurX = _arg1;
if (_arg1 == 0){
this.filters = null;
} else {
_aw79.quality = BitmapFilterQuality.LOW;
};
this.filters = _qv190;
}
public function set brightness(_arg1:Number):void{
_ir928 = _arg1;
_jt881._vw694(this, _ir928, _ir928, _ir928);
}
public function set scale(_arg1:Number):void{
_mw1065 = _arg1;
this.scaleX = _mw1065;
this.scaleY = _mw1065;
}
public function _hu207(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_cx496 = _arg4;
_rw1053 = _arg1;
_cc599 = _arg2;
_ga209 = _arg3;
this.scaleX = _arg5;
}
public function _xb736(_arg1:_ft1144, _arg2:Number):void{
var _local3:Number = this.rotation;
var _local4:Number = _jt881._be928(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 _sf1159(_arg1:Number, _arg2:Number):void{
_ss868 = _arg1;
_pm523 = _arg2;
}
public function _ln152(_arg1:Number, _arg2:Number):Boolean{
return (_nc1006(_arg1, _arg2, (this.x - ((_ss868 * this.scaleX) / 2)), (this.y - ((_pm523 * this.scaleY) / 2)), (_ss868 * this.scaleX), (_pm523 * this.scaleY)));
}
public function _sf1163(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_hj760 = _arg4;
_nj645 = _arg1;
_mu727 = _arg2;
_ou399 = _arg3;
this.scaleY = _arg5;
}
private function _nc1006(_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);
}
private function _pe1111():void{
if (_kx72){
switch (_kx72){
case 1:
this.alpha = (this.alpha + (_gp592 * delta));
if (this.alpha >= _tf435){
this.alpha = _tf435;
_kx72 = 0;
} else {
if ((((this.alpha < _yx91)) || ((this.alpha == _yx91)))){
this.alpha = _yx91;
_kx72 = 0;
_gm522 = true;
};
};
break;
case 2:
if (_kd389 > 0){
_kd389 = (_kd389 - (1 * delta));
if (_kd389 < 1){
_kd389 = 0;
_fj37(-(_gp592));
};
} else {
this.alpha = (this.alpha + (_gp592 * delta));
if (this.alpha >= _tf435){
this.alpha = _tf435;
_kd389 = _np670;
};
};
break;
};
};
}
private function _aq1086():void{
if (_rj717 == true){
_wg1081 = (_wg1081 - (_xl337 * delta));
_ya808 = (_ya808 - (_cu190 * delta));
_yh591 = (_yh591 - (_ao593 * delta));
if (_wg1081 < _ds1060){
_wg1081 = _ds1060;
};
if (_ya808 < _tl926){
_ya808 = _tl926;
};
if (_yh591 < _aa168){
_yh591 = _ds1060;
};
_xg843 = _wg1081;
_kd1106 = _ya808;
_dc683 = _yh591;
if (_wg1081 == _ds1060){
if (_ya808 == _tl926){
if (_yh591 == _aa168){
_rj717 = false;
};
};
};
};
}
public function _pr761():void{
_ba88.unlock();
}
public function set _ck737(_arg1:Number):void{
_aw79.blurY = _arg1;
if (_arg1 == 0){
this.filters = null;
} else {
_aw79.quality = BitmapFilterQuality.LOW;
};
this.filters = _qv190;
}
public function _th52(_arg1:Object):void{
_vu430 = _arg1;
}
private function _kp1049():void{
if (_cx496){
this.scaleX = (this.scaleX + (_rw1053 * delta));
switch (_cx496){
case 1:
if (this.scaleX >= _ga209){
this.scaleX = _ga209;
_rw1053 = -(_rw1053);
} else {
if (this.scaleX <= _cc599){
this.scaleX = _cc599;
_rw1053 = -(_rw1053);
};
};
break;
case 2:
if (this.scaleX >= _ga209){
this.scaleX = _cc599;
} else {
if (this.scaleX <= _cc599){
this.scaleX = _ga209;
};
};
break;
case 3:
if (this.scaleX >= _ga209){
this.scaleX = _ga209;
_cx496 = 0;
} else {
if (this.scaleX <= _cc599){
this.scaleX = _cc599;
_cx496 = 0;
};
};
break;
case 4:
if (this.scaleX >= _ga209){
this.scaleX = _ga209;
_cx496 = 0;
_gm522 = true;
} else {
if (this.scaleX <= _cc599){
this.scaleX = _cc599;
_cx496 = 0;
_gm522 = true;
};
};
break;
};
};
}
public function _fj37(_arg1:Number, _arg2:Number=1):void{
_kx72 = 1;
_gp592 = _arg1;
_yx91 = 0;
_tf435 = 1;
this.alpha = _arg2;
}
public function Init(_arg1:Object, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean=true, _arg6:uint=0, _arg7:Boolean=true):void{
_br792 = _arg1;
_dq647 = _arg2;
_ba88 = new BitmapData(_arg3, _arg4, _arg5, _arg6);
_xl687 = new Bitmap(_ba88);
_xl687.smoothing = _arg7;
_xl687.x = (-(_xl687.width) / 2);
_xl687.y = (-(_xl687.height) / 2);
this.addChild(_xl687);
this.x = (_ba88.width / 2);
this.y = (_ba88.height / 2);
width = _arg3;
height = _arg4;
_aw79 = new BlurFilter(0, 0, 1);
_qv190 = new Array();
_qv190.push(_aw79);
this.filters = _qv190;
_aw79.blurX = 0;
_aw79.blurY = 0;
_aw79.quality = 0;
this.filters = _qv190;
_so1032 = (width / 2);
_ss868 = width;
_pm523 = height;
_dt121 = true;
_gh1032 = -10000;
_fe811 = 10000;
_rl931 = -10000;
_dr1035 = 10000;
this.alpha = 1;
this.scaleX = 1;
this.scaleY = 1;
_xg843 = 1;
_kd1106 = 1;
_dc683 = 1;
_ir928 = 1;
_mw1065 = 1;
_br792.addChild(this);
}
public function _in669(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_ij1165 = _arg4;
_yj865 = _arg1;
_cl24 = _arg2;
_gh868 = _arg3;
this.rotation = _arg5;
}
public function get scale():Number{
return (_mw1065);
}
private function _xk486():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
if (_pc921 == 1){
if (_qf456 > 0){
_qf456 = (_qf456 - delta);
if (_qf456 < 1){
_qf456 = _lr1186;
_kp395 = (_kp395 * _dv520);
_is535 = (_is535 * _dv520);
if (Math.abs(_kp395) < 0.001){
_kp395 = 0;
};
if (Math.abs(_is535) < 0.001){
_is535 = 0;
};
if ((((_kp395 == 0)) && ((_is535 == 0)))){
_qf456 = 0;
};
};
};
this.x = (this.x + (_kp395 * delta));
this.y = (this.y + (_is535 * delta));
_kp395 = (_kp395 + (_yw378 * delta));
_is535 = (_is535 + (_rs1087 * delta));
if ((((this.x < _gh1032)) || ((this.x > _fe811)))){
_gm522 = true;
};
if ((((this.y < _rl931)) || ((this.y > _dr1035)))){
_gm522 = true;
};
if (_vt829 > 0){
_vt829 = (_vt829 - delta);
if (_vt829 < 1){
_pc921 = 0;
};
};
} else {
if (_pc921 == 2){
_local1 = this.x;
_local2 = this.y;
_local3 = target.x;
_local4 = target.y;
if (_local1 < _local3){
_fa1052 = (_fa1052 + (_ei84 * delta));
if (_fa1052 > _vc1003){
_fa1052 = _vc1003;
};
} else {
if (_local1 > _local3){
_fa1052 = (_fa1052 - (_ei84 * delta));
if (_fa1052 < -(_vc1003)){
_fa1052 = -(_vc1003);
};
};
};
this.x = (this.x + (_fa1052 * delta));
if (_local2 < _local4){
_yg242 = (_yg242 + (_qn398 * delta));
if (_yg242 > _yd926){
_yg242 = _yd926;
};
} else {
if (_local2 > _local4){
_yg242 = (_yg242 - (_qn398 * delta));
if (_yg242 < -(_yd926)){
_yg242 = -(_yd926);
};
};
};
this.y = (this.y + (_yg242 * delta));
} else {
if (_pc921 == 3){
_io464 = (_io464 + (_om815 * delta));
_ps296 = (_ps296 + (_wh859 * delta));
this.x = (this.x + ((Math.cos(_io464) * _oy595) * delta));
this.y = (this.y + ((Math.sin(_ps296) * _ec519) * delta));
this.x = (this.x + (_kp395 * delta));
this.y = (this.y + (_is535 * delta));
_kp395 = (_kp395 + (_yw378 * delta));
_is535 = (_is535 + (_rs1087 * delta));
if ((((this.x < _gh1032)) || ((this.x > _fe811)))){
_gm522 = true;
};
if ((((this.y < _rl931)) || ((this.y > _dr1035)))){
_gm522 = true;
};
};
};
};
if (_vt829 > 0){
_vt829 = (_vt829 - delta);
if (_vt829 < 1){
_pc921 = 0;
};
} else {
if (_pc921 == 4){
} else {
if (_pc921 == 5){
if (target != null){
_io464 = (_io464 + (_om815 * delta));
this.x = (target.x + (Math.cos(_io464) * _oy595));
this.y = (target.y + (Math.sin(_io464) * _oy595));
} else {
_gm522 = true;
};
} else {
if (_pc921 == 6){
if (target != null){
if (_nc1105 > 0){
_nc1105 = (_nc1105 - delta);
if (_nc1105 < 1){
_nc1105 = _iu931;
_nt1151 = _jt881._be928(this.x, this.y, target.x, target.y);
_kp395 = _jt881._ma568(_nt1151, _fa1052);
_is535 = _jt881._pc518(_nt1151, _fa1052);
this.x = (this.x + (_kp395 * delta));
this.y = (this.y + (_is535 * delta));
_fa1052 = (_fa1052 + (_ei84 * delta));
};
} else {
_nt1151 = _jt881._be928(this.x, this.y, target.x, target.y);
_kp395 = _jt881._ma568(_nt1151, _fa1052);
_is535 = _jt881._pc518(_nt1151, _fa1052);
this.x = (this.x + (_kp395 * delta));
this.y = (this.y + (_is535 * delta));
_fa1052 = (_fa1052 + (_ei84 * delta));
};
} else {
_gm522 = true;
};
} else {
if (_pc921 == 7){
_nt1151 = _jt881._be928(this.x, this.y, _fa1052, _ei84);
_kp395 = _jt881._ma568(_nt1151, _vc1003);
_is535 = _jt881._pc518(_nt1151, _vc1003);
this.x = (this.x + (_kp395 * delta));
this.y = (this.y + (_is535 * delta));
_vc1003 = (_vc1003 + (_yg242 * delta));
if (_kp395 > 0){
if (this.x > _fa1052){
this.x = _fa1052;
};
} else {
if (_kp395 < 0){
if (this.x < _fa1052){
this.x = _fa1052;
};
};
};
if (_is535 > 0){
if (this.y > _ei84){
this.y = _ei84;
};
} else {
if (_is535 < 0){
if (this.y < _ei84){
this.y = _ei84;
};
};
};
if ((((this.x == _fa1052)) && ((this.y == _ei84)))){
_pc921 = 0;
};
} else {
if (_pc921 == 8){
_io464 = (_io464 + (_om815 * delta));
_ps296 = (_ps296 + (_wh859 * delta));
this.x = (this.x + ((Math.cos(_io464) * _oy595) * delta));
this.y = (this.y + ((Math.sin(_ps296) * _ec519) * delta));
_oy595 = (_oy595 + (_qg1131 * delta));
_ec519 = (_ec519 + (_qg1131 * delta));
if ((((this.x < _gh1032)) || ((this.x > _fe811)))){
_gm522 = true;
};
if ((((this.y < _rl931)) || ((this.y > _dr1035)))){
_gm522 = true;
};
} else {
if (_pc921 == 9){
_nt1151 = _jt881._be928(this.x, this.y, _fa1052, _ei84);
_kp395 = _jt881._ma568(_nt1151, _vc1003);
_is535 = _jt881._pc518(_nt1151, _vc1003);
this.x = (this.x + (_kp395 * delta));
this.y = (this.y + (_is535 * delta));
_vc1003 = (_vc1003 + (_yg242 * delta));
if (_kp395 > 0){
if (this.x > _fa1052){
this.x = _fa1052;
};
} else {
if (_kp395 < 0){
if (this.x < _fa1052){
this.x = _fa1052;
};
};
};
if (_is535 > 0){
if (this.y > _ei84){
this.y = _ei84;
};
} else {
if (_is535 < 0){
if (this.y < _ei84){
this.y = _ei84;
};
};
};
if ((((this.x == _fa1052)) && ((this.y == _ei84)))){
_pc921 = 0;
_gm522 = true;
};
};
};
};
};
};
};
};
}
public function _bm276(_arg1:_ft1144, _arg2:Number):void{
_ij1165 = 5;
_yj865 = _arg2;
_pr169 = _arg1;
}
public function _au510(_arg1:Number):void{
_so1032 = _arg1;
}
public function _bk772(_arg1:Number, _arg2:Number):void{
_ij1165 = 6;
_yj865 = _arg2;
_cl24 = _arg1;
}
public function _yl385(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):void{
_kp395 = _arg1;
_is535 = _arg2;
_yw378 = _arg3;
_rs1087 = _arg4;
_vt829 = _arg5;
_pc921 = 1;
}
private function _df1056():void{
if (_hj760){
this.scaleY = (this.scaleY + (_nj645 * delta));
switch (_hj760){
case 1:
if (this.scaleY >= _ou399){
this.scaleY = _ou399;
_nj645 = -(_nj645);
} else {
if (this.scaleY <= _mu727){
this.scaleY = _mu727;
_nj645 = -(_nj645);
};
};
break;
case 2:
if (this.scaleY >= _ou399){
this.scaleY = _mu727;
} else {
if (this.scaleY <= _mu727){
this.scaleY = _ou399;
};
};
break;
case 3:
if (this.scaleY >= _ou399){
this.scaleY = _ou399;
_hj760 = 0;
} else {
if (this.scaleY <= _mu727){
this.scaleY = _mu727;
_hj760 = 0;
};
};
break;
case 4:
if (this.scaleY >= _ou399){
this.scaleY = _ou399;
_hj760 = 0;
_gm522 = true;
} else {
if (this.scaleY <= _mu727){
this.scaleY = _mu727;
_hj760 = 0;
_gm522 = true;
};
};
break;
};
};
}
private function _cp1141():void{
if (_ij1165){
switch (_ij1165){
case 1:
this.rotation = (this.rotation + (_yj865 * delta));
if (this.rotation >= _gh868){
this.rotation = _gh868;
_yj865 = -(_yj865);
} else {
if (this.rotation <= _cl24){
this.rotation = _cl24;
_yj865 = -(_yj865);
};
};
break;
case 2:
this.rotation = (this.rotation + (_yj865 * delta));
if (this.rotation >= _gh868){
this.rotation = _cl24;
} else {
if (this.rotation <= _cl24){
this.rotation = _gh868;
};
};
break;
case 3:
this.rotation = (this.rotation + (_yj865 * delta));
if (this.rotation >= _gh868){
this.rotation = _gh868;
_ij1165 = 0;
} else {
if (this.rotation <= _cl24){
this.rotation = _cl24;
_ij1165 = 0;
};
};
break;
case 4:
this.rotation = (this.rotation + (_yj865 * delta));
if (this.rotation >= _gh868){
this.rotation = _gh868;
_ij1165 = 0;
_gm522 = true;
} else {
if (this.rotation <= _cl24){
this.rotation = _cl24;
_ij1165 = 0;
_gm522 = true;
};
};
break;
case 5:
_xb736(_pr169, _yj865);
break;
case 6:
_of707(_cl24, _yj865);
break;
};
};
}
public function _he843(_arg1:Object):void{
callback = _arg1;
}
public function _yi699(_arg1:Boolean):void{
_xl687.cacheAsBitmap = _arg1;
}
public function _my580():void{
callback = null;
_ks454 = null;
_vu430 = null;
_pr169 = null;
target = null;
if (_hk1084 == true){
this.removeEventListener(MouseEvent.CLICK, _ai523);
this.removeEventListener(MouseEvent.MOUSE_OVER, _mf139);
this.removeEventListener(MouseEvent.MOUSE_OUT, _dn1051);
};
_ai523 = null;
_mf139 = null;
_dn1051 = null;
_br792.removeChild(this);
this.removeChild(_xl687);
_ba88 = null;
_xl687 = null;
_aw79 = null;
_qv190 = null;
}
public function _jq549(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_hj760 = _arg4;
_nj645 = _arg1;
_mu727 = _arg2;
_ou399 = _arg3;
this.scaleY = _arg5;
_cx496 = _arg4;
_rw1053 = _arg1;
_cc599 = _arg2;
_ga209 = _arg3;
this.scaleX = _arg5;
}
public function _td1124():void{
_ba88.lock();
}
public function _tm1045(_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._rx419(_arg3, _arg4);
this._rm890(_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._hk1084 = true;
this._ai523 = _arg6;
this._mf139 = _arg7;
this._dn1051 = _arg8;
}
}
}//package classes
Section 14
//_gn587 (classes._gn587)
package classes {
import flash.display.*;
public class _gn587 {
public var _vn703:int;// = 0
public var _ip862:Number;// = 0
public var _bc83:Number;// = 0
public var _id315:Array;
public function _gn587(){
_id315 = [];
super();
}
public function _oa951(_arg1:Sprite, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:int, _arg7:Boolean=true, _arg8:Boolean=true, _arg9:uint=0):_ft1144{
var _local10:_ft1144;
_local10 = new _ft1144();
_local10.Init(_arg1, _arg6, _arg2, _arg3, _arg7, _arg9, _arg8);
_local10._rx419(_arg4, _arg5);
_id315[_id315.length] = _local10;
return (_local10);
}
public function _fc299(_arg1:int):Boolean{
var _local2:_ft1144;
var _local3:Boolean;
for each (_local2 in _id315) {
if (_local2._td62 == _arg1){
_local3 = true;
};
};
return (_local3);
}
public function _ak660(_arg1:_ft1144):void{
_id315[_id315.length] = _arg1;
}
public function _ch360(_arg1:Object, _arg2:Number):void{
var _local5:_ft1144;
var _local3:int = (_id315.length - 1);
var _local4:int = _local3;
while (_local4 >= 0) {
_local5 = _id315[_local4];
_local5._ju269(_arg2);
_arg1(_local5);
if (_local5._gm522 == true){
_local5._my580();
_id315.splice(_local4, 1);
_local5 = null;
};
_local4--;
};
}
public function _un705(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Boolean=true, _arg7:Boolean=true, _arg8:uint=0):_ft1144{
var _local9:_ft1144;
_local9 = new _ft1144();
_local9.Init(_arg1, _arg5, _arg2.width, _arg2.height, _arg6, _arg8, _arg7);
_local9._rx419(_arg3, _arg4);
_local9._rm890(_arg2);
_id315[_id315.length] = _local9;
return (_local9);
}
public function _ng948(_arg1:int=0):_ft1144{
var _local2:int;
var _local3:_ft1144;
var _local4:_ft1144;
var _local5:int = (_id315.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _id315[_local2];
if (_local3.id == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _dx718(_arg1:int=0):void{
var _local2:int;
var _local3:Object;
var _local4:int = (_id315.length - 1);
_local2 = _local4;
while (_local2 >= 0) {
_local3 = _id315[_local2];
if (_arg1 > 0){
if (_local3._td62 == _arg1){
_id315.splice(_local2, 1);
_local3._my580();
_local3 = null;
};
} else {
_id315.splice(_local2, 1);
_local3._my580();
_local3 = null;
};
_local2--;
};
}
public function _bf575():int{
return (_id315.length);
}
public function _am706(_arg1:Number):void{
var _local4:_ft1144;
var _local2:int = (_id315.length - 1);
var _local3:int = _local2;
while (_local3 >= 0) {
_local4 = _id315[_local3];
_local4._ju269(_arg1);
if (_local4._gm522 == true){
_local4._my580();
_id315.splice(_local3, 1);
_local4 = null;
};
_local3--;
};
}
public function _mi222(_arg1:Number=0.001):void{
var _local2:_ft1144;
for each (_local2 in _id315) {
_local2._fj37(-(_arg1), 1);
};
}
public function _mu121(_arg1:int=0):_ft1144{
var _local2:int;
var _local3:_ft1144;
var _local4:_ft1144;
var _local5:int = (_id315.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _id315[_local2];
if (_local3._td62 == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _lf827(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Function, _arg7:Function, _arg8:Function, _arg9:uint=0):_ft1144{
var _local10:_ft1144;
_local10 = new _ft1144();
_local10._tm1045(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9);
_id315[_id315.length] = _local10;
return (_local10);
}
public function _sn192():void{
var _local1:_ft1144;
for each (_local1 in _id315) {
_local1._gm522 = true;
};
}
}
}//package classes
Section 15
//_ht645 (classes._ht645)
package classes {
import flash.display.*;
public class _ht645 {
public var _vn703:int;// = 0
public var _hp352:int;// = 0
public var _bc83:Number;// = 0
public var _id315:Array;
public var _ip862:Number;// = 0
public function _ht645(){
_id315 = [];
super();
}
public function _nu1140(_arg1:Number, _arg2:Number):void{
var _local3:_kx788;
for each (_local3 in _id315) {
_local3._nu1140(_arg1, _arg2);
};
}
public function _un705(_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):_kx788{
var _local13:_kx788;
_local13 = new _kx788();
_local13._pc675(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg9, _arg10, _arg11);
_local13._rx419(_arg7, _arg8);
_local13._xl836 = _arg12;
_id315[_id315.length] = _local13;
return (_local13);
}
public function _mo1053(_arg1:_kx788):Boolean{
var _local2:_kx788;
var _local3:Boolean;
for each (_local2 in _id315) {
if (_rm763._aj645(_arg1, _local2) == true){
(_local3 == true);
};
};
return (_local3);
}
public function _ak660(_arg1:_kx788):void{
_id315[_id315.length] = _arg1;
}
public function _ck84(_arg1:Object, _arg2:Number=1):void{
var _local5:_kx788;
var _local3:int = (_id315.length - 1);
var _local4:int = _local3;
while (_local4 >= 0) {
_local5 = _id315[_local4];
_arg1(_local5);
_local5._ju269(_arg2);
if (_local5._gm522 == true){
if (_local5._jg239 != null){
_local5._jg239(_local5);
};
_local5._my580();
_id315.splice(_local4, 1);
_local5 = null;
} else {
_local5._ai835();
};
_local4--;
};
}
public function _dx718(_arg1:int=0):void{
var _local2:int;
var _local3:Object;
var _local4:int = (_id315.length - 1);
_local2 = _local4;
while (_local2 >= 0) {
_local3 = _id315[_local2];
if (_arg1 > 0){
if (_local3._td62 == _arg1){
_id315.splice(_local2, 1);
_local3._my580();
_local3 = null;
};
} else {
_id315.splice(_local2, 1);
_local3._my580();
_local3 = null;
};
_local2--;
};
}
public function _bf575():int{
return (_id315.length);
}
public function _bk860(_arg1:String):_kx788{
var _local2:int;
var _local3:_kx788;
var _local4:_kx788;
var _local5:int = (_id315.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _id315[_local2];
if (_local3.name == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _am706(_arg1:Number=1):void{
var _local3:_kx788;
var _local2:int = (_id315.length - 1);
var _local4:int = _local2;
while (_local4 >= 0) {
_local3 = _id315[_local4];
_local3._ju269(_arg1);
if (_local3._gm522 == true){
if (_local3._jg239 != null){
_local3._jg239(_local3);
};
_local3._my580();
_id315.splice(_local4, 1);
_local3 = null;
};
_local4--;
};
}
public function _sn192():void{
var _local1:_kx788;
for each (_local1 in _id315) {
_local1._gm522 = true;
};
}
public function _mu121(_arg1:int=0):_kx788{
var _local2:int;
var _local3:_kx788;
var _local4:_kx788;
var _local5:int = (_id315.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _id315[_local2];
if (_local3._td62 == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _th828(_arg1:BitmapData):void{
var _local2:_kx788;
for each (_local2 in _id315) {
_local2._yq816(_arg1);
};
}
public function _vu25(_arg1:Number=1):void{
var _local3:_kx788;
var _local2:int = (_id315.length - 1);
var _local4:int = _local2;
while (_local4 >= 0) {
_local3 = _id315[_local4];
_local3._ju269(_arg1);
if (_local3._gm522 == true){
if (_local3._jg239 != null){
_local3._jg239(_local3);
};
_local3._my580();
_id315.splice(_local4, 1);
_local3 = null;
} else {
_local3._ai835();
};
_local4--;
};
}
public function _ng948(_arg1:int=0):_kx788{
var _local2:int;
var _local3:_kx788;
var _local4:_kx788;
var _local5:int = (_id315.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _id315[_local2];
if (_local3.id == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _et786(_arg1:Object, _arg2:Number=1):void{
var _local4:_kx788;
var _local3:int = (_id315.length - 1);
var _local5:int = _local3;
while (_local5 >= 0) {
_local4 = _id315[_local5];
_local4._ju269(_arg2);
_arg1(_local4);
if (_local4._gm522 == true){
if (_local4._jg239 != null){
_local4._jg239(_local4);
};
_local4._my580();
_id315.splice(_local5, 1);
_local4 = null;
} else {
_local4._ai835();
};
_local5--;
};
}
public function _nu28(_arg1:Object, _arg2:Number=1):void{
var _local4:_kx788;
var _local3:int = (_id315.length - 1);
var _local5:int = _local3;
while (_local5 >= 0) {
_local4 = _id315[_local5];
_local4._ju269(_arg2);
if (_local4._gm522 == true){
if (_local4._jg239 != null){
_local4._jg239(_local4);
};
_local4._my580();
_id315.splice(_local5, 1);
_local4 = null;
} else {
_local4._ai835();
_arg1(_local4);
};
_local5--;
};
}
public function _ww152(_arg1:int):Boolean{
var _local2:_kx788;
var _local3:Boolean;
for each (_local2 in _id315) {
if (_local2.id == _arg1){
_local3 = true;
};
};
return (_local3);
}
public function _cl604(_arg1:BitmapData, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Boolean=true, _arg7:Boolean=true):_kx788{
var _local8:_kx788;
_local8 = new _kx788();
_local8._pc675(_arg1, 0, 0, _arg1.width, _arg1.height, _arg2, 1, _arg5, _arg6);
_local8._rx419(_arg3, _arg4);
_local8._xl836 = _arg7;
_id315[_id315.length] = _local8;
return (_local8);
}
public function _fp546(_arg1:Object, _arg2:Number=1):void{
var _local4:_kx788;
var _local3:int = (_id315.length - 1);
var _local5:int = _local3;
while (_local5 >= 0) {
_local4 = _id315[_local5];
_local4._ju269(_arg2);
if (_local4._gm522 == true){
if (_local4._jg239 != null){
_local4._jg239(_local4);
};
_local4._my580();
_id315.splice(_local5, 1);
_local4 = null;
} else {
_arg1(_local4);
_local4._ai835();
};
_local5--;
};
}
public function _fc299(_arg1:int):Boolean{
var _local2:_kx788;
var _local3:Boolean;
for each (_local2 in _id315) {
if (_local2._td62 == _arg1){
_local3 = true;
};
};
return (_local3);
}
public function _kc597(_arg1:int):void{
var _local2:_kx788;
for each (_local2 in _id315) {
if (_local2._wd822 == _arg1){
_local2._gm522 = true;
_local2._dt121 = false;
};
};
}
public function _dp1137(_arg1:Number):Number{
var _local3:_kx788;
var _local2:Number = 0;
for each (_local3 in _id315) {
if (_local3.id == _arg1){
_local2++;
};
};
return (_local2);
}
public function _ne434():void{
var _local1:_kx788;
for each (_local1 in _id315) {
_local1._ai835();
};
}
}
}//package classes
Section 16
//_jl162 (classes._jl162)
package classes {
public class _jl162 {
public var _lc656:Number;// = 0
public var _hp272:Number;// = 0
public var _dn1002:Number;// = 0
public var _xa234:int;
public var _oc1160:Number;// = 0
public var _ci588:Boolean;
public var _yh169:Number;// = 0
public var _ml137:_kx788;
public var _rw329:int;
public var _dx122:Number;// = 0
public var _uh1192:Number;// = 0
public var _ty210:Number;// = 0
public var _sl1099:Number;// = 0
public var _sg1039:Boolean;
public function _jl162(){
_rl1009 = 0;
_xa234 = 0;
}
public function get _rl1009():int{
return (_rw329);
}
public function set _rl1009(_arg1:int):void{
_rw329 = _arg1;
if (_rw329 == 0){
_ml137 = null;
};
}
public function _ju269():void{
if (_xa234){
_dx122 = (_dx122 + (_lc656 * _rn300._fi392));
switch (_xa234){
case 1:
if (_dx122 > _dn1002){
_dx122 = _dn1002;
_lc656 = -(_lc656);
} else {
if (_dx122 < _uh1192){
_dx122 = _uh1192;
_lc656 = -(_lc656);
};
};
break;
case 2:
if (_dx122 > _dn1002){
_dx122 = _uh1192;
} else {
if (_dx122 < _uh1192){
_dx122 = _dn1002;
};
};
break;
case 3:
if (_dx122 >= _dn1002){
_dx122 = _dn1002;
_xa234 = 0;
} else {
if (_dx122 <= _uh1192){
_dx122 = _uh1192;
_xa234 = 0;
};
};
break;
case 4:
if (_dx122 >= _dn1002){
_dx122 = _dn1002;
_xa234 = 0;
_rl1009 = 0;
} else {
if (_dx122 <= _uh1192){
_dx122 = _uh1192;
_xa234 = 0;
_rl1009 = 0;
};
};
break;
case 5:
if (_dx122 > _dn1002){
_dx122 = _uh1192;
} else {
if (_dx122 < _uh1192){
_dx122 = _dn1002;
};
};
_sl1099 = (_sl1099 - _rn300._fi392);
if (_sl1099 < 1){
_sl1099 = 0;
_dx122 = _uh1192;
_xa234 = 0;
};
break;
};
_rl1009 = Math.round(_dx122);
};
}
public function _rm1072(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int):void{
_uh1192 = _arg1;
_dn1002 = _arg2;
_lc656 = _arg3;
_xa234 = _arg4;
}
public function _ps623():void{
_rl1009 = 0;
_xa234 = 0;
_ml137 = null;
}
}
}//package classes
Section 17
//_jt881 (classes._jt881)
package classes {
import flash.display.*;
import flash.geom.*;
import flash.net.*;
public class _jt881 {
private static var _nh958:Number = 57.2957795130823;
public static var _gy611:_wo276 = new _wo276();
private static var rect:Rectangle;
private static var _un282:Number = 6.28318530717959;
private static var _de314:Number = 0.0174532925199433;
private static var _vn1069:Point;
public static function _ul747(_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);
_bt296(_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);
_bt296(_local15, _arg6, _arg7, 0, 0, _arg4, _arg5, _arg8);
_local14 = null;
_local15 = null;
}
public static function _vc497(_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 _fj691(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (Math.sqrt((((_arg3 - _arg1) * (_arg3 - _arg1)) + ((_arg4 - _arg2) * (_arg4 - _arg2)))));
}
public static function _mt157():Number{
return (_gy611._bp574(0, 359));
}
public static function _uy443(_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);
_bt296(_local8, 0, 0, 0, 0, _local8.width, _local8.height, _local6);
_bt296(_local6, 0, 0, 0, 0, _local6.width, _local6.height, _local7);
_re810(_arg4, 0, 0, _local7, _local10, 1, 1, 1, 1, 1, null, false);
_bt296(_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 _bu54(_arg1:int, _arg2:int):int{
return (_gy611._ks222(_arg1, _arg2));
}
public static function _qw704(_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 _be928(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
var _local5:Number = (Math.atan2((_arg4 - _arg2), (_arg3 - _arg1)) * _nh958);
if (_local5 < 0){
_local5 = (_local5 + 360);
};
return (_local5);
}
public static function _cy654(_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 _ma568(_arg1:Number, _arg2:Number):Number{
return ((_arg2 * Math.cos((_arg1 * _de314))));
}
public static function _tb532(_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){
_bt296(_local18, 0, 0, 0, 0, _local18.width, _local18.height, _local16);
_eh307(_local16, ((_local18.width / 2) - 0.5), ((_local18.height / 2) - 0.5), _local17, _local19, _local20, _local21, _local15, 0, 0, _arg4, _arg5, _arg6);
};
_bt296(_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 _ew90(_arg1:String):void{
var _local2:URLRequest = new URLRequest(_arg1);
navigateToURL(_local2, irrcrpt("_cmbol", 1));
}
public static function _sb374(_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);
_bt296(_local12, 0, 0, 0, 0, _local12.width, _local12.height, _local10);
_eh307(_local10, ((_local16 / 2) - 0.5), ((_local17 / 2) - 0.5), _local11, 1, _local13, _local14, _arg8, 0, 0, 1, 1, 1, null, _arg7);
_bt296(_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 _bk630(_arg1:_kx788, _arg2:_kx788):Boolean{
var _local3:Number = _arg1.x;
var _local4:Number = _arg1.y;
var _local5:Number = ((_arg1._ss868 - 1) * Math.abs(_arg1._gq752));
var _local6:Number = ((_arg1._pm523 - 1) * Math.abs(_arg1._ph13));
if (_arg1._qy913 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
return (_cy654(_local3, _local4, _local5, _local6, _arg2.x, _arg2.y, (_arg2._so1032 * Math.abs(_arg2._gq752))));
}
public static function _xy523(_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);
_bt296(_local12, 0, 0, 0, 0, _local12.width, _local12.height, _local10);
_eh307(_local10, ((_local18 / 2) - 0.5), ((_local19 / 2) - 0.5), _local11, _local13, _local14, _local15, _local9, 0, 0, _arg4, _arg5, _arg6);
_bt296(_local11, (_local20 * _local18), 0, 0, 0, _local18, _local19, _arg1[_arg2]);
_local9 = (_local9 + _local17);
_local20++;
};
_local10 = null;
_local11 = null;
_local12 = null;
}
public static function _ai933(_arg1:int=50):Boolean{
if (_arg1 > _gy611._ks222(0, 100)){
return (true);
};
return (false);
}
public static function _st127(_arg1:Number, _arg2:Number):Number{
return (_gy611._bp574(_arg1, _arg2));
}
public static function _kp409(_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);
_bt296(_local10, 0, 0, 0, 0, _local10.width, _local10.height, _local8);
_eh307(_local8, ((_local10.width / 2) - 0.5), ((_local10.height / 2) - 0.5), _local9, _local11, _local12, _local13, _local7, 0, 0, _arg3, _arg4, _arg5);
_bt296(_local9, 0, 0, 0, 0, _local10.width, _local10.height, _arg1[_local16]);
_local7 = (_local7 + _local15);
_local16++;
};
_local8 = null;
_local9 = null;
_local10 = null;
}
public static function _vn783(_arg1:String, _arg2:int):String{
while (_arg1.length < _arg2) {
_arg1 = ("0" + _arg1);
};
return (_arg1);
}
public static function _hb226(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:BitmapData, _arg9:Boolean=true):void{
_vn1069 = new Point((_arg2 - (_arg6 / 2)), (_arg3 - (_arg7 / 2)));
rect = new Rectangle(_arg4, _arg5, _arg6, _arg7);
_arg8.copyPixels(_arg1, rect, _vn1069, null, null, _arg9);
}
public static function _bt296(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:BitmapData, _arg9:Boolean=true):void{
_vn1069 = new Point(_arg2, _arg3);
rect = new Rectangle(_arg4, _arg5, _arg6, _arg7);
_arg8.copyPixels(_arg1, rect, _vn1069, null, null, _arg9);
}
public static function _ui499(_arg1:_kx788, _arg2:_kx788):Boolean{
var _local3:Number = _arg1.x;
var _local4:Number = _arg1.y;
var _local5:Number = ((_arg1._ss868 - 1) * Math.abs(_arg1._gq752));
var _local6:Number = ((_arg1._pm523 - 1) * Math.abs(_arg1._ph13));
var _local7:Number = _arg2.x;
var _local8:Number = _arg2.y;
var _local9:Number = ((_arg2._ss868 - 1) * Math.abs(_arg2._gq752));
var _local10:Number = ((_arg2._pm523 - 1) * Math.abs(_arg2._ph13));
if (_arg1._qy913 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
if (_arg2._qy913 == true){
_local7 = (_local7 - (_local9 / 2));
_local8 = (_local8 - (_local10 / 2));
};
if ((((_arg1._dt121 == true)) && ((_arg2._dt121 == true)))){
return (_ec811(_local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10));
};
return (false);
}
public static function _re810(_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 _hr632(_arg1:Number, _arg2:Number, _arg3:Number=100):Number{
return ((_arg1 / (_arg2 / _arg3)));
}
public static function _mf581(_arg1:Number, _arg2:Number):Number{
var _local3:Number = (Math.atan2(_arg2, _arg1) * _nh958);
if (_local3 < 0){
_local3 = (_local3 + 360);
};
return (_local3);
}
public static function _ao24(_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){
_bt296(_local19, 0, 0, 0, 0, _local19.width, _local19.height, _local17);
_eh307(_local17, ((_local19.width / 2) - 0.5), ((_local19.height / 2) - 0.5), _local18, _local20, _local21, _local22, _local16, 0, 0, _arg4, _arg5, _arg6);
};
_bt296(_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 _be189():Number{
if (_ai933() == true){
return (1);
};
return (-1);
}
public static function _pc518(_arg1:Number, _arg2:Number):Number{
return ((_arg2 * Math.sin((_arg1 * _de314))));
}
public static function _wc637(_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);
_bt296(_local13, 0, 0, 0, 0, _local13.width, _local13.height, _local11);
_eh307(_local11, ((_local13.width / 2) - 0.5), ((_local13.height / 2) - 0.5), _local12, _local14, _local15, _local16, _arg10, 0, 0, _arg4, _arg5, _arg6, null, true);
_bt296(_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 _ce305(_arg1:_kx788, _arg2:_kx788):Boolean{
if ((((_arg1._dt121 == true)) && ((_arg2._dt121 == true)))){
if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1._so1032 * _arg1._gq752) + (_arg2._so1032 * _arg2._gq752))){
return (true);
};
return (false);
//unresolved jump
};
return (false);
}
public static function _tp1038(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Boolean=true):void{
_vn1069 = new Point(_arg2, _arg3);
rect = new Rectangle(0, 0, _arg1.width, _arg1.height);
_arg4.copyPixels(_arg1, rect, _vn1069, null, null, _arg5);
}
public static function _ct660(_arg1:_kx788, _arg2:_kx788):Boolean{
if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1._so1032 * _arg1._gq752) + (_arg2._so1032 * _arg2._gq752))){
return (true);
};
return (false);
}
public static function _ex422(_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 _wp976(_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 _aj645(_arg1:_kx788, _arg2:_kx788):Boolean{
var _local3:Boolean;
if ((((_arg1._dt121 == true)) && ((_arg2._dt121 == true)))){
if (_arg1._nh876 == 0){
if (_arg2._nh876 == 0){
_local3 = _ui499(_arg1, _arg2);
} else {
_local3 = _bk630(_arg1, _arg2);
};
} else {
if (_arg2._nh876 == 1){
_local3 = _ce305(_arg1, _arg2);
} else {
_local3 = _bk630(_arg2, _arg1);
};
};
};
return (_local3);
}
public static function _vw694(_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 _pa305(_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);
_bt296(_local8, 0, 0, 0, 0, _local8.width, _local8.height, _local6);
_re810(_local6, 0, 0, _local7, 1, 1, 1, _local10, _local10, _local10, null, false);
_bt296(_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 _eh307(_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 = ((_un282 * _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 _ec811(_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);
}
}
}//package classes
Section 18
//_kx788 (classes._kx788)
package classes {
import flash.display.*;
import flash.geom.*;
public class _kx788 {
public var _vt829:Number;// = 0
public var _ps574:Number;// = 0
public var _ed593:Boolean;
public var _vf1119:Number;// = 0
public var _nh876:int;
public var _qj339:int;
public var _av548:Number;// = 0
public var _xl836:Boolean;
public var _rs1087:Number;// = 0
public var _lf747:Number;// = 0
public var callback:Function;
public var _yd926:Number;// = 0
public var _rj392:Number;// = 0
public var _cu190:Number;// = 0
public var _nj713:Number;// = 0
public var _ph373:int;// = 0
public var _aw657:Number;// = 0
public var _pc921:int;// = 0
public var _pr169:_kx788;
public var x:Number;// = 0
public var y:Number;// = 0
private var _un282:Number;// = 0
public var _wv849:BitmapData;
public var _nc1105:Number;// = 0
public var _ds821:int;// = 0
public var state:int;
public var _oj894:int;
public var _fe62:Number;// = 0
public var _nt1151:Number;// = 0
public var _no192:Object;
public var _qg1131:Number;// = 0
public var _cc599:Number;// = 0
public var _dx296:Boolean;
public var _cx496:int;
public var _om815:Number;// = 0
public var _lr1186:Number;// = 0
public var _vv1050:int;
public var _lh974:int;// = 0
public var _kg1124:Number;// = 0
public var _ss808:_kx788;
public var _tf435:Number;// = 0
public var _ak1021:Number;// = 0
public var _ps296:Number;// = 0
public var _xu353:String;
public var _dh1080:Number;// = 0
public var _nj645:Number;// = 0
public var _yp1114:Number;// = 0
public var _yl469:Number;// = 0
private var _qp707:Number;// = 0
public var _mu727:Number;// = 0
public var _pm523:Number;// = 0
public var id:int;
public var _sg861:Number;// = 0
public var height:int;
public var _jl282:Number;// = 0
public var _xp1184:Number;// = 0
public var _vm1048:int;
public var _qo757:Number;// = 0
public var _uv826:int;// = 0
public var _al131:BitmapData;
public var _eb909:int;
public var _wg1081:Number;// = 0
public var _qd769:int;// = 0
public var _ns240:Boolean;
public var _cl24:Number;// = 0
public var _fa1052:Number;// = 0
public var _ei428:ColorTransform;
public var alpha:Number;// = 0
public var _xl337:Number;// = 0
public var _cm1048:Number;// = 0
public var frame:Number;// = 0
public var _vu430:Function;
public var _yy433:Number;// = 0
public var _yw378:Number;// = 0
public var _hc532:Number;// = 0
public var _kd389:Number;// = 0
public var _gs63:Function;
public var _wd822:int;
public var _gm522:Boolean;
public var target:_kx788;
public var _pw228:Number;// = 0
public var _aa168:Number;// = 0
public var _jg742:Number;// = 0
public var _ss868:Number;// = 0
public var _ur1001:Number;// = 0
public var _ga209:Number;// = 0
public var _vc1003:Number;// = 0
public var _ok236:Number;// = 0
public var width:int;
public var _tl926:Number;// = 0
public var _ck920:Number;// = 0
public var _cd1165:Number;
public var _rw1053:Number;// = 0
public var _fu478:Number;// = 0
public var _as818:int;// = 0
public var _vg55:Number;// = 0
public var _ou399:Number;// = 0
public var _kx72:int;
public var _mh263:Number;// = 0
public var _vs178:Number;// = 0
public var _jw90:Number;// = 0
public var _td62:int;
public var _fy609:Number;// = 0
public var _vc1037:Object;
public var _vg66:Number;// = 0
public var _kp395:Number;// = 0
public var _qp672:Number;// = 0
public var _io464:Number;// = 0
public var _cd1061:int;// = 0
public var _kd1106:Number;// = 0
public var _ao593:Number;// = 0
public var _hi1136:Number;// = 0
public var _we724:Number;// = 0
public var _lk992:Boolean;
public var _nk477:Number;// = 0
public var _so1032:Number;// = 0
public var _fe811:Number;// = 0
public var _gh1032:Number;// = 0
public var _vp926:int;// = 0
public var _qn398:Number;// = 0
public var _dv520:Number;// = 0
public var _rj717:Boolean;
public var _dt347:Boolean;
public var _xg843:Number;// = 0
public var _ks454:Function;
public var _vx423:Number;// = 0
public var _vv367:int;
public var _ls138:Number;// = 0
public var id3:int;
public var _jd1188:Number;// = 0
public var _lj328:Rectangle;
public var _xh942:Boolean;
public var name:String;
public var _bu604:Point;
public var _oa398:Number;// = 0
public var _is508:Number;// = 0
public var _lu39:Number;// = 0
public var _ij1165:int;
public var _qf456:Number;// = 0
public var _xp317:Number;// = 0
public var _dt121:Boolean;
public var _iu931:Number;// = 0
public var _jw911:int;
public var _jg239:Function;
public var _jh208:int;
public var _fu185:Number;// = 0
public var _lr192:Boolean;
public var _gl291:Number;// = 0
public var _ec519:Number;// = 0
public var _ve738:Array;
public var _hp213:int;
public var _oq866:Number;// = 0
public var _rl931:Number;// = 0
public var _cw859:int;
public var _gq752:Number;// = 0
public var _is535:Number;// = 0
public var _oy595:Number;// = 0
public var _lv329:Number;// = 0
public var _ph13:Number;// = 0
public var _po151:Number;
public var _ya808:Number;// = 0
public var type:int;
public var _tk597:Number;// = 0
public var _vt94:Number;// = 0
public var _ds1060:Number;// = 0
public var _yf148:Boolean;
public var _yj865:Number;// = 0
public var _yx91:Number;// = 0
public var _qf150:Number;// = 0
public var _md415:Number;// = 0
public var _yg242:Number;// = 0
public var _wh859:Number;// = 0
public var _dr1035:Number;// = 0
public var _tv123:Number;// = 0
public var _yq270:int;
public var _hd188:int;
public var _gh868:Number;// = 0
public var _wn168:Number;// = 0
public var rotation:Number;// = 0
public var _ei84:Number;// = 0
public var _gp592:Number;// = 0
public var _gq563:int;
public var _mx359:String;
public var _np670:Number;// = 0
public var _ko701:String;
public var _yh591:Number;// = 0
public var _ho191:int;
public var _xg223:int;// = 0
public var delta:Number;// = 0
public var _dj1064:Boolean;
public var _dc683:Number;// = 0
public var _pr239:Number;// = 0
public var _um1107:int;
public var _ur838:Number;// = 0
public var _mk1104:Boolean;
public var _jh299:BitmapData;
public var _lf835:Number;// = 0
public var _qy913:Boolean;
public var _hj760:int;
public static var _rm1180:Number = 0;
public static var _yf793:Number = 0;
public function _kx788(){
_gh1032 = -10000;
_fe811 = 10000;
_rl931 = -10000;
_dr1035 = 10000;
alpha = 1;
_gq752 = 1;
_ph13 = 1;
_ei428 = new ColorTransform();
_xg843 = 1;
_kd1106 = 1;
_dc683 = 1;
_un282 = (Math.PI * 2);
_lj328 = new Rectangle(0, 0, 0, 0);
_bu604 = new Point(0, 0);
_dt121 = true;
_qy913 = true;
name = "";
_po151 = 0;
}
public function _wf366(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_cm1048 = _arg1;
_lf835 = _arg3;
_jd1188 = _arg2;
_av548 = _arg4;
}
public function _nu1140(_arg1:Number, _arg2:Number):void{
_rm1180 = _arg1;
_yf793 = _arg2;
}
public function _cd95(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_vv1050 = _arg4;
_ps574 = _arg1;
_vs178 = _arg2;
_fu185 = _arg3;
_dh1080 = _arg5;
}
public function _mb295(_arg1:Function):void{
_ks454 = _arg1;
}
public function _cg1110(_arg1:BitmapData, _arg2:Number, _arg3:Number):void{
}
public function _qh283(_arg1:_kx788, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
target = _arg1;
_fa1052 = 0;
_ei84 = _arg2;
_vc1003 = _arg3;
_yg242 = 0;
_qn398 = _arg4;
_yd926 = _arg5;
_pc921 = 2;
}
public function _ju269(_arg1:Number=1):void{
delta = _arg1;
if (_xp1184 != 0){
_xp1184 = (_xp1184 - delta);
if (_xp1184 < 1){
_xp1184 = 0;
_dt121 = _lr192;
};
} else {
_xk486();
_cp1141();
_kp1049();
_df1056();
_pe1111();
_du1096();
_aq1086();
if (callback != null){
callback(this);
};
if (_cd1165){
_cd1165 = (_cd1165 - _arg1);
if (_cd1165 < 1){
_cd1165 = 0;
_gm522 = true;
};
};
};
}
public function _nr792(_arg1:Number, _arg2:Number):void{
_fe62 = _arg1;
_jl282 = _arg2;
}
public function _rx419(_arg1:Number, _arg2:Number):void{
x = _arg1;
y = _arg2;
}
public function _aw415(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_lu39 = _arg1;
_qp672 = _arg3;
_ur838 = _arg2;
_ck920 = _arg4;
}
public function _if1153(_arg1:Boolean):void{
_xl836 = _arg1;
}
public function _mx192(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Function):void{
_fa1052 = _arg1;
_ei84 = _arg2;
_vc1003 = _arg3;
_yg242 = _arg4;
_pc921 = 7;
_gs63 = _arg5;
}
public function _hu207(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_cx496 = _arg4;
_rw1053 = _arg1;
_cc599 = _arg2;
_ga209 = _arg3;
_gq752 = _arg5;
}
public function _ft511(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Number=0, _arg6:Boolean=true):void{
var _local7:Number = (_arg1 + _jt881._gy611._bp574((-(_arg2) / 2), (_arg2 / 2)));
if (_local7 < 0){
_local7 = (_local7 + 360);
} else {
if (_local7 > 360){
_local7 = (_local7 - 360);
};
};
_yl385(_jt881._ma568(_local7, _arg3), _jt881._pc518(_local7, _arg3), 0, _arg5, _arg4, _arg6);
}
public function _iv220(_arg1:BitmapData, _arg2:Number, _arg3:int, _arg4:int, _arg5:int=0):void{
_al131 = _arg1;
_yq270 = 0;
_jw911 = 0;
_qj339 = (_arg3 - 1);
_pr239 = _arg2;
_we724 = 0;
frame = 0;
_cw859 = _arg5;
_hd188 = 1;
_gq563 = _arg4;
}
public function _wh1071(_arg1:_kx788, _arg2:Number, _arg3:Number, _arg4:Number):void{
target = _arg1;
_io464 = _arg2;
_om815 = _arg3;
_oy595 = _arg4;
_pc921 = 5;
}
public function _ql200(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
_yl385(_jt881._ma568(_arg1, 0.01), _jt881._pc518(_arg1, 0.01), 0, 0, 0, false);
_lr1186 = _arg2;
_qf456 = _lr1186;
_dv520 = 1;
_vg66 = _arg3;
_vt94 = _arg4;
_aw657 = _arg5;
_fa1052 = 0;
_pc921 = 13;
}
private function _nc1006(_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 _xb736(_arg1:_kx788, _arg2:Number, _arg3:Number=1):void{
var _local4:Number = rotation;
var _local5:Number = _jt881._be928(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 _ln152(_arg1:Number, _arg2:Number):Boolean{
if (_dt121 == true){
if (_qy913 == true){
return (_nc1006(_arg1, _arg2, (x - ((_ss868 * Math.abs(_gq752)) / 2)), (y - ((_pm523 * Math.abs(_ph13)) / 2)), (_ss868 * Math.abs(_gq752)), (_pm523 * Math.abs(_ph13))));
};
return (_nc1006(_arg1, _arg2, x, y, (_ss868 * Math.abs(_gq752)), (_pm523 * Math.abs(_ph13))));
//unresolved jump
};
return (false);
}
public function _pe1111():void{
if (_kx72){
switch (_kx72){
case 1:
alpha = (alpha + (_gp592 * delta));
if (alpha > _tf435){
alpha = _tf435;
_kx72 = 0;
} else {
if (alpha < _yx91){
alpha = _yx91;
_kx72 = 0;
_gm522 = true;
};
};
break;
case 2:
if (_kd389 > 0){
_kd389 = (_kd389 - (1 * delta));
if (_kd389 < 1){
_kd389 = 0;
_fj37(-(_gp592));
};
} else {
alpha = (alpha + (_gp592 * delta));
if (alpha >= _tf435){
alpha = _tf435;
_kd389 = _np670;
};
};
break;
};
_kv1169(alpha);
};
}
public function _kp1049():void{
if (_cx496){
_gq752 = (_gq752 + (_rw1053 * delta));
switch (_cx496){
case 1:
if (_gq752 >= _ga209){
_gq752 = _ga209;
_rw1053 = -(_rw1053);
} else {
if (_gq752 <= _cc599){
_gq752 = _cc599;
_rw1053 = -(_rw1053);
};
};
break;
case 2:
if (_gq752 >= _ga209){
_gq752 = _cc599;
} else {
if (_gq752 <= _cc599){
_gq752 = _ga209;
};
};
break;
case 3:
if (_gq752 >= _ga209){
_gq752 = _ga209;
_cx496 = 0;
} else {
if (_gq752 <= _cc599){
_gq752 = _cc599;
_cx496 = 0;
};
};
break;
case 4:
if (_gq752 >= _ga209){
_gq752 = _ga209;
_cx496 = 0;
_gm522 = true;
} else {
if (_gq752 <= _cc599){
_gq752 = _cc599;
_cx496 = 0;
_gm522 = true;
};
};
break;
case 5:
if (_gq752 >= _ga209){
_gq752 = _ga209;
_rw1053 = -(_rw1053);
_cx496 = 3;
};
break;
case 6:
if (_gq752 <= _cc599){
_gq752 = _cc599;
_rw1053 = -(_rw1053);
_cx496 = 3;
};
break;
case 7:
if (_gq752 >= _ga209){
_gq752 = _ga209;
_rw1053 = -(_rw1053);
_cx496 = 4;
};
break;
};
};
}
public function _ss940():void{
if (_hp213){
_ur1001 = (_ur1001 + (_xp317 * delta));
switch (_hp213){
case 1:
if (_ur1001 >= _pw228){
_ur1001 = _pw228;
_xp317 = -(_xp317);
} else {
if (_ur1001 <= _ak1021){
_ur1001 = _ak1021;
_xp317 = -(_xp317);
};
};
break;
case 2:
if (_ur1001 >= _pw228){
_ur1001 = _ak1021;
} else {
if (_ur1001 <= _ak1021){
_ur1001 = _pw228;
};
};
break;
case 3:
if (_ur1001 >= _pw228){
_ur1001 = _pw228;
_hp213 = 0;
} else {
if (_ur1001 <= _ak1021){
_ur1001 = _ak1021;
_hp213 = 0;
};
};
break;
case 4:
if (_ur1001 >= _pw228){
_ur1001 = _pw228;
_hp213 = 0;
_gm522 = true;
} else {
if (_ur1001 <= _ak1021){
_ur1001 = _ak1021;
_hp213 = 0;
_gm522 = true;
};
};
break;
};
};
}
public function _in669(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_ij1165 = _arg4;
_yj865 = _arg1;
_cl24 = _arg2;
_gh868 = _arg3;
rotation = _arg5;
}
public function _fm934(_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{
_kp395 = _arg7;
_is535 = _arg8;
_yw378 = _arg9;
_rs1087 = _arg10;
_io464 = _arg1;
_om815 = _arg2;
_oy595 = _arg3;
_ps296 = _arg4;
_wh859 = _arg5;
_ec519 = _arg6;
_mk1104 = _arg11;
_pc921 = 3;
}
public function _yq816(_arg1:BitmapData):void{
var _local2:BitmapData = _jh299;
var _local3:Boolean = _dt347;
_dt347 = false;
_jh299 = _arg1;
_ai835();
_jh299 = _local2;
_dt347 = _local3;
}
public function _nx811(_arg1:Number, _arg2:Number):void{
_kx72 = 2;
_gp592 = _arg1;
_yx91 = 0;
_tf435 = 1;
alpha = 0;
_kd389 = 0;
_np670 = _arg2;
}
public function _xk486():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
if (_pc921 == 1){
if (_qf456 > 0){
_qf456 = (_qf456 - delta);
if (_qf456 < 1){
_qf456 = _lr1186;
_kp395 = (_kp395 * _dv520);
_is535 = (_is535 * _dv520);
if (Math.abs(_kp395) < 0.001){
_kp395 = 0;
};
if (Math.abs(_is535) < 0.001){
_is535 = 0;
};
if ((((_kp395 == 0)) && ((_is535 == 0)))){
_qf456 = 0;
_pc921 = 0;
};
};
};
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
_kp395 = (_kp395 + (_yw378 * delta));
_is535 = (_is535 + (_rs1087 * delta));
if ((((x < _gh1032)) || ((x > _fe811)))){
_gm522 = true;
};
if ((((y < _rl931)) || ((y > _dr1035)))){
_gm522 = true;
};
if (_vt829 > 0){
_vt829 = (_vt829 - delta);
if (_vt829 < 1){
_pc921 = 0;
};
};
} else {
if (_pc921 == 2){
_local1 = x;
_local2 = y;
_local3 = 0;
_local4 = 0;
if (target == null){
} else {
_local3 = target.x;
_local4 = target.y;
if (_local1 < _local3){
_fa1052 = (_fa1052 + (_ei84 * delta));
if (_fa1052 > _vc1003){
_fa1052 = _vc1003;
};
} else {
if (_local1 > _local3){
_fa1052 = (_fa1052 - (_ei84 * delta));
if (_fa1052 < -(_vc1003)){
_fa1052 = -(_vc1003);
};
};
};
x = (x + (_fa1052 * delta));
if (_local2 < _local4){
_yg242 = (_yg242 + (_qn398 * delta));
if (_yg242 > _yd926){
_yg242 = _yd926;
};
} else {
if (_local2 > _local4){
_yg242 = (_yg242 - (_qn398 * delta));
if (_yg242 < -(_yd926)){
_yg242 = -(_yd926);
};
};
};
y = (y + (_yg242 * delta));
};
} else {
if (_pc921 == 3){
_io464 = (_io464 + (_om815 * delta));
_ps296 = (_ps296 + (_wh859 * delta));
x = (x + ((Math.cos(_io464) * _oy595) * delta));
y = (y + ((Math.sin(_ps296) * _ec519) * delta));
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
_kp395 = (_kp395 + (_yw378 * delta));
_is535 = (_is535 + (_rs1087 * delta));
if (_mk1104 == true){
if ((((x < _gh1032)) || ((x > _fe811)))){
_gm522 = true;
};
if ((((y < _rl931)) || ((y > _dr1035)))){
_gm522 = true;
};
};
} else {
if (_pc921 == 4){
} else {
if (_pc921 == 5){
if (target != null){
_io464 = (_io464 + (_om815 * delta));
x = (target.x + (Math.cos(_io464) * _oy595));
y = (target.y + (Math.sin(_io464) * _oy595));
} else {
_gm522 = true;
};
} else {
if (_pc921 == 6){
if (target != null){
if (_nc1105 > 0){
_nc1105 = (_nc1105 - delta);
if (_nc1105 < 1){
_nc1105 = _iu931;
_nt1151 = _jt881._be928(x, y, target.x, target.y);
_kp395 = _jt881._ma568(_nt1151, _fa1052);
_is535 = _jt881._pc518(_nt1151, _fa1052);
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
_fa1052 = (_fa1052 + (_ei84 * delta));
};
} else {
_nt1151 = _jt881._be928(x, y, target.x, target.y);
_kp395 = _jt881._ma568(_nt1151, _fa1052);
_is535 = _jt881._pc518(_nt1151, _fa1052);
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
_fa1052 = (_fa1052 + (_ei84 * delta));
};
if (_vc1003 > 0){
_vc1003 = (_vc1003 - delta);
if (_vc1003 < 1){
_vc1003 = 0;
_pc921 = 0;
};
};
} else {
_gm522 = true;
};
} else {
if (_pc921 == 7){
_nt1151 = _jt881._be928(x, y, _fa1052, _ei84);
_kp395 = _jt881._ma568(_nt1151, _vc1003);
_is535 = _jt881._pc518(_nt1151, _vc1003);
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
_vc1003 = (_vc1003 + (_yg242 * delta));
if (_kp395 > 0){
if (x > _fa1052){
x = _fa1052;
};
} else {
if (_kp395 < 0){
if (x < _fa1052){
x = _fa1052;
};
};
};
if (_is535 > 0){
if (y > _ei84){
y = _ei84;
};
} else {
if (_is535 < 0){
if (y < _ei84){
y = _ei84;
};
};
};
if ((((x == _fa1052)) && ((y == _ei84)))){
if (_ed593 == false){
_pc921 = 0;
if (_gs63 != null){
_gs63(this);
_gs63 = null;
};
};
};
} else {
if (_pc921 == 8){
_io464 = (_io464 + (_om815 * delta));
_ps296 = (_ps296 + (_wh859 * delta));
x = (x + ((Math.cos(_io464) * _oy595) * delta));
y = (y + ((Math.sin(_ps296) * _ec519) * delta));
_oy595 = (_oy595 + (_qg1131 * delta));
_ec519 = (_ec519 + (_qg1131 * delta));
if ((((x < _gh1032)) || ((x > _fe811)))){
_gm522 = true;
};
if ((((y < _rl931)) || ((y > _dr1035)))){
_gm522 = true;
};
} else {
if (_pc921 == 9){
_nt1151 = _jt881._be928(x, y, _fa1052, _ei84);
_kp395 = _jt881._ma568(_nt1151, _vc1003);
_is535 = _jt881._pc518(_nt1151, _vc1003);
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
_vc1003 = (_vc1003 + (_yg242 * delta));
if (_kp395 > 0){
if (x > _fa1052){
x = _fa1052;
};
} else {
if (_kp395 < 0){
if (x < _fa1052){
x = _fa1052;
};
};
};
if (_is535 > 0){
if (y > _ei84){
y = _ei84;
};
} else {
if (_is535 < 0){
if (y < _ei84){
y = _ei84;
};
};
};
if ((((x == _fa1052)) && ((y == _ei84)))){
_pc921 = 0;
_gm522 = true;
};
} else {
if (_pc921 == 10){
if (_qf456 > 0){
_qf456 = (_qf456 - delta);
if (_qf456 < 1){
_qf456 = _lr1186;
_kp395 = (_kp395 * _dv520);
_is535 = (_is535 * _dv520);
if (Math.abs(_kp395) < 0.001){
_kp395 = 0;
};
if (Math.abs(_is535) < 0.001){
_is535 = 0;
};
if ((((_kp395 == 0)) && ((_is535 == 0)))){
_qf456 = 0;
_pc921 = 0;
};
};
};
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
_kp395 = (_kp395 + (_yw378 * delta));
_is535 = (_is535 + (_rs1087 * delta));
if (_vt829 > 0){
_vt829 = (_vt829 - delta);
if (_vt829 < 1){
_pc921 = 0;
};
};
} else {
if (_pc921 == 11){
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
if (x < _gh1032){
x = _gh1032;
_kp395 = -(_kp395);
} else {
if (x > _fe811){
x = _fe811;
_kp395 = -(_kp395);
};
};
if (y < _rl931){
y = _rl931;
_is535 = -(_is535);
} else {
if (y > _dr1035){
y = _dr1035;
_is535 = -(_is535);
};
};
} else {
if (_pc921 == 12){
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
if (x < _gh1032){
x = _fe811;
} else {
if (x > _fe811){
x = _gh1032;
};
};
if (y < _rl931){
y = _dr1035;
} else {
if (y > _dr1035){
y = _rl931;
};
};
} else {
if (_pc921 == 13){
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
_qf456 = (_qf456 - delta);
if (_qf456 < 1){
_qf456 = _lr1186;
_kp395 = (_kp395 * _dv520);
_is535 = (_is535 * _dv520);
_dv520 = (_dv520 + _vg66);
if (_fa1052 == 0){
if (_dv520 > _vt94){
_dv520 = _vt94;
_vg66 = -(_vg66);
_fa1052 = 1;
};
} else {
if (_dv520 < _aw657){
_dv520 = _aw657;
};
if (Math.abs(_kp395) < 0.001){
_kp395 = 0;
};
if (Math.abs(_is535) < 0.001){
_is535 = 0;
};
if ((((_kp395 == 0)) && ((_is535 == 0)))){
_pc921 = 0;
};
};
};
} else {
if (_pc921 == 14){
_kp395 = _jt881._ma568(rotation, _fy609);
_is535 = _jt881._pc518(rotation, _fy609);
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
if (_mk1104 == true){
if ((((x < _gh1032)) || ((x > _fe811)))){
_gm522 = true;
};
if ((((y < _rl931)) || ((y > _dr1035)))){
_gm522 = true;
};
};
} else {
if (_pc921 == 15){
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
if (x < _gh1032){
x = _fe811;
y = _jt881._gy611._bp574(_rl931, _dr1035);
} else {
if (x > _fe811){
x = _gh1032;
y = _jt881._gy611._bp574(_rl931, _dr1035);
};
};
if (y < _rl931){
y = _dr1035;
x = _jt881._gy611._bp574(_gh1032, _fe811);
} else {
if (y > _dr1035){
y = _rl931;
x = _jt881._gy611._bp574(_gh1032, _fe811);
};
};
} else {
if (_pc921 == 16){
_io464 = (_io464 + (_om815 * delta));
x = (_fa1052 + (Math.cos(_io464) * _oy595));
y = (_ei84 + (Math.sin(_io464) * _oy595));
} else {
if (_pc921 == 17){
x = (x + (_kp395 * delta));
y = (y + (_is535 * delta));
_is535 = (_is535 + (_rs1087 * delta));
if (_is535 > 0){
if (y > _fa1052){
y = _fa1052;
_pc921 = 0;
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
public function _bm276(_arg1:_kx788, _arg2:Number):void{
_ij1165 = 5;
_yj865 = _arg2;
_pr169 = _arg1;
}
public function _yl135(_arg1:_kx788, _arg2:Number, _arg3:Number):void{
_nt1151 = _jt881._be928(x, y, _arg1.x, _arg1.y);
x = (x + (_jt881._ma568(_nt1151, _arg2) * _arg3));
y = (y + (_jt881._pc518(_nt1151, _arg2) * _arg3));
}
public function _yl385(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0, _arg6:Boolean=true):void{
_kp395 = _arg1;
_is535 = _arg2;
_yw378 = _arg3;
_rs1087 = _arg4;
_vt829 = _arg5;
_mk1104 = _arg6;
_pc921 = 1;
if (_mk1104 == false){
_pc921 = 10;
};
}
public function _rn255(_arg1:Object, _arg2:Number, _arg3:int, _arg4:Number):void{
_vc1037 = _arg1;
_al131 = _vc1037[0];
_yq270 = 0;
_um1107 = 0;
_jw911 = 0;
_qj339 = (_arg3 - 1);
_pr239 = _arg2;
_we724 = 0;
frame = 0;
_hd188 = 3;
_gq563 = 5;
_nj713 = _arg4;
}
public function _lh28(_arg1:Number, _arg2:Number):void{
_dh1080 = _arg1;
_ur1001 = _arg2;
}
public function _pv382(_arg1:Number, _arg2:Number=0.95):void{
_qf456 = _arg1;
_lr1186 = _arg1;
_dv520 = _arg2;
}
public function _he843(_arg1:Function):void{
callback = _arg1;
}
public function _df1056():void{
if (_hj760){
_ph13 = (_ph13 + (_nj645 * delta));
switch (_hj760){
case 1:
if (_ph13 >= _ou399){
_ph13 = _ou399;
_nj645 = -(_nj645);
} else {
if (_ph13 <= _mu727){
_ph13 = _mu727;
_nj645 = -(_nj645);
};
};
break;
case 2:
if (_ph13 >= _ou399){
_ph13 = _mu727;
} else {
if (_ph13 <= _mu727){
_ph13 = _ou399;
};
};
break;
case 3:
if (_ph13 >= _ou399){
_ph13 = _ou399;
_hj760 = 0;
} else {
if (_ph13 <= _mu727){
_ph13 = _mu727;
_hj760 = 0;
};
};
break;
case 4:
if (_ph13 >= _ou399){
_ph13 = _ou399;
_hj760 = 0;
_gm522 = true;
} else {
if (_ph13 <= _mu727){
_ph13 = _mu727;
_hj760 = 0;
_gm522 = true;
};
};
break;
case 5:
if (_ph13 >= _ou399){
_ph13 = _ou399;
_nj645 = -(_nj645);
_hj760 = 3;
};
break;
case 7:
if (_ph13 >= _ou399){
_ph13 = _ou399;
_nj645 = -(_nj645);
_hj760 = 4;
};
break;
};
};
}
public function _kg433(_arg1:Function):void{
_jg239 = _arg1;
}
public function _gj1193(_arg1:Number, _arg2:Number):void{
_gq752 = _arg1;
_ph13 = _arg2;
}
public function _pc675(_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{
_xp1184 = _arg8;
type = _arg7;
_al131 = _arg1;
_jh299 = _arg6;
_yq270 = _arg2;
_um1107 = _arg3;
width = _arg4;
height = _arg5;
_lj328.width = width;
_lj328.height = height;
_qy913 = _arg9;
_so1032 = (width / 2);
_ss868 = width;
_pm523 = height;
_nh876 = 0;
_dt121 = true;
_xl836 = _arg10;
_dj1064 = false;
if (_xp1184 > 0){
_lr192 = _dt121;
_dt121 = false;
};
_kv1169(1);
}
public function _uu418(_arg1:BitmapData, _arg2:Number, _arg3:int, _arg4:int, _arg5:Array):void{
_al131 = _arg1;
_yq270 = 0;
_jw911 = 0;
_qj339 = (_arg3 - 1);
_pr239 = _arg2;
_we724 = 0;
frame = 0;
_cw859 = 0;
_hd188 = 2;
_gq563 = _arg4;
_ve738 = _arg5;
}
public function _jq549(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_hj760 = _arg4;
_nj645 = _arg1;
_mu727 = _arg2;
_ou399 = _arg3;
_ph13 = _arg5;
_cx496 = _arg4;
_rw1053 = _arg1;
_cc599 = _arg2;
_ga209 = _arg3;
_gq752 = _arg5;
}
public function _qr718(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_kp395 = _jt881._ma568(_arg1, _arg2);
_is535 = _jt881._pc518(_arg1, _arg2);
_gh1032 = _arg3;
_fe811 = _arg5;
_rl931 = _arg4;
_dr1035 = _arg6;
_pc921 = 15;
}
public function _lj876(_arg1:Number, _arg2:Number, _arg3:Number):void{
_xg843 = _arg1;
_kd1106 = _arg2;
_dc683 = _arg3;
}
public function _kv1169(_arg1:Number):void{
alpha = _arg1;
}
public function _sh794(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_gh1032 = _arg1;
_fe811 = _arg3;
_rl931 = _arg2;
_dr1035 = _arg4;
}
public function _nx880(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
_al131 = _arg1;
_yq270 = _arg2;
_um1107 = _arg3;
width = _arg4;
height = _arg5;
_lj328.width = width;
_lj328.height = height;
_so1032 = (width / 2);
_ss868 = width;
_pm523 = height;
_dt121 = true;
}
public function _sj866(_arg1:int):Boolean{
_eb909 = (_eb909 - _arg1);
if (_eb909 < 1){
_eb909 = 0;
return (true);
};
return (false);
}
public function _dm91(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_kp395 = _arg1;
_is535 = _arg2;
_gh1032 = _arg3;
_fe811 = _arg5;
_rl931 = _arg4;
_dr1035 = _arg6;
_pc921 = 11;
}
public function _of707(_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 _ai835():void{
var _local1:Number;
var _local2:Matrix;
if (_xp1184 == 0){
if (_dt347 == false){
if (type == 1){
_local1 = 0;
if (rotation != 0){
if (rotation > 180){
_local1 = (-360 + rotation);
} else {
_local1 = rotation;
};
_local1 = ((_un282 * _local1) / 360);
};
_local2 = new Matrix();
if (_qy913 == true){
_local2.translate((-(width) / 2), (-(height) / 2));
};
_local2.scale(_gq752, _ph13);
_local2.rotate(_local1);
_local2.translate((x + _rm1180), (y + _yf793));
_ei428.redMultiplier = _xg843;
_ei428.greenMultiplier = _kd1106;
_ei428.blueMultiplier = _dc683;
_ei428.alphaMultiplier = alpha;
_jh299.draw(_al131, _local2, _ei428, _ko701, null, _xl836);
} else {
if (_qy913 == true){
_bu604.x = ((x + _rm1180) - (width / 2));
_bu604.y = ((y + _yf793) - (height / 2));
} else {
_bu604.x = (x + _rm1180);
_bu604.y = (y + _yf793);
};
_lj328.x = _yq270;
_lj328.y = _um1107;
_jh299.copyPixels(_al131, _lj328, _bu604, null, null, false);
};
};
};
}
public function _uy713(_arg1:Number, _arg2:Boolean=true):void{
_fy609 = _arg1;
_pc921 = 14;
_mk1104 = _arg2;
}
public function _sf1159(_arg1:Number, _arg2:Number):void{
_ss868 = _arg1;
_pm523 = _arg2;
_nh876 = 0;
}
public function _iq1010(_arg1:Object, _arg2:Number, _arg3:int, _arg4:int):void{
_vc1037 = _arg1;
_al131 = _vc1037[0];
_yq270 = 0;
_um1107 = 0;
_jw911 = 0;
_qj339 = (_arg3 - 1);
_pr239 = _arg2;
_we724 = 0;
frame = 0;
_hd188 = 3;
_gq563 = _arg4;
}
public function _sf1163(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_hj760 = _arg4;
_nj645 = _arg1;
_mu727 = _arg2;
_ou399 = _arg3;
_ph13 = _arg5;
}
public function _du1096():void{
if (_gq563){
_we724 = (_we724 + (_pr239 * delta));
switch (_gq563){
case 1:
if (_we724 > _qj339){
_we724 = _qj339;
_pr239 = -(_pr239);
} else {
if (_we724 < _jw911){
_we724 = _jw911;
_pr239 = -(_pr239);
};
};
break;
case 2:
if (_we724 > _qj339){
_we724 = _jw911;
} else {
if (_we724 < _jw911){
_we724 = _qj339;
};
};
break;
case 3:
if (_we724 >= _qj339){
_we724 = _qj339;
_gq563 = 0;
} else {
if (_we724 <= _jw911){
_we724 = _jw911;
_gq563 = 0;
};
};
break;
case 4:
if (_we724 >= _qj339){
_we724 = _qj339;
_gq563 = 0;
_gm522 = true;
} else {
if (_we724 <= _jw911){
_we724 = _jw911;
_gq563 = 0;
_gm522 = true;
};
};
break;
case 5:
if (_we724 > _qj339){
_we724 = _jw911;
} else {
if (_we724 < _jw911){
_we724 = _qj339;
};
};
_nj713 = (_nj713 - delta);
if (_nj713 < 1){
_nj713 = 0;
_we724 = _jw911;
_gq563 = 0;
};
break;
};
frame = Math.round(_we724);
if (_hd188 == 1){
_yq270 = (frame * (width + _cw859));
} else {
if (_hd188 == 2){
_yq270 = _ve738[(frame * 2)];
_um1107 = _ve738[((frame * 2) + 1)];
} else {
_al131 = _vc1037[frame];
};
};
};
}
public function _aq1086():void{
if (_rj717 == true){
_wg1081 = (_wg1081 - (_xl337 * delta));
_ya808 = (_ya808 - (_cu190 * delta));
_yh591 = (_yh591 - (_ao593 * delta));
if (_wg1081 < _ds1060){
_wg1081 = _ds1060;
};
if (_ya808 < _tl926){
_ya808 = _tl926;
};
if (_yh591 < _aa168){
_yh591 = _ds1060;
};
_xg843 = _wg1081;
_kd1106 = _ya808;
_dc683 = _yh591;
if (_wg1081 == _ds1060){
if (_ya808 == _tl926){
if (_yh591 == _aa168){
_rj717 = false;
};
};
};
};
}
public function _tp907():void{
if (_vv1050){
_dh1080 = (_dh1080 + (_ps574 * delta));
switch (_vv1050){
case 1:
if (_dh1080 >= _fu185){
_dh1080 = _fu185;
_ps574 = -(_ps574);
} else {
if (_dh1080 <= _vs178){
_dh1080 = _vs178;
_ps574 = -(_ps574);
};
};
break;
case 2:
if (_dh1080 >= _fu185){
_dh1080 = _vs178;
} else {
if (_dh1080 <= _vs178){
_dh1080 = _fu185;
};
};
break;
case 3:
if (_dh1080 >= _fu185){
_dh1080 = _fu185;
_vv1050 = 0;
} else {
if (_dh1080 <= _vs178){
_dh1080 = _vs178;
_vv1050 = 0;
};
};
break;
case 4:
if (_dh1080 >= _fu185){
_dh1080 = _fu185;
_vv1050 = 0;
_gm522 = true;
} else {
if (_dh1080 <= _vs178){
_dh1080 = _vs178;
_vv1050 = 0;
_gm522 = true;
};
};
break;
};
};
}
public function _fj37(_arg1:Number, _arg2:Number=1, _arg3:Number=0, _arg4:Number=1):void{
_kx72 = 1;
_gp592 = _arg1;
_yx91 = _arg3;
_tf435 = _arg4;
alpha = _arg2;
}
public function _ix1111(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_wg1081 = _arg1;
_ya808 = _arg2;
_yh591 = _arg3;
_xl337 = _arg4;
_cu190 = _arg5;
_ao593 = _arg6;
_ds1060 = 1;
_tl926 = 1;
_aa168 = 1;
_rj717 = true;
}
public function _lx407(_arg1:Number):void{
_cd1165 = _arg1;
}
public function _uy773(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_hp213 = _arg4;
_xp317 = _arg1;
_ak1021 = _arg2;
_pw228 = _arg3;
_ur1001 = _arg5;
}
public function _vw287(_arg1:String):void{
name = _arg1;
}
public function _uw1023(_arg1:Boolean):void{
_dt121 = _arg1;
_lr192 = _dt121;
}
public function _au510(_arg1:Number):void{
_so1032 = _arg1;
_nh876 = 1;
}
public function _bk772(_arg1:Number, _arg2:Number):void{
_ij1165 = 6;
_yj865 = _arg2;
_cl24 = _arg1;
}
public function _qf163(_arg1:Function):void{
_vu430 = _arg1;
}
public function _la355(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_kp395 = _arg1;
_is535 = _arg2;
_rs1087 = _arg3;
_fa1052 = _arg4;
_pc921 = 17;
}
public function _eg823(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):void{
_io464 = _arg1;
_om815 = _arg2;
_oy595 = _arg3;
_ps296 = _arg4;
_wh859 = _arg5;
_ec519 = _arg6;
_qg1131 = _arg7;
_pc921 = 8;
}
public function _cp1141():void{
if (_ij1165){
switch (_ij1165){
case 1:
rotation = (rotation + (_yj865 * delta));
if (rotation >= _gh868){
rotation = _gh868;
_yj865 = -(_yj865);
} else {
if (rotation <= _cl24){
rotation = _cl24;
_yj865 = -(_yj865);
};
};
break;
case 2:
rotation = (rotation + (_yj865 * delta));
if (rotation >= _gh868){
rotation = _cl24;
} else {
if (rotation <= _cl24){
rotation = _gh868;
};
};
break;
case 3:
rotation = (rotation + (_yj865 * delta));
if (rotation >= _gh868){
rotation = _gh868;
_ij1165 = 0;
} else {
if (rotation <= _cl24){
rotation = _cl24;
_ij1165 = 0;
};
};
break;
case 4:
rotation = (rotation + (_yj865 * delta));
if (rotation >= _gh868){
rotation = _gh868;
_ij1165 = 0;
_gm522 = true;
} else {
if (rotation <= _cl24){
rotation = _cl24;
_ij1165 = 0;
_gm522 = true;
};
};
break;
case 5:
_xb736(_pr169, _yj865);
break;
case 6:
_of707(_cl24, _yj865, delta);
break;
};
};
}
public function _xk1060(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
_fa1052 = _arg1;
_ei84 = _arg2;
_io464 = _arg3;
_om815 = _arg4;
_oy595 = _arg5;
_pc921 = 16;
}
public function _uf611(_arg1:String):void{
_ko701 = _arg1;
}
public function _vd487(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_kp395 = _jt881._ma568(_arg1, _arg2);
_is535 = _jt881._pc518(_arg1, _arg2);
_gh1032 = _arg3;
_fe811 = _arg5;
_rl931 = _arg4;
_dr1035 = _arg6;
_pc921 = 12;
}
public function _my580():void{
_ve738 = null;
callback = null;
_ks454 = null;
_vu430 = null;
_jg239 = null;
_gs63 = null;
_lj328 = null;
_bu604 = null;
_no192 = null;
_pr169 = null;
target = null;
_ss808 = null;
}
public function _vy148(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Boolean=false, _arg6:Boolean=false):void{
_fa1052 = _arg1;
_ei84 = _arg2;
_vc1003 = _arg3;
_yg242 = _arg4;
_pc921 = 7;
if (_arg5 == true){
_pc921 = 9;
};
_ed593 = _arg6;
}
public function _tm77(_arg1:_kx788, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):void{
target = _arg1;
_fa1052 = _arg2;
_iu931 = _arg3;
_nc1105 = _iu931;
_pc921 = 6;
_ei84 = _arg4;
_vc1003 = _arg5;
}
}
}//package classes
Section 19
//_mj197 (classes._mj197)
package classes {
import flash.display.*;
import flash.geom.*;
public class _mj197 {
private var _gk70:Number;
private var _br586:Class;
private var i:int;
private var _oo393:Number;
private var _qk672:Object;
private var _ql632:Bitmap;
public static const CENTER:int = 2;
public static const LEFT:int = 0;
public static const RIGHT:int = 1;
public function _mj197():void{
_br586 = _mj197__br586;
_ql632 = new _br586();
_gk70 = "?".charCodeAt(0);
_oo393 = irrcrpt("\n", 2).charCodeAt(0);
_qk672 = new Object();
super();
i = 32;
while (i < 161) {
_qk672[i] = new Rectangle((((i - 32) % 16) * 16), (int(((i - 32) / 16)) * 16), 9, 16);
i++;
};
}
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", 2));
for each (_local7 in _local6) {
if (_arg5 == LEFT){
_dq73(_arg1, _local7, _arg3, _arg4);
} else {
if (_arg5 == RIGHT){
_dq73(_arg1, _local7, (_arg3 - (_local7.length * 8)), _arg4);
} else {
_dq73(_arg1, _local7, (_arg3 - ((_local7.length * 8) / 2)), _arg4);
};
};
_arg4 = (_arg4 + 13);
};
}
private function _dq73(_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 = _gk70;
};
_arg1.copyPixels(_ql632.bitmapData, _qk672[_local8], _local5);
_local5.x = (_local5.x + 8);
_local7++;
};
}
}
}//package classes
Section 20
//_mj197__br586 (classes._mj197__br586)
package classes {
import mx.core.*;
public class _mj197__br586 extends BitmapAsset {
}
}//package classes
Section 21
//_mm914 (classes._mm914)
package classes {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
import flash.ui.*;
public class _mm914 extends Sprite {
private static var _dq703:Array = [];
public static var _ft309:Boolean;
private static var _cj778:Array = [];
public static var _ya643:Boolean;
private static var _pj265:Array = [];
public static var _bx1039:int;
private static var _eh572:Array = [];
private static function _kh704(_arg1:MouseEvent):void{
_ya643 = true;
_ft309 = true;
}
private static function _ym561(_arg1:KeyboardEvent):void{
_cj778[_arg1.keyCode] = true;
_pj265[_arg1.keyCode] = true;
_eh572[_arg1.keyCode] = false;
trace((irrcrpt("Lfz: ", 1) + _arg1.keyCode));
}
public static function _yd924(_arg1:int):void{
_cj778[_arg1] = false;
_pj265[_arg1] = false;
_eh572[_arg1] = false;
_bx1039 = 0;
}
public static function Init(_arg1:Stage):void{
_arg1.addEventListener(MouseEvent.MOUSE_DOWN, _kh704);
_arg1.addEventListener(MouseEvent.MOUSE_UP, _nl562);
_arg1.addEventListener(KeyboardEvent.KEY_DOWN, _ym561);
_arg1.addEventListener(KeyboardEvent.KEY_UP, _mc1152);
}
private static function _mc1152(_arg1:KeyboardEvent):void{
_cj778[_arg1.keyCode] = false;
_pj265[_arg1.keyCode] = false;
_eh572[_arg1.keyCode] = true;
_bx1039 = _arg1.keyCode;
}
private static function _nl562(_arg1:MouseEvent):void{
_ya643 = false;
_ft309 = false;
}
public static function _ri482():void{
var _local1:int;
_local1 = 0;
while (_local1 < 0x0100) {
_cj778[_local1] = false;
_eh572[_local1] = false;
_pj265[_local1] = false;
_dq703[_local1] = false;
_local1++;
};
_bx1039 = 0;
}
}
}//package classes
Section 22
//_nw434 (classes._nw434)
package classes {
import flash.events.*;
import flash.utils.*;
public class _nw434 {
private static const _sm162:int = 20;
public static var _le453:Number = 20;
private static var _oc537:Number = 0;
private static var _dn107:Number = 0;
private static var _rv710:Array = [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30];
private static var _ho845:int;
public static var _no606:Number = 0;
public static function _xh1075(_arg1:Number=40):void{
_le453 = _arg1;
}
public static function _cp562():Number{
var _local1:uint = getTimer();
var _local2:uint = (_local1 - _oc537);
_oc537 = getTimer();
_ho845++;
if (_ho845 == _sm162){
_ho845 = 0;
};
_rv710[_ho845] = _local2;
_dn107 = 0;
var _local3:int;
while (_local3 < _sm162) {
_dn107 = (_dn107 + _rv710[_local3]);
_local3++;
};
_no606 = (_dn107 / _sm162);
if (_no606 > _le453){
_no606 = _le453;
};
return (_no606);
}
public static function _rd586():void{
_oc537 = getTimer();
_rv710 = [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30];
_dn107 = 30;
_ho845 = -1;
}
public static function _gg250():Number{
var _local1:uint = getTimer();
var _local2:uint = (_local1 - _oc537);
_oc537 = getTimer();
if (_local2 > _le453){
_local2 = _le453;
};
return (_local2);
}
}
}//package classes
Section 23
//_px495 (classes._px495)
package classes {
import flash.media.*;
import flash.utils.*;
public class _px495 {
private static var _es212:Dictionary;
private static var _kv1142:Boolean;
public static function _ny81(_arg1:String, _arg2:Number):void{
var _local3:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<PJHVrxqgv> Vhw Sdq: ", 3) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2))));
};
_local3 = _es212[_arg1];
_local3._rs439 = _arg2;
}
public static function _ho53(_arg1:String, _arg2:Number):void{
var _local3:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<RLJXtzsix> Xjy Atqzrj: ", 5) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local3 = _es212[_arg1];
_local3._li586 = _arg2;
}
public static function _nx680(_arg1:String):void{
var _local2:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<OIGUqwpfu> Rnca Uqwpf: ", 2) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local2 = _es212[_arg1];
if (_kv1142 == true){
_local2._nx680();
};
}
public static function _dt1083():Boolean{
return (_kv1142);
}
public static function _xl402():void{
var _local1:_be314;
for each (_local1 in _es212) {
_local1._lv829();
};
_na679();
}
public static function _na679():void{
var _local1:_be314;
for each (_local1 in _es212) {
_local1._ds1145 = false;
_local1._ih887 = 0;
_local1._xv391 = 0;
};
}
public static function Init():void{
_es212 = new Dictionary();
_kv1142 = true;
}
public static function _vi810():void{
var _local1:_be314;
for each (_local1 in _es212) {
if (_local1._ih887 > 0){
_local1._ih887 = (_local1._ih887 - _rn300._fi392);
if (_local1._ih887 < 1){
_local1._ih887 = 0;
};
} else {
if (_local1._ds1145 == true){
_local1._ds1145 = false;
if (_kv1142 == true){
_local1._nx680();
_local1._ih887 = _local1._xv391;
};
};
};
};
}
public static function _nb1047(_arg1:Boolean):void{
_kv1142 = _arg1;
}
public static function _vq1140(_arg1:String, _arg2:Sound, _arg3:Number=0, _arg4:int=0):void{
var _local5:_be314 = new _be314();
_local5._vq1140(_arg2, _arg3, _arg4);
_es212[_arg1] = _local5;
}
public static function _qp879(_arg1:String):Number{
var _local2:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<PJHVrxqgv> Jhw Yroxph: ", 3) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local2 = _es212[_arg1];
return (_local2._li586);
}
public static function _lv829(_arg1:String):void{
var _local2:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<RLJXtzsix> Xytu Xtzsi: ", 5) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2))));
};
_local2 = _es212[_arg1];
_local2._lv829();
}
public static function _uv117(_arg1:String, _arg2:Number=0):void{
var _local3:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<OIGUqwpfu> Ewg: ", 2) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local3 = _es212[_arg1];
if (_local3._ih887 == 0){
_local3._ds1145 = true;
_local3._xv391 = _arg2;
};
}
public static function _pd343(_arg1:String):Number{
var _local2:_be314;
if (_es212[_arg1] == null){
throw (new Error(((irrcrpt("<OIGUqwpfu> Igv Rcp: ", 2) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local2 = _es212[_arg1];
return (_local2._rs439);
}
}
}//package classes
Section 24
//_qr940 (classes._qr940)
package classes {
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
import flash.ui.*;
public class _qr940 {
private var _fh857:BitmapData;
private var _jy158:Object;
public var _px660:Number;// = 0
private var _wv354:Object;
public function _qr940(){
_jy158 = new Object();
_wv354 = new Object();
super();
}
public function _nd594(_arg1:String, _arg2:Number=1):Number{
var _local3:int = _arg1.length;
var _local4:Number = 0;
var _local5:int;
while (_local5 < _local3) {
_local4 = ((_local4 + (_jy158[_arg1.charCodeAt(_local5)].width * _arg2)) + (_px660 * _arg2));
_local5++;
};
return ((_local4 - (_px660 * _arg2)));
}
public function _ox368(_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 - (_nd594(_arg2, _arg7) / 2));
};
_local17 = _arg3;
_local16 = 0;
while (_local16 < _local14) {
_local15 = _arg2.charCodeAt(_local16);
_jt881._re810(_wv354[_local15], (_arg3 + _arg5), (_arg4 + _arg6), _arg1, _arg13, _arg7, _arg8, 0.1, 0.1, 0.1);
_arg3 = ((_arg3 + (_jy158[_local15].width * _arg7)) + (_px660 * _arg7));
_local16++;
};
_arg3 = _local17;
_local16 = 0;
while (_local16 < _local14) {
_local15 = _arg2.charCodeAt(_local16);
_jt881._re810(_wv354[_local15], _arg3, _arg4, _arg1, _arg13, _arg7, _arg8, _arg9, _arg10, _arg11);
_arg3 = ((_arg3 + (_jy158[_local15].width * _arg7)) + _px660);
_local16++;
};
}
public function _gw45(_arg1:int, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
_jy158[_arg1] = new Rectangle(_arg2, _arg3, _arg4, _arg5);
_wv354[_arg1] = new BitmapData(_jy158[_arg1].width, _jy158[_arg1].height, true, 0);
_jt881._bt296(_fh857, 0, 0, _jy158[_arg1].x, _jy158[_arg1].y, _jy158[_arg1].width, _jy158[_arg1].height, _wv354[_arg1]);
}
public function _vv597(_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 - (_nd594(_arg2) / 2));
};
_local9.y = _arg4;
var _local10:int;
while (_local10 < _local7) {
_local8 = _arg2.charCodeAt(_local10);
_local9.x = _arg3;
_arg1.copyPixels(_fh857, _jy158[_local8], _local9, null, null, _arg6);
_arg3 = (_arg3 + (_jy158[_local8].width + _px660));
_local10++;
};
}
public function _rh585(_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 - (_nd594(_arg2, _arg5) / 2));
};
var _local14:int;
while (_local14 < _local12) {
_local13 = _arg2.charCodeAt(_local14);
_jt881._re810(_wv354[_local13], _arg3, _arg4, _arg1, _arg11, _arg5, _arg6, _arg7, _arg8, _arg9);
_arg3 = ((_arg3 + (_jy158[_local13].width * _arg5)) + (_px660 * _arg5));
_local14++;
};
}
public function _ul104(_arg1:BitmapData, _arg2:Number=1):void{
_fh857 = _arg1;
_px660 = _arg2;
}
}
}//package classes
Section 25
//_rm763 (classes._rm763)
package classes {
import flash.geom.*;
public class _rm763 {
private static var _nh958:Number = 57.2957795130823;
private static var rect:Rectangle;
private static var _un282:Number = 6.28318530717959;
private static var _de314:Number = 0.0174532925199433;
private static var _vn1069:Point;
public static function _ct660(_arg1:_kx788, _arg2:_kx788):Boolean{
if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1._so1032 * _arg1._gq752) + (_arg2._so1032 * _arg2._gq752))){
return (true);
};
return (false);
}
public static function _ui499(_arg1:_kx788, _arg2:_kx788):Boolean{
var _local3:Number = _arg1.x;
var _local4:Number = _arg1.y;
var _local5:Number = ((_arg1._ss868 - 1) * Math.abs(_arg1._gq752));
var _local6:Number = ((_arg1._pm523 - 1) * Math.abs(_arg1._ph13));
var _local7:Number = _arg2.x;
var _local8:Number = _arg2.y;
var _local9:Number = ((_arg2._ss868 - 1) * Math.abs(_arg2._gq752));
var _local10:Number = ((_arg2._pm523 - 1) * Math.abs(_arg2._ph13));
if (_arg1._qy913 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
if (_arg2._qy913 == true){
_local7 = (_local7 - (_local9 / 2));
_local8 = (_local8 - (_local10 / 2));
};
if ((((_arg1._dt121 == true)) && ((_arg2._dt121 == true)))){
return (_ec811(_local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10));
};
return (false);
}
public static function _cy654(_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 _ex422(_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 _bk630(_arg1:_kx788, _arg2:_kx788):Boolean{
var _local3:Number = _arg1.x;
var _local4:Number = _arg1.y;
var _local5:Number = ((_arg1._ss868 - 1) * Math.abs(_arg1._gq752));
var _local6:Number = ((_arg1._pm523 - 1) * Math.abs(_arg1._ph13));
if (_arg1._qy913 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
return (_cy654(_local3, _local4, _local5, _local6, _arg2.x, _arg2.y, (_arg2._so1032 * Math.abs(_arg2._gq752))));
}
public static function _aj645(_arg1:_kx788, _arg2:_kx788):Boolean{
var _local3:Boolean;
if ((((_arg1._dt121 == true)) && ((_arg2._dt121 == true)))){
if (_arg1._nh876 == 0){
if (_arg2._nh876 == 0){
_local3 = _ui499(_arg1, _arg2);
} else {
_local3 = _bk630(_arg1, _arg2);
};
} else {
if (_arg2._nh876 == 1){
_local3 = _ce305(_arg1, _arg2);
} else {
_local3 = _bk630(_arg2, _arg1);
};
};
};
return (_local3);
}
public static function _ec811(_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 _ce305(_arg1:_kx788, _arg2:_kx788):Boolean{
if ((((_arg1._dt121 == true)) && ((_arg2._dt121 == true)))){
if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1._so1032 * _arg1._gq752) + (_arg2._so1032 * _arg2._gq752))){
return (true);
};
return (false);
//unresolved jump
};
return (false);
}
}
}//package classes
Section 26
//_ts784 (classes._ts784)
package classes {
import flash.utils.*;
public class _ts784 {
private static var _tv623:int;
private static var _ch432:int;
private static var _is965:int;
public static function _bx824():void{
_is965 = getTimer();
_ch432 = 0;
_tv623 = 0;
}
public static function _yd883():int{
_ch432++;
if ((getTimer() - _is965) > 1000){
_is965 = getTimer();
_tv623 = _ch432;
_ch432 = 0;
};
return (_tv623);
}
}
}//package classes
Section 27
//_wo276 (classes._wo276)
package classes {
public class _wo276 {
public var _vy745:uint;
public function _wo276(){
_vy745 = 1;
}
private function _di534():uint{
return ((_vy745 = ((_vy745 * 16807) % 2147483647)));
}
public function _bp574(_arg1:Number, _arg2:Number):Number{
return ((_arg1 + ((_arg2 - _arg1) * _hx1011())));
}
public function _ks222(_arg1:Number, _arg2:Number):uint{
_arg1 = (_arg1 - 0.4999);
_arg2 = (_arg2 + 0.4999);
return (Math.round((_arg1 + ((_arg2 - _arg1) * _hx1011()))));
}
public function _hx1011():Number{
return ((_di534() / 2147483647));
}
public function _gx708():uint{
return (_di534());
}
}
}//package classes
Section 28
//_wu155 (classes._wu155)
package classes {
public class _wu155 {
public var _ee939:Number;// = 0
public var _gk748:Number;// = 0
public var _qt858:Boolean;
public var _vq1059:Function;
}
}//package classes
Section 29
//_xe431 (classes._xe431)
package classes {
public class _xe431 {
public var _pj867:Array;
public function _xe431(){
_pj867 = [];
super();
}
public function _hu1137(_arg1:Function, _arg2:Number, _arg3:Boolean=false):void{
var _local4:_wu155;
_local4 = new _wu155();
_local4._vq1059 = _arg1;
_local4._gk748 = _arg2;
_local4._ee939 = _arg2;
_local4._qt858 = _arg3;
_pj867[_pj867.length] = _local4;
}
public function _ju269(_arg1:Number):void{
var _local4:_wu155;
var _local2:int = (_pj867.length - 1);
var _local3:int = _local2;
while (_local3 >= 0) {
_local4 = _pj867[_local3];
_pj867[_local3]._gk748 = (_local4._gk748 - _arg1);
if (_local4._gk748 < 1){
_local4._vq1059();
if (_local4._qt858 == false){
_local4._vq1059 = null;
_pj867.splice(_local3, 1);
_local4 = null;
} else {
_local4._gk748 = _local4._ee939;
};
};
_local3--;
};
}
public function _jt1059():void{
var _local3:_wu155;
var _local1:int = (_pj867.length - 1);
var _local2:int = _local1;
while (_local2 >= 0) {
_local3 = _pj867[_local2];
_local3._vq1059 = null;
_pj867.splice(_local2, 1);
_local3 = null;
_local2--;
};
}
}
}//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 ("_rn300");
}
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 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.geom.*;
import flash.net.*;
import flash.utils.*;
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
//_ey906 (_ey906)
package {
import flash.events.*;
import flash.display.*;
import classes.*;
import flash.geom.*;
import mochi.*;
import flash.net.*;
import flash.utils.*;
import caurina.transitions.*;
import flash.filters.*;
import flash.ui.*;
public class _ey906 {
public static var _by765:_ht645;
public static var _ap153:_ch490;
public static var _ih27:int;
public static var _na359:Number = 50;
public static var _gf338:_ft1144;
public static var _wm39:_ch490;
public static var _lb857:_kx788;
public static var _tb137:_br1059;
public static var _ao514:_br1059;
public static var _ci614:_ch490;
public static var _ji610:BitmapData;
public static var _gd769:_br1059;
public static var _gu220:int;
public static var _na219:_ft1144;
private static var Parent:Sprite;
public static var _gj434:_ch490;
public static var _dg729:_kx788;
public static var _tn916:_ft1144;
public static var _yl1193:Function;
public static var _qf363:Boolean;
public static function _xj366():void{
if (_rn300._mo24 == false){
_rn300._tg1100 = _rn300._py665;
} else {
_mm914._ri482();
_jt881._gy611._vy745 = _jt881._gy611._ks222(100, 100000);
_gj434.brightness = 1;
_gj434.Parent.alpha = 0;
_gj434._id315._dx718();
_gj434._rc698(true);
_gj434._ur809(true);
_rn300._bm426(_gj434.Parent);
_gj434._mx496(1, _wy70);
_qf363 = true;
_rn300._tg1100 = _ju269;
_yl1193 = _rn300._py665;
_ai498._mx496(irrcrpt("ynyqj", 5));
};
}
public static function _dx718():void{
_by765._dx718();
}
public static function _lg852(_arg1:Event):void{
_gj434._gm1000(0.5);
_wm39.scale = 0;
_wm39._rc698(true);
_wm39._ur809(true);
_wm39._fp393(1, irrcrpt("gcugQwvDcem", 2), 0.8);
_px495._nx680(irrcrpt("dwddngwr", 2));
}
public static function _oh230(_arg1:Event):void{
_arg1.currentTarget._rm890(_iq97._jd146);
}
public static function _jx996(_arg1:Event):void{
_gj434._gm1000(0.5);
_ap153.scale = 0;
_ap153._rc698(true);
_ap153._ur809(true);
_ap153._fp393(1, irrcrpt("gcugQwvDcem", 2), 0.8);
_px495._nx680(irrcrpt("dwddngwr", 2));
}
public static function _wp474(_arg1:Event):void{
_ap153._fp393(0, irrcrpt("gcugKpDcem", 2), 0.8, _am572);
_px495._nx680(irrcrpt("exeeohgrzq", 3));
}
public static function _wy70():void{
var _local1:BitmapData;
var _local2:String = irrcrpt("jfxjTzyJqfxynh", 5);
_local1 = _iq97._ky1173;
_na219 = _gj434._id315._un705(_gj434.Parent, _local1, 0, (-((_rn300._rr151 / 2)) - (_local1.height / 2)), 1);
Tweener.addTween(_na219, {y:-200, time:2, transition:_local2, delay:0});
_local1 = _iq97._ig929;
_na219 = _gj434._id315._un705(_gj434.Parent, _local1, -250, (-((_rn300._rr151 / 2)) - (_local1.height / 2)), 1);
Tweener.addTween(_na219, {y:-90, time:2, transition:_local2, delay:1});
_local1 = _iq97._kq766;
_na219 = _gj434._id315._un705(_gj434.Parent, _local1, 0, (-((_rn300._rr151 / 2)) - (_local1.height / 2)), 1);
_na219._vx423 = 1;
_na219._he843(_qt266);
_local1 = _iq97._de260;
_na219 = _gj434._id315._un705(_gj434.Parent, _local1, -135, (-((_rn300._rr151 / 2)) - (_local1.height / 2)), 1);
Tweener.addTween(_na219, {y:-50, time:2, transition:_local2, delay:1.25});
_local1 = _iq97._sa866;
_na219 = _gj434._id315._un705(_gj434.Parent, _local1, 0, (-((_rn300._rr151 / 2)) - (_local1.height / 2)), 1);
_na219._vx423 = 3;
_na219._he843(_sv586);
_local1 = _iq97._mn1007;
_na219 = _gj434._id315._un705(_gj434.Parent, _local1, 0, (-((_rn300._rr151 / 2)) - (_local1.height / 2)), 1);
Tweener.addTween(_na219, {y:-20, time:2, transition:_local2, delay:1.5});
_local1 = _iq97._ec195;
_na219 = _gj434._id315._un705(_gj434.Parent, _local1, 0, (-((_rn300._rr151 / 2)) - (_local1.height / 2)), 1);
_na219._vx423 = 5;
_na219._he843(_ci821);
_local1 = _iq97._jd304;
_na219 = _gj434._id315._un705(_gj434.Parent, _local1, 135, (-((_rn300._rr151 / 2)) - (_local1.height / 2)), 1);
Tweener.addTween(_na219, {y:-50, time:2, transition:_local2, delay:1.75});
_local1 = _iq97._sa866;
_na219 = _gj434._id315._un705(_gj434.Parent, _local1, 0, (-((_rn300._rr151 / 2)) - (_local1.height / 2)), 1);
_na219._vx423 = 7;
_na219._he843(_sv586);
_local1 = _iq97._vk685;
_na219 = _gj434._id315._un705(_gj434.Parent, _local1, 250, (-((_rn300._rr151 / 2)) - (_local1.height / 2)), 1);
Tweener.addTween(_na219, {y:-90, time:2, transition:_local2, delay:2});
_local1 = _iq97._kq766;
_na219 = _gj434._id315._un705(_gj434.Parent, _local1, 0, (-((_rn300._rr151 / 2)) - (_local1.height / 2)), 1);
_na219._vx423 = 9;
_na219._he843(_qt266);
_local2 = irrcrpt("iewiSyxFego", 4);
_local1 = _iq97._mq892;
_na219 = _gj434._id315._lf827(_gj434.Parent, _local1, -200, ((_rn300._rr151 / 2) + (_local1.height / 2)), 1, _rw39, _rn300._le1080, _rn300._hg824);
Tweener.addTween(_na219, {y:70, time:1, transition:_local2, delay:2.5});
_local1 = _iq97._wv853;
_na219 = _gj434._id315._lf827(_gj434.Parent, _local1, 0, ((_rn300._rr151 / 2) + (_local1.height / 2)), 1, _jx996, _rn300._le1080, _rn300._hg824);
Tweener.addTween(_na219, {y:140, time:1, transition:_local2, delay:2.75});
_local1 = _iq97._jw1037;
_na219 = _gj434._id315._lf827(_gj434.Parent, _local1, 200, ((_rn300._rr151 / 2) + (_local1.height / 2)), 1, _lg852, _rn300._le1080, _rn300._hg824);
Tweener.addTween(_na219, {y:70, time:1, transition:_local2, delay:3});
_local1 = _iq97._yd697;
_na219 = _gj434._id315._lf827(_gj434.Parent, _local1, 0, ((_rn300._rr151 / 2) + (_local1.height / 2)), 1, _cc337, _oh230, _fh927);
Tweener.addTween(_na219, {y:240, time:1, transition:_local2, delay:3.25});
_local1 = _iq97._ke653;
if (_ih27 == 0){
_local1 = _iq97._ud1033;
};
_tn916 = _gj434._id315._lf827(_gj434.Parent, _iq97._ke653, -305, (-300 - (_local1.height / 2)), 1, _yw277, _rn300._nm925, _rn300._nm925);
Tweener.addTween(_tn916, {y:-280, time:1, transition:_local2, delay:3.5});
_tn916.state = _ih27;
_local1 = _iq97._ba1144;
if (_gu220 == 0){
_local1 = _iq97._mj676;
};
_gf338 = _gj434._id315._lf827(_gj434.Parent, _local1, -305, (-300 - (_local1.height / 2)), 1, _gx1071, _rn300._nm925, _rn300._nm925);
Tweener.addTween(_gf338, {y:-250, time:1, transition:_local2, delay:3.5});
_gf338.state = _gu220;
}
public static function _ib616(_arg1:Event):void{
}
public static function _ao155():void{
_wm39._rc698(false);
_wm39._ur809(false);
_gj434._la372();
}
public static function _lv220():void{
_gj434._xt204(1, _ot289);
_ai498._xt204(irrcrpt("ujumf", 1));
_yl1193 = _rn300._py665;
_qf363 = false;
}
public static function _am572():void{
_ap153._rc698(false);
_ap153._ur809(false);
_gj434._la372();
}
public static function _go477(_arg1:Event):void{
_wm39._fp393(0, irrcrpt("hdvhLqEdfn", 3), 0.8, _ao155);
_px495._nx680(irrcrpt("dwddngfqyp", 2));
}
private static function _ot289():void{
_gj434._rc698(false);
_gj434._ur809(true);
trace(irrcrpt("Xmxpi Wgviir zmwmfpi = jepwi", 4));
}
public static function Init(_arg1:Sprite):void{
Parent = _arg1;
_gj434 = new _ch490();
_gj434.Init(Parent, _rn300._lv223, _rn300._rr151);
_gj434.Parent.alpha = 0;
_gj434.Parent.visible = false;
_gj434._rm890(_iq97._pg767);
if (_rn300._mo24 == false){
_gj434.Parent.alpha = 1;
_gj434.Parent.visible = true;
_gj434._rm890(_iq97._fa555);
} else {
_ap153 = new _ch490();
_ap153.Init(_arg1, _iq97._xt482.width, _iq97._xt482.height, true);
_ap153._rx419(_gj434.Parent.x, _gj434.Parent.y);
_ap153._rm890(_iq97._xt482);
_ap153._id315._lf827(_ap153.Parent, _iq97._tg648, -6, -55, 2, _jv205, _rn300._le1080, _rn300._hg824);
_ap153._id315._lf827(_ap153.Parent, _iq97._ow1184, -6, 25, 3, _jv205, _rn300._le1080, _rn300._hg824);
_ap153._id315._lf827(_ap153.Parent, _iq97._fp1062, -6, 95, 1, _wp474, _rn300._le1080, _rn300._hg824);
_ap153._rc698(false);
_ap153._ur809(false);
_ci614 = new _ch490();
_ci614.Init(_arg1, _iq97._xt482.width, _iq97._xt482.height, true);
_ci614._rx419(_gj434.Parent.x, _gj434.Parent.y);
_ci614._rm890(_iq97._xt482);
_ci614._id315._un705(_ci614.Parent, _iq97._mq892, 0, -178, 1);
_ci614._id315._lf827(_ci614.Parent, _iq97._tg648, -6, -55, 2, _xf995, _rn300._le1080, _rn300._hg824);
_ci614._id315._lf827(_ci614.Parent, _iq97._ow1184, -6, 25, 3, _xf995, _rn300._le1080, _rn300._hg824);
_ci614._id315._lf827(_ci614.Parent, _iq97._fp1062, -6, 95, 1, _gb681, _rn300._le1080, _rn300._hg824);
_ci614._rc698(false);
_ci614._ur809(false);
_wm39 = new _ch490();
_wm39.Init(_arg1, _iq97._hy55.width, _iq97._hy55.height, true);
_wm39._rm890(_iq97._hy55);
_wm39._rx419(_gj434.Parent.x, _gj434.Parent.y);
_ap153._id315._lf827(_wm39.Parent, _iq97._fp1062, -6, 180, 1, _go477, _rn300._le1080, _rn300._hg824);
_wm39._rc698(false);
_wm39._ur809(false);
_ih27 = 1;
_gu220 = 1;
};
}
public static function _sv586(_arg1:_ft1144):void{
var _local2:_ft1144 = _gj434._id315._id315[_arg1._vx423];
var _local3:Number = Math.round(_jt881._be928((_local2.x + 320), ((_local2.y - 6) + 300), _rn300._cx588, _rn300._gg792));
var _local4:Number = Math.round(_jt881._ma568(_local3, 5));
var _local5:Number = Math.round(_jt881._pc518(_local3, 8));
_arg1._rx419((_local2.x + _local4), ((_local2.y - 6) + _local5));
}
public static function _cn302():void{
}
public static function _yw277(_arg1:Event):void{
if (_tn916.state == 1){
_tn916.state = 0;
_px495._nb1047(false);
_tn916._rm890(_iq97._ud1033);
} else {
_tn916.state = 1;
_px495._nb1047(true);
_tn916._rm890(_iq97._ke653);
};
_ih27 = _tn916.state;
}
public static function _fh927(_arg1:Event):void{
_arg1.currentTarget._rm890(_iq97._yd697);
}
public static function _wk674(_arg1:Event):void{
}
public static function _lu122(_arg1:Event):void{
}
public static function _sb586():void{
}
public static function ShowScoresDone():void{
_ci614._la372();
}
public static function _gx1071(_arg1:Event):void{
if (_gf338.state == 1){
_gf338.state = 0;
_ai498._xl402();
_ai498._nb1047(false);
_gf338._rm890(_iq97._mj676);
} else {
_gf338.state = 1;
_ai498._nb1047(true);
_ai498._ho53(irrcrpt("ynyqj", 5), 1);
_ai498._nx680(irrcrpt("vkvng", 2));
_gf338._rm890(_iq97._ba1144);
};
_gu220 = _gf338.state;
}
public static function _mx610():void{
_yl1193 = _sb586;
}
public static function _jy902():void{
_ap153.Parent.visible = false;
}
public static function _ci821(_arg1:_ft1144):void{
var _local2:_ft1144 = _gj434._id315._id315[_arg1._vx423];
var _local3:Number = Math.round(_jt881._be928((_local2.x + 320), ((_local2.y - 6) + 300), _rn300._cx588, _rn300._gg792));
var _local4:Number = Math.round(_jt881._ma568(_local3, 7));
var _local5:Number = Math.round(_jt881._pc518(_local3, 10));
_arg1._rx419((_local2.x + _local4), ((_local2.y - 6) + _local5));
}
public static function _rg749():void{
_ci614._rc698(false);
_ci614._ur809(false);
_gj434._la372();
}
public static function _ju269():void{
_gj434._id315._am706(_rn300._fi392);
if (_mm914._bx1039 > 0){
_mm914._yd924(_mm914._bx1039);
};
}
public static function _dd121(_arg1:Event):void{
}
public static function _rw39(_arg1:Event):void{
_gj434._gm1000(0.5);
_ci614.scale = 0;
_ci614._rc698(true);
_ci614._ur809(true);
_ci614._fp393(1, irrcrpt("iewiSyxFego", 4), 0.8);
_px495._nx680(irrcrpt("cvccmfvq", 1));
}
public static function _xf995(_arg1:Event):void{
var _local2:String;
if (_arg1.currentTarget._dq647 == 1){
_local2 = irrcrpt("7d7efde10e57213e", 2);
};
if (_arg1.currentTarget._dq647 == 2){
_local2 = irrcrpt("1371471hj8jh8h60", 4);
};
if (_arg1.currentTarget._dq647 == 3){
_local2 = irrcrpt("i34h9781463962jg", 4);
};
_ci614._gm1000();
MochiMedia.ShowMochiScores(ShowScoresDone, _local2);
}
public static function _qt266(_arg1:_ft1144):void{
var _local2:_ft1144 = _gj434._id315._id315[_arg1._vx423];
var _local3:Number = Math.round(_jt881._be928((_local2.x + 320), ((_local2.y - 5) + 300), _rn300._cx588, _rn300._gg792));
var _local4:Number = Math.round(_jt881._ma568(_local3, 3));
var _local5:Number = Math.round(_jt881._pc518(_local3, 6));
_arg1._rx419((_local2.x + _local4), ((_local2.y - 5) + _local5));
}
public static function _jv205(_arg1:Event):void{
_ja775._bw829 = _arg1.currentTarget._dq647;
_ap153._fp393(0, irrcrpt("hdvhLqEdfn", 3), 0.8, _ik815);
_px495._nx680(irrcrpt("cvccmfepxo", 1));
}
public static function _gb681(_arg1:Event):void{
_ci614._fp393(0, irrcrpt("iewiMrFego", 4), 0.8, _rg749);
_px495._nx680(irrcrpt("dwddngfqyp", 2));
}
public static function _ik815():void{
_ap153._rc698(false);
_ap153._ur809(false);
_lv220();
_ja775._xj366();
}
public static function _cc337(_arg1:Event):void{
_jt881._ew90(irrcrpt("myyu://bbb.rfyhm8.htr", 5));
}
}
}//package
Section 46
//_gf51 (_gf51)
package {
import classes.*;
public class _gf51 {
public static var _ll506:Class = _gf51__ll506;
public static var _to718:Class = _gf51__to718;
public static var _cy648:Class = _gf51__cy648;
public static var _oc255:Class = _gf51__oc255;
public static var _fl352:Class = _gf51__fl352;
public static var _cg778:Class = _gf51__cg778;
public static var _gm521:Class = _gf51__gm521;
public static var _xf1076:Class = _gf51__xf1076;
public static var _at547:Class = _gf51__at547;
public static var _yd939:Class = _gf51__yd939;
public static var _aw1101:Class = _gf51__aw1101;
public static var _ur401:Class = _gf51__ur401;
public static var _xy738:Class = _gf51__xy738;
public static var _gy482:Class = _gf51__gy482;
public static function Init():void{
_px495.Init();
_px495._vq1140(irrcrpt("enkem3", 2), new _gm521(), 0, 0);
_px495._vq1140(irrcrpt("hqnhp7", 5), new _ll506(), 0, 0);
_px495._vq1140(irrcrpt("gpmgo7", 4), new _fl352(), 0, 0);
_px495._vq1140(irrcrpt("hqnhp9", 5), new _cy648(), 0, 0);
_px495._vq1140(irrcrpt("odqg", 3), new _xf1076(), 0, 0);
_px495._vq1140(irrcrpt("gsffaf", 1), new _oc255(), 0, 0);
_px495._vq1140(irrcrpt("unhpzuhqnhpji", 5), new _yd939(), 0, 0);
_px495._vq1140(irrcrpt("cvccmfvq", 1), new _gy482(), 0, 0);
_px495._vq1140(irrcrpt("dwddngfqyp", 2), new _to718(), 0, 0);
_px495._vq1140(irrcrpt("gtrg", 5), new _xy738(), 0, 0);
_px495._vq1140(irrcrpt("spx", 1), new _cg778(), 0, 0);
_px495._vq1140(irrcrpt("ofxqjdlvq", 1), new _at547(), 0, 0);
_ai498.Init();
_ai498._vq1140(irrcrpt("xvego5", 4), new _aw1101(), 0, 1000);
_ai498._vq1140(irrcrpt("ujumf", 1), new _ur401(), 40, 1000);
}
}
}//package
Section 47
//_gf51__at547 (_gf51__at547)
package {
import mx.core.*;
public class _gf51__at547 extends SoundAsset {
}
}//package
Section 48
//_gf51__aw1101 (_gf51__aw1101)
package {
import mx.core.*;
public class _gf51__aw1101 extends SoundAsset {
}
}//package
Section 49
//_gf51__cg778 (_gf51__cg778)
package {
import mx.core.*;
public class _gf51__cg778 extends SoundAsset {
}
}//package
Section 50
//_gf51__cy648 (_gf51__cy648)
package {
import mx.core.*;
public class _gf51__cy648 extends SoundAsset {
}
}//package
Section 51
//_gf51__fl352 (_gf51__fl352)
package {
import mx.core.*;
public class _gf51__fl352 extends SoundAsset {
}
}//package
Section 52
//_gf51__gm521 (_gf51__gm521)
package {
import mx.core.*;
public class _gf51__gm521 extends SoundAsset {
}
}//package
Section 53
//_gf51__gy482 (_gf51__gy482)
package {
import mx.core.*;
public class _gf51__gy482 extends SoundAsset {
}
}//package
Section 54
//_gf51__ll506 (_gf51__ll506)
package {
import mx.core.*;
public class _gf51__ll506 extends SoundAsset {
}
}//package
Section 55
//_gf51__oc255 (_gf51__oc255)
package {
import mx.core.*;
public class _gf51__oc255 extends SoundAsset {
}
}//package
Section 56
//_gf51__to718 (_gf51__to718)
package {
import mx.core.*;
public class _gf51__to718 extends SoundAsset {
}
}//package
Section 57
//_gf51__ur401 (_gf51__ur401)
package {
import mx.core.*;
public class _gf51__ur401 extends SoundAsset {
}
}//package
Section 58
//_gf51__xf1076 (_gf51__xf1076)
package {
import mx.core.*;
public class _gf51__xf1076 extends SoundAsset {
}
}//package
Section 59
//_gf51__xy738 (_gf51__xy738)
package {
import mx.core.*;
public class _gf51__xy738 extends SoundAsset {
}
}//package
Section 60
//_gf51__yd939 (_gf51__yd939)
package {
import mx.core.*;
public class _gf51__yd939 extends SoundAsset {
}
}//package
Section 61
//_iq97 (_iq97)
package {
import flash.display.*;
import flash.media.*;
public class _iq97 {
public static var _jd146:BitmapData = new _qc175().bitmapData;
public static var _fp1062:BitmapData = new _kj176().bitmapData;
private static var _te874:Class = _iq97__te874;
public static var _pe516:BitmapData = new _or1020().bitmapData;
private static var _kj176:Class = _iq97__kj176;
private static var _rx635:Class = _iq97__rx635;
public static var _ha40:BitmapData = new _ah310().bitmapData;
public static var _so189:BitmapData = new _tq749().bitmapData;
private static var _lk1173:Class = _iq97__lk1173;
private static var _bi288:Class = _iq97__bi288;
private static var _or1020:Class = _iq97__or1020;
private static var _rh513:Class = _iq97__rh513;
public static var _ow1184:BitmapData = new _nt758().bitmapData;
private static var _rg667:Class = _iq97__rg667;
public static var _mq892:BitmapData = new _bl604().bitmapData;
private static var _ug506:Class = _iq97__ug506;
public static var _rj813:BitmapData = new _st679().bitmapData;
public static var _vk1164:BitmapData = new _ci81().bitmapData;
public static var _ph1185:BitmapData = new _lk1173().bitmapData;
public static var _rt963:BitmapData = new _if875().bitmapData;
private static var _sv827:Class = _iq97__sv827;
private static var _vg62:Class = _iq97__vg62;
private static var _ov156:Class = _iq97__ov156;
private static var _xj85:Class = _iq97__xj85;
public static var _hy55:BitmapData = new _yc281().bitmapData;
private static var _lu642:Class = _iq97__lu642;
public static var _mj238:BitmapData = new _lt39().bitmapData;
private static var _tq749:Class = _iq97__tq749;
private static var _yc281:Class = _iq97__yc281;
private static var _fu276:Class = _iq97__fu276;
public static var _wy797:BitmapData = new _ot669().bitmapData;
public static var _he793:BitmapData = new _is804().bitmapData;
private static var _tt347:Class = _iq97__tt347;
private static var _ot669:Class = _iq97__ot669;
private static var _bb1186:Class = _iq97__bb1186;
public static var _ba1144:BitmapData = new _ul142().bitmapData;
public static var _id705:BitmapData = new _rh513().bitmapData;
private static var _ao265:Class = _iq97__ao265;
private static var _qc175:Class = _iq97__qc175;
private static var _mv691:Class = _iq97__mv691;
public static var _gp88:BitmapData = new _iv125().bitmapData;
public static var _ky1173:BitmapData = new _rg667().bitmapData;
private static var _fq482:Class = _iq97__fq482;
public static var _eo141:BitmapData = new _le168().bitmapData;
private static var _af576:Class = _iq97__af576;
private static var _ff1029:Class = _iq97__ff1029;
private static var _nt758:Class = _iq97__nt758;
public static var _wv853:BitmapData = new _cm502().bitmapData;
public static var _ld232:BitmapData = new _la665().bitmapData;
public static var _mn1007:BitmapData = new _mv691().bitmapData;
private static var _st679:Class = _iq97__st679;
public static var _tr617:BitmapData = new _cy633().bitmapData;
public static var _jw1037:BitmapData = new _xs411().bitmapData;
public static var _ec195:BitmapData = new _qx809().bitmapData;
public static var _xt482:BitmapData = new _ao265().bitmapData;
public static var _vt522:BitmapData = new _lu642().bitmapData;
public static var _fl927:BitmapData = new _ky276().bitmapData;
private static var _up475:Class = _iq97__up475;
public static var _uk231:BitmapData = new _vq506().bitmapData;
public static var _fv271:BitmapData = new _vg62().bitmapData;
private static var _ci81:Class = _iq97__ci81;
public static var _lj1172:BitmapData = new _sv827().bitmapData;
public static var _ke653:BitmapData = new _ka215().bitmapData;
public static var _ap1175:BitmapData = new _tv931().bitmapData;
private static var _lt39:Class = _iq97__lt39;
public static var _mi620:BitmapData = new _fq1055().bitmapData;
public static var _xr632:BitmapData = new _qq472().bitmapData;
private static var _la665:Class = _iq97__la665;
public static var _pg767:BitmapData = new _af576().bitmapData;
public static var _sa866:BitmapData = new _bt78().bitmapData;
public static var _ud1033:BitmapData = new _rc1162().bitmapData;
public static var _tg648:BitmapData = new _mu97().bitmapData;
private static var _qq472:Class = _iq97__qq472;
private static var _iv125:Class = _iq97__iv125;
public static var _dy287:BitmapData = new font1().bitmapData;
public static var _fa1020:BitmapData = new _kl538().bitmapData;
public static var _hh186:BitmapData = new _fu276().bitmapData;
public static var _jd304:BitmapData = new _hl458().bitmapData;
public static var _nu760:BitmapData = new _up475().bitmapData;
public static var _wm75:BitmapData = new _qa952().bitmapData;
public static var _kq766:BitmapData = new _ic207().bitmapData;
private static var _ah310:Class = _iq97__ah310;
public static var _qu96:BitmapData = new _tt347().bitmapData;
private static var _yn534:Class = _iq97__yn534;
private static var _bl604:Class = _iq97__bl604;
public static var _fl287:BitmapData = new _ug506().bitmapData;
private static var _xq337:Class = _iq97__xq337;
private static var _sk799:Class = _iq97__sk799;
public static var _nn347:BitmapData = new _jh605().bitmapData;
private static var _kt375:Class = _iq97__kt375;
public static var _de260:BitmapData = new _je324().bitmapData;
private static var _cm502:Class = _iq97__cm502;
private static var _hl458:Class = _iq97__hl458;
private static var _kl538:Class = _iq97__kl538;
public static var _om868:BitmapData = new _bb1186().bitmapData;
private static var _vq506:Class = _iq97__vq506;
public static var _ig929:BitmapData = new _rx635().bitmapData;
private static var _ky276:Class = _iq97__ky276;
private static var _ic207:Class = _iq97__ic207;
private static var _fq1055:Class = _iq97__fq1055;
private static var _ul142:Class = _iq97__ul142;
private static var _xs411:Class = _iq97__xs411;
public static var _uo533:BitmapData = new _te874().bitmapData;
private static var _qa952:Class = _iq97__qa952;
public static var _sq670:BitmapData = new _ig172().bitmapData;
public static var _yl823:BitmapData = new _kt375().bitmapData;
private static var _bt78:Class = _iq97__bt78;
private static var _tv931:Class = _iq97__tv931;
private static var _je324:Class = _iq97__je324;
public static var _br853:BitmapData = new _xj85().bitmapData;
private static var _le168:Class = _iq97__le168;
private static var _mu97:Class = _iq97__mu97;
private static var _rc1162:Class = _iq97__rc1162;
public static var _ta1024:BitmapData = new _bi288().bitmapData;
public static var _ad204:BitmapData = new _yn534().bitmapData;
public static var _ee779:BitmapData = new _ff1029().bitmapData;
private static var _qx809:Class = _iq97__qx809;
private static var _xx326:Class = _iq97__xx326;
public static var _mc350:BitmapData = new _lk297().bitmapData;
private static var _ka215:Class = _iq97__ka215;
private static var _jh605:Class = _iq97__jh605;
private static var font1:Class = _iq97_font1;
private static var _is804:Class = _iq97__is804;
public static var _mj676:BitmapData = new _fq482().bitmapData;
public static var _vk685:BitmapData = new _sk799().bitmapData;
private static var _cy633:Class = _iq97__cy633;
private static var _if875:Class = _iq97__if875;
public static var _yd697:BitmapData = new _xq337().bitmapData;
private static var _tw373:Class = _iq97__tw373;
public static var _wn1093:BitmapData = new _xx326().bitmapData;
public static var _wr319:BitmapData = new _ov156().bitmapData;
private static var _lk297:Class = _iq97__lk297;
public static var _fa555:BitmapData = new _tw373().bitmapData;
private static var _ig172:Class = _iq97__ig172;
}
}//package
Section 62
//_iq97__af576 (_iq97__af576)
package {
import mx.core.*;
public class _iq97__af576 extends BitmapAsset {
}
}//package
Section 63
//_iq97__ah310 (_iq97__ah310)
package {
import mx.core.*;
public class _iq97__ah310 extends BitmapAsset {
}
}//package
Section 64
//_iq97__ao265 (_iq97__ao265)
package {
import mx.core.*;
public class _iq97__ao265 extends BitmapAsset {
}
}//package
Section 65
//_iq97__bb1186 (_iq97__bb1186)
package {
import mx.core.*;
public class _iq97__bb1186 extends BitmapAsset {
}
}//package
Section 66
//_iq97__bi288 (_iq97__bi288)
package {
import mx.core.*;
public class _iq97__bi288 extends BitmapAsset {
}
}//package
Section 67
//_iq97__bl604 (_iq97__bl604)
package {
import mx.core.*;
public class _iq97__bl604 extends BitmapAsset {
}
}//package
Section 68
//_iq97__bt78 (_iq97__bt78)
package {
import mx.core.*;
public class _iq97__bt78 extends BitmapAsset {
}
}//package
Section 69
//_iq97__ci81 (_iq97__ci81)
package {
import mx.core.*;
public class _iq97__ci81 extends BitmapAsset {
}
}//package
Section 70
//_iq97__cm502 (_iq97__cm502)
package {
import mx.core.*;
public class _iq97__cm502 extends BitmapAsset {
}
}//package
Section 71
//_iq97__cy633 (_iq97__cy633)
package {
import mx.core.*;
public class _iq97__cy633 extends BitmapAsset {
}
}//package
Section 72
//_iq97__ff1029 (_iq97__ff1029)
package {
import mx.core.*;
public class _iq97__ff1029 extends BitmapAsset {
}
}//package
Section 73
//_iq97__fq1055 (_iq97__fq1055)
package {
import mx.core.*;
public class _iq97__fq1055 extends BitmapAsset {
}
}//package
Section 74
//_iq97__fq482 (_iq97__fq482)
package {
import mx.core.*;
public class _iq97__fq482 extends BitmapAsset {
}
}//package
Section 75
//_iq97__fu276 (_iq97__fu276)
package {
import mx.core.*;
public class _iq97__fu276 extends BitmapAsset {
}
}//package
Section 76
//_iq97__hl458 (_iq97__hl458)
package {
import mx.core.*;
public class _iq97__hl458 extends BitmapAsset {
}
}//package
Section 77
//_iq97__ic207 (_iq97__ic207)
package {
import mx.core.*;
public class _iq97__ic207 extends BitmapAsset {
}
}//package
Section 78
//_iq97__if875 (_iq97__if875)
package {
import mx.core.*;
public class _iq97__if875 extends BitmapAsset {
}
}//package
Section 79
//_iq97__ig172 (_iq97__ig172)
package {
import mx.core.*;
public class _iq97__ig172 extends BitmapAsset {
}
}//package
Section 80
//_iq97__is804 (_iq97__is804)
package {
import mx.core.*;
public class _iq97__is804 extends BitmapAsset {
}
}//package
Section 81
//_iq97__iv125 (_iq97__iv125)
package {
import mx.core.*;
public class _iq97__iv125 extends BitmapAsset {
}
}//package
Section 82
//_iq97__je324 (_iq97__je324)
package {
import mx.core.*;
public class _iq97__je324 extends BitmapAsset {
}
}//package
Section 83
//_iq97__jh605 (_iq97__jh605)
package {
import mx.core.*;
public class _iq97__jh605 extends BitmapAsset {
}
}//package
Section 84
//_iq97__ka215 (_iq97__ka215)
package {
import mx.core.*;
public class _iq97__ka215 extends BitmapAsset {
}
}//package
Section 85
//_iq97__kj176 (_iq97__kj176)
package {
import mx.core.*;
public class _iq97__kj176 extends BitmapAsset {
}
}//package
Section 86
//_iq97__kl538 (_iq97__kl538)
package {
import mx.core.*;
public class _iq97__kl538 extends BitmapAsset {
}
}//package
Section 87
//_iq97__kt375 (_iq97__kt375)
package {
import mx.core.*;
public class _iq97__kt375 extends BitmapAsset {
}
}//package
Section 88
//_iq97__ky276 (_iq97__ky276)
package {
import mx.core.*;
public class _iq97__ky276 extends BitmapAsset {
}
}//package
Section 89
//_iq97__la665 (_iq97__la665)
package {
import mx.core.*;
public class _iq97__la665 extends BitmapAsset {
}
}//package
Section 90
//_iq97__le168 (_iq97__le168)
package {
import mx.core.*;
public class _iq97__le168 extends BitmapAsset {
}
}//package
Section 91
//_iq97__lk1173 (_iq97__lk1173)
package {
import mx.core.*;
public class _iq97__lk1173 extends BitmapAsset {
}
}//package
Section 92
//_iq97__lk297 (_iq97__lk297)
package {
import mx.core.*;
public class _iq97__lk297 extends BitmapAsset {
}
}//package
Section 93
//_iq97__lt39 (_iq97__lt39)
package {
import mx.core.*;
public class _iq97__lt39 extends BitmapAsset {
}
}//package
Section 94
//_iq97__lu642 (_iq97__lu642)
package {
import mx.core.*;
public class _iq97__lu642 extends BitmapAsset {
}
}//package
Section 95
//_iq97__mu97 (_iq97__mu97)
package {
import mx.core.*;
public class _iq97__mu97 extends BitmapAsset {
}
}//package
Section 96
//_iq97__mv691 (_iq97__mv691)
package {
import mx.core.*;
public class _iq97__mv691 extends BitmapAsset {
}
}//package
Section 97
//_iq97__nt758 (_iq97__nt758)
package {
import mx.core.*;
public class _iq97__nt758 extends BitmapAsset {
}
}//package
Section 98
//_iq97__or1020 (_iq97__or1020)
package {
import mx.core.*;
public class _iq97__or1020 extends BitmapAsset {
}
}//package
Section 99
//_iq97__ot669 (_iq97__ot669)
package {
import mx.core.*;
public class _iq97__ot669 extends BitmapAsset {
}
}//package
Section 100
//_iq97__ov156 (_iq97__ov156)
package {
import mx.core.*;
public class _iq97__ov156 extends BitmapAsset {
}
}//package
Section 101
//_iq97__qa952 (_iq97__qa952)
package {
import mx.core.*;
public class _iq97__qa952 extends BitmapAsset {
}
}//package
Section 102
//_iq97__qc175 (_iq97__qc175)
package {
import mx.core.*;
public class _iq97__qc175 extends BitmapAsset {
}
}//package
Section 103
//_iq97__qq472 (_iq97__qq472)
package {
import mx.core.*;
public class _iq97__qq472 extends BitmapAsset {
}
}//package
Section 104
//_iq97__qx809 (_iq97__qx809)
package {
import mx.core.*;
public class _iq97__qx809 extends BitmapAsset {
}
}//package
Section 105
//_iq97__rc1162 (_iq97__rc1162)
package {
import mx.core.*;
public class _iq97__rc1162 extends BitmapAsset {
}
}//package
Section 106
//_iq97__rg667 (_iq97__rg667)
package {
import mx.core.*;
public class _iq97__rg667 extends BitmapAsset {
}
}//package
Section 107
//_iq97__rh513 (_iq97__rh513)
package {
import mx.core.*;
public class _iq97__rh513 extends BitmapAsset {
}
}//package
Section 108
//_iq97__rx635 (_iq97__rx635)
package {
import mx.core.*;
public class _iq97__rx635 extends BitmapAsset {
}
}//package
Section 109
//_iq97__sk799 (_iq97__sk799)
package {
import mx.core.*;
public class _iq97__sk799 extends BitmapAsset {
}
}//package
Section 110
//_iq97__st679 (_iq97__st679)
package {
import mx.core.*;
public class _iq97__st679 extends BitmapAsset {
}
}//package
Section 111
//_iq97__sv827 (_iq97__sv827)
package {
import mx.core.*;
public class _iq97__sv827 extends BitmapAsset {
}
}//package
Section 112
//_iq97__te874 (_iq97__te874)
package {
import mx.core.*;
public class _iq97__te874 extends BitmapAsset {
}
}//package
Section 113
//_iq97__tq749 (_iq97__tq749)
package {
import mx.core.*;
public class _iq97__tq749 extends BitmapAsset {
}
}//package
Section 114
//_iq97__tt347 (_iq97__tt347)
package {
import mx.core.*;
public class _iq97__tt347 extends BitmapAsset {
}
}//package
Section 115
//_iq97__tw373 (_iq97__tw373)
package {
import mx.core.*;
public class _iq97__tw373 extends BitmapAsset {
}
}//package
Section 116
//_iq97__tv931 (_iq97__tv931)
package {
import mx.core.*;
public class _iq97__tv931 extends BitmapAsset {
}
}//package
Section 117
//_iq97__ug506 (_iq97__ug506)
package {
import mx.core.*;
public class _iq97__ug506 extends BitmapAsset {
}
}//package
Section 118
//_iq97__ul142 (_iq97__ul142)
package {
import mx.core.*;
public class _iq97__ul142 extends BitmapAsset {
}
}//package
Section 119
//_iq97__up475 (_iq97__up475)
package {
import mx.core.*;
public class _iq97__up475 extends BitmapAsset {
}
}//package
Section 120
//_iq97__vg62 (_iq97__vg62)
package {
import mx.core.*;
public class _iq97__vg62 extends BitmapAsset {
}
}//package
Section 121
//_iq97__vq506 (_iq97__vq506)
package {
import mx.core.*;
public class _iq97__vq506 extends BitmapAsset {
}
}//package
Section 122
//_iq97__xj85 (_iq97__xj85)
package {
import mx.core.*;
public class _iq97__xj85 extends BitmapAsset {
}
}//package
Section 123
//_iq97__xq337 (_iq97__xq337)
package {
import mx.core.*;
public class _iq97__xq337 extends BitmapAsset {
}
}//package
Section 124
//_iq97__xs411 (_iq97__xs411)
package {
import mx.core.*;
public class _iq97__xs411 extends BitmapAsset {
}
}//package
Section 125
//_iq97__xx326 (_iq97__xx326)
package {
import mx.core.*;
public class _iq97__xx326 extends BitmapAsset {
}
}//package
Section 126
//_iq97__yc281 (_iq97__yc281)
package {
import mx.core.*;
public class _iq97__yc281 extends BitmapAsset {
}
}//package
Section 127
//_iq97__yn534 (_iq97__yn534)
package {
import mx.core.*;
public class _iq97__yn534 extends BitmapAsset {
}
}//package
Section 128
//_iq97_font1 (_iq97_font1)
package {
import mx.core.*;
public class _iq97_font1 extends BitmapAsset {
}
}//package
Section 129
//_ja775 (_ja775)
package {
import flash.events.*;
import flash.display.*;
import classes.*;
import flash.geom.*;
import mochi.*;
import flash.net.*;
import flash.utils.*;
import caurina.transitions.*;
import flash.filters.*;
import flash.ui.*;
public class _ja775 {
public static var _ea915:Object = new Object();
public static var _nx994:Object = new Object();
public static var _bw829:int;
public static var _qm99:int;
public static var _nk68:Boolean;
public static var _ng427:Array = [_iq97._ad204, _iq97._id705, _iq97._eo141];
public static var _wl474:Number = 0;
public static var _is432:String;
public static var _or10:int;
public static var _iy94:Object = new Object();
public static var _ji610:BitmapData;
public static var _lq738:int;
public static var _ni974:Number = 0;
public static var _vy1040:int;
public static var _gd769:_br1059;
public static var _ax174:Boolean;
public static var _yo875:int;
public static var _fb827:MochiDigits = new MochiDigits();
public static var _pp37:int;
public static var _na219:_ft1144;
public static var _wx290:Object = new Object();
public static var _mb1068:Number = 0;
public static var _dg729:_kx788;
public static var _ct261:Number = 0;
public static var _qi424:Number = 0;
public static var _dm669:Number = 0;
public static var _qi789:Number = 0;
public static var _cx32:_ch490;
public static var _kl703:Number = 0;
public static var _nm438:_ht645;
public static var _lj328:Rectangle;
public static var _fe59:Object = new Object();
public static var _ny53:_ch490;
public static var _gt1055:Number = 0;
public static var _se117:Number = 0;
public static var _pw988:String;
public static var _fl630:int;
public static var _xn1011:Object = new Object();
public static var _fy131:int;
public static var _uq209:_ht645;
public static var _mm14:Boolean;
public static var _ry1038:Boolean;
public static var _va402:Boolean = true;
public static var _do759:_ht645;
public static var _qr788:Boolean;
public static var _sk991:int;
public static var _kp522:BitmapData;
public static var _yi330:int;
public static var _fx613:Array = [_nx994, _fe59, _xn1011, _wx290, _ea915, _iy94];
private static var Parent:Sprite;
public static var _en759:int;
public static var _gj434:_ch490;
public static var _wt574:Number = 1000;
public static var _xq425:Array = [_iq97._fl287, _iq97._nu760, _iq97._ha40, _iq97._ld232, _iq97._wy797];
public static var _tp1118:_ht645;
public static var _ti546:_ht645;
public static var _sa745:Number = 0;
public static var _yl1193:Function;
public static var _uq235:_ht645;
public static var _qf363:Boolean;
public static function _wl504(_arg1:Event):void{
_lv220();
_ey906._xj366();
}
public static function _is142(_arg1:Number, _arg2:Number, _arg3:Number):void{
_gd769._ee887(_arg1, _arg2, true);
if (_ke1138(_arg1, (_arg2 - 1), _arg3) == true){
_is142(_arg1, (_arg2 - 1), _arg3);
};
if (_ke1138((_arg1 + 1), _arg2, _arg3) == true){
_is142((_arg1 + 1), _arg2, _arg3);
};
if (_ke1138(_arg1, (_arg2 + 1), _arg3) == true){
_is142(_arg1, (_arg2 + 1), _arg3);
};
if (_ke1138((_arg1 - 1), _arg2, _arg3) == true){
_is142((_arg1 - 1), _arg2, _arg3);
};
if (_va402 == true){
if (_ke1138((_arg1 - 1), (_arg2 - 1), _arg3) == true){
_is142((_arg1 - 1), (_arg2 - 1), _arg3);
};
if (_ke1138((_arg1 + 1), (_arg2 - 1), _arg3) == true){
_is142((_arg1 + 1), (_arg2 - 1), _arg3);
};
if (_ke1138((_arg1 - 1), (_arg2 + 1), _arg3) == true){
_is142((_arg1 - 1), (_arg2 + 1), _arg3);
};
if (_ke1138((_arg1 + 1), (_arg2 + 1), _arg3) == true){
_is142((_arg1 + 1), (_arg2 + 1), _arg3);
};
};
}
public static function _xj366():void{
_mm914._ri482();
_dx718();
_jt881._gy611._vy745 = _jt881._gy611._ks222(100, 100000);
_gj434.Parent.alpha = 0;
_gj434._rc698(true);
_gj434._ur809(true);
_gj434._id315._lf827(_gj434.Parent, _iq97._ee779, (-320 + 104), (290 - (_iq97._ee779.height / 2)), 1, _cc337, _oh230, _fh927);
_rn300._bm426(_gj434.Parent);
_qf363 = true;
_rn300._tg1100 = _ju269;
_yl1193 = _sn1170;
_oo598();
_se117 = -432;
_mb1068 = -193;
_gj434._mx496(1, _mx610);
_ai498._mx496(irrcrpt("wudfn4", 3));
}
public static function _ev934(_arg1:Number):Boolean{
var _local2:_kx788;
var _local3:Boolean;
for each (_local2 in _do759._id315) {
if (_local2.y == _arg1){
_local3 = true;
};
};
return (_local3);
}
public static function _sv656():void{
var _local2:int;
var _local1:int;
while (_local1 < 18) {
_local2 = 0;
while (_local2 < 18) {
_gd769._ee887(_local2, _local1, false);
_local2++;
};
_local1++;
};
}
public static function _fl837():void{
var _local1:_kx788;
for each (_local1 in _nm438._id315) {
if (_local1._ns240 == true){
_local1._is535 = _jt881._st127(2.5E-5, 0.04);
_local1._ns240 = false;
};
};
}
public static function _jy1183(_arg1:Number, _arg2:Number, _arg3:int):void{
var _local4:Number;
_arg1 = (_arg1 + 16);
_arg2 = (_arg2 + 16);
if ((((_arg3 > 0)) && ((_arg3 < 6)))){
_local4 = _jt881._be928(_arg1, _arg2, _rn300._cx588, _rn300._gg792);
_jt881._hb226(_iq97._xr632, (_arg1 + Math.round(_jt881._ma568(_local4, 3))), (_arg2 + Math.round(_jt881._pc518(_local4, 3))), 0, 0, 18, 7, _gj434._bs729);
};
}
public static function _nv735(_arg1:Number, _arg2:Number):void{
var _local3 = 16;
var _local4 = 6;
var _local5:BitmapData = _fx613[(_local4 - 1)][1];
var _local6:Number = _jt881._mt157();
var _local7:int;
while (_local7 < _local3) {
_dg729 = _tp1118._un705(_local5, 0, 0, _iq97._fl927.width, _iq97._fl927.height, _gj434._bs729, _arg1, _arg2, 0);
_dg729._iv220(_local5, 0.02, 30, 4, 0);
_dg729._ft511(_local6, 0, 0.08, 0, 0, false);
_dg729.id = _local4;
_dg729._vx423 = (1000 / 25);
_local6 = (_local6 + (360 / _local3));
_local7++;
};
}
public static function _wy70():void{
}
public static function _ib616(_arg1:Event):void{
}
public static function _lv220():void{
_ny53._id315._dx718();
_gj434._xt204(1, _ot289);
_ai498._xt204(irrcrpt("usbdl2", 1));
_yl1193 = _rn300._py665;
_qf363 = false;
}
public static function _be1118():void{
_lq738 = (_lq738 + 1);
_pw988 = ("" + _lq738);
_pp37 = (_pp37 + 1);
if (_bw829 == 1){
_wt574 = (_wt574 - 80);
if (_wt574 < 0){
_wt574 = 0;
_qi424 = (_qi424 - 10);
if (_qi424 < 50){
_qi424 = 50;
};
};
if (_pp37 == 4){
_pp37 = 0;
if (_or10 < 5){
_or10 = (_or10 + 1);
};
};
};
if (_bw829 == 2){
_wt574 = (_wt574 - 100);
if (_wt574 < 0){
_wt574 = 0;
_qi424 = (_qi424 - 12);
if (_qi424 < 50){
_qi424 = 50;
};
};
if (_pp37 == 4){
_pp37 = 0;
if (_or10 < 5){
_or10 = (_or10 + 1);
};
};
};
if (_bw829 == 3){
_wt574 = (_wt574 - 100);
if (_wt574 < 0){
_wt574 = 0;
_qi424 = (_qi424 - 12);
if (_qi424 < 50){
_qi424 = 50;
};
};
if (_pp37 == 4){
_pp37 = 0;
if (_or10 < 5){
_or10 = (_or10 + 1);
};
};
};
_dm669 = 3000;
}
public static function _cn302():void{
}
public static function _io58():void{
_uq209._vu25(_rn300._fi392);
_ti546._vu25(_rn300._fi392);
_jt881._bt296(_iq97._fv271, 208, 17, 0, 0, 432, 583, _gj434._bs729, false);
_gt335();
_uq235._vu25(_rn300._fi392);
_gd769._id655(_jy1183);
_nm438._vu25(_rn300._fi392);
_do759._vu25(_rn300._fi392);
_tp1118._vu25(_rn300._fi392);
_gn950();
if (_sk991 == 2){
};
}
public static function _ti11(_arg1:Number=-1, _arg2:Boolean=false):void{
var _local6:int;
var _local3:Number = 598;
var _local4:Number = 485;
var _local5:Boolean;
if (_ev934(_local4) == false){
_local5 = true;
} else {
if (_ev934((_local4 - 75)) == false){
_local4 = (_local4 - 75);
_local5 = true;
} else {
if (_ev934((_local4 - 150)) == false){
_local4 = (_local4 - 150);
_local5 = true;
} else {
if (_ev934((_local4 - 225)) == false){
_local4 = (_local4 - 225);
_local5 = true;
} else {
if (_ev934((_local4 - 300)) == false){
_local4 = (_local4 - 300);
_local5 = true;
};
};
};
};
};
if (_ry1038 == true){
_local5 = false;
};
if (_local5 == true){
_local6 = _jt881._bu54(0, 5);
if (_arg1 > -1){
_local6 = _arg1;
};
_dg729 = _do759._un705(_iq97._lj1172, 0, (_local6 * 33), 32, 32, _gj434._bs729, _local3, _local4, 0);
_dg729._iv220(_iq97._lj1172, 0.03, 16, 1, 1);
if (_local6 == 5){
_dg729._gq563 = 2;
_dg729._pr239 = 0.02;
};
_dg729._he843(_sd475);
_dg729.id = (_local6 + 1);
_dg729.state = 1;
if (_arg2 == false){
_nv735(_dg729.x, _dg729.y);
_px495._nx680(irrcrpt("qhzslfnxs", 3));
};
};
}
public static function _oo598():void{
_sk991 = 1;
_lq738 = 1;
_pp37 = 0;
_pw988 = ("" + _lq738);
_uo191(0);
_qm99 = -1;
_ry1038 = false;
_ax174 = false;
_gt1055 = _jt881._st127(5000, 40000);
_qi789 = _jt881._st127(5000, 40000);
_ni974 = _jt881._st127(5000, 40000);
_wl474 = _qi424;
_yo875 = 0;
_vy1040 = 0;
_kl703 = 0;
if (_bw829 == 1){
_ku946();
};
if (_bw829 == 2){
_tr631();
};
if (_bw829 == 3){
_xy110();
};
}
public static function _vt839():void{
var _local2:int;
var _local1:int;
while (_local1 < 18) {
_local2 = 0;
while (_local2 < 18) {
if (_gd769._ei813(_local2, _local1) == true){
_jt881._hb226(_iq97._ap1175, ((-(_gd769._nr1012) + (_local2 * 32)) + 16), ((-(_gd769._ba403) + (_local1 * 32)) + 16), 0, 0, _iq97._ap1175.width, _iq97._ap1175.height, _gj434._bs729);
};
_gd769._ee887(_local2, _local1, false);
_local2++;
};
_local1++;
};
}
public static function _sb586():void{
_uq209._vu25(_rn300._fi392);
_ti546._vu25(_rn300._fi392);
_jt881._bt296(_iq97._fv271, _se117, 17, 0, 0, 432, 583, _gj434._bs729, false);
_gt335();
_uq235._vu25(_rn300._fi392);
_gd769._id655(_jy1183);
_nm438._nu28(_rv515, _rn300._fi392);
_do759._vu25(_rn300._fi392);
_tp1118._vu25(_rn300._fi392);
_gn950();
if (_sk991 == 1){
if (_ry1038 == false){
if ((((_rn300._cx588 > -1)) && ((_rn300._cx588 < 639)))){
if ((((_rn300._gg792 > -1)) && ((_rn300._gg792 < 576)))){
if (_gd769._wy880((_rn300._cx588 + _gd769._nr1012), (_rn300._gg792 + _gd769._ba403)) > 0){
if (_mm914._ft309 == true){
_md562(_gd769._lx721((_rn300._cx588 + _gd769._nr1012)), _gd769._ty935((_rn300._gg792 + _gd769._ba403)));
} else {
if (_nk68 == true){
_md562(_gd769._lx721((_rn300._cx588 + _gd769._nr1012)), _gd769._ty935((_rn300._gg792 + _gd769._ba403)), true);
};
};
};
};
};
};
_mc692();
if (_dm669 > 0){
_ct261 = (_ct261 - _rn300._fi392);
if (_ct261 < 1){
_ct261 = _jt881._st127((33 * 2), (100 * 2));
_yt665(_jt881._bu54(1, 5), 1);
};
_dm669 = (_dm669 - _rn300._fi392);
if (_dm669 < 1){
_dm669 = 0;
};
};
};
}
public static function _xr1065():void{
_dm669 = 0;
_al45();
_sk991 = 2;
_yl1193 = _io58;
_ut714();
_fl329();
_rn300._bo368._jt1059();
_rn300._bo368._hu1137(_lk1154, 2800);
}
public static function _fh927(_arg1:Event):void{
_arg1.currentTarget._rm890(_iq97._ee779);
}
public static function _fl329():void{
var _local1:_kx788;
for each (_local1 in _nm438._id315) {
_lj328 = _gd769._rq975((_local1.id + 5));
_local1._nx880(_gd769._sq178, _lj328.left, _lj328.top, _lj328.width, _lj328.height);
_local1._he843(null);
_local1._ft511(270, 30, _jt881._st127(0.05, 0.2), 0, 0.0002, true);
_local1._sh794(-16, -48, (_rn300._lv223 + 16), (_rn300._rr151 + 16));
};
}
public static function _gn950():void{
var _local1:BitmapData;
_sa745 = (_sa745 - _rn300._fi392);
if (_sa745 < 1){
_sa745 = _jt881._bu54(6000, 16000);
_local1 = _xq425[_jt881._bu54(0, 4)];
_dg729 = _uq209._un705(_local1, 0, 0, _local1.width, _local1.height, _gj434._bs729, (640 + (_local1.width / 2)), _jt881._bu54((_local1.height / 2), 130), 0);
_dg729._sh794(-((_dg729.width / 2)), -((_dg729.height / 2)), (640 + (_dg729.width / 2)), (600 + (_dg729.height / 2)));
_dg729._yl385(-(_jt881._st127(0.01, 0.05)), 0, 0, 0, 0, true);
};
_gt1055 = (_gt1055 - _rn300._fi392);
if (_gt1055 < 1){
_gt1055 = _jt881._st127(5000, 40000);
if (_jt881._ai933() == true){
if (_jt881._ai933(50) == true){
_dg729 = _uq209._un705(_iq97._qu96, 0, 0, 45, 37, _gj434._bs729, (640 + (45 / 2)), _jt881._bu54(35, 140), 0);
_dg729._sh794(-((_dg729.width / 2)), -((_dg729.height / 2)), (640 + (_dg729.width / 2)), (600 + (_dg729.height / 2)));
_dg729._fm934(0, 0, 0, 0, _jt881._st127(0.001, 0.005), 0.05, -(_jt881._st127(0.08, 0.125)), 0, 0, 0, true);
_dg729._iv220(_iq97._qu96, 0.025, 2, 2, 1);
} else {
_dg729 = _uq209._un705(_iq97._yl823, 0, 0, 45, 37, _gj434._bs729, -((45 / 2)), _jt881._bu54(35, 140), 0);
_dg729._sh794(-((_dg729.width / 2)), -((_dg729.height / 2)), (640 + (_dg729.width / 2)), (600 + (_dg729.height / 2)));
_dg729._fm934(0, 0, 0, 0, _jt881._st127(0.001, 0.005), 0.05, _jt881._st127(0.08, 0.125), 0, 0, 0, true);
_dg729._iv220(_iq97._yl823, 0.025, 2, 2, 1);
};
};
};
if (_lq738 > 3){
_qi789 = (_qi789 - _rn300._fi392);
if (_qi789 < 1){
_qi789 = _jt881._st127(5000, 40000);
if (_jt881._ai933(40) == true){
if (_jt881._ai933(50) == true){
_dg729 = _uq209._un705(_iq97._om868, 0, 0, 70, 99, _gj434._bs729, (640 + (70 / 2)), _jt881._bu54(35, 140), 0);
_dg729._sh794(-((_dg729.width / 2)), -((_dg729.height / 2)), (640 + (_dg729.width / 2)), (600 + (_dg729.height / 2)));
_dg729._fm934(0, 0, 0, 0, _jt881._st127(0.0008, 0.003), 0.02, -(_jt881._st127(0.05, 0.05)), 0, 0, 0, true);
} else {
_dg729 = _uq209._un705(_iq97._om868, 0, 0, 70, 99, _gj434._bs729, -((70 / 2)), _jt881._bu54(35, 140), 0);
_dg729._sh794(-((_dg729.width / 2)), -((_dg729.height / 2)), (640 + (_dg729.width / 2)), (600 + (_dg729.height / 2)));
_dg729._fm934(0, 0, 0, 0, _jt881._st127(0.0005, 0.002), 0.02, _jt881._st127(0.05, 0.05), 0, 0, 0, true);
};
};
};
};
if (_lq738 > 7){
_ni974 = (_ni974 - _rn300._fi392);
if (_ni974 < 1){
_ni974 = _jt881._st127(5000, 40000);
if (_jt881._ai933(30) == true){
if (_jt881._ai933(50) == true){
_dg729 = _uq209._un705(_iq97._nn347, 0, 0, 72, 29, _gj434._bs729, (640 + (72 / 2)), _jt881._bu54(35, 140), 0);
_dg729._sh794(-((_dg729.width / 2)), -((_dg729.height / 2)), (640 + (_dg729.width / 2)), (600 + (_dg729.height / 2)));
_dg729._fm934(0, 0, 0, 0, _jt881._st127(0.0008, 0.003), 0.02, -(_jt881._st127(0.04, 0.15)), 0, 0, 0, true);
} else {
_dg729 = _uq209._un705(_iq97._nn347, 0, 0, 72, 29, _gj434._bs729, -((72 / 2)), _jt881._bu54(35, 140), 0);
_dg729._sh794(-((_dg729.width / 2)), -((_dg729.height / 2)), (640 + (_dg729.width / 2)), (600 + (_dg729.height / 2)));
_dg729._fm934(0, 0, 0, 0, _jt881._st127(0.0005, 0.002), 0.02, _jt881._st127(0.04, 0.15), 0, 0, 0, true);
};
};
};
};
}
public static function _jx996(_arg1:Event):void{
_lv220();
}
public static function _ww848(_arg1:Event):void{
var _local2:String;
if (_bw829 == 1){
_local2 = irrcrpt("9f9ghfg32g79435g", 4);
};
if (_bw829 == 2){
_local2 = irrcrpt("9159259fh6hf6f48", 2);
};
if (_bw829 == 3){
_local2 = irrcrpt("h23g8670352851if", 3);
};
_gj434._gm1000();
_ny53._gm1000();
MochiMedia.SubmitMochiScore(_fb827.value, SubmitScoreDone, _local2);
}
public static function _rv515(_arg1:_kx788):void{
var _local2:Number = _jt881._be928(_arg1.x, _arg1.y, (_gd769._nr1012 + _rn300._cx588), (_gd769._ba403 + _rn300._gg792));
if (_arg1.id < 11){
_jt881._hb226(_iq97._xr632, ((-(_gd769._nr1012) + _arg1.x) + Math.round(_jt881._ma568(_local2, 3))), ((-(_gd769._ba403) + _arg1.y) + Math.round(_jt881._pc518(_local2, 3))), 0, 0, 18, 7, _gj434._bs729);
};
if (_arg1._is535 > 0){
if (_gd769._sl425(_arg1) == true){
_arg1._is535 = 0;
_gd769._qu632(_arg1.x, _arg1.y, _arg1.id);
_arg1._gm522 = true;
_px495._uv117(irrcrpt("ncpf", 2), 66);
} else {
_arg1._is535 = (_arg1._is535 + (0.00025 * _rn300._fi392));
if (_arg1.y > 544){
_gd769._qu632(_arg1.x, (544 + 16), _arg1.id);
_arg1._gm522 = true;
_px495._uv117(irrcrpt("qfsi", 5), 66);
};
};
};
}
public static function _yy787(_arg1:_kx788):void{
if (_arg1.state == 1){
if (_arg1._pc921 == 0){
_arg1._vx423 = (_arg1._vx423 - _rn300._fi392);
if (_arg1._vx423 < 1){
_arg1._vx423 = _jt881._st127(50, 200);
_arg1._la355(_jt881._st127(0.025, 0.05), -0.1, 0.0005, _arg1.y);
};
if (_arg1.x > _arg1._hc532){
_arg1._pc921 = 0;
_arg1.state = 2;
_arg1._vx423 = _jt881._st127(50, 11000);
_arg1._nx880(_iq97._ph1185, (_arg1._vm1048 * 21), 0, 20, 20);
if (_ax174 == false){
if (_jt881._ai933(20) == true){
if (_arg1.x < 135){
_arg1._vx423 = 4000;
_ax174 = true;
if (_lo893() == true){
_kp522 = _iq97._hh186;
} else {
_kp522 = _ng427[_jt881._bu54(0, 2)];
};
_arg1._md415 = ((_kp522.width / 2) - 11);
_arg1.state = 3;
};
};
};
};
};
} else {
if (_arg1.state == 2){
_arg1._vx423 = (_arg1._vx423 - _rn300._fi392);
if (_arg1._vx423 < 1){
_arg1._vx423 = 0;
if (_arg1._pc921 == 0){
_arg1.state = 4;
_arg1._nx880(_iq97._ph1185, (_arg1._vm1048 * 21), 42, 20, 20);
if (_lq738 > 9){
if (_jt881._ai933(8) == true){
_arg1.state = 5;
_arg1._nx880(_iq97._ph1185, (_arg1._vm1048 * 21), 63, 20, 20);
_arg1._is535 = 0.025;
_arg1._rs1087 = -5E-5;
_arg1._vx423 = 0;
};
};
};
};
} else {
if (_arg1.state == 3){
_jt881._hb226(_kp522, (_arg1.x + _arg1._md415), (_arg1.y - 27), 0, 0, _kp522.width, _kp522.height, _gj434._bs729);
_arg1._vx423 = (_arg1._vx423 - _rn300._fi392);
if (_arg1._vx423 < 1){
_ax174 = false;
_arg1._vx423 = 0;
_arg1.state = 4;
};
} else {
if (_arg1.state == 4){
if (_arg1._pc921 == 0){
_arg1._vx423 = (_arg1._vx423 - _rn300._fi392);
if (_arg1._vx423 < 1){
_arg1._vx423 = _jt881._st127(50, 200);
_arg1._la355(-(_jt881._st127(0.025, 0.05)), -0.1, 0.0005, _arg1.y);
};
};
if (_arg1.x < -20){
_arg1._gm522 = true;
};
} else {
if (_arg1.state == 5){
_arg1.y = (_arg1.y + (_arg1._is535 * _rn300._fi392));
_arg1._is535 = (_arg1._is535 + (_arg1._rs1087 * _rn300._fi392));
_arg1._vx423 = (_arg1._vx423 - _rn300._fi392);
if (_arg1._vx423 < 1){
_arg1._vx423 = 50;
_cl79(_arg1);
};
if (_arg1.y < -20){
_arg1._gm522 = true;
};
};
};
};
};
};
}
public static function _pp257():void{
var _local1:int;
var _local4:int;
var _local2:Number = 0;
var _local3:Number = 0;
var _local5:Number = 0;
var _local6:Number = 0;
var _local7:int;
while (_local7 < 1000) {
_local2 = _jt881._bu54(7, 16);
_local3 = _jt881._bu54(3, 17);
_local1 = _gd769._nv584(_local2, _local3);
_local5 = _jt881._bu54(7, 16);
_local6 = _jt881._bu54(3, 17);
_local4 = _gd769._nv584(_local5, _local6);
if ((((_local1 > 0)) && ((_local4 > 0)))){
_gd769._wr609(_local2, _local3, _local4);
_gd769._wr609(_local5, _local6, _local1);
};
_local7++;
};
_kh50();
}
public static function _aw774():Boolean{
var _local1:Boolean;
var _local2 = 7;
while (_local2 < 17) {
if (_gd769._nv584(_local2, 3) > 0){
_local1 = true;
};
_local2++;
};
return (_local1);
}
public static function _kw135():void{
var _local1:int = _jt881._bu54(0, 4);
_dg729 = _ti546._un705(_iq97._ph1185, (_local1 * 21), 21, 20, 20, _gj434._bs729, 0, 0, 0);
_dg729._rx419(-20, _jt881._bu54(495, 535));
_dg729.state = 1;
_dg729._hc532 = _jt881._bu54(50, 184);
_dg729.id = 1;
_dg729._vm1048 = _local1;
_dg729._fa1052 = _dg729.y;
_dg729._he843(_yy787);
_ti546._id315.sortOn("_fa1052", Array.DESCENDING);
}
public static function _gw490():void{
var _local2:int;
_yi330 = 0;
var _local1:int;
while (_local1 < 18) {
_local2 = 0;
while (_local2 < 18) {
if (_gd769._ei813(_local2, _local1) == true){
_vx735(((_local2 * 32) + 16), ((_local1 * 32) + 16), _gd769._nv584(_local2, _local1));
_yi330 = (_yi330 + (_gd769._nv584(_local2, _local1) * 200));
_gd769._wr609(_local2, _local1, 0);
_gd769._ee887(_local2, _local1, false);
};
_local2++;
};
_local1++;
};
}
public static function _sd475(_arg1:_kx788):void{
if (_arg1.state == 1){
if (_ry1038 == false){
if (_mm914._ft309 == true){
if (_arg1._ln152(_rn300._cx588, _rn300._gg792) == true){
_arg1._fe62 = _arg1.x;
_arg1._jl282 = _arg1.y;
_arg1.state = 2;
_ry1038 = true;
_px495._nx680(irrcrpt("slfnxsfolfnhg", 3));
};
};
};
} else {
if (_arg1.state == 2){
if ((((((((_rn300._cx588 > 223)) && ((_rn300._cx588 < 544)))) && ((_rn300._gg792 > 95)))) && ((_rn300._gg792 < 576)))){
_arg1._rx419(((int((_rn300._cx588 / 32)) * 32) + 16), ((int((_rn300._gg792 / 32)) * 32) + 16));
} else {
_arg1._rx419(_rn300._cx588, _rn300._gg792);
};
if (_mm914._ya643 == false){
_ry1038 = false;
_im1134(_arg1);
};
};
};
}
public static function _mx610():void{
Tweener.addTween(_ja775, {_se117:208, time:2, transition:irrcrpt("iewiSyxIpewxmg", 4)});
Tweener.addTween(_ja775, {_mb1068:13, time:2, transition:irrcrpt("iewiSyxIpewxmg", 4), delay:0.5});
_rn300._bo368._hu1137(_hd191, 2800);
}
public static function _dn648(_arg1:_kx788):void{
if (_arg1._kp395 > 0){
if (_gd769._md584(_arg1) == true){
_arg1._kp395 = -(_arg1._kp395);
};
} else {
if (_arg1._kp395 < 0){
if (_gd769._ss139(_arg1) == true){
_arg1._kp395 = -(_arg1._kp395);
};
};
};
if (_arg1._is535 > 0){
if (_gd769._sl425(_arg1) == true){
_arg1._is535 = -(_arg1._is535);
};
} else {
if (_arg1._is535 < 0){
if (_gd769._uk406(_arg1) == true){
_arg1._is535 = -(_arg1._is535);
};
};
};
}
public static function _sh39(_arg1:Event):void{
_cx32._fp393(0, irrcrpt("iewiMrFego", 4), 0.8, _be552);
_px495._nx680(irrcrpt("gzggqjitbs", 5));
}
public static function Init(_arg1:Sprite):void{
_dg729 = new _kx788();
Parent = _arg1;
_gj434 = new _ch490();
_gj434.Init(Parent, _rn300._lv223, _rn300._rr151);
_gj434.Parent.alpha = 0;
_gj434.Parent.visible = false;
_ny53 = new _ch490();
_ny53._pm531(Parent);
_ny53._rx419(320, 300);
_cx32 = new _ch490();
_cx32.Init(Parent, _iq97._mj238.width, _iq97._mj238.height, true);
_cx32._rm890(_iq97._mj238);
_cx32._rx419(320, 300);
_cx32._id315._lf827(_cx32.Parent, _iq97._tr617, 97, 105, 1, _sh39, _rn300._le1080, _rn300._hg824);
_cx32._rc698(false);
_cx32._ur809(false);
_qr788 = false;
_nm438 = new _ht645();
_ti546 = new _ht645();
_tp1118 = new _ht645();
_uq209 = new _ht645();
_do759 = new _ht645();
_uq235 = new _ht645();
_gd769 = new _br1059();
_gd769.Init(20, 20, 32, 32, _iq97._fa1020, 10, 3, 1);
_gd769._cr715(_gj434._bs729, 18, 18);
_wy70();
_il1102();
}
public static function _be552():void{
_qr788 = true;
_cx32._rc698(false);
_cx32._ur809(false);
_gj434._la372();
_rn300._tg1100 = _ju269;
_yl1193 = _sb586;
}
public static function _km196(_arg1:int, _arg2:Number):void{
_yo875 = (_yo875 + _arg1);
if (_yo875 > (_fl630 - 1)){
_yo875 = 0;
_be1118();
};
_vy1040 = (_vy1040 + _arg1);
if (_vy1040 > (_fy131 - 1)){
_vy1040 = 0;
_ti11();
};
_ti1010(_arg2);
}
public static function _cc337(_arg1:Event):void{
_jt881._ew90(irrcrpt("lxxt://aaa.qexgl7.gsq", 4));
}
public static function _yt665(_arg1:Number, _arg2:int=1):void{
var _local4:BitmapData;
var _local3:int;
while (_local3 < _arg2) {
_local4 = _fx613[(_arg1 - 1)][1];
_dg729 = _uq235._un705(_local4, ((_iq97._fl927.width + 0) * 15), 0, _iq97._fl927.width, _iq97._fl927.height, _gj434._bs729, 0, 0, 0);
_dg729._rx419(384, 578);
_dg729._ft511(270, 30, _jt881._st127(0.2, 0.6), 0, 0.0003, false);
_dg729._sh794(-16, -16, (_rn300._lv223 + 16), (_rn300._rr151 + 16));
_dg729.id = _arg1;
_dg729._he843(_mv441);
_local3++;
};
}
public static function _he275():void{
var _local1:int;
var _local3:int;
var _local2:Boolean;
while (_local2 == true) {
_local2 = false;
_local1 = 18;
while (_local1 > 1) {
_local1--;
_local3 = 0;
while (_local3 < 18) {
if ((((_gd769._nv584(_local3, _local1) == 0)) && ((_gd769._nv584(_local3, (_local1 - 1)) > 0)))){
trace(irrcrpt("Rfu Djx", 5));
_gd769._wr609(_local3, _local1, _gd769._nv584(_local3, (_local1 - 1)));
_gd769._wr609(_local3, (_local1 - 1), 0);
_local2 = true;
};
_local3++;
};
};
};
}
public static function _mv441(_arg1:_kx788):void{
if (_arg1._is535 > 0){
_arg1._gm522 = true;
_arg1._he843(null);
_kj145(_arg1.x, _arg1.y, _arg1.id);
};
}
public static function _tr851():int{
var _local1:int;
_local1 = (_local1 + _nm438._bf575());
_local1 = (_local1 + _do759._bf575());
_local1 = (_local1 + _tp1118._bf575());
_local1 = (_local1 + _uq235._bf575());
_local1 = (_local1 + _uq209._bf575());
return (_local1);
}
public static function _ti1010(_arg1:Number):void{
_fb827.addValue(_arg1);
_is432 = ("" + _fb827.value);
}
public static function _dx718():void{
_nm438._dx718();
_ti546._dx718();
_do759._dx718();
_tp1118._dx718();
_uq235._dx718();
_uq209._dx718();
}
public static function _ir816():int{
var _local3:int;
var _local1:int;
var _local2:int;
while (_local2 < 18) {
_local3 = 0;
while (_local3 < 18) {
if (_gd769._ei813(_local3, _local2) == true){
_local1++;
};
_local3++;
};
_local2++;
};
return (_local1);
}
public static function _kh50():void{
var _local3:int;
var _local1:Number = 0;
var _local2 = 17;
while (_local2 > 2) {
_local3 = 7;
while (_local3 < 17) {
_ps248(((_local3 * 32) + 16), ((_local2 * 32) + 16), _local1);
_local3++;
};
_local1 = (_local1 + 25);
_local2--;
};
}
public static function _ju269():void{
_gj434._td1124();
_gj434._rm890(_iq97._pg767);
_yl1193();
_gj434._ss879();
if (_mm914._bx1039 > 0){
if (_mm914._bx1039 == 27){
if (_sk991 != 2){
_xr1065();
};
};
};
}
public static function _uo191(_arg1:Number=0):void{
_fb827.value = _arg1;
_ti1010(0);
}
public static function _yi836(_arg1:Number, _arg2:Number):void{
var _local3:int;
var _local4:Number = 0;
var _local5:Number = 0;
_local4 = _arg1;
_local5 = _arg2;
while ((((_local5 > 1)) && ((_local4 > 1)))) {
if (_gd769._nv584(_local4, _local5) > 0){
_vx735(((_local4 * 32) + 16), ((_local5 * 32) + 16), _gd769._nv584(_local4, _local5));
_gd769._wr609(_local4, _local5, 0);
_local3++;
};
_local5--;
_local4--;
};
_local4 = _arg1;
_local5 = _arg2;
while ((((_local5 > 1)) && ((_local4 < 19)))) {
if (_gd769._nv584(_local4, _local5) > 0){
_vx735(((_local4 * 32) + 16), ((_local5 * 32) + 16), _gd769._nv584(_local4, _local5));
_gd769._wr609(_local4, _local5, 0);
_local3++;
};
_local5--;
_local4 = (_local4 + 1);
};
_local4 = _arg1;
_local5 = _arg2;
while ((((_local5 < 19)) && ((_local4 > 1)))) {
if (_gd769._nv584(_local4, _local5) > 0){
_vx735(((_local4 * 32) + 16), ((_local5 * 32) + 16), _gd769._nv584(_local4, _local5));
_gd769._wr609(_local4, _local5, 0);
_local3++;
};
_local5 = (_local5 + 1);
_local4--;
};
_local4 = _arg1;
_local5 = _arg2;
while ((((_local5 < 19)) && ((_local4 < 19)))) {
if (_gd769._nv584(_local4, _local5) > 0){
_vx735(((_local4 * 32) + 16), ((_local5 * 32) + 16), _gd769._nv584(_local4, _local5));
_gd769._wr609(_local4, _local5, 0);
_local3++;
};
_local5 = (_local5 + 1);
_local4 = (_local4 + 1);
};
if (_local3 > 0){
_km196(_local3, (_local3 * 500));
};
}
public static function _es750():void{
var _local1:String = irrcrpt("gcugQwvGncuvke", 2);
_na219 = _gj434._id315._un705(Parent, _iq97._rt963, (64 + 320), ((300 + 300) + (_iq97._rt963.height / 2)), 1);
Tweener.addTween(_na219, {y:(-130 + 300), time:3, transition:_local1});
_na219 = _gj434._id315._un705(Parent, _iq97._br853, (64 + 320), ((300 + 300) + (_iq97._br853.height / 2)), 1);
Tweener.addTween(_na219, {y:(0 + 300), time:3, transition:_local1, delay:0.25});
_na219 = _gj434._id315._lf827(Parent, _iq97._vt522, (64 + 320), ((300 + 300) + (_iq97._vt522.height / 2)), 1, _ww848, _rn300._le1080, _rn300._hg824);
Tweener.addTween(_na219, {y:(85 + 300), time:3, transition:_local1, delay:0.5});
_na219 = _gj434._id315._lf827(Parent, _iq97._wr319, (64 + 320), ((300 + 300) + (_iq97._wr319.height / 2)), 1, _wl504, _rn300._le1080, _rn300._hg824);
Tweener.addTween(_na219, {y:(170 + 300), time:3, transition:_local1, delay:0.75});
trace(irrcrpt("EhhKeqiSzivKYM geppih", 4));
}
public static function _mc692():void{
var _local1:int;
if (_kl703 > 0){
_kl703 = (_kl703 - _rn300._fi392);
if (_kl703 < 1){
_kl703 = 0;
};
} else {
_wl474 = (_wl474 - _rn300._fi392);
if (_wl474 < 1){
_wl474 = _qi424;
_qm99 = (_qm99 + 1);
if (_qm99 == 10){
_qm99 = -1;
_kl703 = _wt574;
if (_aw774() == false){
_fl837();
} else {
_xr1065();
};
} else {
_local1 = _jt881._bu54(1, _or10);
_lj328 = _gd769._rq975(_local1);
_dg729 = _nm438._un705(_gd769._sq178, _lj328.left, _lj328.top, _lj328.width, _lj328.height, _gj434._bs729, 0, 0, 0);
_dg729._rx419(((((_qm99 * 32) + 160) + 64) + 16), (32 + 16));
_dg729._is535 = 0;
_dg729.id = _local1;
_dg729._ns240 = true;
};
};
};
}
public static function _ps248(_arg1:Number, _arg2:Number, _arg3:Number=0):void{
var _local4:BitmapData = _fx613[(6 - 1)][1];
_dg729 = _tp1118._un705(_local4, 0, 0, _iq97._gp88.width, _iq97._gp88.height, _gj434._bs729, _arg1, _arg2, 0, _arg3);
_dg729._iv220(_local4, 0.05, 30, 4, 0);
}
public static function _ut714():void{
var _local1:_kx788;
var _local2:int;
var _local4:int;
var _local3 = 2;
while (_local3 < 18) {
_local4 = 7;
while (_local4 < 17) {
if (_gd769._nv584(_local4, _local3) > 0){
_local2 = _gd769._nv584(_local4, _local3);
_lj328 = _gd769._rq975(_local2);
_dg729 = _nm438._un705(_gd769._sq178, _lj328.left, _lj328.top, _lj328.width, _lj328.height, _gj434._bs729, 0, 0, 0);
_dg729._rx419(((_local4 * 32) + 16), ((_local3 * 32) + 16));
_dg729.id = _local2;
_gd769._wr609(_local4, _local3, 0);
};
_local4++;
};
_local3++;
};
}
public static function _jq492(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0):void{
var _local6:BitmapData = _fx613[(6 - 1)][1];
_dg729 = _tp1118._un705(_local6, 0, 0, _iq97._gp88.width, _iq97._gp88.height, _gj434._bs729, _arg1, _arg2, 0, _arg5);
_dg729._yl385(_arg3, _arg4);
_dg729._sh794(224, 96, 543, 575);
_dg729._vx423 = 0;
_dg729._he843(_ex386);
_ex386(_dg729);
}
private static function _ot289():void{
_gd769._ps623();
_gj434._id315._dx718();
_dx718();
_gj434._rc698(false);
_gj434._ur809(true);
trace(irrcrpt("Jdph Vfuhhq ylvleoh = idovh", 3));
}
public static function _hd191():void{
if (_qr788 == false){
_rn300._tg1100 = _rn300._py665;
_gj434._gm1000(0.5);
_cx32.scale = 0;
_cx32._rc698(true);
_cx32._ur809(true);
_cx32._fp393(1, irrcrpt("fbtfPvuCbdl", 1), 0.8);
_px495._nx680(irrcrpt("gzggqjzu", 5));
} else {
_yl1193 = _sb586;
};
}
public static function _gg276():void{
var _local1:_kx788;
var _local2:int;
while (_local2 < 10) {
for each (_local1 in _do759._id315) {
if (_local1._gm522 == false){
if (_local1.state == 1){
if (_local1.y < 485){
if (_ev934((_local1.y + 75)) == false){
_local1.y = (_local1.y + 75);
};
};
};
};
};
_local2++;
};
}
public static function _kj145(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=-1):void{
var _local5:int = _jt881._bu54(8, 16);
var _local6:BitmapData = _fx613[(_arg3 - 1)][1];
var _local7:Number = _jt881._mt157();
if (_arg4 > -1){
_local5 = _arg4;
};
var _local8:int;
while (_local8 < _local5) {
_dg729 = _uq235._un705(_local6, 0, 0, _iq97._fl927.width, _iq97._fl927.height, _gj434._bs729, _arg1, _arg2, 0);
_dg729._iv220(_local6, 0.03, 30, 4, 0);
_dg729._ft511(_local7, 0, 0.1, 0, 0, false);
_dg729.id = _arg3;
_dg729._vx423 = (1000 / 25);
_local7 = (_local7 + (360 / _local5));
_local8++;
};
}
public static function _xy110():void{
_nk68 = false;
_fy131 = 55;
_or10 = 4;
_fl630 = 90;
_qi424 = 250;
_wt574 = 1000;
}
public static function _md562(_arg1:Number, _arg2:Number, _arg3:Boolean=false):void{
var _local4:int;
var _local5:int;
_local4 = _gd769._nv584(_arg1, _arg2);
if (_local4 != 11){
_gd769._ee887(_arg1, _arg2, true);
if (_ke1138(_arg1, (_arg2 - 1), _local4) == true){
_is142(_arg1, (_arg2 - 1), _local4);
};
if (_ke1138((_arg1 + 1), _arg2, _local4) == true){
_is142((_arg1 + 1), _arg2, _local4);
};
if (_ke1138(_arg1, (_arg2 + 1), _local4) == true){
_is142(_arg1, (_arg2 + 1), _local4);
};
if (_ke1138((_arg1 - 1), _arg2, _local4) == true){
_is142((_arg1 - 1), _arg2, _local4);
};
if (_va402 == true){
if (_ke1138((_arg1 - 1), (_arg2 - 1), _local4) == true){
_is142((_arg1 - 1), (_arg2 - 1), _local4);
};
if (_ke1138((_arg1 + 1), (_arg2 - 1), _local4) == true){
_is142((_arg1 + 1), (_arg2 - 1), _local4);
};
if (_ke1138((_arg1 - 1), (_arg2 + 1), _local4) == true){
_is142((_arg1 - 1), (_arg2 + 1), _local4);
};
if (_ke1138((_arg1 + 1), (_arg2 + 1), _local4) == true){
_is142((_arg1 + 1), (_arg2 + 1), _local4);
};
};
if (_arg3 == false){
_local5 = _ir816();
if (_local5 > 2){
_gw490();
_he275();
_yt665(_local4, (_local5 / 3));
_kw135();
_km196(_local5, _yi330);
_px495._nx680((irrcrpt("folfn", 3) + _jt881._bu54(1, 4)));
} else {
_gd769._wr609(_arg1, _arg2, 11);
_sv656();
_px495._nx680(irrcrpt("enkem3", 2));
_px495._nx680(irrcrpt("jviidi", 4));
};
} else {
if (_ir816() > 2){
_vt839();
} else {
if (_ir816() > 0){
_sv656();
};
};
};
};
}
public static function _kd840(_arg1:Number):void{
var _local2:int;
var _local3:int;
while (_local3 < 20) {
if (_gd769._nv584(_local3, _arg1) > 0){
_vx735(((_local3 * 32) + 16), ((_arg1 * 32) + 16), _gd769._nv584(_local3, _arg1));
_gd769._wr609(_local3, _arg1, 0);
_local2++;
};
_local3++;
};
if (_local2 > 0){
_km196(_local2, (_local2 * 500));
};
}
public static function _al45():void{
var _local1:_kx788;
_ry1038 = false;
for each (_local1 in _do759._id315) {
_local1._he843(null);
if (_local1._gm522 == false){
if (_local1.state == 2){
_local1.x = _local1._fe62;
_local1.y = _local1._jl282;
_local1.state = 1;
};
};
};
}
public static function _gt335():void{
var _local1:Number = _mb1068;
var _local2:Number = 120;
_jt881._tp1038(_iq97._wn1093, _local1, _local2, _gj434._bs729);
_na550._kg638._vv597(_gj434._bs729, _is432, (_local1 + 91), (_local2 + 69));
_na550._kg638._vv597(_gj434._bs729, _pw988, (_local1 + 91), (_local2 + 143));
}
public static function _ku946():void{
_nk68 = true;
_fy131 = 55;
_or10 = 2;
_fl630 = 90;
_qi424 = 250;
_wt574 = 1500;
}
public static function _tr631():void{
_nk68 = true;
_fy131 = 55;
_or10 = 3;
_fl630 = 90;
_qi424 = 250;
_wt574 = 1000;
}
public static function _jk845(_arg1:Number, _arg2:Number):void{
var _local3:int;
_local3 = (_local3 + _ij1100(1, _arg1, (_arg2 - 3)));
_local3 = (_local3 + _ij1100(3, (_arg1 - 1), (_arg2 - 2)));
_local3 = (_local3 + _ij1100(5, (_arg1 - 2), (_arg2 - 1)));
_local3 = (_local3 + _ij1100(7, (_arg1 - 3), _arg2));
_local3 = (_local3 + _ij1100(5, (_arg1 - 2), (_arg2 + 1)));
_local3 = (_local3 + _ij1100(3, (_arg1 - 1), (_arg2 + 2)));
_local3 = (_local3 + _ij1100(1, _arg1, (_arg2 + 3)));
if (_local3 > 0){
_km196(_local3, (_local3 * 500));
};
}
public static function SubmitScoreDone():void{
_gj434._la372();
_ny53._la372();
_lv220();
_ey906._xj366();
}
public static function _im1134(_arg1:_kx788):void{
var _local2:Number = 0;
var _local3:Number = 0;
if ((((((((((_rn300._cx588 > 223)) && ((_rn300._cx588 < 544)))) && ((_rn300._gg792 > 95)))) && ((_rn300._gg792 < 576)))) && ((_sk991 == 1)))){
_arg1._gm522 = true;
if (_arg1.id == 1){
_dg729 = _tp1118._un705(_iq97._vk1164, 0, 0, _iq97._vk1164.width, _iq97._vk1164.height, _gj434._bs729, _arg1.x, _arg1.y, 1);
_dg729._jq549(0.003, 0, 400, 4, 1);
_dg729._fj37(-0.0015, 1, 0, 1);
_dg729._ko701 = BlendMode.ADD;
_jk845(_gd769._lx721(_arg1.x), _gd769._ty935(_arg1.y));
_rn300._bo368._hu1137(_he275, 400);
_px495._nx680(irrcrpt("fsqf", 4));
};
if (_arg1.id == 2){
_kd840(_gd769._ty935(_arg1.y));
_jq492(_arg1.x, _arg1.y, 0.9, 0);
_jq492(_arg1.x, _arg1.y, -0.9, 0);
_rn300._bo368._hu1137(_he275, 400);
_px495._nx680(irrcrpt("vsa", 4));
} else {
if (_arg1.id == 3){
_au682(_gd769._lx721(_arg1.x));
_jq492(_arg1.x, _arg1.y, 0, -1);
_jq492(_arg1.x, _arg1.y, 0, 1);
_px495._nx680(irrcrpt("wtb", 5));
} else {
if (_arg1.id == 4){
_kd840(_gd769._ty935(_arg1.y));
_au682(_gd769._lx721(_arg1.x));
_jq492(_arg1.x, _arg1.y, 0.9, 0);
_jq492(_arg1.x, _arg1.y, -0.9, 0);
_jq492(_arg1.x, _arg1.y, 0, -1);
_jq492(_arg1.x, _arg1.y, 0, 1);
_rn300._bo368._hu1137(_he275, 400);
_px495._nx680(irrcrpt("wtb", 5));
} else {
if (_arg1.id == 5){
_yi836(_gd769._lx721(_arg1.x), _gd769._ty935(_arg1.y));
_jq492(_arg1.x, _arg1.y, -0.9, -0.9);
_jq492(_arg1.x, _arg1.y, 0.9, -0.9);
_jq492(_arg1.x, _arg1.y, -0.9, 0.9);
_jq492(_arg1.x, _arg1.y, 0.9, 0.9);
_rn300._bo368._hu1137(_he275, 400);
_px495._nx680(irrcrpt("wtb", 5));
} else {
if (_arg1.id == 6){
_pp257();
_px495._nx680(irrcrpt("tqy", 2));
};
};
};
};
};
_gg276();
} else {
_arg1.x = _arg1._fe62;
_arg1.y = _arg1._jl282;
_arg1.state = 1;
};
}
public static function _ij1100(_arg1:int, _arg2:Number, _arg3:Number):int{
var _local4:int;
while (_arg1 > 0) {
if ((((((((_arg2 > 1)) && ((_arg2 < 19)))) && ((_arg3 > 0)))) && ((_arg3 < 19)))){
if (_gd769._nv584(_arg2, _arg3) > 0){
_vx735(((_arg2 * 32) + 16), ((_arg3 * 32) + 16), _gd769._nv584(_arg2, _arg3));
_gd769._wr609(_arg2, _arg3, 0);
_local4++;
};
};
_arg2 = (_arg2 + 1);
_arg1--;
};
return (_local4);
}
public static function _il1102():void{
_jt881._tb532(_nx994, 1, _iq97._fl927, 1, 1, 1, 0, true, 30);
_jt881._tb532(_fe59, 1, _iq97._mc350, 1, 1, 1, 0, true, 30);
_jt881._tb532(_xn1011, 1, _iq97._rj813, 1, 1, 1, 0, true, 30);
_jt881._tb532(_wx290, 1, _iq97._ta1024, 1, 1, 1, 0, true, 30);
_jt881._tb532(_ea915, 1, _iq97._pe516, 1, 1, 1, 0, true, 30);
_jt881._wc637(_iy94, 1, _iq97._gp88, 1, 1, 1, 30);
}
public static function _vx735(_arg1:Number, _arg2:Number, _arg3:Number):void{
var _local7:int;
var _local4:Number = 0;
var _local5:Number = 0;
_arg3 = (_arg3 + 5);
var _local6:int;
while (_local6 < 4) {
_local7 = 0;
while (_local7 < 4) {
_lj328 = _gd769._rq975(_arg3);
_dg729 = _tp1118._un705(_gd769._sq178, (_lj328.left + (_local7 * 8)), (_lj328.top + (_local6 * 8)), 8, 8, _gj434._bs729, 0, 0, 0);
_dg729._rx419((((_arg1 - 16) + 4) + (_local7 * 8)), (((_arg2 - 16) + 4) + (_local6 * 8)));
_local4 = _jt881._be928(_arg1, _arg2, _dg729.x, _dg729.y);
_local5 = _jt881._fj691(((_arg1 - 16) + (_local7 * 8)), ((_arg2 - 16) + (_local6 * 8)), _arg1, _arg2);
_dg729._ft511(_local4, 10, (_local5 * 0.001), 0, 0.00025, true);
_dg729._sh794(-16, -16, (_rn300._lv223 + 16), (_rn300._rr151 + 16));
_local7++;
};
_local6++;
};
}
public static function _cl79(_arg1:_kx788):void{
var _local2:BitmapData = _fx613[_arg1._vm1048][1];
_dg729 = _uq209._un705(_local2, 0, 0, _iq97._fl927.width, _iq97._fl927.height, _gj434._bs729, 0, 0, 0);
_dg729._rx419((_arg1.x + _jt881._bu54(-3, 3)), (_arg1.y + 8));
_dg729._iv220(_local2, _jt881._st127(0.06, 0.1), 30, 4, 0);
_dg729._ft511(90, 10, _jt881._st127(0.05, 0.1), 0, 0, false);
}
public static function _ex386(_arg1:_kx788):void{
var _local2:BitmapData = _fx613[(6 - 1)][1];
_dg729 = _tp1118._un705(_local2, 0, 0, _iq97._gp88.width, _iq97._gp88.height, _gj434._bs729, _arg1.x, _arg1.y, 0);
_dg729._iv220(_local2, 0.06, 30, 4, 0);
}
public static function _lo893():Boolean{
var _local3:int;
var _local1:Boolean;
var _local2 = 7;
while (_local2 < 17) {
_local3 = 3;
while (_local3 < 7) {
if (_gd769._nv584(_local2, _local3) > 0){
_local1 = true;
};
_local3++;
};
_local2++;
};
return (_local1);
}
public static function _sn1170():void{
_uq209._vu25(_rn300._fi392);
_ti546._vu25(_rn300._fi392);
_jt881._bt296(_iq97._fv271, _se117, 17, 0, 0, 432, 583, _gj434._bs729, false);
_gt335();
_uq235._vu25(_rn300._fi392);
_tp1118._vu25(_rn300._fi392);
}
public static function _lk1154():void{
var _local1:String = irrcrpt("gcugQwvGncuvke", 2);
_na219 = null;
_na219 = _ny53._id315._un705(_ny53.Parent, _iq97._rt963, 64, (300 + (_iq97._rt963.height / 2)), 1);
Tweener.addTween(_na219, {y:-130, time:3, transition:_local1});
_na219 = _ny53._id315._un705(_ny53.Parent, _iq97._br853, 64, (300 + (_iq97._br853.height / 2)), 1);
Tweener.addTween(_na219, {y:0, time:3, transition:_local1, delay:0.25});
_na219 = _ny53._id315._lf827(_ny53.Parent, _iq97._wr319, 64, (300 + (_iq97._wr319.height / 2)), 1, _wl504, _rn300._le1080, _rn300._hg824);
Tweener.addTween(_na219, {y:85, time:3, transition:_local1, delay:0.5});
_na219 = _ny53._id315._lf827(_ny53.Parent, _iq97._vt522, 64, (300 + (_iq97._vt522.height / 2)), 1, _ww848, _rn300._le1080, _rn300._hg824);
Tweener.addTween(_na219, {y:170, time:3, transition:_local1, delay:0.75});
trace(irrcrpt("DggJdphRyhuJXL fdoohg", 3));
}
public static function _oh230(_arg1:Event):void{
_arg1.currentTarget._rm890(_iq97._sq670);
}
public static function _wm792():void{
_na219 = _gj434._id315._un705(_gj434.Parent, _iq97._rt963, 64, -130, 1);
_na219 = _gj434._id315._un705(_gj434.Parent, _iq97._br853, 64, 0, 1);
_na219 = _gj434._id315._lf827(_gj434.Parent, _iq97._vt522, 64, 85, 1, _ww848, _rn300._le1080, _rn300._hg824);
_na219 = _gj434._id315._lf827(_gj434.Parent, _iq97._wr319, 64, 170, 1, _wl504, _rn300._le1080, _rn300._hg824);
}
public static function _au682(_arg1:Number):void{
var _local2:int;
var _local3 = 3;
while (_local3 < 18) {
if (_gd769._nv584(_arg1, _local3) > 0){
_vx735(((_arg1 * 32) + 16), ((_local3 * 32) + 16), _gd769._nv584(_arg1, _local3));
_gd769._wr609(_arg1, _local3, 0);
_local2++;
};
_local3++;
};
if (_local2 > 0){
_km196(_local2, (_local2 * 500));
};
}
public static function _ke1138(_arg1:Number, _arg2:Number, _arg3:Number):Boolean{
if ((((_arg1 > -1)) && ((_arg1 < 18)))){
if ((((_gd769._nv584(_arg1, _arg2) == _arg3)) && ((_gd769._ei813(_arg1, _arg2) == false)))){
return (true);
};
return (false);
//unresolved jump
};
return (false);
}
}
}//package
Section 130
//_na550 (_na550)
package {
import classes.*;
public class _na550 {
public static var _kg638:_qr940;
public static var _bm1121:_qr940;
public static var _hi704:_qr940;
private static function _yd511():void{
var _local1:int;
_kg638 = new _qr940();
_kg638._ul104(_iq97._dy287, -11);
_kg638._gw45(48, 0, 0, 34, 37);
_kg638._gw45(49, 35, 0, 24, 37);
_kg638._gw45(50, 60, 0, 27, 37);
_kg638._gw45(51, 88, 0, 31, 37);
_kg638._gw45(52, 120, 0, 30, 37);
_kg638._gw45(53, 151, 0, 30, 37);
_kg638._gw45(54, 182, 0, 29, 37);
_kg638._gw45(55, 212, 0, 31, 37);
_kg638._gw45(56, 244, 0, 31, 37);
_kg638._gw45(57, 276, 0, 30, 37);
_kg638._gw45(76, 320, 0, 92, 37);
}
public static function Init():void{
_kg638 = new _qr940();
_yd511();
}
}
}//package
Section 131
//_pv958 (_pv958)
package {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import classes.*;
import caurina.transitions.*;
import com.urbansquall.preloader.*;
import mochi.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
public class _pv958 extends Preloader {
private var _dl50:Class;
private var _cl43:int;
private var _kx130:MovieClip;
private var _vb328:Class;
private var _ln353:Class;
private var _st179:Sprite;
private var _sf108:String;
private var _gj434:_ch490;
private var _fe62:Number;// = 0
private var _fq1071:BitmapData;
private var _gu430:Class;
private var _eu972:Boolean;// = true
private var _dl700:BitmapData;
private var _jp407:Class;
private var _jm156:BitmapData;
private var _uy617:BitmapData;
private var _wq670:Boolean;
private var _nl422:BitmapData;
public function _pv958(){
_gu430 = _pv958__gu430;
_dl700 = new _gu430().bitmapData;
_ln353 = _pv958__ln353;
_nl422 = new _ln353().bitmapData;
_dl50 = _pv958__dl50;
_jm156 = new _dl50().bitmapData;
_vb328 = _pv958__vb328;
_uy617 = new _vb328().bitmapData;
_jp407 = _pv958__jp407;
_fq1071 = new _jp407().bitmapData;
_gj434 = new _ch490();
_sf108 = irrcrpt("4d2f50181b269g98", 1);
super();
}
private function _ew90(_arg1:String):void{
var _local2:URLRequest = new URLRequest(_arg1);
navigateToURL(_local2, irrcrpt("_gqfsp", 5));
}
private function _ea1128(_arg1:Event):void{
_arg1.currentTarget._rm890(_uy617);
}
override protected function updateLoading(_arg1:Number):void{
var _local5:int;
var _local2:int = Math.round((_arg1 * 100));
var _local3:int = (640 * (_local2 / 100));
var _local4:int = (175 * (_local2 / 100));
if (_fe62 != _local3){
_fe62 = _local3;
if (_local3 < 639){
_gj434._td1124();
_local5 = 0;
while (_local5 < 20) {
_jt881._hb226(_fq1071, (_local3 + _jt881._bu54(-10, 10)), _jt881._bu54(0, 599), (_jt881._bu54(0, 4) * 33), 0, 32, 32, _gj434._bs729);
_local5++;
};
_gj434._ss879();
};
};
if (_wq670 == true){
_cl43 = (_cl43 - 1);
if (_cl43 < 1){
oktoexit = true;
};
};
}
private function _em1012(_arg1:Event):void{
_arg1.currentTarget._rm890(_jm156);
}
override protected function beginLoading():void{
_wq670 = false;
_cl43 = (stage.frameRate * 2);
_st179 = new Sprite();
addChild(_st179);
_st179.x = 0;
_st179.y = 0;
_st179.scrollRect = new Rectangle(0, 0, 640, 600);
_gj434.Init(_st179, 640, 600, true, 267386880, true);
_gj434._rm890(_dl700);
_gj434._id315._un705(_gj434.Parent, _nl422, 0, -210, 1);
_gj434._id315._lf827(_gj434.Parent, _jm156, 0, 50, 1, _cc337, _ea1128, _em1012);
if (_eu972 == true){
_kx130 = new MovieClip();
addChild(_kx130);
MochiAd.showPreGameAd({id:_sf108, res:irrcrpt("084b044", 4), clip:_kx130, ad_failed:_xt49, ad_skipped:_xt49, ad_finished:_xt49});
} else {
_xt49();
};
}
override protected function endLoading():void{
_gj434._my580();
_dl700 = null;
_uy617 = null;
removeChild(_st179);
_st179 = null;
if (_eu972 == true){
removeChild(_kx130);
_kx130.visible = false;
_kx130 = null;
};
}
private function _xt49():void{
_wq670 = true;
}
private function _cc337(_arg1:Event):void{
_ew90(irrcrpt("myyu://bbb.rfyhm8.htr", 5));
}
}
}//package
Section 132
//_pv958__dl50 (_pv958__dl50)
package {
import mx.core.*;
public class _pv958__dl50 extends BitmapAsset {
}
}//package
Section 133
//_pv958__gu430 (_pv958__gu430)
package {
import mx.core.*;
public class _pv958__gu430 extends BitmapAsset {
}
}//package
Section 134
//_pv958__jp407 (_pv958__jp407)
package {
import mx.core.*;
public class _pv958__jp407 extends BitmapAsset {
}
}//package
Section 135
//_pv958__ln353 (_pv958__ln353)
package {
import mx.core.*;
public class _pv958__ln353 extends BitmapAsset {
}
}//package
Section 136
//_pv958__vb328 (_pv958__vb328)
package {
import mx.core.*;
public class _pv958__vb328 extends BitmapAsset {
}
}//package
Section 137
//_rn300 (_rn300)
package {
import flash.events.*;
import flash.display.*;
import classes.*;
import flash.geom.*;
import com.urbansquall.display.*;
import mochi.*;
import flash.net.*;
import flash.utils.*;
import caurina.transitions.*;
import flash.text.*;
import flash.filters.*;
import flash.ui.*;
public class _rn300 extends InitializedSprite {
public static var _fy464:Stage;
public static var _mo24:Boolean;
public static var _se999:SharedObject = SharedObject.getLocal(_aj58);
public static var _bo368:_xe431;
public static var _rr151:int = 600;
public static var _ac802:Sprite;
public static var _cx588:Number;
public static var _og888:int;
public static var _lv223:int = 640;
public static var _aj58:String = irrcrpt("RtqlgevPcog", 2);
public static var _is732:Number;
public static var _gg792:Number;
public static var _tg1100:Function;
public static var _fi392:Number;
public static var _id468:int = 35;
public static var _to878:_mj197 = new _mj197();
public function _rn300():void{
}
override protected function Init():void{
_fy464 = stage;
_fy464.frameRate = _id468;
stage.scaleMode = StageScaleMode.NO_SCALE;
_fy464.quality = StageQuality.MEDIUM;
_fy464.stageFocusRect = false;
_np257();
_bo368 = new _xe431();
_mm914.Init(_fy464);
_na550.Init();
_gf51.Init();
_ac802 = new Sprite();
_ac802.x = 0;
_ac802.y = 0;
_ac802.scrollRect = new Rectangle(0, 0, _lv223, _rr151);
_fy464.addChild(_ac802);
_rl33();
}
private function _rl33():void{
MochiMedia.MochiServicesConnect(_fy464, irrcrpt("0dfcd4h450747546", 2));
_mh1132();
_nw434._rd586();
_ts784._bx824();
_nw434._xh1075((1000 / 15));
_fy464.addEventListener(Event.ENTER_FRAME, _qg1114);
_ey906._xj366();
}
private function _np257():void{
var _local1:String = _bd512();
var _local2:Array = ["flashgamelicense.com", "munsiegames.com", "test.swf"];
_mo24 = false;
var _local3:int;
while (_local3 < _local2.length) {
if (_local1.indexOf(_local2[_local3]) > 0){
_mo24 = true;
};
_local3++;
};
_mo24 = true;
}
private function _bd512():String{
var _local2:String;
var _local1:String = this.root.loaderInfo.url;
_local2 = _local1;
return (_local2.toLowerCase());
}
private function _qg1114(_arg1:Event):void{
_fi392 = _nw434._cp562();
_cx588 = mouseX;
_gg792 = mouseY;
_bo368._ju269(_fi392);
if (_is732 > 0){
_is732 = (_is732 - _fi392);
if (_is732 < 1){
_is732 = 0;
};
} else {
_tg1100();
};
_px495._vi810();
_mm914._ft309 = false;
}
public static function _lh988(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number):void{
_to878.draw(_arg1, _arg2, _arg3, _arg4);
}
public static function _py665():void{
}
public static function _tc479(_arg1:BitmapData, _arg2:Number, _arg3:Number):void{
_to878.draw(_arg1, ("" + _ts784._yd883()), _arg2, _arg3);
}
public static function _bm426(_arg1:InteractiveObject):void{
_fy464.focus = _arg1;
}
public static function _nm925(_arg1:Event):void{
}
public static function _hg824(_arg1:Event):void{
var _local2:String = irrcrpt("fbtfPvuFmbtujd", 1);
Tweener.addTween(_arg1.currentTarget, {scale:1, time:1, transition:_local2});
}
private static function _mh1132():void{
_ey906.Init(_ac802);
_ja775.Init(_ac802);
}
public static function _le1080(_arg1:Event):void{
var _local2:String = irrcrpt("gcugQwvGncuvke", 2);
Tweener.addTween(_arg1.currentTarget, {scale:1.2, time:1, transition:_local2});
}
public static function _oj284(_arg1:_ch490):void{
_arg1._id315._dx718();
_arg1.Parent.visible = false;
}
}
}//package
Section 138
//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