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
//_ac709 (classes._ac709)
package classes {
import flash.events.*;
import flash.utils.*;
public class _ac709 {
private static const delta_array_size:int = 8;
public static var _nh978:Number = 0;
private static var _di21:Array = [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30];
private static var _pm526:int;
private static var _dt1030:Number = 0;
public static var _mt664:Number = 1;
public static var _so1032:Number = 20;
private static var _vr316:Number = 0;
public static function _be1002(_arg1:Number=1):void{
_vr316 = getTimer();
_di21 = [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30];
_dt1030 = 30;
_pm526 = -1;
_mt664 = _arg1;
}
public static function _tu638():Number{
var _local1:uint = getTimer();
var _local2:uint = (_local1 - _vr316);
_vr316 = getTimer();
if (_local2 > _so1032){
_local2 = _so1032;
};
return ((_local2 * _mt664));
}
public static function _vc662():Number{
var _local1:uint = getTimer();
var _local2:uint = (_local1 - _vr316);
_vr316 = getTimer();
_pm526++;
if (_pm526 == delta_array_size){
_pm526 = 0;
};
_di21[_pm526] = _local2;
_dt1030 = 0;
var _local3:int;
while (_local3 < delta_array_size) {
_dt1030 = (_dt1030 + _di21[_local3]);
_local3++;
};
_nh978 = (_dt1030 / delta_array_size);
if (_nh978 > _so1032){
_nh978 = _so1032;
};
return ((_nh978 * _mt664));
}
public static function _yq1137(_arg1:Number=40):void{
_so1032 = _arg1;
}
}
}//package classes
Section 10
//_ai813 (classes._ai813)
package classes {
import flash.display.*;
public class _ai813 {
public var _jd292:int;// = 0
public var _de89:Number;// = 0
public var _ng406:Array;
public var _vf519:int;// = 0
public var _hl488:Number;// = 0
public function _ai813(){
_ng406 = [];
super();
}
public function _bf1022(_arg1:Object, _arg2:Number=1):void{
var _local5:_mm644;
var _local3:int = (_ng406.length - 1);
var _local4:int = _local3;
while (_local4 >= 0) {
_local5 = _ng406[_local4];
_arg1(_local5);
_local5._fa1074(_arg2);
if (_local5._tk357 == true){
if (_local5._so150 != null){
_local5._so150(_local5);
};
_local5._nt598();
_ng406.splice(_local4, 1);
_local5 = null;
} else {
_local5._nc1147();
};
_local4--;
};
}
public function _mb568(_arg1:Number, _arg2:Number):void{
var _local3:_mm644;
for each (_local3 in _ng406) {
_local3._mb568(_arg1, _arg2);
};
}
public function _mu1054(_arg1:int=0):_mm644{
var _local2:int;
var _local3:_mm644;
var _local4:_mm644;
var _local5:int = (_ng406.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _ng406[_local2];
if (_local3.id == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _gd949(_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):_mm644{
var _local13:_mm644;
_local13 = new _mm644();
_local13._xy863(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg9, _arg10, _arg11);
_local13._xk625(_arg7, _arg8);
_local13._aw21 = _arg12;
_ng406[_ng406.length] = _local13;
return (_local13);
}
public function _wl327():int{
return (_ng406.length);
}
public function _nm1044(_arg1:BitmapData, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Boolean=true, _arg7:Boolean=true):_mm644{
var _local8:_mm644;
_local8 = new _mm644();
_local8._xy863(_arg1, 0, 0, _arg1.width, _arg1.height, _arg2, 1, _arg5, _arg6);
_local8._xk625(_arg3, _arg4);
_local8._aw21 = _arg7;
_ng406[_ng406.length] = _local8;
return (_local8);
}
public function _mt532(_arg1:int=0):_mm644{
var _local2:int;
var _local3:_mm644;
var _local4:_mm644;
var _local5:int = (_ng406.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _ng406[_local2];
if (_local3._dm127 == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _sa937(_arg1:int=0):void{
var _local2:int;
var _local3:Object;
var _local4:int = (_ng406.length - 1);
_local2 = _local4;
while (_local2 >= 0) {
_local3 = _ng406[_local2];
if (_arg1 > 0){
if (_local3._dm127 == _arg1){
_ng406.splice(_local2, 1);
_local3._nt598();
_local3 = null;
};
} else {
_ng406.splice(_local2, 1);
_local3._nt598();
_local3 = null;
};
_local2--;
};
}
public function _ai429(_arg1:_mm644, _arg2:Function):void{
var _local3:_mm644;
for each (_local3 in _ng406) {
if (_jt74._qr607(_local3, _arg1) == true){
_arg2(_local3, _arg1);
};
};
}
public function _ce257(_arg1:_mm644):Boolean{
var _local2:_mm644;
var _local3:Boolean;
for each (_local2 in _ng406) {
if (_jt74._qr607(_arg1, _local2) == true){
(_local3 == true);
};
};
return (_local3);
}
public function _sw802(_arg1:Number=1):void{
var _local3:_mm644;
var _local2:int = (_ng406.length - 1);
var _local4:int = _local2;
while (_local4 >= 0) {
_local3 = _ng406[_local4];
_local3._fa1074(_arg1);
if (_local3._tk357 == true){
if (_local3._so150 != null){
_local3._so150(_local3);
};
_local3._nt598();
_ng406.splice(_local4, 1);
_local3 = null;
} else {
_local3._nc1147();
};
_local4--;
};
}
public function _ni281(_arg1:Number=1):void{
var _local3:_mm644;
var _local2:int = (_ng406.length - 1);
var _local4:int = _local2;
while (_local4 >= 0) {
_local3 = _ng406[_local4];
_local3._fa1074(_arg1);
if (_local3._tk357 == true){
if (_local3._so150 != null){
_local3._so150(_local3);
};
_local3._nt598();
_ng406.splice(_local4, 1);
_local3 = null;
};
_local4--;
};
}
public function _ij716(_arg1:Function):void{
var _local2:_mm644;
for each (_local2 in _ng406) {
_arg1(_local2);
};
}
public function _ey231(_arg1:Object, _arg2:Number=1):void{
var _local4:_mm644;
var _local3:int = (_ng406.length - 1);
var _local5:int = _local3;
while (_local5 >= 0) {
_local4 = _ng406[_local5];
_local4._fa1074(_arg2);
_arg1(_local4);
if (_local4._tk357 == true){
if (_local4._so150 != null){
_local4._so150(_local4);
};
_local4._nt598();
_ng406.splice(_local5, 1);
_local4 = null;
} else {
_local4._nc1147();
};
_local5--;
};
}
public function _ut1101(_arg1:Object, _arg2:Number=1):void{
var _local4:_mm644;
var _local3:int = (_ng406.length - 1);
var _local5:int = _local3;
while (_local5 >= 0) {
_local4 = _ng406[_local5];
_local4._fa1074(_arg2);
if (_local4._tk357 == true){
if (_local4._so150 != null){
_local4._so150(_local4);
};
_local4._nt598();
_ng406.splice(_local5, 1);
_local4 = null;
} else {
_arg1(_local4);
_local4._nc1147();
};
_local5--;
};
}
public function _lv265(_arg1:int):void{
var _local2:_mm644;
for each (_local2 in _ng406) {
if (_local2._ky134 == _arg1){
_local2._tk357 = true;
_local2._al569 = false;
};
};
}
public function _yl599():void{
var _local1:_mm644;
for each (_local1 in _ng406) {
_local1._tk357 = true;
};
}
public function _pc864(_arg1:int):Boolean{
var _local2:_mm644;
var _local3:Boolean;
for each (_local2 in _ng406) {
if (_local2.id == _arg1){
_local3 = true;
};
};
return (_local3);
}
public function _ak534(_arg1:_mm644):void{
_ng406[_ng406.length] = _arg1;
}
public function _ww890(_arg1:Number):Number{
var _local3:_mm644;
var _local2:Number = 0;
for each (_local3 in _ng406) {
if (_local3.id == _arg1){
_local2++;
};
};
return (_local2);
}
public function _st640(_arg1:BitmapData):void{
var _local2:_mm644;
for each (_local2 in _ng406) {
_local2._bu51(_arg1);
};
}
public function _dp801(_arg1:Number=1):void{
var _local3:_mm644;
var _local2:int = (_ng406.length - 1);
var _local4:int = _local2;
while (_local4 >= 0) {
_local3 = _ng406[_local4];
_local3._fp525(_arg1);
if (_local3._tk357 == true){
if (_local3._so150 != null){
_local3._so150(_local3);
};
_local3._nt598();
_ng406.splice(_local4, 1);
_local3 = null;
} else {
_local3._nc1147();
};
_local4--;
};
}
public function _ng1065(_arg1:String):_mm644{
var _local2:int;
var _local3:_mm644;
var _local4:_mm644;
var _local5:int = (_ng406.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _ng406[_local2];
if (_local3.name == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _tr424(_arg1:int):Boolean{
var _local2:_mm644;
var _local3:Boolean;
for each (_local2 in _ng406) {
if (_local2._dm127 == _arg1){
_local3 = true;
};
};
return (_local3);
}
public function _mf684():void{
var _local1:_mm644;
for each (_local1 in _ng406) {
_local1._nc1147();
};
}
public function _he991(_arg1:Object, _arg2:Number=1):void{
var _local4:_mm644;
var _local3:int = (_ng406.length - 1);
var _local5:int = _local3;
while (_local5 >= 0) {
_local4 = _ng406[_local5];
_local4._fa1074(_arg2);
if (_local4._tk357 == true){
if (_local4._so150 != null){
_local4._so150(_local4);
};
_local4._nt598();
_ng406.splice(_local5, 1);
_local4 = null;
} else {
_local4._nc1147();
_arg1(_local4);
};
_local5--;
};
}
public function _wx482(_arg1:Function):void{
var _local2:_mm644;
for each (_local2 in _ng406) {
_local2._nc1147();
_arg1(_local2);
};
}
}
}//package classes
Section 11
//_gn776 (classes._gn776)
package classes {
import flash.events.*;
import flash.media.*;
import flash.utils.*;
public class _gn776 {
private static var _lf86:Boolean;
private static var _kg778:Dictionary;
public static function _ap864(_arg1:String, _arg2:Number=2):void{
var _local3:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<OIGOwuke> HcfgQwv: ", 2) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local3 = _kg778[_arg1];
_local3._ap864(_arg2);
}
public static function _yl379(_arg1:Boolean):void{
_lf86 = _arg1;
}
public static function _gx840(_arg1:String, _arg2:Sound, _arg3:Number=0, _arg4:int=100000):_up85{
var _local5:_up85 = new _up85();
_local5._gx840(_arg2, _arg3, _arg4);
_kg778[_arg1] = _local5;
return (_local5);
}
public static function _kv362(_arg1:String):void{
var _local2:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<RLJRzxnh> WjrtajHfqqgfhpBmjsItsj: ", 5) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local2 = _kg778[_arg1];
if (_local2._yj730 != null){
_local2._ih512.removeEventListener(Event.SOUND_COMPLETE, _local2._yj730);
};
}
public static function _pc800(_arg1:String):Number{
var _local2:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<OIGOwuke> Igv NqqrUvctv: ", 2) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local2 = _kg778[_arg1];
return (_local2._kl184);
}
public static function _fj391(_arg1:String, _arg2:Number=2):void{
var _local3:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<OIGOwuke> HcfgKp: ", 2) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local3 = _kg778[_arg1];
if (_lf86 == true){
_local3._fj391(_arg2);
};
}
public static function _ti110(_arg1:String, _arg2:Function):void{
var _local3:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<OIGOwuke> CffEcnndcemYjgpFqpg: ", 2) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local3 = _kg778[_arg1];
_local3._yj730 = _arg2;
_local3._ih512.addEventListener(Event.SOUND_COMPLETE, _local3._yj730);
}
public static function _wh936(_arg1:String, _arg2:Number):void{
var _local3:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<RLJRzxnh> Xjy Atqzrj: ", 5) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local3 = _kg778[_arg1];
_local3._cn38 = _arg2;
}
public static function _rm1150(_arg1:String, _arg2:Number):void{
var _local3:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<PJHPxvlf> Vhw OrrsVwduw: ", 3) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local3 = _kg778[_arg1];
_local3._kl184 = _arg2;
}
public static function _bd374(_arg1:String):Number{
var _local2:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<RLJRzxnh> Ljy Ufs: ", 5) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2))));
};
_local2 = _kg778[_arg1];
return (_local2._by1110);
}
public static function Init():void{
_kg778 = new Dictionary();
_lf86 = true;
}
public static function _be773(_arg1:String):void{
var _local2:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<QKIQywmg> Tpec Wsyrh: ", 4) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local2 = _kg778[_arg1];
if (_lf86 == true){
_local2._be773();
};
}
public static function _wj78(_arg1:String):Number{
var _local2:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<PJHPxvlf> Jhw Srvlwlrq: ", 3) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local2 = _kg778[_arg1];
return (_local2._ih512.position);
}
public static function _kp870(_arg1:String, _arg2:Number):void{
var _local3:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<RLJRzxnh> Xjy Ufs: ", 5) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local3 = _kg778[_arg1];
_local3._by1110 = _arg2;
}
public static function _ui1135(_arg1:String):void{
var _local2:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<RLJRzxnh> Xytu Xtzsi: ", 5) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local2 = _kg778[_arg1];
_local2._ui1135();
}
public static function _ga331(_arg1:String):Number{
var _local2:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<QKIQywmg> Kix Zspyqi: ", 4) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local2 = _kg778[_arg1];
return (_local2._cn38);
}
public static function _bk303():void{
var _local1:_up85;
for each (_local1 in _kg778) {
_local1._ui1135();
};
}
public static function _nd474():Boolean{
return (_lf86);
}
}
}//package classes
Section 12
//_jt74 (classes._jt74)
package classes {
import flash.geom.*;
public class _jt74 {
private static var rect:Rectangle;
private static var _vg983:Point;
private static var _br915:Number = 6.28318530717959;
private static var _ba493:Number = 0.0174532925199433;
private static var _ul496:Number = 57.2957795130823;
public static function _md403(_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 _ho1079(_arg1:_mm644, _arg2:_mm644):Boolean{
var _local3:Number = (_arg1.x + (_arg1._to1012 * (_arg1._dv523 * _arg1._wr760)));
var _local4:Number = (_arg1.y + (_arg1._gy404 * (_arg1._cc1022 * _arg1._wr760)));
var _local5:Number = ((_arg1._nt592 - 1) * Math.abs((_arg1._dv523 * _arg1._wr760)));
var _local6:Number = ((_arg1._ci831 - 1) * Math.abs((_arg1._cc1022 * _arg1._wr760)));
var _local7:Number = (_arg2.x + (_arg2._to1012 * (_arg2._dv523 * _arg2._wr760)));
var _local8:Number = (_arg2.y + (_arg2._gy404 * (_arg2._cc1022 * _arg2._wr760)));
var _local9:Number = ((_arg2._nt592 - 1) * Math.abs((_arg2._dv523 * _arg2._wr760)));
var _local10:Number = ((_arg2._ci831 - 1) * Math.abs((_arg2._cc1022 * _arg2._wr760)));
if (_arg1._dc692 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
if (_arg2._dc692 == true){
_local7 = (_local7 - (_local9 / 2));
_local8 = (_local8 - (_local10 / 2));
};
if ((((_arg1._al569 == true)) && ((_arg2._al569 == true)))){
return (_md403(_local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10));
};
return (false);
}
public static function _ap426(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Boolean{
var _local8:Number = _arg5;
var _local9:Number = _arg6;
if (_local8 < _arg1){
_local8 = _arg1;
} else {
if (_local8 > (_arg1 + _arg3)){
_local8 = (_arg1 + _arg3);
};
};
if (_local9 < _arg2){
_local9 = _arg2;
} else {
if (_local9 > (_arg2 + _arg4)){
_local9 = (_arg2 + _arg4);
};
};
return (((((_arg5 - _local8) * (_arg5 - _local8)) + ((_arg6 - _local9) * (_arg6 - _local9))) < (_arg7 * _arg7)));
}
public static function _rx215(_arg1:_mm644, _arg2:_mm644):Boolean{
var _local3:Number = (_arg1.x + (_arg1._to1012 * (_arg1._dv523 * _arg1._wr760)));
var _local4:Number = (_arg1.y + (_arg1._gy404 * (_arg1._cc1022 * _arg1._wr760)));
var _local5:Number = ((_arg1._nt592 - 1) * Math.abs((_arg1._dv523 * _arg1._wr760)));
var _local6:Number = ((_arg1._ci831 - 1) * Math.abs((_arg1._cc1022 * _arg1._wr760)));
if (_arg1._dc692 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
return (_ap426(_local3, _local4, _local5, _local6, (_arg2.x + (_arg2._to1012 * (_arg2._dv523 * _arg2._wr760))), (_arg2.y + (_arg2._gy404 * (_arg2._cc1022 * _arg2._wr760))), (_arg2._vk729 * _arg2._wr760)));
}
public static function _wp750(_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 _qr607(_arg1:_mm644, _arg2:_mm644):Boolean{
var _local3:Boolean;
if ((((_arg1._al569 == true)) && ((_arg2._al569 == true)))){
if (_arg1._xy1110 == 0){
if (_arg2._xy1110 == 0){
_local3 = _ho1079(_arg1, _arg2);
} else {
_local3 = _rx215(_arg1, _arg2);
};
} else {
if (_arg2._xy1110 == 1){
_local3 = _ft271(_arg1, _arg2);
} else {
_local3 = _rx215(_arg2, _arg1);
};
};
};
return (_local3);
}
public static function _ft271(_arg1:_mm644, _arg2:_mm644):Boolean{
return (_wp750((_arg1.x + (_arg1._to1012 * (_arg1._dv523 * _arg1._wr760))), (_arg1.y + (_arg1._gy404 * (_arg1._cc1022 * _arg1._wr760))), (_arg1._vk729 * _arg1._wr760), (_arg2.x + (_arg2._to1012 * (_arg2._dv523 * _arg2._wr760))), (_arg2.y + (_arg2._gy404 * (_arg2._cc1022 * _arg2._wr760))), (_arg2._vk729 * _arg2._wr760)));
}
}
}//package classes
Section 13
//_kd270 (classes._kd270)
package classes {
import flash.display.*;
import flash.geom.*;
public class _kd270 {
private var _yi963:Class;
private var i:int;
private var _sv293:Number;
private var _gf356:Number;
private var _nk398:Object;
private var _aa33:Bitmap;
public static const CENTER:int = 2;
public static const LEFT:int = 0;
public static const RIGHT:int = 1;
public function _kd270():void{
_yi963 = _kd270__yi963;
_aa33 = new _yi963();
_sv293 = "?".charCodeAt(0);
_gf356 = irrcrpt("\n", 1).charCodeAt(0);
_nk398 = new Object();
super();
i = 32;
while (i < 161) {
_nk398[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){
_vt109(_arg1, _local7, _arg3, _arg4);
} else {
if (_arg5 == RIGHT){
_vt109(_arg1, _local7, (_arg3 - (_local7.length * 8)), _arg4);
} else {
_vt109(_arg1, _local7, (_arg3 - ((_local7.length * 8) / 2)), _arg4);
};
};
_arg4 = (_arg4 + 13);
};
}
private function _vt109(_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 = _sv293;
};
_arg1.copyPixels(_aa33.bitmapData, _nk398[_local8], _local5);
_local5.x = (_local5.x + 8);
_local7++;
};
}
}
}//package classes
Section 14
//_kd270__yi963 (classes._kd270__yi963)
package classes {
import mx.core.*;
public class _kd270__yi963 extends BitmapAsset {
}
}//package classes
Section 15
//_lg879 (classes._lg879)
package classes {
public class _lg879 {
private var _mi654:Array;
private var _ec954:_wl744;
public function _lg879(){
_mi654 = [];
super();
}
public function _hu591(_arg1:Function, _arg2:Number=0, _arg3:int=1, _arg4:Number=0):void{
var _local5:_wl744;
_local5 = new _wl744();
_local5._bs1002 = _arg1;
_local5._pm561 = _arg2;
_local5._vr1119 = _arg3;
_local5._cf803 = 0;
_local5._fe308 = _arg4;
_mi654[_mi654.length] = _local5;
}
public function _fa1074(_arg1:Number):void{
var _local2:int = (_mi654.length - 1);
var _local3:int = _local2;
while (_local3 >= 0) {
_ec954 = _mi654[_local3];
if (_ec954._pm561 == 0){
_ec954._cf803 = (_ec954._cf803 - _arg1);
if (_ec954._cf803 < 1){
_ec954._bs1002();
_ec954._cf803 = _ec954._fe308;
_ec954._vr1119 = (_ec954._vr1119 - 1);
if (_ec954._vr1119 == 0){
_ec954._bs1002 = null;
_mi654.splice(_local3, 1);
_ec954 = null;
};
};
} else {
_ec954._pm561 = (_ec954._pm561 - _arg1);
if (_ec954._pm561 < 1){
_ec954._pm561 = 0;
};
};
_local3--;
};
}
public function _vi243():void{
var _local1:int = (_mi654.length - 1);
var _local2:int = _local1;
while (_local2 >= 0) {
_ec954 = _mi654[_local2];
_ec954._bs1002 = null;
_mi654.splice(_local2, 1);
_ec954 = null;
_local2--;
};
}
}
}//package classes
Section 16
//_mm644 (classes._mm644)
package classes {
import flash.display.*;
import flash.geom.*;
public class _mm644 {
public var _cy765:Number;// = 0
public var _we154:int;
public var _lf969:Number;// = 0
public var _dm127:int;
public var _xg264:Number;// = 0
public var _bk352:Number;// = 0
public var _yl1096:Function;
public var _td557:Number;// = 0
public var _ur620:BitmapData;
public var _ph244:int;// = 0
public var _vq578:Function;
public var callback:Function;
public var _fe386:Number;// = 0
public var _ls1191:Number;// = 0
public var _oj639:String;
public var _vq347:Number;// = 0
public var y:Number;// = 0
public var _lp93:Number;// = 0
public var x:Number;// = 0
public var _as188:int;// = 0
public var _tp309:Number;// = 0
public var _vv1027:Number;// = 0
public var _kh902:Number;// = 0
public var _tx390:Number;// = 0
public var state:int;
public var _jx792:int;
public var _kp635:Number;// = 0
public var movedata1:Number;// = 0
public var _ds713:Number;// = 0
public var _rx1118:Object;
public var _al569:Boolean;
public var _pw995:int;// = 0
public var _hh165:Number;// = 0
public var _ja251:Number;// = 0
public var _le210:Number;// = 0
public var _pr196:int;
private var _br915:Number;// = 0
public var _jm102:Number;// = 0
public var _yq1020:int;// = 0
public var _ur673:Number;// = 0
public var _hn838:Number;// = 0
public var _mf475:Number;// = 0
public var _nf398:Number;// = 0
public var _fq272:int;
public var _dr640:int;
public var _vk729:Number;// = 0
public var _gm710:Number;// = 0
public var _ei877:Number;// = 0
public var _mn61:Number;// = 0
public var _mi638:Object;
public var _vk850:Boolean;
public var _qa238:BitmapData;
public var _ba163:Number;// = 0
public var _tk1167:int;// = 0
public var id:int;
public var _id633:Number;// = 0
public var _oa755:int;// = 0
public var _he805:Number;// = 0
public var _gu331:Number;// = 0
public var _ky134:int;
public var _fv985:Function;
public var _yq928:Number;
public var _xh1182:Number;// = 0
public var height:int;
public var _qf816:Number;// = 0
public var _qo994:Number;// = 0
public var _ti1106:Number;// = 0
public var _vg399:Boolean;
public var _ei417:int;// = 0
public var _fu546:int;
public var alpha:Number;// = 0
public var _fa869:Number;// = 0
public var _cl31:Number;// = 0
public var _nb826:Boolean;
public var frame:Number;// = 0
public var _bc251:Number;// = 0
public var _ci831:Number;// = 0
public var _wy710:ColorTransform;
public var _lh1040:Number;// = 0
public var _id1038:Number;// = 0
public var _mk738:Boolean;
public var _bp433:Number;// = 0
public var _nt592:Number;// = 0
public var _xg1057:Number;// = 0
public var target:_mm644;
public var _mu406:String;
public var _id32:Number;// = 0
public var _fa405:Number;// = 0
public var _uf178:Number;// = 0
public var _nv423:Number;// = 0
public var _vl1162:Number;// = 0
public var _so150:Function;
public var _kf1155:Number;// = 0
public var _ug152:Number;// = 0
public var _ok1037:int;// = 0
public var _rw1161:Number;// = 0
public var _bl94:Number;
public var width:int;
public var _fl412:Number;// = 0
public var _ks405:Number;// = 0
public var _dl934:Number;// = 0
public var _aw21:Boolean;
public var _nj1053:Number;// = 0
public var _ds565:Number;// = 0
public var _gx663:Number;// = 0
public var _wm1044:BitmapData;
public var _ni153:int;
public var _aa1152:Array;
public var _sk811:Boolean;
public var _gy404:Number;// = 0
public var _mt593:Number;// = 0
public var _uv892:Number;// = 0
public var _uk1089:Number;// = 0
public var _kq247:Number;// = 0
public var _xl394:int;
public var _lk627:Number;// = 0
public var _if659:int;
public var _ec822:Number;// = 0
public var _hi1136:Number;// = 0
public var _cc1022:Number;// = 0
public var _ov381:Number;// = 0
public var _sa920:Number;// = 0
public var _ta602:Boolean;
private var _cw919:Number;// = 0
public var _jt966:Number;// = 0
public var _ic396:Number;// = 0
public var _ji733:Point;
public var _vs1168:Number;// = 0
public var _fu389:Number;// = 0
public var _kr591:Number;// = 0
public var _is966:Number;// = 0
public var _ei269:Boolean;
public var _sj872:Number;// = 0
public var _ob111:Number;// = 0
public var _uy1142:Number;// = 0
public var _nn518:Number;// = 0
public var _dv523:Number;// = 0
public var _va220:Number;// = 0
public var _yd134:int;// = 0
public var _vv243:Number;// = 0
public var _wl1176:int;
public var id3:int;
public var _mh68:int;// = 0
public var _rt504:int;
public var _dx830:_mm644;
public var _nx310:int;
public var name:String;
public var weight:Number;// = 0
public var _tg1014:Number;// = 0
public var _to1012:Number;// = 0
public var _eb417:Number;// = 0
public var _xq403:Number;// = 0
public var _un735:Boolean;
public var _rh438:Boolean;
public var _bf41:Number;// = 0
public var _br469:String;
public var _dl641:Number;// = 0
public var _nh1042:Rectangle;
public var _aw1125:Number;// = 0
public var _qf222:Boolean;
public var _dh33:int;
public var _vb343:Number;// = 0
public var _wg955:Number;// = 0
public var _ij950:int;
public var _eo609:Number;// = 0
public var _bi303:int;
public var _mc885:Number;// = 0
public var _mc404:int;
public var _rv722:Number;// = 0
public var _aj600:Number;// = 0
public var _kx709:Number;// = 0
public var _up703:Number;// = 0
public var _vp626:Number;// = 0
public var _pf326:Number;// = 0
public var _dn613:Number;// = 0
public var _gd470:Number;// = 0
public var _jh230:Number;// = 0
public var _rw942:Number;// = 0
public var _fw150:int;
public var _qj978:int;
public var _tw1057:Number;// = 0
public var _xt23:Number;// = 0
public var _vy451:Number;// = 0
public var type:int;
public var _bt444:Number;// = 0
public var _qv709:Number;// = 0
public var _tk357:Boolean;
public var _vo310:_mm644;
public var _cd809:Number;// = 0
public var _ai667:Number;// = 0
public var _jw969:Number;// = 0
public var _ys200:Number;// = 0
public var _cx505:Number;// = 0
public var _lu396:Number;// = 0
public var _ll224:Number;// = 0
public var _wr760:Number;// = 0
public var _vn241:Number;// = 0
public var _uo533:Number;// = 0
public var rotation:Number;// = 0
public var _lw100:Number;// = 0
public var _pr692:Function;
public var _wh991:Number;// = 0
public var _eo550:Number;// = 0
public var _is355:Number;// = 0
public var _sc627:Number;// = 0
public var _ao10:Number;// = 0
public var _um21:Number;// = 0
public var delta:Number;// = 0
public var _ps796:Number;// = 0
public var _cm533:Number;// = 0
public var _xt887:Number;// = 0
public var _ns714:Number;// = 0
public var _vt928:int;
public var _nt56:Function;
public var _dv64:Boolean;
public var _sa456:Number;// = 0
public var _te1039:Number;// = 0
public var _up894:int;
public var _ph453:Number;// = 0
public var _xy1110:int;
public var _dc692:Boolean;
public static var _lv55:Number = 0;
public static var _uc876:Number = 0;
public function _mm644(){
_ns714 = -10000;
_bc251 = 10000;
_cx505 = -10000;
_lp93 = 10000;
alpha = 1;
_dv523 = 1;
_cc1022 = 1;
_wr760 = 1;
_wy710 = new ColorTransform();
_dl641 = 1;
_is966 = 1;
_tg1014 = 1;
_br915 = (Math.PI * 2);
_nh1042 = new Rectangle(0, 0, 0, 0);
_ji733 = new Point(0, 0);
_al569 = true;
_dc692 = true;
name = "";
_bl94 = 0;
}
public function _lx116(_arg1:Number, _arg2:Number):void{
_nv423 = _arg1;
_vs1168 = _arg2;
}
public function _pg1134(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_fu546 = _arg4;
_hh165 = _arg1;
_va220 = _arg2;
_hn838 = _arg3;
_dv523 = _arg5;
}
public function _dk194(_arg1:BitmapData, _arg2:Number, _arg3:Number):void{
}
public function _xk625(_arg1:Number, _arg2:Number):void{
x = _arg1;
y = _arg2;
}
private function _my379(_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 _ri1124(_arg1:Number, _arg2:Number, _arg3:_mm644, _arg4:Number, _arg5:Number, _arg6:Boolean=true):void{
target = _arg3;
_aw1125 = _arg1;
_nf398 = _arg2;
_ei269 = _arg6;
movedata1 = _arg4;
_tp309 = _arg5;
_ei417 = 19;
}
public function _gw42():void{
if (_fq272){
_te1039 = (_te1039 + (_bk352 * delta));
switch (_fq272){
case 1:
if (_te1039 > _dr640){
_te1039 = _dr640;
_bk352 = -(_bk352);
} else {
if (_te1039 < _vt928){
_te1039 = _vt928;
_bk352 = -(_bk352);
};
};
break;
case 2:
if (_te1039 > _dr640){
_te1039 = _vt928;
} else {
if (_te1039 < _vt928){
_te1039 = _dr640;
};
};
break;
case 3:
if (_te1039 >= _dr640){
_te1039 = _dr640;
_fq272 = 0;
} else {
if (_te1039 <= _vt928){
_te1039 = _vt928;
_fq272 = 0;
};
};
break;
case 4:
if (_te1039 >= _dr640){
_te1039 = _dr640;
_fq272 = 0;
_tk357 = true;
} else {
if (_te1039 <= _vt928){
_te1039 = _vt928;
_fq272 = 0;
_tk357 = true;
};
};
break;
case 5:
if (_te1039 > _dr640){
_te1039 = _vt928;
} else {
if (_te1039 < _vt928){
_te1039 = _dr640;
};
};
_kx709 = (_kx709 - delta);
if (_kx709 < 1){
_kx709 = 0;
_te1039 = _vt928;
_fq272 = 0;
};
break;
case 6:
if (_te1039 >= _dr640){
_te1039 = _dr640;
_fq272 = 0;
};
break;
case 7:
if (_te1039 >= _dr640){
_te1039 = _dr640;
_fq272 = 0;
_vq578(this);
_vq578 = null;
};
};
frame = Math.round(_te1039);
if (_ij950 == 1){
_mc404 = (frame * (width + _jx792));
} else {
if (_ij950 == 2){
_mc404 = _aa1152[(frame * 2)];
_bi303 = _aa1152[((frame * 2) + 1)];
} else {
_wm1044 = _mi638[frame];
};
};
};
}
public function _of155(_arg1:Function):void{
_pr692 = _arg1;
}
public function _eg778(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_aw1125 = _nw170._be1108(_arg1, _arg2);
_nf398 = _nw170._mf743(_arg1, _arg2);
_ns714 = _arg3;
_bc251 = _arg5;
_cx505 = _arg4;
_lp93 = _arg6;
_ei417 = 15;
}
public function _ne155(_arg1:Function):void{
callback = _arg1;
}
public function _fl912(_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 _rl248(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_vb343 = _arg1;
_qv709 = _arg2;
_le210 = _arg3;
_jm102 = _arg4;
_he805 = _arg5;
_ur673 = _arg6;
_uy1142 = 1;
_cl31 = 1;
_eo609 = 1;
_rh438 = true;
}
public function _sh920(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Function):void{
movedata1 = _arg1;
_tp309 = _arg2;
_tw1057 = _arg3;
_fa405 = _arg4;
_ei417 = 7;
_vq578 = _arg5;
}
public function _lj1068(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
_rd688(_nw170._be1108(_arg1, 0.01), _nw170._mf743(_arg1, 0.01), 0, 0, 0, false);
_cy765 = _arg2;
_xt23 = _cy765;
_gm710 = 1;
_ao10 = _arg3;
_ll224 = _arg4;
_fl412 = _arg5;
movedata1 = 0;
_ei417 = 13;
}
public function _sf28(_arg1:Number, _arg2:Number):void{
_hi1136 = _arg1;
_sc627 = _arg2;
}
public function _th43(_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{
_aw1125 = _arg7;
_nf398 = _arg8;
_nn518 = _arg9;
_rw942 = _arg10;
_nj1053 = _arg1;
_mf475 = _arg2;
_ai667 = _arg3;
_ec822 = _arg4;
_ic396 = _arg5;
_lk627 = _arg6;
_ei269 = _arg11;
_ei417 = 3;
}
public function _kh1163(_arg1:_mm644, _arg2:Number, _arg3:Number):void{
_id1038 = _nw170._sk871(x, y, _arg1.x, _arg1.y);
x = (x + (_nw170._be1108(_id1038, _arg2) * _arg3));
y = (y + (_nw170._mf743(_id1038, _arg2) * _arg3));
}
public function _if901(_arg1:Function):void{
_fv985 = _arg1;
}
public function _le465(_arg1:_mm644, _arg2:Number):void{
_xl394 = 5;
_wg955 = _arg2;
_vo310 = _arg1;
}
public function _uo185(_arg1:Boolean):void{
_aw21 = _arg1;
}
public function _sd589():void{
if (_dh33){
_cc1022 = (_cc1022 + (_vv243 * delta));
switch (_dh33){
case 1:
if (_cc1022 >= _ps796){
_cc1022 = _ps796;
_vv243 = -(_vv243);
} else {
if (_cc1022 <= _fu389){
_cc1022 = _fu389;
_vv243 = -(_vv243);
};
};
break;
case 2:
if (_cc1022 >= _ps796){
_cc1022 = _fu389;
} else {
if (_cc1022 <= _fu389){
_cc1022 = _ps796;
};
};
break;
case 3:
if (_cc1022 >= _ps796){
_cc1022 = _ps796;
_dh33 = 0;
} else {
if (_cc1022 <= _fu389){
_cc1022 = _fu389;
_dh33 = 0;
};
};
break;
case 4:
if (_cc1022 >= _ps796){
_cc1022 = _ps796;
_dh33 = 0;
_tk357 = true;
} else {
if (_cc1022 <= _fu389){
_cc1022 = _fu389;
_dh33 = 0;
_tk357 = true;
};
};
break;
case 5:
if (_cc1022 >= _ps796){
_cc1022 = _ps796;
_vv243 = -(_vv243);
_dh33 = 3;
};
break;
case 7:
if (_cc1022 >= _ps796){
_cc1022 = _ps796;
_vv243 = -(_vv243);
_dh33 = 4;
};
break;
};
};
}
public function _th639(_arg1:Number):void{
_vk729 = _arg1;
_xy1110 = 1;
_to1012 = 0;
_gy404 = 0;
}
public function _gk1072():void{
if (_xl394){
switch (_xl394){
case 1:
rotation = (rotation + (_wg955 * delta));
if (rotation >= _ds565){
rotation = _ds565;
_wg955 = -(_wg955);
} else {
if (rotation <= _pf326){
rotation = _pf326;
_wg955 = -(_wg955);
};
};
break;
case 2:
rotation = (rotation + (_wg955 * delta));
if (rotation >= _ds565){
rotation = _pf326;
} else {
if (rotation <= _pf326){
rotation = _ds565;
};
};
break;
case 3:
rotation = (rotation + (_wg955 * delta));
if (rotation >= _ds565){
rotation = _ds565;
_xl394 = 0;
} else {
if (rotation <= _pf326){
rotation = _pf326;
_xl394 = 0;
};
};
break;
case 4:
rotation = (rotation + (_wg955 * delta));
if (rotation >= _ds565){
rotation = _ds565;
_xl394 = 0;
_tk357 = true;
} else {
if (rotation <= _pf326){
rotation = _pf326;
_xl394 = 0;
_tk357 = true;
};
};
break;
case 5:
_ea891(_vo310, _wg955);
break;
case 6:
_fl912(_pf326, _wg955, delta);
break;
};
};
}
public function _rd688(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0, _arg6:Boolean=true):void{
_aw1125 = _arg1;
_nf398 = _arg2;
_nn518 = _arg3;
_rw942 = _arg4;
_rv722 = _arg5;
_ei269 = _arg6;
_ei417 = 1;
if (_ei269 == false){
_ei417 = 10;
};
}
public function get scale():Number{
return (_wr760);
}
public function _nc1147():void{
var _local1:Number;
var _local2:Matrix;
if (_kf1155 == 0){
if (_qf222 == false){
if (_yl1096 != null){
_yl1096(this);
};
if (type == 1){
_local1 = 0;
if (rotation != 0){
if (rotation > 180){
_local1 = (-360 + rotation);
} else {
_local1 = rotation;
};
_local1 = ((_br915 * _local1) / 360);
};
_local2 = new Matrix();
if (_dc692 == true){
_local2.translate((-(width) / 2), (-(height) / 2));
};
_local2.scale((_dv523 * _wr760), (_cc1022 * _wr760));
_local2.rotate(_local1);
_local2.translate((x + _lv55), (y + _uc876));
_wy710.redMultiplier = _dl641;
_wy710.greenMultiplier = _is966;
_wy710.blueMultiplier = _tg1014;
_wy710.alphaMultiplier = alpha;
_qa238.draw(_wm1044, _local2, _wy710, _mu406, null, _aw21);
} else {
if (_dc692 == true){
_ji733.x = ((x + _lv55) - (width / 2));
_ji733.y = ((y + _uc876) - (height / 2));
} else {
_ji733.x = (x + _lv55);
_ji733.y = (y + _uc876);
};
_nh1042.x = _mc404;
_nh1042.y = _bi303;
_qa238.copyPixels(_wm1044, _nh1042, _ji733, null, null, false);
};
if (_fv985 != null){
_fv985(this);
};
};
};
}
public function _ot370(_arg1:Function):void{
_nt56 = _arg1;
}
public function _xy863(_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{
_kf1155 = _arg8;
type = _arg7;
_wm1044 = _arg1;
_qa238 = _arg6;
_mc404 = _arg2;
_bi303 = _arg3;
width = _arg4;
height = _arg5;
_nh1042.width = width;
_nh1042.height = height;
_dc692 = _arg9;
_vk729 = (width / 2);
_nt592 = width;
_ci831 = height;
_xy1110 = 0;
_al569 = true;
_aw21 = _arg10;
_dv64 = false;
if (_kf1155 > 0){
_nb826 = _al569;
_al569 = false;
};
_id361(1);
}
public function _vw841():void{
if (_nx310){
switch (_nx310){
case 1:
alpha = (alpha + (_kh902 * delta));
if (alpha > _ei877){
alpha = _ei877;
_nx310 = 0;
} else {
if (alpha < _ys200){
alpha = _ys200;
_nx310 = 0;
_tk357 = true;
};
};
break;
case 2:
if (_up703 > 0){
_up703 = (_up703 - (1 * delta));
if (_up703 < 1){
_up703 = 0;
_df39(-(_kh902), _ei877);
};
} else {
alpha = (alpha + (_kh902 * delta));
if (alpha >= _ei877){
alpha = _ei877;
_up703 = _cm533;
};
};
break;
};
_id361(alpha);
};
}
public function _bm1098(_arg1:Function):void{
_yl1096 = _arg1;
}
public function _dt624():Number{
return (_uc876);
}
public function _pd619():Number{
return (_lv55);
}
public function _nt598():void{
_aa1152 = null;
callback = null;
_nt56 = null;
_pr692 = null;
_so150 = null;
_vq578 = null;
_fv985 = null;
_yl1096 = null;
_nh1042 = null;
_ji733 = null;
_rx1118 = null;
_vo310 = null;
target = null;
_dx830 = null;
}
public function _hd992():void{
if (_rh438 == true){
if (_vb343 < _uy1142){
_vb343 = (_vb343 + (_jm102 * delta));
if (_vb343 > _uy1142){
_vb343 = _uy1142;
};
} else {
if (_vb343 > _uy1142){
_vb343 = (_vb343 - (_jm102 * delta));
if (_vb343 < _uy1142){
_vb343 = _uy1142;
};
};
};
if (_qv709 < _cl31){
_qv709 = (_qv709 + (_he805 * delta));
if (_qv709 > _cl31){
_qv709 = _cl31;
};
} else {
if (_qv709 > _cl31){
_qv709 = (_qv709 - (_he805 * delta));
if (_qv709 < _cl31){
_qv709 = _cl31;
};
};
};
if (_le210 < _eo609){
_le210 = (_le210 + (_ur673 * delta));
if (_le210 > _eo609){
_le210 = _eo609;
};
} else {
if (_le210 > _eo609){
_le210 = (_le210 - (_ur673 * delta));
if (_le210 < _eo609){
_le210 = _eo609;
};
};
};
_dl641 = _vb343;
_is966 = _qv709;
_tg1014 = _le210;
if (_vb343 == _uy1142){
if (_qv709 == _cl31){
if (_le210 == _eo609){
_rh438 = false;
};
};
};
};
}
public function _fa1074(_arg1:Number=1):void{
delta = _arg1;
if (_kf1155 != 0){
_kf1155 = (_kf1155 - delta);
if (_kf1155 < 1){
_kf1155 = 0;
_al569 = _nb826;
};
} else {
_wm279();
_gk1072();
_ee1122();
_va57();
_sd589();
_vw841();
_gw42();
_hd992();
if (callback != null){
callback(this);
};
if (_yq928){
_yq928 = (_yq928 - _arg1);
if (_yq928 < 1){
_yq928 = 0;
_tk357 = true;
};
};
};
}
public function _ul1091(_arg1:Number, _arg2:Number, _arg3:Number):void{
_dl641 = _arg1;
_is966 = _arg2;
_tg1014 = _arg3;
}
public function _vt128(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_xh1182 = _arg1;
_vn241 = _arg3;
_rw1161 = _arg2;
_lw100 = _arg4;
}
public function _al294(_arg1:Number, _arg2:Number=0.95):void{
_xt23 = _arg1;
_cy765 = _arg1;
_gm710 = _arg2;
}
public function _pe970():void{
if (_ni153){
_vs1168 = (_vs1168 + (_qf816 * delta));
switch (_ni153){
case 1:
if (_vs1168 >= _mc885){
_vs1168 = _mc885;
_qf816 = -(_qf816);
} else {
if (_vs1168 <= _mn61){
_vs1168 = _mn61;
_qf816 = -(_qf816);
};
};
break;
case 2:
if (_vs1168 >= _mc885){
_vs1168 = _mn61;
} else {
if (_vs1168 <= _mn61){
_vs1168 = _mc885;
};
};
break;
case 3:
if (_vs1168 >= _mc885){
_vs1168 = _mc885;
_ni153 = 0;
} else {
if (_vs1168 <= _mn61){
_vs1168 = _mn61;
_ni153 = 0;
};
};
break;
case 4:
if (_vs1168 >= _mc885){
_vs1168 = _mc885;
_ni153 = 0;
_tk357 = true;
} else {
if (_vs1168 <= _mn61){
_vs1168 = _mn61;
_ni153 = 0;
_tk357 = true;
};
};
break;
};
};
}
public function _hg929(_arg1:Number, _arg2:Number):void{
_xl394 = 6;
_wg955 = _arg2;
_pf326 = _arg1;
}
public function _dm1039(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Number=0, _arg6:Boolean=true):void{
var _local7:Number = (_arg1 + _nw170._ry1101._ed1019((-(_arg2) / 2), (_arg2 / 2)));
if (_local7 < 0){
_local7 = (_local7 + 360);
} else {
if (_local7 > 360){
_local7 = (_local7 - 360);
};
};
_rd688(_nw170._be1108(_local7, _arg3), _nw170._mf743(_local7, _arg3), 0, _arg5, _arg4, _arg6);
}
public function _yy355(_arg1:Object, _arg2:Number, _arg3:int, _arg4:Function):void{
_mi638 = _arg1;
_wm1044 = _mi638[0];
_mc404 = 0;
_bi303 = 0;
_vt928 = 0;
_dr640 = (_arg3 - 1);
_bk352 = _arg2;
_te1039 = 0;
frame = 0;
_ij950 = 3;
_fq272 = 7;
_vq578 = _arg4;
}
public function _nm631(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_wl1176 = _arg4;
_ja251 = _arg1;
_eo550 = _arg2;
_eb417 = _arg3;
_wr760 = _arg5;
}
public function _gj170(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_aw1125 = _arg1;
_nf398 = _arg2;
_rw942 = _arg3;
movedata1 = _arg4;
_ei417 = 17;
}
public function _qh706(_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{
_aw1125 = _arg7;
_nf398 = _arg8;
_nn518 = _arg9;
_rw942 = _arg10;
_ti1106 = _arg1;
_ug152 = _arg2;
_dn613 = _arg3;
_wh991 = _arg4;
_kq247 = _arg5;
_ph453 = _arg6;
_ei269 = _arg11;
_ei417 = 31;
}
public function _xh25(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
movedata1 = _arg1;
_tp309 = _arg2;
_nj1053 = _arg3;
_mf475 = _arg4;
_ai667 = _arg5;
_ei417 = 16;
}
public function _yf520(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_ns714 = _arg1;
_bc251 = _arg3;
_cx505 = _arg2;
_lp93 = _arg4;
}
public function _ee1122():void{
if (_wl1176){
_wr760 = (_wr760 + (_ja251 * delta));
switch (_wl1176){
case 1:
if (_wr760 >= _eb417){
_wr760 = _eb417;
_ja251 = -(_ja251);
} else {
if (_wr760 <= _eo550){
_wr760 = _eo550;
_ja251 = -(_ja251);
};
};
break;
case 2:
if (_wr760 >= _eb417){
_wr760 = _eo550;
} else {
if (_wr760 <= _eo550){
_wr760 = _eb417;
};
};
break;
case 3:
if (_wr760 >= _eb417){
_wr760 = _eb417;
_wl1176 = 0;
} else {
if (_wr760 <= _eo550){
_wr760 = _eo550;
_wl1176 = 0;
};
};
break;
case 4:
if (_wr760 >= _eb417){
_wr760 = _eb417;
_wl1176 = 0;
_tk357 = true;
} else {
if (_wr760 <= _eo550){
_wr760 = _eo550;
_wl1176 = 0;
_tk357 = true;
};
};
break;
case 5:
if (_wr760 >= _eb417){
_wr760 = _eb417;
_ja251 = -(_ja251);
_wl1176 = 3;
};
break;
case 7:
if (_wr760 >= _eb417){
_wr760 = _eb417;
_ja251 = -(_ja251);
_wl1176 = 4;
};
break;
};
};
}
public function _id361(_arg1:Number):void{
alpha = _arg1;
}
public function _ea891(_arg1:_mm644, _arg2:Number, _arg3:Number=1):void{
var _local4:Number = rotation;
var _local5:Number = _nw170._sk871(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 _gg1114(_arg1:_mm644):Number{
return (_nw170._cp946(x, y, _arg1.x, _arg1.y));
}
public function _kp296(_arg1:BitmapData, _arg2:Number, _arg3:int, _arg4:int, _arg5:Array):void{
_wm1044 = _arg1;
_mc404 = 0;
_vt928 = 0;
_dr640 = (_arg3 - 1);
_bk352 = _arg2;
_te1039 = 0;
frame = 0;
_jx792 = 0;
_ij950 = 2;
_fq272 = _arg4;
_aa1152 = _arg5;
}
public function _la618(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_xl394 = _arg4;
_wg955 = _arg1;
_pf326 = _arg2;
_ds565 = _arg3;
rotation = _arg5;
}
public function _iq560(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_pr196 = _arg4;
_uf178 = _arg1;
_td557 = _arg2;
_kp635 = _arg3;
_nv423 = _arg5;
}
public function set scale(_arg1:Number):void{
_wr760 = _arg1;
}
public function _nx1153(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Boolean=false, _arg6:Boolean=false):void{
movedata1 = _arg1;
_tp309 = _arg2;
_tw1057 = _arg3;
_fa405 = _arg4;
_ei417 = 7;
if (_arg5 == true){
_ei417 = 9;
};
_un735 = _arg6;
}
public function _pp203(_arg1:_mm644, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
target = _arg1;
movedata1 = 0;
_tp309 = _arg2;
_tw1057 = _arg3;
_fa405 = 0;
_tx390 = _arg4;
_bt444 = _arg5;
_ei417 = 2;
}
public function _yi612(_arg1:_mm644, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):void{
target = _arg1;
movedata1 = _arg2;
_uk1089 = _arg3;
_fa869 = _uk1089;
_ei417 = 6;
_tp309 = _arg4;
_tw1057 = _arg5;
}
public function _rh447(_arg1:Number, _arg2:Number, _arg3:Number=1):void{
_nx310 = 2;
_kh902 = _arg1;
_ys200 = 0;
_ei877 = _arg3;
alpha = 0;
_up703 = 0;
_cm533 = _arg2;
}
public function _oa166(_arg1:String):void{
_mu406 = _arg1;
}
public function _fm589(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_aw1125 = _nw170._be1108(_arg1, _arg2);
_nf398 = _nw170._mf743(_arg1, _arg2);
_ns714 = _arg3;
_bc251 = _arg5;
_cx505 = _arg4;
_lp93 = _arg6;
_ei417 = 12;
}
public function _mo1065(_arg1:Number, _arg2:Number):Boolean{
if (_al569 == true){
if (_dc692 == true){
return (_my379(_arg1, _arg2, (x - ((_nt592 * Math.abs(_dv523)) / 2)), (y - ((_ci831 * Math.abs(_cc1022)) / 2)), (_nt592 * Math.abs(_dv523)), (_ci831 * Math.abs(_cc1022))));
};
return (_my379(_arg1, _arg2, x, y, (_nt592 * Math.abs(_dv523)), (_ci831 * Math.abs(_cc1022))));
//unresolved jump
};
return (false);
}
public function _lx623(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_dh33 = _arg4;
_vv243 = _arg1;
_fu389 = _arg2;
_ps796 = _arg3;
_cc1022 = _arg5;
}
public function _wm279():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
if (_ei417 == 1){
if (_xt23 > 0){
_xt23 = (_xt23 - delta);
if (_xt23 < 1){
_xt23 = _cy765;
_aw1125 = (_aw1125 * _gm710);
_nf398 = (_nf398 * _gm710);
if (Math.abs(_aw1125) < 0.001){
_aw1125 = 0;
};
if (Math.abs(_nf398) < 0.001){
_nf398 = 0;
};
if ((((_aw1125 == 0)) && ((_nf398 == 0)))){
_xt23 = 0;
_ei417 = 0;
};
};
};
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_aw1125 = (_aw1125 + (_nn518 * delta));
_nf398 = (_nf398 + (_rw942 * delta));
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
if (_rv722 > 0){
_rv722 = (_rv722 - delta);
if (_rv722 < 1){
_ei417 = 0;
};
};
} else {
if (_ei417 == 2){
_local1 = x;
_local2 = y;
_local3 = 0;
_local4 = 0;
if (target == null){
} else {
_local3 = target.x;
_local4 = target.y;
if (_local1 < _local3){
movedata1 = (movedata1 + (_tp309 * delta));
if (movedata1 > _tw1057){
movedata1 = _tw1057;
};
} else {
if (_local1 > _local3){
movedata1 = (movedata1 - (_tp309 * delta));
if (movedata1 < -(_tw1057)){
movedata1 = -(_tw1057);
};
};
};
x = (x + (movedata1 * delta));
if (_local2 < _local4){
_fa405 = (_fa405 + (_tx390 * delta));
if (_fa405 > _bt444){
_fa405 = _bt444;
};
} else {
if (_local2 > _local4){
_fa405 = (_fa405 - (_tx390 * delta));
if (_fa405 < -(_bt444)){
_fa405 = -(_bt444);
};
};
};
y = (y + (_fa405 * delta));
};
} else {
if (_ei417 == 3){
_nj1053 = (_nj1053 + (_mf475 * delta));
_ec822 = (_ec822 + (_ic396 * delta));
x = (x + ((Math.cos(_nj1053) * _ai667) * delta));
y = (y + ((Math.sin(_ec822) * _lk627) * delta));
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_aw1125 = (_aw1125 + (_nn518 * delta));
_nf398 = (_nf398 + (_rw942 * delta));
if (_ei269 == true){
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
};
} else {
if (_ei417 == 31){
_ti1106 = (_ti1106 + (_ug152 * delta));
_wh991 = (_wh991 + (_kq247 * delta));
x = (x + ((Math.cos(_ti1106) * _dn613) * delta));
y = (y + ((Math.sin(_wh991) * _ph453) * delta));
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_aw1125 = (_aw1125 + (_nn518 * delta));
_nf398 = (_nf398 + (_rw942 * delta));
if (_ei269 == true){
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
};
} else {
if (_ei417 == 4){
} else {
if (_ei417 == 5){
if (target != null){
_nj1053 = (_nj1053 + (_mf475 * delta));
x = (target.x + (Math.cos(_nj1053) * _ai667));
y = (target.y + (Math.sin(_nj1053) * _ai667));
} else {
_tk357 = true;
};
} else {
if (_ei417 == 6){
if (target != null){
if (_fa869 > 0){
_fa869 = (_fa869 - delta);
if (_fa869 < 1){
_fa869 = _uk1089;
_id1038 = _nw170._sk871(x, y, target.x, target.y);
_aw1125 = _nw170._be1108(_id1038, movedata1);
_nf398 = _nw170._mf743(_id1038, movedata1);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
movedata1 = (movedata1 + (_tp309 * delta));
};
} else {
_id1038 = _nw170._sk871(x, y, target.x, target.y);
_aw1125 = _nw170._be1108(_id1038, movedata1);
_nf398 = _nw170._mf743(_id1038, movedata1);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
movedata1 = (movedata1 + (_tp309 * delta));
};
if (_tw1057 > 0){
_tw1057 = (_tw1057 - delta);
if (_tw1057 < 1){
_tw1057 = 0;
_ei417 = 0;
};
};
} else {
_tk357 = true;
};
} else {
if (_ei417 == 7){
_id1038 = _nw170._sk871(x, y, movedata1, _tp309);
_aw1125 = _nw170._be1108(_id1038, _tw1057);
_nf398 = _nw170._mf743(_id1038, _tw1057);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_tw1057 = (_tw1057 + (_fa405 * delta));
if (_aw1125 > 0){
if (x > movedata1){
x = movedata1;
};
} else {
if (_aw1125 < 0){
if (x < movedata1){
x = movedata1;
};
};
};
if (_nf398 > 0){
if (y > _tp309){
y = _tp309;
};
} else {
if (_nf398 < 0){
if (y < _tp309){
y = _tp309;
};
};
};
if ((((x == movedata1)) && ((y == _tp309)))){
if (_un735 == false){
_ei417 = 0;
if (_vq578 != null){
_vq578(this);
_vq578 = null;
};
};
};
} else {
if (_ei417 == 8){
_nj1053 = (_nj1053 + (_mf475 * delta));
_ec822 = (_ec822 + (_ic396 * delta));
x = (x + ((Math.cos(_nj1053) * _ai667) * delta));
y = (y + ((Math.sin(_ec822) * _lk627) * delta));
_ai667 = (_ai667 + (_gu331 * delta));
_lk627 = (_lk627 + (_gu331 * delta));
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
} else {
if (_ei417 == 9){
_id1038 = _nw170._sk871(x, y, movedata1, _tp309);
_aw1125 = _nw170._be1108(_id1038, _tw1057);
_nf398 = _nw170._mf743(_id1038, _tw1057);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_tw1057 = (_tw1057 + (_fa405 * delta));
if (_aw1125 > 0){
if (x > movedata1){
x = movedata1;
};
} else {
if (_aw1125 < 0){
if (x < movedata1){
x = movedata1;
};
};
};
if (_nf398 > 0){
if (y > _tp309){
y = _tp309;
};
} else {
if (_nf398 < 0){
if (y < _tp309){
y = _tp309;
};
};
};
if ((((x == movedata1)) && ((y == _tp309)))){
_ei417 = 0;
_tk357 = true;
};
} else {
if (_ei417 == 10){
if (_xt23 > 0){
_xt23 = (_xt23 - delta);
if (_xt23 < 1){
_xt23 = _cy765;
_aw1125 = (_aw1125 * _gm710);
_nf398 = (_nf398 * _gm710);
if (Math.abs(_aw1125) < 0.001){
_aw1125 = 0;
};
if (Math.abs(_nf398) < 0.001){
_nf398 = 0;
};
if ((((_aw1125 == 0)) && ((_nf398 == 0)))){
_xt23 = 0;
_ei417 = 0;
};
};
};
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_aw1125 = (_aw1125 + (_nn518 * delta));
_nf398 = (_nf398 + (_rw942 * delta));
if (_rv722 > 0){
_rv722 = (_rv722 - delta);
if (_rv722 < 1){
_ei417 = 0;
};
};
} else {
if (_ei417 == 11){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
if (x < _ns714){
x = _ns714;
_aw1125 = -(_aw1125);
} else {
if (x > _bc251){
x = _bc251;
_aw1125 = -(_aw1125);
};
};
if (y < _cx505){
y = _cx505;
_nf398 = -(_nf398);
} else {
if (y > _lp93){
y = _lp93;
_nf398 = -(_nf398);
};
};
} else {
if (_ei417 == 12){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
if (x < _ns714){
x = _bc251;
} else {
if (x > _bc251){
x = _ns714;
};
};
if (y < _cx505){
y = _lp93;
} else {
if (y > _lp93){
y = _cx505;
};
};
} else {
if (_ei417 == 13){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_xt23 = (_xt23 - delta);
if (_xt23 < 1){
_xt23 = _cy765;
_aw1125 = (_aw1125 * _gm710);
_nf398 = (_nf398 * _gm710);
_gm710 = (_gm710 + _ao10);
if (movedata1 == 0){
if (_gm710 > _ll224){
_gm710 = _ll224;
_ao10 = -(_ao10);
movedata1 = 1;
};
} else {
if (_gm710 < _fl412){
_gm710 = _fl412;
};
if (Math.abs(_aw1125) < 0.001){
_aw1125 = 0;
};
if (Math.abs(_nf398) < 0.001){
_nf398 = 0;
};
if ((((_aw1125 == 0)) && ((_nf398 == 0)))){
_ei417 = 0;
};
};
};
} else {
if (_ei417 == 14){
_aw1125 = _nw170._be1108(rotation, _xg264);
_nf398 = _nw170._mf743(rotation, _xg264);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
if (_ei269 == true){
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
};
} else {
if (_ei417 == 15){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
if (x < _ns714){
x = _bc251;
y = _nw170._ry1101._ed1019(_cx505, _lp93);
} else {
if (x > _bc251){
x = _ns714;
y = _nw170._ry1101._ed1019(_cx505, _lp93);
};
};
if (y < _cx505){
y = _lp93;
x = _nw170._ry1101._ed1019(_ns714, _bc251);
} else {
if (y > _lp93){
y = _cx505;
x = _nw170._ry1101._ed1019(_ns714, _bc251);
};
};
} else {
if (_ei417 == 16){
_nj1053 = (_nj1053 + (_mf475 * delta));
x = (movedata1 + (Math.cos(_nj1053) * _ai667));
y = (_tp309 + (Math.sin(_nj1053) * _ai667));
} else {
if (_ei417 == 17){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_nf398 = (_nf398 + (_rw942 * delta));
if (_nf398 > 0){
if (y > movedata1){
y = movedata1;
_ei417 = 0;
};
};
} else {
if (_ei417 == 18){
_id1038 = _nw170._sk871(x, y, _jt966, _lu396);
_aw1125 = _nw170._be1108(_id1038, _tw1057);
_nf398 = _nw170._mf743(_id1038, _tw1057);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_tw1057 = (_tw1057 + (_fa405 * delta));
if (_aw1125 > 0){
if (x > _jt966){
x = _jt966;
};
} else {
if (_aw1125 < 0){
if (x < _jt966){
x = _jt966;
};
};
};
if (_nf398 > 0){
if (y > _lu396){
y = _lu396;
};
} else {
if (_nf398 < 0){
if (y < _lu396){
y = _lu396;
};
};
};
if ((((x == _jt966)) && ((y == _lu396)))){
_ei417 = 0;
};
} else {
if (_ei417 == 19){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
if (movedata1 != 0){
if (x > target.x){
x = (x - (movedata1 * delta));
if (x < target.x){
x = target.x;
};
} else {
if (x < target.x){
x = (x + (movedata1 * delta));
if (x > target.x){
x = target.x;
};
};
};
};
if (_tp309 != 0){
if (y > target.y){
y = (y - (_tp309 * delta));
if (y < target.y){
y = target.y;
};
} else {
if (y < target.y){
y = (y + (_tp309 * delta));
if (y > target.y){
y = target.y;
};
};
};
};
if (_ei269 == true){
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
public function _mb568(_arg1:Number, _arg2:Number):void{
_lv55 = _arg1;
_uc876 = _arg2;
}
public function _ej175(_arg1:Number, _arg2:Number):void{
_to1012 = _arg1;
_gy404 = _arg2;
}
public function _rn87(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_ni153 = _arg4;
_qf816 = _arg1;
_mn61 = _arg2;
_mc885 = _arg3;
_vs1168 = _arg5;
}
public function _bu51(_arg1:BitmapData):void{
var _local2:BitmapData = _qa238;
var _local3:Boolean = _qf222;
_qf222 = false;
_qa238 = _arg1;
_nc1147();
_qa238 = _local2;
_qf222 = _local3;
}
public function _fp525(_arg1:Number=1):void{
delta = _arg1;
_wm279();
_gw42();
if (callback != null){
callback(this);
};
}
public function _ny219(_arg1:Number, _arg2:Number):void{
_jt966 = _arg1;
_lu396 = _arg2;
}
public function _qt401(_arg1:Object, _arg2:Number, _arg3:int, _arg4:Number):void{
_mi638 = _arg1;
_wm1044 = _mi638[0];
_mc404 = 0;
_bi303 = 0;
_vt928 = 0;
_dr640 = (_arg3 - 1);
_bk352 = _arg2;
_te1039 = 0;
frame = 0;
_ij950 = 3;
_fq272 = 5;
_kx709 = _arg4;
}
public function _aw1165(_arg1:Number, _arg2:Number=0):void{
_tw1057 = _arg1;
_fa405 = _arg2;
_ei417 = 18;
}
public function _jv862(_arg1:Boolean):void{
_al569 = _arg1;
_nb826 = _al569;
}
public function _nw1040(_arg1:Number, _arg2:Number):void{
_nt592 = _arg1;
_ci831 = _arg2;
_xy1110 = 0;
_to1012 = 0;
_gy404 = 0;
}
public function _df39(_arg1:Number, _arg2:Number=1, _arg3:Number=0, _arg4:Number=1):void{
_nx310 = 1;
_kh902 = _arg1;
_ys200 = _arg3;
_ei877 = _arg4;
alpha = _arg2;
}
public function _wy382(_arg1:Number, _arg2:Number):void{
_dv523 = _arg1;
_cc1022 = _arg2;
}
public function _pv913(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_aw1125 = _arg1;
_nf398 = _arg2;
_ns714 = _arg3;
_bc251 = _arg5;
_cx505 = _arg4;
_lp93 = _arg6;
_ei417 = 11;
}
public function _va57():void{
if (_fu546){
_dv523 = (_dv523 + (_hh165 * delta));
switch (_fu546){
case 1:
if (_dv523 >= _hn838){
_dv523 = _hn838;
_hh165 = -(_hh165);
} else {
if (_dv523 <= _va220){
_dv523 = _va220;
_hh165 = -(_hh165);
};
};
break;
case 2:
if (_dv523 >= _hn838){
_dv523 = _va220;
} else {
if (_dv523 <= _va220){
_dv523 = _hn838;
};
};
break;
case 3:
if (_dv523 >= _hn838){
_dv523 = _hn838;
_fu546 = 0;
} else {
if (_dv523 <= _va220){
_dv523 = _va220;
_fu546 = 0;
};
};
break;
case 4:
if (_dv523 >= _hn838){
_dv523 = _hn838;
_fu546 = 0;
_tk357 = true;
} else {
if (_dv523 <= _va220){
_dv523 = _va220;
_fu546 = 0;
_tk357 = true;
};
};
break;
case 5:
if (_dv523 >= _hn838){
_dv523 = _hn838;
_hh165 = -(_hh165);
_fu546 = 3;
};
break;
case 6:
if (_dv523 <= _va220){
_dv523 = _va220;
_hh165 = -(_hh165);
_fu546 = 3;
};
break;
case 7:
if (_dv523 >= _hn838){
_dv523 = _hn838;
_hh165 = -(_hh165);
_fu546 = 4;
};
break;
};
};
}
public function _ex476(_arg1:BitmapData, _arg2:Number, _arg3:int, _arg4:int, _arg5:int=0, _arg6:int=0):void{
_wm1044 = _arg1;
_mc404 = 0;
_vt928 = 0;
_dr640 = (_arg3 - 1);
_bk352 = _arg2;
_te1039 = _arg6;
frame = _arg6;
_jx792 = _arg5;
_ij950 = 1;
_fq272 = _arg4;
}
public function _au885(_arg1:_mm644, _arg2:Number, _arg3:Number, _arg4:Number):void{
target = _arg1;
_nj1053 = _arg2;
_mf475 = _arg3;
_ai667 = _arg4;
_ei417 = 5;
}
public function _vd589(_arg1:int):Boolean{
_qj978 = (_qj978 - _arg1);
if (_qj978 < 1){
_qj978 = 0;
return (true);
};
return (false);
}
public function _gm1018():void{
if (_pr196){
_nv423 = (_nv423 + (_uf178 * delta));
switch (_pr196){
case 1:
if (_nv423 >= _kp635){
_nv423 = _kp635;
_uf178 = -(_uf178);
} else {
if (_nv423 <= _td557){
_nv423 = _td557;
_uf178 = -(_uf178);
};
};
break;
case 2:
if (_nv423 >= _kp635){
_nv423 = _td557;
} else {
if (_nv423 <= _td557){
_nv423 = _kp635;
};
};
break;
case 3:
if (_nv423 >= _kp635){
_nv423 = _kp635;
_pr196 = 0;
} else {
if (_nv423 <= _td557){
_nv423 = _td557;
_pr196 = 0;
};
};
break;
case 4:
if (_nv423 >= _kp635){
_nv423 = _kp635;
_pr196 = 0;
_tk357 = true;
} else {
if (_nv423 <= _td557){
_nv423 = _td557;
_pr196 = 0;
_tk357 = true;
};
};
break;
};
};
}
public function _kv461(_arg1:Number):void{
_yq928 = _arg1;
}
public function _uy455(_arg1:Function):void{
_so150 = _arg1;
}
public function _he180(_arg1:String):void{
name = _arg1;
}
public function _rm967(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
_wm1044 = _arg1;
_mc404 = _arg2;
_bi303 = _arg3;
width = _arg4;
height = _arg5;
_nh1042.width = width;
_nh1042.height = height;
_vk729 = (width / 2);
_nt592 = width;
_ci831 = height;
_al569 = true;
}
public function _uf638(_arg1:Number, _arg2:Boolean=true):void{
_xg264 = _arg1;
_ei417 = 14;
_ei269 = _arg2;
}
public function _cp1165(_arg1:Object, _arg2:Number, _arg3:int, _arg4:int):void{
_mi638 = _arg1;
_wm1044 = _mi638[0];
_mc404 = 0;
_bi303 = 0;
_vt928 = 0;
_dr640 = (_arg3 - 1);
_bk352 = _arg2;
_te1039 = 0;
frame = 0;
_ij950 = 3;
_fq272 = _arg4;
}
public function _rk443(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_id633 = _arg1;
_sj872 = _arg3;
_aj600 = _arg2;
_uo533 = _arg4;
}
public function _qf28(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):void{
_nj1053 = _arg1;
_mf475 = _arg2;
_ai667 = _arg3;
_ec822 = _arg4;
_ic396 = _arg5;
_lk627 = _arg6;
_gu331 = _arg7;
_ei417 = 8;
}
}
}//package classes
Section 17
//_mx922 (classes._mx922)
package classes {
import flash.display.*;
public class _mx922 {
public var _mv987:BitmapData;
public var _ox167:_na572;
public var _tp556:Array;
public function _mx922(){
_tp556 = [];
super();
}
public function _hu591(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=true, _arg5:Number=0.001, _arg6:Number=0, _arg7:Number=1, _arg8:Number=1, _arg9:Number=1, _arg10:Number=1, _arg11:Number=1):_tf863{
var _local12:_tf863;
_local12 = new _tf863();
_local12.Text = _arg1;
_local12._sg970 = _arg2;
_local12._ml668 = _arg3;
_local12._ea486 = _arg4;
_local12._lc146 = 0;
_local12._kp185 = _arg5;
_local12._rl1089 = _arg6;
_local12._ci1185 = _arg7;
_local12._rl619 = _arg8;
_local12._nx1034 = _arg9;
_local12._qp342 = _arg10;
_local12._fl486 = _arg11;
_local12.State = 1;
_local12._aw162 = 1;
_tp556[_tp556.length] = _local12;
return (_local12);
}
public function _lk266(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=true, _arg5:Number=0):_tf863{
var _local6:_tf863;
_local6 = new _tf863();
_local6.Text = _arg1;
_local6._sg970 = _arg2;
_local6._ml668 = _arg3;
_local6._ea486 = _arg4;
_local6._rl1089 = _arg5;
_local6._aw162 = 0;
_tp556[_tp556.length] = _local6;
return (_local6);
}
public function _gy656():void{
var _local3:_tf863;
var _local1:int = (_tp556.length - 1);
var _local2:int = _local1;
while (_local2 >= 0) {
_local3 = _tp556[_local2];
_local3._nt598();
_tp556.splice(_local2, 1);
_local3 = null;
_local2--;
};
}
public function _kc951(_arg1:Number):void{
var _local4:_tf863;
var _local2:int = (_tp556.length - 1);
var _local3:int = _local2;
while (_local3 >= 0) {
_local4 = _tp556[_local3];
if (_local4._aw162 == 0){
_ox167._gb204(_mv987, _local4.Text, _local4._sg970, _local4._ml668, _local4._ea486);
_local4._rl1089 = (_local4._rl1089 - _arg1);
if (_local4._rl1089 < 1){
_local4._nt598();
_tp556.splice(_local3, 1);
_local4 = null;
};
} else {
_ox167._du868(_mv987, _local4.Text, _local4._sg970, _local4._ml668, _local4._ci1185, _local4._rl619, _local4._nx1034, _local4._qp342, _local4._fl486, _local4._ea486, _local4._lc146);
if (_local4.State == 1){
_local4._lc146 = (_local4._lc146 + (_local4._kp185 * _arg1));
if (_local4._lc146 > 1){
_local4._lc146 = 1;
_local4.State = 2;
};
} else {
if (_local4.State == 2){
_local4._rl1089 = (_local4._rl1089 - _arg1);
if (_local4._rl1089 < 1){
_local4._rl1089 = 0;
_local4.State = 3;
};
} else {
if (_local4.State == 3){
_local4._lc146 = (_local4._lc146 - (_local4._kp185 * _arg1));
if (_local4._lc146 < 0){
_local4._nt598();
_tp556.splice(_local3, 1);
_local4 = null;
};
};
};
};
};
_local3--;
};
}
public function Init(_arg1:_na572, _arg2:BitmapData):void{
_ox167 = _arg1;
_mv987 = _arg2;
}
}
}//package classes
Section 18
//_na572 (classes._na572)
package classes {
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import flash.utils.*;
public class _na572 {
private var _hu138:Object;
private var _uy263:BitmapData;
public var _cd326:Number;// = 0
private var _sf560:Object;
public function _na572(){
_sf560 = new Object();
_hu138 = new Object();
super();
}
public function _gb204(_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 - (_ma142(_arg2) / 2));
};
_local9.y = _arg4;
var _local10:int;
while (_local10 < _local7) {
_local8 = _arg2.charCodeAt(_local10);
_local9.x = _arg3;
_arg1.copyPixels(_uy263, _sf560[_local8], _local9, null, null, _arg6);
_arg3 = (_arg3 + (_sf560[_local8].width + _cd326));
_local10++;
};
}
public function _xf782(_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 - (_ma142(_arg2) / 2));
};
_local9.y = _arg4;
var _local10:int;
while (_local10 < _local7) {
_local8 = _arg2.charCodeAt(_local10);
_local9.x = _arg3;
_local9.y = (_arg4 - (_sf560[_local8].height / 2));
_arg1.copyPixels(_uy263, _sf560[_local8], _local9, null, null, _arg6);
_arg3 = (_arg3 + (_sf560[_local8].width + _cd326));
_local10++;
};
}
public function _xb1087(_arg1:BitmapData, _arg2:Number=1):void{
_uy263 = _arg1;
_cd326 = _arg2;
}
public function _rv200(_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 - (_ma142(_arg2, _arg7) / 2));
};
_local17 = _arg3;
_local16 = 0;
while (_local16 < _local14) {
_local15 = _arg2.charCodeAt(_local16);
_nw170._wp349(_hu138[_local15], (_arg3 + _arg5), (_arg4 + _arg6), _arg1, _arg13, _arg7, _arg8, 0.1, 0.1, 0.1);
_arg3 = ((_arg3 + (_sf560[_local15].width * _arg7)) + (_cd326 * _arg7));
_local16++;
};
_arg3 = _local17;
_local16 = 0;
while (_local16 < _local14) {
_local15 = _arg2.charCodeAt(_local16);
_nw170._wp349(_hu138[_local15], _arg3, _arg4, _arg1, _arg13, _arg7, _arg8, _arg9, _arg10, _arg11);
_arg3 = ((_arg3 + (_sf560[_local15].width * _arg7)) + _cd326);
_local16++;
};
}
public function _du868(_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 - (_ma142(_arg2, _arg5) / 2));
};
var _local14:int;
while (_local14 < _local12) {
_local13 = _arg2.charCodeAt(_local14);
_nw170._wp349(_hu138[_local13], _arg3, _arg4, _arg1, _arg11, _arg5, _arg6, _arg7, _arg8, _arg9);
_arg3 = ((_arg3 + (_sf560[_local13].width * _arg5)) + (_cd326 * _arg5));
_local14++;
};
}
public function _ci734(_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;
var _local14:Number = _arg4;
if (_arg10 == true){
_arg3 = (_arg3 - (_ma142(_arg2, _arg5) / 2));
};
var _local15:int;
while (_local15 < _local12) {
_local13 = _arg2.charCodeAt(_local15);
_local14 = (_arg4 - ((_sf560[_local13].height * _arg6) / 2));
_nw170._wp349(_hu138[_local13], _arg3, _local14, _arg1, _arg11, _arg5, _arg6, _arg7, _arg8, _arg9);
_arg3 = ((_arg3 + (_sf560[_local13].width * _arg5)) + (_cd326 * _arg5));
_local15++;
};
}
public function _ci713(_arg1:int, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
_sf560[_arg1] = new Rectangle(_arg2, _arg3, _arg4, _arg5);
_hu138[_arg1] = new BitmapData(_sf560[_arg1].width, _sf560[_arg1].height, true, 0);
_nw170._hb418(_uy263, 0, 0, _sf560[_arg1].x, _sf560[_arg1].y, _sf560[_arg1].width, _sf560[_arg1].height, _hu138[_arg1]);
}
public function _ma142(_arg1:String, _arg2:Number=1):Number{
var _local3:int = _arg1.length;
var _local4:Number = 0;
var _local5:int;
while (_local5 < _local3) {
_local4 = ((_local4 + (_sf560[_arg1.charCodeAt(_local5)].width * _arg2)) + (_cd326 * _arg2));
_local5++;
};
return ((_local4 - (_cd326 * _arg2)));
}
}
}//package classes
Section 19
//_nw170 (classes._nw170)
package classes {
import flash.display.*;
import flash.geom.*;
import flash.net.*;
public class _nw170 {
public static var _ry1101:_xj525 = new _xj525();
private static var _vg983:Point;
private static var _ba493:Number = 0.0174532925199433;
private static var _br915:Number = 6.28318530717959;
private static var _ul496:Number = 57.2957795130823;
private static var rect:Rectangle;
public static function _wp349(_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 _re513(_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);
_hb418(_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);
_hb418(_local15, _arg6, _arg7, 0, 0, _arg4, _arg5, _arg8);
_local14 = null;
_local15 = null;
}
public static function _be1108(_arg1:Number, _arg2:Number):Number{
return ((_arg2 * Math.cos((_arg1 * _ba493))));
}
public static function _fl950(_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);
_hb418(_local12, 0, 0, 0, 0, _local12.width, _local12.height, _local10);
_rm1097(_local10, ((_local18 / 2) - 0.5), ((_local19 / 2) - 0.5), _local11, _local13, _local14, _local15, _local9, 0, 0, _arg4, _arg5, _arg6);
_hb418(_local11, (_local20 * _local18), 0, 0, 0, _local18, _local19, _arg1[_arg2]);
_local9 = (_local9 + _local17);
_local20++;
};
_local10 = null;
_local11 = null;
_local12 = null;
}
public static function _vw462():Number{
return (_ry1101._ed1019(0, 359));
}
public static function _qk96(_arg1:int=50):Boolean{
if (_arg1 > _ry1101._at811(0, 100)){
return (true);
};
return (false);
}
public static function _wp750(_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 _ti840(_arg1:String, _arg2:int):String{
while (_arg1.length < _arg2) {
_arg1 = ("0" + _arg1);
};
return (_arg1);
}
public static function _ww1109(_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 _hb418(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:BitmapData, _arg9:Boolean=true):void{
_vg983 = new Point(_arg2, _arg3);
rect = new Rectangle(_arg4, _arg5, _arg6, _arg7);
_arg8.copyPixels(_arg1, rect, _vg983, null, null, _arg9);
}
public static function _pa923(_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);
_hb418(_local12, 0, 0, 0, 0, _local12.width, _local12.height, _local10);
_rm1097(_local10, ((_local16 / 2) - 0.5), ((_local17 / 2) - 0.5), _local11, 1, _local13, _local14, _arg8, 0, 0, 1, 1, 1, null, _arg7);
_hb418(_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 _hr506(_arg1:Number, _arg2:Number):Number{
return (_ry1101._ed1019(_arg1, _arg2));
}
public static function _ul1179(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:BitmapData, _arg9:Boolean=true):void{
_vg983 = new Point((_arg2 - (_arg6 / 2)), (_arg3 - (_arg7 / 2)));
rect = new Rectangle(_arg4, _arg5, _arg6, _arg7);
_arg8.copyPixels(_arg1, rect, _vg983, null, null, _arg9);
}
public static function _sk871(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
var _local5:Number = (Math.atan2((_arg4 - _arg2), (_arg3 - _arg1)) * _ul496);
if (_local5 < 0){
_local5 = (_local5 + 360);
};
return (_local5);
}
public static function _fy185(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Boolean=true):void{
_vg983 = new Point(_arg2, _arg3);
rect = new Rectangle(0, 0, _arg1.width, _arg1.height);
_arg4.copyPixels(_arg1, rect, _vg983, null, null, _arg5);
}
public static function _pp31(_arg1:Number, _arg2:Number):Number{
var _local3:Number = (Math.atan2(_arg2, _arg1) * _ul496);
if (_local3 < 0){
_local3 = (_local3 + 360);
};
return (_local3);
}
public static function _mf743(_arg1:Number, _arg2:Number):Number{
return ((_arg2 * Math.sin((_arg1 * _ba493))));
}
public static function _il1090(_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);
_hb418(_local10, 0, 0, 0, 0, _local10.width, _local10.height, _local8);
_rm1097(_local8, ((_local10.width / 2) - 0.5), ((_local10.height / 2) - 0.5), _local9, _local11, _local12, _local13, _local7, 0, 0, _arg3, _arg4, _arg5);
_hb418(_local9, 0, 0, 0, 0, _local10.width, _local10.height, _arg1[_local16]);
_local7 = (_local7 + _local15);
_local16++;
};
_local8 = null;
_local9 = null;
_local10 = null;
}
public static function _md403(_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 _og636(_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){
_hb418(_local19, 0, 0, 0, 0, _local19.width, _local19.height, _local17);
_rm1097(_local17, ((_local19.width / 2) - 0.5), ((_local19.height / 2) - 0.5), _local18, _local20, _local21, _local22, _local16, 0, 0, _arg4, _arg5, _arg6);
};
_hb418(_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 _io1093(_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 _qg517(_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);
_hb418(_local13, 0, 0, 0, 0, _local13.width, _local13.height, _local11);
_rm1097(_local11, ((_local13.width / 2) - 0.5), ((_local13.height / 2) - 0.5), _local12, _local14, _local15, _local16, _arg10, 0, 0, _arg4, _arg5, _arg6, null, true);
_hb418(_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 _tg911(_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);
_hb418(_local8, 0, 0, 0, 0, _local8.width, _local8.height, _local6);
_wp349(_local6, 0, 0, _local7, 1, 1, 1, _local10, _local10, _local10, null, false);
_hb418(_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 _im141(_arg1:int, _arg2:int):int{
return (_ry1101._at811(_arg1, _arg2));
}
public static function _cl775(_arg1:Number, _arg2:Number, _arg3:Number=100):Number{
return ((_arg1 / (_arg2 / _arg3)));
}
public static function _rx215(_arg1:_mm644, _arg2:_mm644):Boolean{
var _local3:Number = _arg1.x;
var _local4:Number = _arg1.y;
var _local5:Number = ((_arg1._nt592 - 1) * Math.abs(_arg1._dv523));
var _local6:Number = ((_arg1._ci831 - 1) * Math.abs(_arg1._cc1022));
if (_arg1._dc692 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
return (_ap426(_local3, _local4, _local5, _local6, _arg2.x, _arg2.y, (_arg2._vk729 * Math.abs(_arg2._dv523))));
}
public static function _rm1097(_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 = ((_br915 * _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 _cx261(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:Number=1, _arg9:Number=1, _arg10:Number=1, _arg11:Number=20, _arg12:Number=1, _arg13:Boolean=true, _arg14:Number=0):void{
var _local15:BitmapData;
var _local16:BitmapData;
var _local17:BitmapData;
var _local18:Number = 0;
var _local19:Number = 1;
var _local20:Number = 1;
var _local21:int;
_local17 = new BitmapData(_arg6, _arg7, true);
_hb418(_arg3, 0, 0, _arg4, _arg5, _arg6, _arg7, _local17, true);
_arg1[_arg2] = new BitmapData((_local17.width * _arg11), _local17.height, true, 0);
_local18 = 1;
if (_arg13 == false){
_local18 = 0;
};
var _local22:int;
while (_local22 < _arg11) {
_local15 = new BitmapData(_local17.width, _local17.height, true, 0);
_local16 = new BitmapData(_local17.width, _local17.height, true, 0);
_hb418(_local17, 0, 0, 0, 0, _local17.width, _local17.height, _local15);
_rm1097(_local15, ((_local17.width / 2) - 0.5), ((_local17.height / 2) - 0.5), _local16, _local18, _local19, _local20, _arg14, 0, 0, _arg8, _arg9, _arg10, null, true);
_hb418(_local16, (_local22 * _local17.width), 0, 0, 0, _local17.width, _local17.height, _arg1[_arg2]);
if (_arg13 == true){
_local18 = (_local18 - ((1 / _arg11) * _arg12));
} else {
_local18 = (_local18 + ((1 / _arg11) * _arg12));
};
_local22++;
};
_local15 = null;
_local16 = null;
_local17 = null;
}
public static function _mc641(_arg1:String):void{
var _local2:URLRequest = new URLRequest(_arg1);
navigateToURL(_local2, irrcrpt("_eodqn", 3));
}
public static function _eh616(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Number=1, _arg6:Number=1, _arg7:Number=1, _arg8:String=null, _arg9:Boolean=true):void{
var _local10:Matrix = new Matrix();
var _local11:ColorTransform = new ColorTransform(1, 1, 1, _arg5, 0, 0, 0, 0);
_local10.translate((-(_arg1.width) / 2), (-(_arg1.height) / 2));
_local10.scale(_arg6, _arg7);
_local10.translate(_arg2, _arg3);
_arg4.draw(_arg1, _local10, _local11, _arg8, null, _arg9);
}
public static function _eq191():Number{
if (_qk96() == true){
return (1);
};
return (-1);
}
public static function _vy506(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Boolean=true):void{
_vg983 = new Point((_arg2 - (_arg1.width / 2)), (_arg3 - (_arg1.height / 2)));
rect = new Rectangle(0, 0, _arg1.width, _arg1.height);
_arg4.copyPixels(_arg1, rect, _vg983, null, null, _arg5);
}
public static function _jy755(_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 _ap426(_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 _fy359(_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);
_hb418(_local8, 0, 0, 0, 0, _local8.width, _local8.height, _local6);
_hb418(_local6, 0, 0, 0, 0, _local6.width, _local6.height, _local7);
_wp349(_arg4, 0, 0, _local7, _local10, 1, 1, 1, 1, 1, null, false);
_hb418(_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 _ho1079(_arg1:_mm644, _arg2:_mm644):Boolean{
var _local3:Number = _arg1.x;
var _local4:Number = _arg1.y;
var _local5:Number = ((_arg1._nt592 - 1) * Math.abs(_arg1._dv523));
var _local6:Number = ((_arg1._ci831 - 1) * Math.abs(_arg1._cc1022));
var _local7:Number = _arg2.x;
var _local8:Number = _arg2.y;
var _local9:Number = ((_arg2._nt592 - 1) * Math.abs(_arg2._dv523));
var _local10:Number = ((_arg2._ci831 - 1) * Math.abs(_arg2._cc1022));
if (_arg1._dc692 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
if (_arg2._dc692 == true){
_local7 = (_local7 - (_local9 / 2));
_local8 = (_local8 - (_local10 / 2));
};
if ((((_arg1._al569 == true)) && ((_arg2._al569 == true)))){
return (_md403(_local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10));
};
return (false);
}
public static function _cp946(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (Math.sqrt((((_arg3 - _arg1) * (_arg3 - _arg1)) + ((_arg4 - _arg2) * (_arg4 - _arg2)))));
}
public static function _mv1102(_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, false);
}
public static function _ty392(_arg1:Number):String{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:String;
var _local8:String;
_local3 = _arg1;
_local4 = (_local3 % 1000);
if (_local4 < 100){
_local8 = "0";
} else {
if (_local4 < 10){
_local8 = irrcrpt("44", 4);
} else {
_local8 = "";
};
};
_local5 = Math.floor(((_local3 / 1000) % 60));
if (_local5 < 10){
_local7 = "0";
} else {
_local7 = "";
};
_local6 = Math.floor((_local3 / 60000));
return (((((((("" + _local6) + ":") + _local7) + _local5) + ".") + _local8) + _local4));
}
public static function _ut942(_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){
_hb418(_local18, 0, 0, 0, 0, _local18.width, _local18.height, _local16);
_rm1097(_local16, ((_local18.width / 2) - 0.5), ((_local18.height / 2) - 0.5), _local17, _local19, _local20, _local21, _local15, 0, 0, _arg4, _arg5, _arg6);
};
_hb418(_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 _ql983(_arg1:_mm644, _arg2:_mm644):Boolean{
if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1._vk729 * _arg1._dv523) + (_arg2._vk729 * _arg2._dv523))){
return (true);
};
return (false);
}
public static function _qr607(_arg1:_mm644, _arg2:_mm644):Boolean{
var _local3:Boolean;
if ((((_arg1._al569 == true)) && ((_arg2._al569 == true)))){
if (_arg1._xy1110 == 0){
if (_arg2._xy1110 == 0){
_local3 = _ho1079(_arg1, _arg2);
} else {
_local3 = _rx215(_arg1, _arg2);
};
} else {
if (_arg2._xy1110 == 1){
_local3 = _ft271(_arg1, _arg2);
} else {
_local3 = _rx215(_arg2, _arg1);
};
};
};
return (_local3);
}
public static function _ft271(_arg1:_mm644, _arg2:_mm644):Boolean{
if ((((_arg1._al569 == true)) && ((_arg2._al569 == true)))){
if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1._vk729 * _arg1._dv523) + (_arg2._vk729 * _arg2._dv523))){
return (true);
};
return (false);
//unresolved jump
};
return (false);
}
}
}//package classes
Section 20
//_qi913 (classes._qi913)
package classes {
import flash.display.*;
import flash.net.*;
public class _qi913 {
public static var _pa1008:Array = [];
public static function _cn979():void{
var _local1:_qm312;
for each (_local1 in _pa1008) {
_local1.State = 0;
};
}
public static function _hu591(_arg1:String, _arg2:String, _arg3:BitmapData=null, _arg4:Boolean=true):void{
var _local5:_qm312 = new _qm312();
if (_arg4 == true){
_local5._gu883 = _arg1.toUpperCase();
_local5._cy975 = _arg2.toUpperCase();
} else {
_local5._gu883 = _arg1;
_local5._cy975 = _arg2;
};
_local5.State = 0;
_local5._km511 = _arg3;
_pa1008[_pa1008.length] = _local5;
}
public static function _lv271(_arg1:int, _arg2:int):void{
var _local3:_qm312 = _pa1008[_arg1];
_local3.State = _arg2;
}
public static function _ow1152(_arg1:SharedObject):void{
var _local2:Array;
var _local3:_qm312;
var _local4:int;
_local2 = _arg1.data.achievements;
if (_local2 != null){
for each (_local3 in _pa1008) {
_local3.State = _local2[_local4];
_local4++;
};
};
}
public static function _yh169(_arg1:SharedObject, _arg2:Function=null):void{
var _local4:_qm312;
var _local3:Array = [];
for each (_local4 in _pa1008) {
_local3[_local3.length] = _local4.State;
};
_arg1.data.achievements = _local3;
if (_arg2 != null){
_arg2();
};
_arg1.flush();
}
public static function _fj580(_arg1:int):String{
var _local2:_qm312 = _pa1008[_arg1];
return (_local2._gu883);
}
public static function _mv323(_arg1:int):String{
var _local2:_qm312 = _pa1008[_arg1];
return (_local2._cy975);
}
public static function _he180(_arg1:int, _arg2:String):void{
var _local3:_qm312 = _pa1008[_arg1];
_local3._gu883 = _arg2;
}
public static function _is711(_arg1:String):_qm312{
var _local2:_qm312;
var _local3:_qm312;
for each (_local2 in _pa1008) {
if (_local2._gu883 == _arg1){
_local3 = _local2;
break;
};
};
return (_local3);
}
public static function _bk218(_arg1:int):int{
var _local2:_qm312 = _pa1008[_arg1];
return (_local2.State);
}
public static function _vy880(_arg1:int, _arg2:BitmapData):void{
var _local3:_qm312 = _pa1008[_arg1];
_local3._km511 = _arg2;
}
public static function _fb491(_arg1:int):_qm312{
var _local2:_qm312 = _pa1008[_arg1];
return (_local2);
}
public static function _bx383(_arg1:int, _arg2:String):void{
var _local3:_qm312 = _pa1008[_arg1];
_local3._cy975 = _arg2;
}
public static function _tr527(_arg1:int):BitmapData{
var _local2:_qm312 = _pa1008[_arg1];
return (_local2._km511);
}
}
}//package classes
Section 21
//_qm312 (classes._qm312)
package classes {
import flash.display.*;
public class _qm312 {
public var State:int;
public var _cy975:String;
public var _km511:BitmapData;
public var _gu883:String;
}
}//package classes
Section 22
//_qr181 (classes._qr181)
package classes {
import flash.display.*;
import flash.geom.*;
import caurina.transitions.*;
import flash.filters.*;
public class _qr181 {
public var _un208:Array;
public var _af177:BlurFilter;
public var _hc625:Number;// = 0
public var _dm1093:uint;
public var height:int;
public var _vx684:Number;// = 0
private var _gg831:Object;
public var _tr305:Number;// = 0
public var width:int;
public var Parent:Sprite;
public var _hd1037:Bitmap;
public var _ng406:_qt936;
public var _yo1112:BitmapData;
public function _or1132(_arg1:BitmapData):void{
_yo1112.copyPixels(_arg1, new Rectangle(0, 0, width, height), new Point(0, 0));
}
public function _rd785():void{
_yo1112.fillRect(new Rectangle(0, 0, width, height), _dm1093);
}
public function _ex1070(_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, {_kj488:_arg2, time:0.5, transition:irrcrpt("nkpgct", 2)});
}
public function _av929(_arg1:Number, _arg2:String, _arg3:Number, _arg4:Function=null):void{
if (_arg4 != null){
Tweener.addTween(Parent, {x:_arg1, time:_arg3, transition:_arg2, onComplete:_arg4});
} else {
Tweener.addTween(Parent, {x:_arg1, time:_arg3, transition:_arg2});
};
}
public function _nt598():void{
_ng406._sa937();
_ng406 = null;
_gg831.removeChild(Parent);
Parent.removeChild(_hd1037);
_yo1112 = null;
_hd1037 = null;
Parent = null;
_af177 = null;
_un208 = null;
_gg831 = null;
}
public function set scale(_arg1:Number):void{
_tr305 = _arg1;
Parent.scaleX = _tr305;
Parent.scaleY = _tr305;
}
public function _mo707():void{
_yo1112.unlock();
}
public function set brightness(_arg1:Number):void{
_hc625 = _arg1;
_nw170._jy755(Parent, _hc625, _hc625, _hc625);
}
public function _do1053():void{
Parent.visible = false;
Parent.alpha = 1;
brightness = 1;
_kj488 = 0;
Parent.mouseEnabled = false;
Parent.mouseChildren = false;
}
public function _xm885(_arg1:Number, _arg2:String, _arg3:Number, _arg4:Function=null):void{
if (_arg4 != null){
Tweener.addTween(Parent, {y:_arg1, time:_arg3, transition:_arg2, onComplete:_arg4});
} else {
Tweener.addTween(Parent, {y:_arg1, time:_arg3, transition:_arg2});
};
}
public function _iq298(_arg1:Boolean):void{
Parent.mouseEnabled = _arg1;
Parent.mouseChildren = _arg1;
}
public function _fp840(_arg1:Boolean):void{
Parent.visible = _arg1;
}
public function Init(_arg1:Object, _arg2:int, _arg3:int, _arg4:Boolean=false, _arg5:uint=4278190080, _arg6:Boolean=true):void{
_gg831 = _arg1;
_dm1093 = _arg5;
_yo1112 = new BitmapData(_arg2, _arg3, _arg4, _arg5);
_hd1037 = new Bitmap(_yo1112);
_hd1037.smoothing = _arg6;
Parent = new Sprite();
_gg831.addChild(Parent);
_hd1037.x = (-(_hd1037.width) / 2);
_hd1037.y = (-(_hd1037.height) / 2);
Parent.addChild(_hd1037);
Parent.x = (_yo1112.width / 2);
Parent.y = (_yo1112.height / 2);
width = _arg2;
height = _arg3;
_hc625 = 1;
_tr305 = 1;
_af177 = new BlurFilter(0, 0, 1);
_un208 = new Array();
_un208.push(_af177);
Parent.filters = _un208;
_vx684 = 0;
_af177.blurX = 0;
_af177.blurY = 0;
_af177.quality = 0;
Parent.filters = _un208;
_ng406 = new _qt936();
}
public function _ps479():void{
_yo1112.lock();
}
public function _xk625(_arg1:Number, _arg2:Number):void{
Parent.x = _arg1;
Parent.y = _arg2;
}
public function _fj391(_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("nkpgct", 2), onComplete:_arg2});
} else {
Tweener.addTween(Parent, {alpha:1, time:_arg1, transition:irrcrpt("mjofbs", 1)});
};
}
public function _pv1141(_arg1:Number=1):void{
Parent.visible = true;
Parent.alpha = 1;
brightness = 1;
_kj488 = 0;
Parent.mouseEnabled = true;
Parent.mouseChildren = true;
}
public function get scale():Number{
return (_tr305);
}
public function _cm340(_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 _in111(_arg1:Number, _arg2:Number):void{
brightness = _arg1;
Tweener.addTween(this, {brightness:1, time:_arg2, transition:irrcrpt("mjofbs", 1)});
}
public function _lh253(_arg1:Boolean):void{
_hd1037.cacheAsBitmap = _arg1;
}
public function get brightness():Number{
return (_hc625);
}
public function _ap864(_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("nkpgct", 2), onComplete:_arg2});
} else {
Tweener.addTween(Parent, {alpha:0, time:_arg1, transition:irrcrpt("nkpgct", 2)});
};
}
public function set _kj488(_arg1:Number):void{
_vx684 = _arg1;
_af177.blurX = _arg1;
_af177.blurY = _arg1;
if (_arg1 == 0){
_af177.quality = 0;
Parent.filters = null;
} else {
_af177.quality = 2;
};
Parent.filters = _un208;
}
public function _tm190(_arg1:Object, _arg2:Boolean=true):void{
_gg831 = _arg1;
Parent = new Sprite();
_gg831.addChild(Parent);
Parent.x = 0;
Parent.y = 0;
width = 1;
height = 1;
_hc625 = 1;
_tr305 = 1;
_af177 = new BlurFilter(0, 0, 1);
_un208 = new Array();
_un208.push(_af177);
Parent.filters = _un208;
_vx684 = 0;
_af177.blurX = 0;
_af177.blurY = 0;
_af177.quality = 0;
Parent.filters = _un208;
_ng406 = new _qt936();
}
public function get _kj488():Number{
return (_vx684);
}
public function _sv1093(_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, {_kj488:0, time:0.5, transition:irrcrpt("pmriev", 4)});
}
}
}//package classes
Section 23
//_qt936 (classes._qt936)
package classes {
import flash.display.*;
public class _qt936 {
public var _de89:Number;// = 0
public var _ng406:Array;
public var _hl488:Number;// = 0
public var _jd292:int;// = 0
public function _qt936(){
_ng406 = [];
super();
}
public function _ni281(_arg1:Number):void{
var _local4:_td125;
var _local2:int = (_ng406.length - 1);
var _local3:int = _local2;
while (_local3 >= 0) {
_local4 = _ng406[_local3];
_local4._fa1074(_arg1);
if (_local4._tk357 == true){
_local4._nt598();
_ng406.splice(_local3, 1);
_local4 = null;
};
_local3--;
};
}
public function _nx334(_arg1:Number=0.001):void{
var _local2:_td125;
for each (_local2 in _ng406) {
_local2._df39(-(_arg1), 1);
};
}
public function _mu1054(_arg1:int=0):_td125{
var _local2:int;
var _local3:_td125;
var _local4:_td125;
var _local5:int = (_ng406.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _ng406[_local2];
if (_local3.id == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _tb698(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Function, _arg7:Function, _arg8:Function, _arg9:uint=0):_td125{
var _local10:_td125;
_local10 = new _td125();
_local10._sh882(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9);
_ng406[_ng406.length] = _local10;
return (_local10);
}
public function _gd949(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Boolean=true, _arg7:Boolean=true, _arg8:uint=0):_td125{
var _local9:_td125;
_local9 = new _td125();
_local9.Init(_arg1, _arg5, _arg2.width, _arg2.height, _arg6, _arg8, _arg7);
_local9._xk625(_arg3, _arg4);
_local9._or1132(_arg2);
_ng406[_ng406.length] = _local9;
return (_local9);
}
public function _yl599():void{
var _local1:_td125;
for each (_local1 in _ng406) {
_local1._tk357 = true;
};
}
public function _ak534(_arg1:_td125):void{
_ng406[_ng406.length] = _arg1;
}
public function _mt532(_arg1:int=0):_td125{
var _local2:int;
var _local3:_td125;
var _local4:_td125;
var _local5:int = (_ng406.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _ng406[_local2];
if (_local3._dm127 == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _sa937(_arg1:int=0):void{
var _local2:int;
var _local3:Object;
var _local4:int = (_ng406.length - 1);
_local2 = _local4;
while (_local2 >= 0) {
_local3 = _ng406[_local2];
if (_arg1 > 0){
if (_local3._dm127 == _arg1){
_ng406.splice(_local2, 1);
_local3._nt598();
_local3 = null;
};
} else {
_ng406.splice(_local2, 1);
_local3._nt598();
_local3 = null;
};
_local2--;
};
}
public function _uq476(_arg1:Sprite, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:int, _arg7:Boolean=true, _arg8:Boolean=true, _arg9:uint=0):_td125{
var _local10:_td125;
_local10 = new _td125();
_local10.Init(_arg1, _arg6, _arg2, _arg3, _arg7, _arg9, _arg8);
_local10._xk625(_arg4, _arg5);
_ng406[_ng406.length] = _local10;
return (_local10);
}
public function _tr424(_arg1:int):Boolean{
var _local2:_td125;
var _local3:Boolean;
for each (_local2 in _ng406) {
if (_local2._dm127 == _arg1){
_local3 = true;
};
};
return (_local3);
}
public function _wl327():int{
return (_ng406.length);
}
public function _sn900(_arg1:Object, _arg2:Number):void{
var _local5:_td125;
var _local3:int = (_ng406.length - 1);
var _local4:int = _local3;
while (_local4 >= 0) {
_local5 = _ng406[_local4];
_local5._fa1074(_arg2);
_arg1(_local5);
if (_local5._tk357 == true){
_local5._nt598();
_ng406.splice(_local4, 1);
_local5 = null;
};
_local4--;
};
}
}
}//package classes
Section 24
//_td125 (classes._td125)
package classes {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import caurina.transitions.*;
import flash.filters.*;
public class _td125 extends Sprite {
public var _cy765:Number;// = 0
public var tooltip:_td125;
public var _lf969:Number;// = 0
public var _wd867:Boolean;
public var _dm127:int;
public var _kq247:Number;// = 0
public var _uk1089:Number;// = 0
public var _xl394:int;
public var _lk627:Number;// = 0
public var _if659:int;
public var _xg264:Number;// = 0
public var _hi1136:Number;// = 0
public var _bk352:Number;// = 0
public var _jt966:Number;// = 0
public var _ec822:Number;// = 0
public var _ic396:Number;// = 0
public var _vq578:Object;
public var callback:Object;
public var _uh965:Function;
public var _is966:Number;// = 0
public var _fq902:Object;
public var _fu389:Number;// = 0
public var _wq931:Boolean;
public var _ei269:Boolean;
public var _nn518:Number;// = 0
public var _uy1142:Number;// = 0
public var _va220:Number;// = 0
public var _vv243:Number;// = 0
public var _wl1176:int;
public var _lp93:Number;// = 0
public var id3:int;
public var _tp309:Number;// = 0
public var _vv1027:Number;// = 0
public var _kh902:Number;// = 0
public var _nx310:int;
public var _tx390:Number;// = 0
public var state:int;
public var _tg1014:Number;// = 0
public var movedata1:Number;// = 0
public var _jx792:int;
public var _eb417:Number;// = 0
public var _xq403:Number;// = 0
public var _un735:Boolean;
public var _rh438:Boolean;
public var _dl641:Number;// = 0
public var _al569:Boolean;
public var _hh165:Number;// = 0
public var _ja251:Number;// = 0
public var _le210:Number;// = 0
public var _aw1125:Number;// = 0
public var _dh33:int;
public var _vb343:Number;// = 0
public var _wg955:Number;// = 0
public var _qx656:Function;
public var _eo609:Number;// = 0
public var _jm102:Number;// = 0
public var _nf398:Number;// = 0
public var _ur673:Number;// = 0
public var _hn838:Number;// = 0
public var _mf475:Number;// = 0
public var _vo528:Bitmap;
public var _dr640:int;
public var _vk729:Number;// = 0
public var _gm710:Number;// = 0
public var _fq272:int;
public var _rv722:Number;// = 0
public var _ei877:int;
public var _so694:Function;
public var _tp464:int;
public var _rm1183:BitmapData;
public var _mi638:Object;
public var _pf326:Number;// = 0
public var _up703:Number;// = 0
public var _dn613:Number;// = 0
public var _rw942:Number;// = 0
public var id:int;
public var _hc625:Number;// = 0
public var _he805:Number;// = 0
public var _xt23:Number;// = 0
public var _gu331:Number;// = 0
public var _qj978:int;
public var _tw1057:Number;// = 0
public var _xh1182:Number;// = 0
public var _qo994:Number;// = 0
public var _vo310:_td125;
public var _bt444:Number;// = 0
public var _qv709:Number;// = 0
public var _tk357:Boolean;
public var _ti1106:Number;// = 0
public var _ei417:int;// = 0
public var _nb826:Boolean;
public var _fu546:int;
public var _ai667:Number;// = 0
public var _ys200:int;
public var _fa869:Number;// = 0
public var _cl31:Number;// = 0
public var _lu396:Number;// = 0
public var _cx505:Number;// = 0
public var _bc251:Number;// = 0
public var _ci831:Number;// = 0
public var _ll224:Number;// = 0
public var _wr760:Number;// = 0
public var _vn241:Number;// = 0
public var frame:Number;// = 0
public var _id1038:Number;// = 0
public var _un208:Array;
public var _bp433:Number;// = 0
public var _nt592:Number;// = 0
public var _af177:BlurFilter;
public var _pr692:Object;
public var target:_td125;
public var _mu406:String;
public var _lw100:Number;// = 0
public var _id32:Number;// = 0
public var _fa405:Number;// = 0
public var _wh991:Number;// = 0
public var _eo550:Number;// = 0
public var _is355:Number;// = 0
public var _sc627:Number;// = 0
public var _ps796:Number;// = 0
public var delta:Number;// = 0
public var _kf1155:Number;// = 0
public var _ns714:Number;// = 0
public var _rw1161:Number;// = 0
public var _vt928:int;
public var _ao10:Number;// = 0
public var _ug152:Number;// = 0
public var _cm533:Number;// = 0
public var _fl412:Number;// = 0
public var _ks405:Number;// = 0
public var _dl934:Number;// = 0
public var _nt56:Object;
public var _nj1053:Number;// = 0
public var _ph453:Number;// = 0
public var _te1039:Number;// = 0
public var _gx663:Number;// = 0
public var _ds565:Number;// = 0
public function _or1132(_arg1:BitmapData, _arg2:int=0, _arg3:int=0):void{
_rm1183.copyPixels(_arg1, new Rectangle(_arg2, _arg3, width, height), new Point(0, 0));
}
public function _yf520(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_ns714 = _arg1;
_bc251 = _arg3;
_cx505 = _arg2;
_lp93 = _arg4;
}
public function _pg1134(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_fu546 = _arg4;
_hh165 = _arg1;
_va220 = _arg2;
_hn838 = _arg3;
this.scaleX = _arg5;
}
public function _ee1122():void{
if (_wl1176){
_wr760 = (_wr760 + (_ja251 * delta));
switch (_wl1176){
case 1:
if (_wr760 >= _eb417){
_wr760 = _eb417;
_ja251 = -(_ja251);
} else {
if (_wr760 <= _eo550){
_wr760 = _eo550;
_ja251 = -(_ja251);
};
};
break;
case 2:
if (_wr760 >= _eb417){
_wr760 = _eo550;
} else {
if (_wr760 <= _eo550){
_wr760 = _eb417;
};
};
break;
case 3:
if (_wr760 >= _eb417){
_wr760 = _eb417;
_wl1176 = 0;
} else {
if (_wr760 <= _eo550){
_wr760 = _eo550;
_wl1176 = 0;
};
};
break;
case 4:
if (_wr760 >= _eb417){
_wr760 = _eb417;
_wl1176 = 0;
_tk357 = true;
} else {
if (_wr760 <= _eo550){
_wr760 = _eo550;
_wl1176 = 0;
_tk357 = true;
};
};
break;
case 5:
if (_wr760 >= _eb417){
_wr760 = _eb417;
_ja251 = -(_ja251);
_wl1176 = 3;
};
break;
case 7:
if (_wr760 >= _eb417){
_wr760 = _eb417;
_ja251 = -(_ja251);
_wl1176 = 4;
};
break;
};
};
}
public function _xk625(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
private function _my379(_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 _ps479():void{
_rm1183.lock();
}
public function _ea891(_arg1:_td125, _arg2:Number):void{
var _local3:Number = this.rotation;
var _local4:Number = _nw170._sk871(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 _wk956(_arg1:Object):void{
_nt56 = _arg1;
}
public function _la618(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_xl394 = _arg4;
_wg955 = _arg1;
_pf326 = _arg2;
_ds565 = _arg3;
this.rotation = _arg5;
}
public function get brightness():Number{
return (_hc625);
}
public function _lh253(_arg1:Boolean):void{
_vo528.cacheAsBitmap = _arg1;
}
public function _rw36(_arg1:Object):void{
_pr692 = _arg1;
}
public function _ne155(_arg1:Object):void{
callback = _arg1;
}
public function _fl912(_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 _cm340(_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 set scale(_arg1:Number):void{
_wr760 = _arg1;
this.scaleX = _wr760;
this.scaleY = _wr760;
}
public function set brightness(_arg1:Number):void{
_hc625 = _arg1;
_nw170._jy755(this, _hc625, _hc625, _hc625);
}
public function _nx1153(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Boolean=false, _arg6:Boolean=false):void{
movedata1 = _arg1;
_tp309 = _arg2;
_tw1057 = _arg3;
_fa405 = _arg4;
_ei417 = 7;
if (_arg5 == true){
_ei417 = 9;
};
_un735 = _arg6;
}
public function _pp203(_arg1:_td125, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
target = _arg1;
movedata1 = 0;
_tp309 = _arg2;
_tw1057 = _arg3;
_fa405 = 0;
_tx390 = _arg4;
_bt444 = _arg5;
_ei417 = 2;
}
public function _sh920(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Function):void{
movedata1 = _arg1;
_tp309 = _arg2;
_tw1057 = _arg3;
_fa405 = _arg4;
_ei417 = 7;
_vq578 = _arg5;
}
public function _jd777(_arg1:Number, _arg2:String, _arg3:Number, _arg4:Function=null):void{
if (_arg4 != null){
Tweener.addTween(this, {_pg104:_arg1, time:_arg3, transition:_arg2, onComplete:_arg4});
} else {
Tweener.addTween(this, {_pg104:_arg1, time:_arg3, transition:_arg2});
};
}
public function _av929(_arg1:Number, _arg2:String, _arg3:Number, _arg4:Function=null):void{
if (_arg4 != null){
Tweener.addTween(this, {x:_arg1, time:_arg3, transition:_arg2, onComplete:_arg4});
} else {
Tweener.addTween(this, {x:_arg1, time:_arg3, transition:_arg2});
};
}
public function _le465(_arg1:_td125, _arg2:Number):void{
_xl394 = 5;
_wg955 = _arg2;
_vo310 = _arg1;
}
public function set _fp24(_arg1:Number):void{
_af177.blurY = _arg1;
if (_arg1 == 0){
this.filters = null;
} else {
_af177.quality = BitmapFilterQuality.LOW;
};
this.filters = _un208;
}
public function _lx623(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_dh33 = _arg4;
_vv243 = _arg1;
_fu389 = _arg2;
_ps796 = _arg3;
this.scaleY = _arg5;
}
public function _mo1065(_arg1:Number, _arg2:Number):Boolean{
return (_my379(_arg1, _arg2, (this.x - ((_nt592 * this.scaleX) / 2)), (this.y - ((_ci831 * this.scaleY) / 2)), (_nt592 * this.scaleX), (_ci831 * this.scaleY)));
}
public function _wm279():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
if (_ei417 == 1){
if (_xt23 > 0){
_xt23 = (_xt23 - delta);
if (_xt23 < 1){
_xt23 = _cy765;
_aw1125 = (_aw1125 * _gm710);
_nf398 = (_nf398 * _gm710);
if (Math.abs(_aw1125) < 0.001){
_aw1125 = 0;
};
if (Math.abs(_nf398) < 0.001){
_nf398 = 0;
};
if ((((_aw1125 == 0)) && ((_nf398 == 0)))){
_xt23 = 0;
_ei417 = 0;
};
};
};
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_aw1125 = (_aw1125 + (_nn518 * delta));
_nf398 = (_nf398 + (_rw942 * delta));
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
if (_rv722 > 0){
_rv722 = (_rv722 - delta);
if (_rv722 < 1){
_ei417 = 0;
};
};
} else {
if (_ei417 == 2){
_local1 = x;
_local2 = y;
_local3 = 0;
_local4 = 0;
if (target == null){
} else {
_local3 = target.x;
_local4 = target.y;
if (_local1 < _local3){
movedata1 = (movedata1 + (_tp309 * delta));
if (movedata1 > _tw1057){
movedata1 = _tw1057;
};
} else {
if (_local1 > _local3){
movedata1 = (movedata1 - (_tp309 * delta));
if (movedata1 < -(_tw1057)){
movedata1 = -(_tw1057);
};
};
};
x = (x + (movedata1 * delta));
if (_local2 < _local4){
_fa405 = (_fa405 + (_tx390 * delta));
if (_fa405 > _bt444){
_fa405 = _bt444;
};
} else {
if (_local2 > _local4){
_fa405 = (_fa405 - (_tx390 * delta));
if (_fa405 < -(_bt444)){
_fa405 = -(_bt444);
};
};
};
y = (y + (_fa405 * delta));
};
} else {
if (_ei417 == 3){
_nj1053 = (_nj1053 + (_mf475 * delta));
_ec822 = (_ec822 + (_ic396 * delta));
x = (x + ((Math.cos(_nj1053) * _ai667) * delta));
y = (y + ((Math.sin(_ec822) * _lk627) * delta));
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_aw1125 = (_aw1125 + (_nn518 * delta));
_nf398 = (_nf398 + (_rw942 * delta));
if (_ei269 == true){
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
};
} else {
if (_ei417 == 31){
_ti1106 = (_ti1106 + (_ug152 * delta));
_wh991 = (_wh991 + (_kq247 * delta));
x = (x + ((Math.cos(_ti1106) * _dn613) * delta));
y = (y + ((Math.sin(_wh991) * _ph453) * delta));
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_aw1125 = (_aw1125 + (_nn518 * delta));
_nf398 = (_nf398 + (_rw942 * delta));
if (_ei269 == true){
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
};
} else {
if (_ei417 == 4){
} else {
if (_ei417 == 5){
if (target != null){
_nj1053 = (_nj1053 + (_mf475 * delta));
x = (target.x + (Math.cos(_nj1053) * _ai667));
y = (target.y + (Math.sin(_nj1053) * _ai667));
} else {
_tk357 = true;
};
} else {
if (_ei417 == 6){
if (target != null){
if (_fa869 > 0){
_fa869 = (_fa869 - delta);
if (_fa869 < 1){
_fa869 = _uk1089;
_id1038 = _nw170._sk871(x, y, target.x, target.y);
_aw1125 = _nw170._be1108(_id1038, movedata1);
_nf398 = _nw170._mf743(_id1038, movedata1);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
movedata1 = (movedata1 + (_tp309 * delta));
};
} else {
_id1038 = _nw170._sk871(x, y, target.x, target.y);
_aw1125 = _nw170._be1108(_id1038, movedata1);
_nf398 = _nw170._mf743(_id1038, movedata1);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
movedata1 = (movedata1 + (_tp309 * delta));
};
if (_tw1057 > 0){
_tw1057 = (_tw1057 - delta);
if (_tw1057 < 1){
_tw1057 = 0;
_ei417 = 0;
};
};
} else {
_tk357 = true;
};
} else {
if (_ei417 == 7){
_id1038 = _nw170._sk871(x, y, movedata1, _tp309);
_aw1125 = _nw170._be1108(_id1038, _tw1057);
_nf398 = _nw170._mf743(_id1038, _tw1057);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_tw1057 = (_tw1057 + (_fa405 * delta));
if (_aw1125 > 0){
if (x > movedata1){
x = movedata1;
};
} else {
if (_aw1125 < 0){
if (x < movedata1){
x = movedata1;
};
};
};
if (_nf398 > 0){
if (y > _tp309){
y = _tp309;
};
} else {
if (_nf398 < 0){
if (y < _tp309){
y = _tp309;
};
};
};
if ((((x == movedata1)) && ((y == _tp309)))){
if (_un735 == false){
_ei417 = 0;
if (_vq578 != null){
_vq578(this);
_vq578 = null;
};
};
};
} else {
if (_ei417 == 8){
_nj1053 = (_nj1053 + (_mf475 * delta));
_ec822 = (_ec822 + (_ic396 * delta));
x = (x + ((Math.cos(_nj1053) * _ai667) * delta));
y = (y + ((Math.sin(_ec822) * _lk627) * delta));
_ai667 = (_ai667 + (_gu331 * delta));
_lk627 = (_lk627 + (_gu331 * delta));
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
} else {
if (_ei417 == 9){
_id1038 = _nw170._sk871(x, y, movedata1, _tp309);
_aw1125 = _nw170._be1108(_id1038, _tw1057);
_nf398 = _nw170._mf743(_id1038, _tw1057);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_tw1057 = (_tw1057 + (_fa405 * delta));
if (_aw1125 > 0){
if (x > movedata1){
x = movedata1;
};
} else {
if (_aw1125 < 0){
if (x < movedata1){
x = movedata1;
};
};
};
if (_nf398 > 0){
if (y > _tp309){
y = _tp309;
};
} else {
if (_nf398 < 0){
if (y < _tp309){
y = _tp309;
};
};
};
if ((((x == movedata1)) && ((y == _tp309)))){
_ei417 = 0;
_tk357 = true;
};
} else {
if (_ei417 == 10){
if (_xt23 > 0){
_xt23 = (_xt23 - delta);
if (_xt23 < 1){
_xt23 = _cy765;
_aw1125 = (_aw1125 * _gm710);
_nf398 = (_nf398 * _gm710);
if (Math.abs(_aw1125) < 0.001){
_aw1125 = 0;
};
if (Math.abs(_nf398) < 0.001){
_nf398 = 0;
};
if ((((_aw1125 == 0)) && ((_nf398 == 0)))){
_xt23 = 0;
_ei417 = 0;
};
};
};
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_aw1125 = (_aw1125 + (_nn518 * delta));
_nf398 = (_nf398 + (_rw942 * delta));
if (_rv722 > 0){
_rv722 = (_rv722 - delta);
if (_rv722 < 1){
_ei417 = 0;
};
};
} else {
if (_ei417 == 11){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
if (x < _ns714){
x = _ns714;
_aw1125 = -(_aw1125);
} else {
if (x > _bc251){
x = _bc251;
_aw1125 = -(_aw1125);
};
};
if (y < _cx505){
y = _cx505;
_nf398 = -(_nf398);
} else {
if (y > _lp93){
y = _lp93;
_nf398 = -(_nf398);
};
};
} else {
if (_ei417 == 12){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
if (x < _ns714){
x = _bc251;
} else {
if (x > _bc251){
x = _ns714;
};
};
if (y < _cx505){
y = _lp93;
} else {
if (y > _lp93){
y = _cx505;
};
};
} else {
if (_ei417 == 13){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_xt23 = (_xt23 - delta);
if (_xt23 < 1){
_xt23 = _cy765;
_aw1125 = (_aw1125 * _gm710);
_nf398 = (_nf398 * _gm710);
_gm710 = (_gm710 + _ao10);
if (movedata1 == 0){
if (_gm710 > _ll224){
_gm710 = _ll224;
_ao10 = -(_ao10);
movedata1 = 1;
};
} else {
if (_gm710 < _fl412){
_gm710 = _fl412;
};
if (Math.abs(_aw1125) < 0.001){
_aw1125 = 0;
};
if (Math.abs(_nf398) < 0.001){
_nf398 = 0;
};
if ((((_aw1125 == 0)) && ((_nf398 == 0)))){
_ei417 = 0;
};
};
};
} else {
if (_ei417 == 14){
_aw1125 = _nw170._be1108(rotation, _xg264);
_nf398 = _nw170._mf743(rotation, _xg264);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
if (_ei269 == true){
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
};
} else {
if (_ei417 == 15){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
if (x < _ns714){
x = _bc251;
y = _nw170._ry1101._ed1019(_cx505, _lp93);
} else {
if (x > _bc251){
x = _ns714;
y = _nw170._ry1101._ed1019(_cx505, _lp93);
};
};
if (y < _cx505){
y = _lp93;
x = _nw170._ry1101._ed1019(_ns714, _bc251);
} else {
if (y > _lp93){
y = _cx505;
x = _nw170._ry1101._ed1019(_ns714, _bc251);
};
};
} else {
if (_ei417 == 16){
_nj1053 = (_nj1053 + (_mf475 * delta));
x = (movedata1 + (Math.cos(_nj1053) * _ai667));
y = (_tp309 + (Math.sin(_nj1053) * _ai667));
} else {
if (_ei417 == 17){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_nf398 = (_nf398 + (_rw942 * delta));
if (_nf398 > 0){
if (y > movedata1){
y = movedata1;
_ei417 = 0;
};
};
} else {
if (_ei417 == 18){
_id1038 = _nw170._sk871(x, y, _jt966, _lu396);
_aw1125 = _nw170._be1108(_id1038, _tw1057);
_nf398 = _nw170._mf743(_id1038, _tw1057);
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
_tw1057 = (_tw1057 + (_fa405 * delta));
if (_aw1125 > 0){
if (x > _jt966){
x = _jt966;
};
} else {
if (_aw1125 < 0){
if (x < _jt966){
x = _jt966;
};
};
};
if (_nf398 > 0){
if (y > _lu396){
y = _lu396;
};
} else {
if (_nf398 < 0){
if (y < _lu396){
y = _lu396;
};
};
};
if ((((x == _jt966)) && ((y == _lu396)))){
_ei417 = 0;
};
} else {
if (_ei417 == 19){
x = (x + (_aw1125 * delta));
y = (y + (_nf398 * delta));
if (movedata1 != 0){
if (x > target.x){
x = (x - (movedata1 * delta));
if (x < target.x){
x = target.x;
};
} else {
if (x < target.x){
x = (x + (movedata1 * delta));
if (x > target.x){
x = target.x;
};
};
};
};
if (_tp309 != 0){
if (y > target.y){
y = (y - (_tp309 * delta));
if (y < target.y){
y = target.y;
};
} else {
if (y < target.y){
y = (y + (_tp309 * delta));
if (y > target.y){
y = target.y;
};
};
};
};
if (_ei269 == true){
if ((((x < _ns714)) || ((x > _bc251)))){
_tk357 = true;
};
if ((((y < _cx505)) || ((y > _lp93)))){
_tk357 = true;
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
private function _sd589():void{
if (_dh33){
this.scaleY = (this.scaleY + (_vv243 * delta));
switch (_dh33){
case 1:
if (this.scaleY >= _ps796){
this.scaleY = _ps796;
_vv243 = -(_vv243);
} else {
if (this.scaleY <= _fu389){
this.scaleY = _fu389;
_vv243 = -(_vv243);
};
};
break;
case 2:
if (this.scaleY >= _ps796){
this.scaleY = _fu389;
} else {
if (this.scaleY <= _fu389){
this.scaleY = _ps796;
};
};
break;
case 3:
if (this.scaleY >= _ps796){
this.scaleY = _ps796;
_dh33 = 0;
} else {
if (this.scaleY <= _fu389){
this.scaleY = _fu389;
_dh33 = 0;
};
};
break;
case 4:
if (this.scaleY >= _ps796){
this.scaleY = _ps796;
_dh33 = 0;
_tk357 = true;
} else {
if (this.scaleY <= _fu389){
this.scaleY = _fu389;
_dh33 = 0;
_tk357 = true;
};
};
break;
};
};
}
public function _th639(_arg1:Number):void{
_vk729 = _arg1;
}
public function _xm885(_arg1:Number, _arg2:String, _arg3:Number, _arg4:Function=null):void{
if (_arg4 != null){
Tweener.addTween(this, {y:_arg1, time:_arg3, transition:_arg2, onComplete:_arg4});
} else {
Tweener.addTween(this, {y:_arg1, time:_arg3, transition:_arg2});
};
}
private function _gk1072():void{
if (_xl394){
switch (_xl394){
case 1:
this.rotation = (this.rotation + (_wg955 * delta));
if (this.rotation >= _ds565){
this.rotation = _ds565;
_wg955 = -(_wg955);
} else {
if (this.rotation <= _pf326){
this.rotation = _pf326;
_wg955 = -(_wg955);
};
};
break;
case 2:
this.rotation = (this.rotation + (_wg955 * delta));
if (this.rotation >= _ds565){
this.rotation = _pf326;
} else {
if (this.rotation <= _pf326){
this.rotation = _ds565;
};
};
break;
case 3:
this.rotation = (this.rotation + (_wg955 * delta));
if (this.rotation >= _ds565){
this.rotation = _ds565;
_xl394 = 0;
} else {
if (this.rotation <= _pf326){
this.rotation = _pf326;
_xl394 = 0;
};
};
break;
case 4:
this.rotation = (this.rotation + (_wg955 * delta));
if (this.rotation >= _ds565){
this.rotation = _ds565;
_xl394 = 0;
_tk357 = true;
} else {
if (this.rotation <= _pf326){
this.rotation = _pf326;
_xl394 = 0;
_tk357 = true;
};
};
break;
case 5:
_ea891(_vo310, _wg955);
break;
case 6:
_fl912(_pf326, _wg955);
break;
};
};
}
public function _df39(_arg1:Number, _arg2:Number=1):void{
_nx310 = 1;
_kh902 = _arg1;
_ys200 = 0;
_ei877 = 1;
this.alpha = _arg2;
}
public function get scale():Number{
return (_wr760);
}
public function _rd688(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):void{
_aw1125 = _arg1;
_nf398 = _arg2;
_nn518 = _arg3;
_rw942 = _arg4;
_rv722 = _arg5;
_ei417 = 1;
}
public function set _pg104(_arg1:Number):void{
_af177.blurX = _arg1;
if (_arg1 == 0){
this.filters = null;
} else {
_af177.quality = BitmapFilterQuality.LOW;
};
this.filters = _un208;
}
public function Init(_arg1:Object, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean=true, _arg6:uint=0, _arg7:Boolean=true):void{
_fq902 = _arg1;
_tp464 = _arg2;
_rm1183 = new BitmapData(_arg3, _arg4, _arg5, _arg6);
_vo528 = new Bitmap(_rm1183);
_vo528.smoothing = _arg7;
_vo528.x = (-(_vo528.width) / 2);
_vo528.y = (-(_vo528.height) / 2);
this.addChild(_vo528);
this.x = (_rm1183.width / 2);
this.y = (_rm1183.height / 2);
width = _arg3;
height = _arg4;
_af177 = new BlurFilter(0, 0, 1);
_un208 = new Array();
_un208.push(_af177);
this.filters = _un208;
_af177.blurX = 0;
_af177.blurY = 0;
_af177.quality = 0;
this.filters = _un208;
_vk729 = (width / 2);
_nt592 = width;
_ci831 = height;
_al569 = true;
_ns714 = -10000;
_bc251 = 10000;
_cx505 = -10000;
_lp93 = 10000;
this.alpha = 1;
this.scaleX = 1;
this.scaleY = 1;
this.mouseEnabled = false;
_dl641 = 1;
_is966 = 1;
_tg1014 = 1;
_hc625 = 1;
_wr760 = 1;
_fq902.addChild(this);
}
private function _vw841():void{
if (_nx310){
switch (_nx310){
case 1:
this.alpha = (this.alpha + (_kh902 * delta));
if (this.alpha >= _ei877){
this.alpha = _ei877;
_nx310 = 0;
} else {
if ((((this.alpha < _ys200)) || ((this.alpha == _ys200)))){
this.alpha = _ys200;
_nx310 = 0;
_tk357 = true;
};
};
break;
case 2:
if (_up703 > 0){
_up703 = (_up703 - (1 * delta));
if (_up703 < 1){
_up703 = 0;
_df39(-(_kh902));
};
} else {
this.alpha = (this.alpha + (_kh902 * delta));
if (this.alpha >= _ei877){
this.alpha = _ei877;
_up703 = _cm533;
};
};
break;
};
};
}
public function _nw1040(_arg1:Number, _arg2:Number):void{
_nt592 = _arg1;
_ci831 = _arg2;
}
public function _af838():void{
_rm1183.unlock();
}
public function get _fp24():Number{
return (_af177.blurY);
}
private function _va57():void{
if (_fu546){
this.scaleX = (this.scaleX + (_hh165 * delta));
switch (_fu546){
case 1:
if (this.scaleX >= _hn838){
this.scaleX = _hn838;
_hh165 = -(_hh165);
} else {
if (this.scaleX <= _va220){
this.scaleX = _va220;
_hh165 = -(_hh165);
};
};
break;
case 2:
if (this.scaleX >= _hn838){
this.scaleX = _va220;
} else {
if (this.scaleX <= _va220){
this.scaleX = _hn838;
};
};
break;
case 3:
if (this.scaleX >= _hn838){
this.scaleX = _hn838;
_fu546 = 0;
} else {
if (this.scaleX <= _va220){
this.scaleX = _va220;
_fu546 = 0;
};
};
break;
case 4:
if (this.scaleX >= _hn838){
this.scaleX = _hn838;
_fu546 = 0;
_tk357 = true;
} else {
if (this.scaleX <= _va220){
this.scaleX = _va220;
_fu546 = 0;
_tk357 = true;
};
};
break;
};
};
}
public function _lf805(_arg1:Number, _arg2:String, _arg3:Number, _arg4:Function=null):void{
if (_arg4 != null){
Tweener.addTween(this, {_fp24:_arg1, time:_arg3, transition:_arg2, onComplete:_arg4});
} else {
Tweener.addTween(this, {_fp24:_arg1, time:_arg3, transition:_arg2});
};
}
public function _nt598():void{
_vq578 = null;
callback = null;
_nt56 = null;
_pr692 = null;
_vo310 = null;
target = null;
if (_wd867 == true){
this.removeEventListener(MouseEvent.CLICK, _uh965);
this.removeEventListener(MouseEvent.MOUSE_OVER, _qx656);
this.removeEventListener(MouseEvent.MOUSE_OUT, _so694);
};
_uh965 = null;
_qx656 = null;
_so694 = null;
_fq902.removeChild(this);
this.removeChild(_vo528);
_rm1183 = null;
_vo528 = null;
_af177 = null;
_un208 = null;
}
public function _hd992():void{
if (_rh438 == true){
if (_vb343 < _uy1142){
_vb343 = (_vb343 + (_jm102 * delta));
if (_vb343 > _uy1142){
_vb343 = _uy1142;
};
} else {
if (_vb343 > _uy1142){
_vb343 = (_vb343 - (_jm102 * delta));
if (_vb343 < _uy1142){
_vb343 = _uy1142;
};
};
};
if (_qv709 < _cl31){
_qv709 = (_qv709 + (_he805 * delta));
if (_qv709 > _cl31){
_qv709 = _cl31;
};
} else {
if (_qv709 > _cl31){
_qv709 = (_qv709 - (_he805 * delta));
if (_qv709 < _cl31){
_qv709 = _cl31;
};
};
};
if (_le210 < _eo609){
_le210 = (_le210 + (_ur673 * delta));
if (_le210 > _eo609){
_le210 = _eo609;
};
} else {
if (_le210 > _eo609){
_le210 = (_le210 - (_ur673 * delta));
if (_le210 < _eo609){
_le210 = _eo609;
};
};
};
_dl641 = _vb343;
_is966 = _qv709;
_tg1014 = _le210;
if (_vb343 == _uy1142){
if (_qv709 == _cl31){
if (_le210 == _eo609){
_rh438 = false;
};
};
};
};
}
public function _au885(_arg1:_td125, _arg2:Number, _arg3:Number, _arg4:Number):void{
target = _arg1;
_nj1053 = _arg2;
_mf475 = _arg3;
_ai667 = _arg4;
_ei417 = 5;
}
public function _ss184(_arg1:Number, _arg2:Number):void{
_nx310 = 2;
_kh902 = _arg1;
_ys200 = 0;
_ei877 = 1;
this.alpha = 0;
_up703 = 0;
_cm533 = _arg2;
}
public function _fa1074(_arg1:Number=1):void{
delta = _arg1;
if (_kf1155 != 0){
_kf1155 = (_kf1155 - delta);
if (_kf1155 < 1){
_kf1155 = 0;
_al569 = _nb826;
};
} else {
_wm279();
_gk1072();
_ee1122();
_va57();
_sd589();
_vw841();
_hd992();
if (callback != null){
callback(this);
};
};
}
public function get _pg104():Number{
return (_af177.blurX);
}
public function _sh882(_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._xk625(_arg3, _arg4);
this._or1132(_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._wd867 = true;
this._uh965 = _arg6;
this._qx656 = _arg7;
this._so694 = _arg8;
}
public function _hg929(_arg1:Number, _arg2:Number):void{
_xl394 = 6;
_wg955 = _arg2;
_pf326 = _arg1;
}
public function _nm631(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_dh33 = _arg4;
_vv243 = _arg1;
_fu389 = _arg2;
_ps796 = _arg3;
this.scaleY = _arg5;
_fu546 = _arg4;
_hh165 = _arg1;
_va220 = _arg2;
_hn838 = _arg3;
this.scaleX = _arg5;
}
}
}//package classes
Section 25
//_tf863 (classes._tf863)
package classes {
public class _tf863 {
public var _ml668:Number;// = 0
public var Text:String;
public var _pr134:Number;// = 0
public var _ea486:Boolean;
public var _ik962:Boolean;
public var _lc146:Number;// = 0
public var _ss15:int;
public var _rl619:Number;// = 0
public var _ci1185:Number;// = 0
public var _kp185:Number;// = 0
public var _fl486:Number;// = 0
public var _nx1034:Number;// = 0
public var State:int;
public var _qp342:Number;// = 0
public var _aw162:int;// = 0
public var _rl1089:Number;// = 0
public var _sg970:Number;// = 0
public function _nt598():void{
Text = null;
_ik962 = true;
}
}
}//package classes
Section 26
//_ts31 (classes._ts31)
package classes {
import flash.media.*;
import flash.utils.*;
public class _ts31 {
private static var _lf86:Boolean;
private static var _kg778:Dictionary;
public static function _yl379(_arg1:Boolean):void{
_lf86 = _arg1;
}
public static function _gx840(_arg1:String, _arg2:Sound, _arg3:Number=0, _arg4:int=0):_up85{
var _local5:_up85 = new _up85();
_local5._gx840(_arg2, _arg3, _arg4);
_kg778[_arg1] = _local5;
return (_local5);
}
public static function _bk303():void{
var _local1:_up85;
for each (_local1 in _kg778) {
_local1._ui1135();
};
_vq495();
}
public static function _wh936(_arg1:String, _arg2:Number):void{
var _local3:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<QKIWsyrhw> Wix Zspyqi: ", 4) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local3 = _kg778[_arg1];
_local3._cn38 = _arg2;
}
public static function _kp870(_arg1:String, _arg2:Number):void{
var _local3:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<OIGUqwpfu> Ugv Rcp: ", 2) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2))));
};
_local3 = _kg778[_arg1];
_local3._by1110 = _arg2;
}
public static function _bd374(_arg1:String):Number{
var _local2:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<PJHVrxqgv> Jhw Sdq: ", 3) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local2 = _kg778[_arg1];
return (_local2._by1110);
}
public static function Init():void{
_kg778 = new Dictionary();
_lf86 = true;
}
public static function _be773(_arg1:String):void{
var _local2:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<RLJXtzsix> Uqfd Xtzsi: ", 5) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local2 = _kg778[_arg1];
if (_lf86 == true){
_local2._be773();
};
}
public static function _un171():void{
var _local1:_up85;
for each (_local1 in _kg778) {
if (_local1._cl159 > 0){
_local1._cl159 = (_local1._cl159 - _rm505._ec286);
if (_local1._cl159 < 1){
_local1._cl159 = 0;
};
} else {
if (_local1._gh1093 == true){
_local1._gh1093 = false;
if (_lf86 == true){
_local1._be773();
_local1._cl159 = _local1._cg226;
};
};
};
};
}
public static function _ui1135(_arg1:String):void{
var _local2:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<NHFTpvoet> Tupq Tpvoe: ", 1) + _arg1) + irrcrpt(" bfx sty ktzsi!", 5))));
};
_local2 = _kg778[_arg1];
_local2._ui1135();
}
public static function _vq495():void{
var _local1:_up85;
for each (_local1 in _kg778) {
_local1._gh1093 = false;
_local1._cl159 = 0;
_local1._cg226 = 0;
};
}
public static function _ga331(_arg1:String):Number{
var _local2:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<OIGUqwpfu> Igv Xqnwog: ", 2) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local2 = _kg778[_arg1];
return (_local2._cn38);
}
public static function _nd474():Boolean{
return (_lf86);
}
public static function _na31(_arg1:String, _arg2:Number=0):void{
var _local3:_up85;
if (_kg778[_arg1] == null){
throw (new Error(((irrcrpt("<OIGUqwpfu> Ewg: ", 2) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local3 = _kg778[_arg1];
if (_local3._cl159 == 0){
_local3._gh1093 = true;
_local3._cg226 = _arg2;
};
}
}
}//package classes
Section 27
//_up85 (classes._up85)
package classes {
import flash.events.*;
import flash.media.*;
import caurina.transitions.*;
public class _up85 {
public var _gh1093:Boolean;
public var _ds122:Sound;
public var _cl159:Number;// = 0
public var _cg226:Number;// = 0
public var _ih512:SoundChannel;
public var _ec723:int;
public var _yj730:Function;
public var _nw211:Number;// = 0
public var _xv244:SoundTransform;
public function _up85(){
_ih512 = new SoundChannel();
_xv244 = new SoundTransform(1, 0);
}
public function set _by1110(_arg1:Number):void{
_xv244.pan = _arg1;
_ih512.soundTransform = _xv244;
}
public function get _by1110():Number{
return (_xv244.pan);
}
public function _ti110(_arg1:Function):void{
_yj730 = _arg1;
_ih512.addEventListener(Event.SOUND_COMPLETE, _yj730);
}
public function _fj391(_arg1:Number=1):void{
_cn38 = 0;
_be773();
Tweener.addTween(this, {_cn38:1, time:_arg1, transition:irrcrpt("qnsjfw", 5)});
}
public function _nt598():void{
_ui1135();
_ds122 = null;
_ih512 = null;
_xv244 = null;
}
public function set _cn38(_arg1:Number):void{
if (_arg1 < 0){
_arg1 = 0;
};
_xv244.volume = _arg1;
_ih512.soundTransform = _xv244;
}
public function set _kl184(_arg1:Number):void{
_nw211 = _arg1;
}
public function _kv362():void{
_ih512.removeEventListener(Event.SOUND_COMPLETE, _yj730);
_yj730 = null;
}
public function _ap864(_arg1:Number=1):void{
Tweener.addTween(this, {_cn38:0, time:_arg1, transition:irrcrpt("pmriev", 4), onComplete:_ui1135});
}
public function _gx840(_arg1:Sound, _arg2:Number, _arg3:int):void{
_ds122 = _arg1;
_nw211 = _arg2;
_ec723 = _arg3;
}
public function get _kl184():Number{
return (_nw211);
}
public function get _cn38():Number{
return (_xv244.volume);
}
public function _be773():void{
_ih512 = _ds122.play(_nw211, _ec723, _xv244);
}
public function _ui1135():void{
_ih512.stop();
}
}
}//package classes
Section 28
//_wl744 (classes._wl744)
package classes {
public class _wl744 {
public var _bs1002:Function;
public var _vr1119:int;
public var _pm561:Number;// = 0
public var _cf803:Number;// = 0
public var _fe308:Number;// = 0
}
}//package classes
Section 29
//_wu1079 (classes._wu1079)
package classes {
import flash.utils.*;
public class _wu1079 {
private static var _xl989:int;
private static var _dj1106:int;
private static var _bu560:int;
public static function _gy656():void{
_xl989 = getTimer();
_dj1106 = 0;
_bu560 = 0;
}
public static function _xt222():int{
_dj1106++;
if ((getTimer() - _xl989) > 1000){
_xl989 = getTimer();
_bu560 = _dj1106;
_dj1106 = 0;
};
return (_bu560);
}
}
}//package classes
Section 30
//_xe1184 (classes._xe1184)
package classes {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.ui.*;
import flash.utils.*;
public class _xe1184 extends Sprite {
public static var _nr838:Boolean;
private static var _ev472:Array = [];
private static var _ln539:Array = [];
public static var _sb887:Boolean;
private static var _yd336:Array = [];
public static var _ym363:int;
private static var _pj10:Array = [];
private static function _dq100(_arg1:KeyboardEvent):void{
_pj10[_arg1.keyCode] = false;
_ev472[_arg1.keyCode] = false;
_ln539[_arg1.keyCode] = true;
_ym363 = _arg1.keyCode;
}
public static function _qw236(_arg1:int):void{
_pj10[_arg1] = false;
_ev472[_arg1] = false;
_ln539[_arg1] = false;
_ym363 = 0;
}
private static function _eu1098(_arg1:MouseEvent):void{
_nr838 = false;
_sb887 = false;
}
private static function _eh353(_arg1:KeyboardEvent):void{
_pj10[_arg1.keyCode] = true;
_ev472[_arg1.keyCode] = true;
_ln539[_arg1.keyCode] = false;
trace((irrcrpt("Mga: ", 2) + _arg1.keyCode));
}
public static function Init(_arg1:Stage):void{
_arg1.addEventListener(MouseEvent.MOUSE_DOWN, _ba220);
_arg1.addEventListener(MouseEvent.MOUSE_UP, _eu1098);
_arg1.addEventListener(KeyboardEvent.KEY_DOWN, _eh353);
_arg1.addEventListener(KeyboardEvent.KEY_UP, _dq100);
}
private static function _ba220(_arg1:MouseEvent):void{
_nr838 = true;
_sb887 = true;
}
public static function _sh284():void{
var _local1:int;
_local1 = 0;
while (_local1 < 0x0100) {
_pj10[_local1] = false;
_ln539[_local1] = false;
_ev472[_local1] = false;
_yd336[_local1] = false;
_local1++;
};
_ym363 = 0;
}
}
}//package classes
Section 31
//_xj525 (classes._xj525)
package classes {
public class _xj525 {
public var _ab761:uint;
public function _xj525(){
_ab761 = 1;
}
public function _ed1019(_arg1:Number, _arg2:Number):Number{
return ((_arg1 + ((_arg2 - _arg1) * _dg609())));
}
public function _at811(_arg1:Number, _arg2:Number):uint{
_arg1 = (_arg1 - 0.4999);
_arg2 = (_arg2 + 0.4999);
return (Math.round((_arg1 + ((_arg2 - _arg1) * _dg609()))));
}
public function _bw712():uint{
return (_qq490());
}
private function _qq490():uint{
return ((_ab761 = ((_ab761 * 16807) % 2147483647)));
}
public function _dg609():Number{
return ((_qq490() / 2147483647));
}
}
}//package classes
Section 32
//_ai598 (com.flashdynamix.utils._ai598)
package com.flashdynamix.utils {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.ui.*;
import flash.utils.*;
import flash.system.*;
public class _ai598 {
public static var _vm475:Array = [];
public static var _is41:int = 60;
public static var _dt1043:Array = [];
public static var _lt312:Number;
private static var _tv259:int;
public static var _sq70:Number;
private static var _ss865:int;
public static var _ku806:Number;
private static var _nv41:Boolean = false;
private static var _cu139:int;
private static var _xc623:int;
private static var _kf905:int;
private static var _ya178:Boolean = false;
private static var _gn356:ContextMenuItem;
public static var _hk67:Number;
private static var _yc764:Boolean = false;
private static var frame:Sprite;
private static var content:_lb512;
private static var stage:Stage;
private static function _jp425(_arg1:EventDispatcher, _arg2:String, _arg3:Function):void{
_arg1.removeEventListener(_arg2, _arg3);
}
public static function stop():void{
if (!_nv41){
return;
};
_nv41 = false;
_jp425(frame, Event.ENTER_FRAME, draw);
}
public static function init(_arg1:Stage, _arg2:InteractiveObject):void{
if (_ya178){
return;
};
_ya178 = true;
stage = _arg1;
content = new _lb512();
frame = new Sprite();
_sq70 = Number.MAX_VALUE;
_lt312 = Number.MIN_VALUE;
_hk67 = Number.MAX_VALUE;
_ku806 = Number.MIN_VALUE;
var _local3:ContextMenu = new ContextMenu();
_local3.hideBuiltInItems();
_gn356 = new ContextMenuItem(irrcrpt("Ujqy Rtqhkngt", 2), true);
_dj1146(_gn356, ContextMenuEvent.MENU_ITEM_SELECT, _cy1041);
_local3.customItems = [_gn356];
_arg2.contextMenu = _local3;
start();
}
private static function _fq561(_arg1:Event):void{
content.update(_ok997, _sq70, _lt312, _hk67, _ku806, _qy358, _ql104, _gp205, _dt1043, _vm475, _is41);
}
public static function get _gp205():Number{
return ((_tv259 / _ok997));
}
private static function _jg233():void{
_je1086();
content.update(_ok997, _sq70, _lt312, _hk67, _ku806, _qy358, _ql104, _gp205, _dt1043, _vm475, _is41);
}
private static function _je1086():void{
_sq70 = Math.min(_qy358, _sq70);
_lt312 = Math.max(_qy358, _lt312);
_hk67 = Math.min(_ql104, _hk67);
_ku806 = Math.max(_ql104, _ku806);
}
private static function get _tl1145():Number{
return (((_kf905 - _ss865) / 1000));
}
private static function get _ok997():Number{
return (((_kf905 - _cu139) / 1000));
}
private static function hide():void{
_gn356.caption = irrcrpt("Tipx Qspgjmfs", 1);
_yc764 = false;
_jp425(stage, Event.RESIZE, _fq561);
stage.removeChild(content);
}
private static function _dj1146(_arg1:EventDispatcher, _arg2:String, _arg3:Function):void{
_arg1.addEventListener(_arg2, _arg3, false, 0, true);
}
private static function draw(_arg1:Event):void{
_kf905 = getTimer();
_xc623++;
_tv259++;
if (_tl1145 >= 1){
if (_yc764){
_jg233();
} else {
_je1086();
};
_dt1043.unshift(_qy358);
_vm475.unshift(_ql104);
if (_dt1043.length > _is41){
_dt1043.pop();
};
if (_vm475.length > _is41){
_vm475.pop();
};
_ss865 = _kf905;
_xc623 = 0;
};
}
public static function gc():void{
try {
new LocalConnection().connect(irrcrpt("irr", 3));
new LocalConnection().connect(irrcrpt("hqq", 2));
} catch(e:Error) {
};
}
public static function start():void{
if (_nv41){
return;
};
_nv41 = true;
_cu139 = (_ss865 = getTimer());
_tv259 = (_xc623 = 0);
_dj1146(frame, Event.ENTER_FRAME, draw);
}
public static function get _qy358():Number{
return ((_xc623 / _tl1145));
}
private static function _cy1041(_arg1:ContextMenuEvent):void{
if (!_yc764){
show();
} else {
hide();
};
}
public static function get _ql104():Number{
return (((System.totalMemory / 0x0400) / 1000));
}
private static function show():void{
_gn356.caption = irrcrpt("Lmhi Tvsjmpiv", 4);
_yc764 = true;
_dj1146(stage, Event.RESIZE, _fq561);
stage.addChild(content);
_jg233();
}
}
}//package com.flashdynamix.utils
import flash.events.*;
import flash.display.*;
import flash.text.*;
class _lb512 extends Sprite {
private var _yn237:TextField;
private var _wn1018:Shape;
private var _ks262:TextField;
private var fps:Shape;
private var _uy481:Shape;
private var _xx173:TextField;
private var _mj490:TextField;
private var _ee386:TextField;
private function _lb512():void{
fps = new Shape();
_wn1018 = new Shape();
_uy481 = new Shape();
this.mouseChildren = false;
this.mouseEnabled = false;
fps.x = 65;
fps.y = 45;
_wn1018.x = 65;
_wn1018.y = 90;
var _local1:TextFormat = new TextFormat(irrcrpt("_ucpu", 2), 9, 0xAAAAAA);
_yn237 = new TextField();
_yn237.autoSize = TextFieldAutoSize.LEFT;
_yn237.defaultTextFormat = new TextFormat(irrcrpt("_werw", 4), 11, 0xCCCCCC);
_yn237.y = 98;
_ee386 = new TextField();
_ee386.autoSize = TextFieldAutoSize.LEFT;
_ee386.defaultTextFormat = _local1;
_ee386.x = 7;
_ee386.y = 37;
_mj490 = new TextField();
_mj490.autoSize = TextFieldAutoSize.LEFT;
_mj490.defaultTextFormat = _local1;
_mj490.x = 7;
_mj490.y = 5;
_ks262 = new TextField();
_ks262.autoSize = TextFieldAutoSize.LEFT;
_ks262.defaultTextFormat = _local1;
_ks262.x = 7;
_ks262.y = 83;
_xx173 = new TextField();
_xx173.autoSize = TextFieldAutoSize.LEFT;
_xx173.defaultTextFormat = _local1;
_xx173.x = 7;
_xx173.y = 50;
addChild(_uy481);
addChild(_yn237);
addChild(_ee386);
addChild(_mj490);
addChild(_ks262);
addChild(_xx173);
addChild(fps);
addChild(_wn1018);
this.addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
this.addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
}
private function added(_arg1:Event):void{
_fq561();
stage.addEventListener(Event.RESIZE, _fq561, false, 0, true);
}
private function _fq561(_arg1:Event=null):void{
var _local2:Graphics = _uy481.graphics;
_local2.clear();
_local2.beginFill(0, 0.5);
_local2.drawRect(0, 0, stage.stageWidth, 120);
_local2.lineStyle(1, 0xFFFFFF, 0.2);
_local2.moveTo(65, 45);
_local2.lineTo(65, 10);
_local2.moveTo(65, 45);
_local2.lineTo((stage.stageWidth - 15), 45);
_local2.moveTo(65, 90);
_local2.lineTo(65, 55);
_local2.moveTo(65, 90);
_local2.lineTo((stage.stageWidth - 15), 90);
_local2.endFill();
_yn237.x = ((stage.stageWidth - _yn237.width) - 20);
}
private function removed(_arg1:Event):void{
stage.removeEventListener(Event.RESIZE, _fq561);
}
public function update(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Array, _arg10:Array, _arg11:int):void{
var _local19:Number;
if (_arg1 >= 1){
_ee386.text = (_arg2.toFixed(3) + irrcrpt(" Jtw", 4));
_mj490.text = (_arg3.toFixed(3) + irrcrpt(" Jtw", 4));
_ks262.text = (_arg4.toFixed(3) + irrcrpt(" Od", 2));
_xx173.text = (_arg5.toFixed(3) + irrcrpt(" Rg", 5));
};
_yn237.text = ((((((irrcrpt("Ewttgpv Hru ", 2) + _arg6.toFixed(3)) + irrcrpt(" | Cxgtcig Hru ", 2)) + _arg8.toFixed(3)) + irrcrpt(" | Nfnpsz Vtfe ", 1)) + _arg7.toFixed(3)) + irrcrpt(" Nc", 1));
_yn237.x = ((stage.stageWidth - _yn237.width) - 20);
var _local12:Graphics = fps.graphics;
_local12.clear();
_local12.lineStyle(1, 0x33FF00, 0.7);
var _local13:int;
var _local14:int = _arg9.length;
var _local15 = 35;
var _local16:int = (stage.stageWidth - 80);
var _local17:Number = (_local16 / (_arg11 - 1));
var _local18:Number = (_arg3 - _arg2);
_local13 = 0;
while (_local13 < _local14) {
_local19 = ((_arg9[_local13] - _arg2) / _local18);
if (_local13 == 0){
_local12.moveTo(0, (-(_local19) * _local15));
} else {
_local12.lineTo((_local13 * _local17), (-(_local19) * _local15));
};
_local13++;
};
_local12 = _wn1018.graphics;
_local12.clear();
_local12.lineStyle(1, 26367, 0.7);
_local13 = 0;
_local14 = _arg10.length;
_local18 = (_arg5 - _arg4);
_local13 = 0;
while (_local13 < _local14) {
_local19 = ((_arg10[_local13] - _arg4) / _local18);
if (_local13 == 0){
_local12.moveTo(0, (-(_local19) * _local15));
} else {
_local12.lineTo((_local13 * _local17), (-(_local19) * _local15));
};
_local13++;
};
}
}
Section 33
//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 34
//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 ("_rm505");
}
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 35
//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 36
//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 37
//MochiMedia (mochi.MochiMedia)
package mochi {
import flash.events.*;
import flash.display.*;
public class MochiMedia {
public static var mochiadsmc:MovieClip = new MovieClip();
public static var ShowScoresDone:Boolean;
public static var Parent:Object;
public static var SubmitScoreDone:Boolean;
public static var mochiconnecterror:Boolean;
public static var mochiconnect:MovieClip = new MovieClip();
public static var CallWhenMochiScoresDone:Function;
public static var MochiIDString:String = "";
public static var mochileaderboard:MovieClip = new MovieClip();
public static var mochiboardID:String = "";
public static function CloseMochiScores(_arg1:String=null):void{
Parent.removeChild(mochileaderboard);
ShowScoresDone = true;
CallWhenMochiScoresDone();
}
public static function SubmitMochiScore(_arg1:Number, _arg2:Function, _arg3:String=null):void{
var _local4:String = mochiboardID;
if (_arg3 != null){
_local4 = _arg3;
};
CallWhenMochiScoresDone = _arg2;
SubmitScoreDone = false;
if (mochiconnecterror == false){
Parent.addChild(mochileaderboard);
MochiScores.showLeaderboard({boardID:_local4, clip:mochileaderboard, score:_arg1, onClose:CloseMochiScoreSubmit});
} else {
SubmitScoreDone = true;
CallWhenMochiScoresDone();
};
}
public static function SetDefaultLeaderBoardID(_arg1:String):void{
mochiboardID = _arg1;
}
public static function ShowMochiScores(_arg1:Function, _arg2:String=null):void{
var _local3:String = mochiboardID;
if (_arg2 != null){
_local3 = _arg2;
};
CallWhenMochiScoresDone = _arg1;
ShowScoresDone = false;
if (mochiconnecterror == false){
Parent.addChild(mochileaderboard);
MochiScores.showLeaderboard({boardID:_local3, clip:mochileaderboard, onClose:CloseMochiScores, onError:CloseMochiScores});
} else {
ShowScoresDone = true;
CallWhenMochiScoresDone();
};
}
public static function CloseMochiScoreSubmit():void{
Parent.removeChild(mochileaderboard);
SubmitScoreDone = true;
CallWhenMochiScoresDone();
}
public static function MochiServicesConnect(_arg1:Object, _arg2:String):void{
MochiIDString = _arg2;
Parent = _arg1;
mochiconnecterror = false;
Parent.addChild(mochiconnect);
MochiServices.connect(MochiIDString, mochiconnect, MochiServicesConnectError);
}
public static function Init():void{
}
public static function MochiServicesConnectError(_arg1:String):void{
mochiconnecterror = true;
}
}
}//package mochi
Section 38
//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 39
//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 40
//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 41
//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 42
//IFlexAsset (mx.core.IFlexAsset)
package mx.core {
public interface IFlexAsset {
}
}//package mx.core
Section 43
//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 44
//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 45
//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 46
//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 47
//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 48
//_ao876 (_ao876)
package {
import flash.display.*;
import flash.media.*;
public class _ao876 {
private static var _pc1092:Class = _ao876__pc1092;
private static var _ad870:Class = _ao876__ad870;
public static var _ko620:BitmapData = new _ia936().bitmapData;
public static var _lj656:BitmapData = new _sv878().bitmapData;
private static var _rg1078:Class = _ao876__rg1078;
private static var _tq848:Class = _ao876__tq848;
private static var _qn938:Class = _ao876__qn938;
private static var background:Class = _ao876_background;
public static var _cd367:BitmapData = new _xf992().bitmapData;
private static var _bb544:Class = _ao876__bb544;
private static var _ha175:Class = _ao876__ha175;
private static var _ia936:Class = _ao876__ia936;
public static var _fl1121:BitmapData = new _ug815().bitmapData;
public static var _gm344:BitmapData = new _im434().bitmapData;
private static var low:Class = _ao876_low;
private static var title:Class = _ao876_title;
public static var _tf192:BitmapData = new background().bitmapData;
private static var start:Class = _ao876_start;
private static var _ld850:Class = _ao876__ld850;
private static var _xf992:Class = _ao876__xf992;
public static var _is1051:BitmapData = new _ke1187().bitmapData;
public static var _oq155:BitmapData = new _fu208().bitmapData;
public static var _yd938:BitmapData = new _qn938().bitmapData;
public static var _hp708:BitmapData = new _no30().bitmapData;
public static var _kl949:BitmapData = new title().bitmapData;
private static var _vu952:Class = _ao876__vu952;
public static var _vg850:BitmapData = new _sg432().bitmapData;
private static var _ug815:Class = _ao876__ug815;
private static var _fu208:Class = _ao876__fu208;
public static var _jh550:BitmapData = new _kg1109().bitmapData;
private static var _ao1118:Class = _ao876__ao1118;
public static var _dc941:BitmapData = new low().bitmapData;
private static var _ke1187:Class = _ao876__ke1187;
private static var high:Class = _ao876_high;
private static var _iu130:Class = _ao876__iu130;
private static var _kg1109:Class = _ao876__kg1109;
public static var _yl676:BitmapData = new _md322().bitmapData;
public static var _yh48:BitmapData = new _ao1118().bitmapData;
public static var _eb540:BitmapData = new _vu952().bitmapData;
public static var _ky330:BitmapData = new _rg1078().bitmapData;
public static var _la1145:BitmapData = new _ha175().bitmapData;
private static var _md322:Class = _ao876__md322;
private static var _sg432:Class = _ao876__sg432;
public static var _kj1159:BitmapData = new start().bitmapData;
private static var _no30:Class = _ao876__no30;
public static var _kd965:BitmapData = new _ad870().bitmapData;
public static var _om811:BitmapData = new _bb544().bitmapData;
public static var _ch813:BitmapData = new high().bitmapData;
private static var _sv878:Class = _ao876__sv878;
public static var _nc607:BitmapData = new _iu130().bitmapData;
public static var _ot861:BitmapData = new _ld850().bitmapData;
private static var _im434:Class = _ao876__im434;
public static var _rm50:BitmapData = new _pc1092().bitmapData;
public static var _so336:BitmapData = new _tq848().bitmapData;
}
}//package
Section 49
//_ao876__ad870 (_ao876__ad870)
package {
import mx.core.*;
public class _ao876__ad870 extends BitmapAsset {
}
}//package
Section 50
//_ao876__ao1118 (_ao876__ao1118)
package {
import mx.core.*;
public class _ao876__ao1118 extends BitmapAsset {
}
}//package
Section 51
//_ao876__bb544 (_ao876__bb544)
package {
import mx.core.*;
public class _ao876__bb544 extends BitmapAsset {
}
}//package
Section 52
//_ao876__fu208 (_ao876__fu208)
package {
import mx.core.*;
public class _ao876__fu208 extends BitmapAsset {
}
}//package
Section 53
//_ao876__ha175 (_ao876__ha175)
package {
import mx.core.*;
public class _ao876__ha175 extends BitmapAsset {
}
}//package
Section 54
//_ao876__ia936 (_ao876__ia936)
package {
import mx.core.*;
public class _ao876__ia936 extends BitmapAsset {
}
}//package
Section 55
//_ao876__im434 (_ao876__im434)
package {
import mx.core.*;
public class _ao876__im434 extends BitmapAsset {
}
}//package
Section 56
//_ao876__iu130 (_ao876__iu130)
package {
import mx.core.*;
public class _ao876__iu130 extends BitmapAsset {
}
}//package
Section 57
//_ao876__ke1187 (_ao876__ke1187)
package {
import mx.core.*;
public class _ao876__ke1187 extends BitmapAsset {
}
}//package
Section 58
//_ao876__kg1109 (_ao876__kg1109)
package {
import mx.core.*;
public class _ao876__kg1109 extends BitmapAsset {
}
}//package
Section 59
//_ao876__ld850 (_ao876__ld850)
package {
import mx.core.*;
public class _ao876__ld850 extends BitmapAsset {
}
}//package
Section 60
//_ao876__md322 (_ao876__md322)
package {
import mx.core.*;
public class _ao876__md322 extends BitmapAsset {
}
}//package
Section 61
//_ao876__no30 (_ao876__no30)
package {
import mx.core.*;
public class _ao876__no30 extends BitmapAsset {
}
}//package
Section 62
//_ao876__pc1092 (_ao876__pc1092)
package {
import mx.core.*;
public class _ao876__pc1092 extends BitmapAsset {
}
}//package
Section 63
//_ao876__qn938 (_ao876__qn938)
package {
import mx.core.*;
public class _ao876__qn938 extends BitmapAsset {
}
}//package
Section 64
//_ao876__rg1078 (_ao876__rg1078)
package {
import mx.core.*;
public class _ao876__rg1078 extends BitmapAsset {
}
}//package
Section 65
//_ao876__sg432 (_ao876__sg432)
package {
import mx.core.*;
public class _ao876__sg432 extends BitmapAsset {
}
}//package
Section 66
//_ao876__sv878 (_ao876__sv878)
package {
import mx.core.*;
public class _ao876__sv878 extends BitmapAsset {
}
}//package
Section 67
//_ao876__tq848 (_ao876__tq848)
package {
import mx.core.*;
public class _ao876__tq848 extends BitmapAsset {
}
}//package
Section 68
//_ao876__ug815 (_ao876__ug815)
package {
import mx.core.*;
public class _ao876__ug815 extends BitmapAsset {
}
}//package
Section 69
//_ao876__vu952 (_ao876__vu952)
package {
import mx.core.*;
public class _ao876__vu952 extends BitmapAsset {
}
}//package
Section 70
//_ao876__xf992 (_ao876__xf992)
package {
import mx.core.*;
public class _ao876__xf992 extends BitmapAsset {
}
}//package
Section 71
//_ao876_background (_ao876_background)
package {
import mx.core.*;
public class _ao876_background extends BitmapAsset {
}
}//package
Section 72
//_ao876_high (_ao876_high)
package {
import mx.core.*;
public class _ao876_high extends BitmapAsset {
}
}//package
Section 73
//_ao876_low (_ao876_low)
package {
import mx.core.*;
public class _ao876_low extends BitmapAsset {
}
}//package
Section 74
//_ao876_start (_ao876_start)
package {
import mx.core.*;
public class _ao876_start extends BitmapAsset {
}
}//package
Section 75
//_ao876_title (_ao876_title)
package {
import mx.core.*;
public class _ao876_title extends BitmapAsset {
}
}//package
Section 76
//_cl895 (_cl895)
package {
import flash.events.*;
import flash.display.*;
import classes.*;
import flash.geom.*;
import flash.net.*;
import mochi.*;
import flash.ui.*;
import flash.utils.*;
import caurina.transitions.*;
import flash.filters.*;
public class _cl895 {
public static var _na312:_mm644;
public static var _na955:Boolean;
public static var _gt158:Number = 0;
public static var _bx916:Boolean = false;
public static var _mk299:_qr181;
public static var _sn450:Number = 0;
public static var _mj412:BitmapData;
public static var _uu520:_ai813 = new _ai813();
public static var _kt1065:Number = 0.0174532925199433;
public static var _sg868:_ai813 = new _ai813();
public static var _ix409:Boolean = false;
public static var _uv980:_mx922 = new _mx922();
public static var _ba493:Number = 0.0174532925199433;
public static var _ji733:Point;
public static var _yd673:Boolean;
public static var _nl1009:_td125;
private static var Parent:Sprite;
public static var _cx1157:Number;
public static var _bf957:_td125;
public static var _ul496:Number = 57.2957795130823;
public static var _lh778:_td125;
public static var _em355:_ai813 = new _ai813();
public static var _be153:Number;
public static var _iv967:_ai813 = new _ai813();
public static var _pn635:Number = 0;
public static var _cc136:Function;
public static var _de797:_mm644;
private static function _jy514():void{
_mk299._do1053();
_xl1098._se879();
}
public static function _ol197(_arg1:Event):void{
}
public static function _fa1074():void{
_mk299._yo1112.lock();
if (_gt158 > 0){
_mk299._xk625((_sn450 + _nw170._im141(-6, 6)), (_pn635 + _nw170._im141(-6, 6)));
_gt158 = (_gt158 - _rm505._ec286);
if (_gt158 < 1){
_gt158 = 0;
_mk299._xk625(_sn450, _pn635);
};
};
_mk299._or1132(_ao876._tf192);
_iv967._sw802(_rm505._ec286);
_em355._sw802(_rm505._ec286);
_uu520._sw802(_rm505._ec286);
_sg868._sw802(_rm505._ec286);
_mx424._bm468._gb204(_mk299._yo1112, _rm505._ja580, 300, 27);
_go198();
if (_xe1184._ym363 > 0){
if (_xe1184._ym363 == 27){
_og601();
};
_xe1184._qw236(_xe1184._ym363);
};
_mk299._yo1112.unlock();
}
public static function _se879():void{
_mk299._or1132(_ao876._tf192);
_uv980._gy656();
_rm505._jl1158._vi243();
_xe1184._sh284();
_nw170._ry1101._ab761 = _nw170._ry1101._at811(100, 100000);
if (_rm505._fc359 == false){
_rm505._ia1042 = _rm505._uv1176;
} else {
_gt158 = 0;
_mk299._xk625(_sn450, _pn635);
_mk299._ng406._sa937();
_sa937();
_mx42();
_mk299._do1053();
_rm505._ek814(_mk299.Parent);
_rm505._ia1042 = _fa1074;
_rm505._pw151 = -1;
_xq338();
_mk299._fj391(0.5, _xq338);
_gn776._wh936(irrcrpt("xvego5", 4), 1);
_gn776._be773(irrcrpt("usbdl2", 1));
};
}
public static function _dx58(_arg1:_mm644):void{
_nw170._rm1097(_arg1._wm1044, _arg1.x, (_arg1.y + 8), _mk299._yo1112, 0.25, _arg1._dv523, _arg1._cc1022, _arg1.rotation, 0, 0, 0, 0, 0, null, false);
}
public static function _fi1151(_arg1:_mm644):void{
}
public static function _vv777(_arg1:_mm644):void{
var _local2:int = (int(_arg1.x) + 300);
var _local3:int = (int(_arg1.y) + 300);
_rm505._nu765.draw(_mk299._yo1112, (((irrcrpt("Tsw:", 4) + _local2) + "/") + _local3), _arg1.x, (_arg1.y + 50), _kd270.CENTER);
}
public static function _wm582(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0.015):void{
var _local6:BitmapData = _oo1059._gj653[0];
_de797 = _uu520._nm1044(_local6, _mk299._yo1112, 0, 0);
_de797._xk625((_arg1 + (18 * _arg4)), (_arg2 - (76 * _arg4)));
_de797._cp1165(_oo1059._gj653, _arg5, 20, 2);
_de797._aw21 = false;
_de797._df39(0.001, 0, 0, 1);
_de797.scale = _arg4;
}
public static function _es545():void{
_rm505._pw151 = 0;
_rm505._kg1115 = 300000;
_rm505._fh38 = 1;
}
public static function _go198():void{
if (_rm505._pw151 == 0){
_rm505._kg1115 = (_rm505._kg1115 - _rm505._ec286);
if (_rm505._kg1115 < 1){
_rm505._kg1115 = 0;
_rm505._pw151 = _rm505._fh38;
};
} else {
if (_rm505._pw151 == 1){
_mc660();
} else {
if (_rm505._pw151 == 2){
} else {
if (_rm505._pw151 == 3){
} else {
if (_rm505._pw151 == 4){
_mc660();
_rm505._kg1115 = (_rm505._kg1115 - _rm505._ec286);
if (_yd673 == false){
if (_rm505._kg1115 < 3000){
_yt92();
};
};
if (_rm505._kg1115 < 1){
_rm505._kg1115 = 0;
_rm505._pw151 = 5;
_kn235();
};
} else {
if (_rm505._pw151 == 5){
};
};
};
};
};
};
}
public static function _jt840(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Number, _arg10:Number):Boolean{
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:Number;
var _local28:Number;
var _local29:Number;
var _local30:Number;
var _local31:Number;
var _local32:Number;
var _local33:Number;
var _local34:Number;
var _local11:Number = (_arg5 * _kt1065);
var _local12:Number = (_arg10 * _kt1065);
var _local23:Number = (_local11 - _local12);
var _local24:Number = Math.cos(_local23);
var _local25:Number = Math.sin(_local23);
var _local26:Number = Math.cos(_local12);
var _local27:Number = Math.sin(_local12);
_arg3 = (_arg3 * 0.5);
_arg4 = (_arg4 * 0.5);
_arg8 = (_arg8 * 0.5);
_arg9 = (_arg9 * 0.5);
_local28 = (_arg6 - _arg1);
_local18 = (_arg7 - _arg2);
_local21 = ((_local28 * _local26) + (_local18 * _local27));
_local19 = _local21;
_local22 = ((-(_local28) * _local27) + (_local18 * _local26));
_local20 = _local22;
_local19 = (_local19 - _arg8);
_local20 = (_local20 - _arg9);
_local21 = (_local21 + _arg8);
_local22 = (_local22 + _arg9);
_local13 = (-(_arg4) * _local25);
_local15 = _local13;
_local28 = (_arg3 * _local24);
_local13 = (_local13 + _local28);
_local15 = (_local15 - _local28);
_local14 = (_arg4 * _local24);
_local16 = _local14;
_local28 = (_arg3 * _local25);
_local14 = (_local14 + _local28);
_local16 = (_local16 - _local28);
_local28 = (_local25 * _local24);
if (_local28 < 0){
_local29 = _local13;
_local13 = _local15;
_local15 = _local29;
_local29 = _local14;
_local14 = _local16;
_local16 = _local29;
};
if (_local25 < 0){
_local15 = -(_local15);
_local16 = -(_local16);
};
if ((((_local15 > _local21)) || ((_local15 > -(_local19))))){
return (false);
};
if (_local28 == 0){
_local33 = _local14;
_local34 = -(_local33);
} else {
_local30 = (_local19 - _local13);
_local31 = (_local21 - _local13);
_local33 = _local14;
if ((_local31 * _local30) > 0){
_local32 = _local13;
if (_local30 < 0){
_local32 = (_local32 - _local15);
_local33 = (_local33 - _local16);
_local30 = _local31;
} else {
_local32 = (_local32 + _local15);
_local33 = (_local33 + _local16);
};
_local33 = (_local33 * _local30);
_local33 = (_local33 / _local32);
_local33 = (_local33 + _local14);
};
_local30 = (_local19 + _local13);
_local31 = (_local21 + _local13);
_local34 = -(_local14);
if ((_local31 * _local30) > 0){
_local32 = -(_local13);
if (_local30 < 0){
_local32 = (_local32 - _local15);
_local34 = (_local34 - _local16);
_local30 = _local31;
} else {
_local32 = (_local32 + _local15);
_local34 = (_local34 + _local16);
};
_local34 = (_local34 * _local30);
_local34 = (_local34 / _local32);
_local34 = (_local34 - _local14);
};
};
return (!((((((_local33 < _local20)) && ((_local34 < _local20)))) || ((((_local33 > _local22)) && ((_local34 > _local22)))))));
}
public static function _cj421():void{
var _local1:int;
var _local2:int;
var _local4:BitmapData;
var _local3:Number = 0.1;
_local2 = _nw170._im141(0, 7);
if (_ix409 == false){
_local4 = _oo1059._dn828[_local2];
_de797 = _em355._nm1044(_local4, _mk299._yo1112, 0, 0);
};
if (_bx916 == false){
_bx916 = true;
_local1 = _nw170._im141(1, 2);
} else {
_bx916 = false;
_local1 = _nw170._im141(3, 4);
};
if (_local1 == 1){
_de797._rd688(_local3, _local3);
_de797._xk625(-37, 24);
_de797.rotation = 45;
if (_ix409 == true){
_de797._rm967(_local4, (_local2 * 108), 108, 107, 107);
};
} else {
if (_local1 == 2){
_de797._rd688(-(_local3), -(_local3));
_de797._xk625((599 + 37), 577);
_de797.rotation = 225;
if (_ix409 == true){
_de797._rm967(_local4, (_local2 * 108), (108 * 2), 107, 107);
};
} else {
if (_local1 == 3){
_de797._rd688(-(_local3), _local3);
_de797._xk625(577, -37);
_de797.rotation = 135;
if (_ix409 == true){
_de797._rm967(_local4, (_local2 * 108), (108 * 3), 107, 107);
};
} else {
if (_local1 == 4){
_de797._rd688(_local3, -(_local3));
_de797._xk625(24, (599 + 37));
_de797.rotation = 315;
if (_ix409 == true){
_de797._rm967(_local4, (_local2 * 108), 0, 107, 107);
};
};
};
};
};
_de797.id = _local2;
_de797._ei269 = false;
_de797._bp433 = _de797._aw1125;
_de797._gx663 = _de797._nf398;
_de797.state = 1;
_de797._ne155(_am998);
if (_ix409 == false){
_de797._bm1098(_dx58);
} else {
_de797._bm1098(_fi1151);
};
_de797._nw1040(86, 42);
_de797._aw21 = true;
_de797._ei269 = false;
}
public static function _ti803():void{
}
public static function _mc660():void{
_be153 = (_be153 - _rm505._ec286);
if (_be153 < 1){
_be153 = _cx1157;
if (_na955 == false){
_cj421();
if (_nw170._qk96(50) == true){
_cj421();
};
};
};
_cx1157 = (_cx1157 - (0.012 * _rm505._ec286));
if (_cx1157 < 800){
_cx1157 = 800;
};
}
public static function _mm971(_arg1:Number, _arg2:Number, _arg3:Number):Point{
var _local4:Number;
var _local5:Number;
_local4 = Math.sqrt(((_arg2 * _arg2) + (_arg3 * _arg3)));
_local5 = Math.atan2(_arg3, _arg2);
_local5 = (_local5 + (_arg1 * (Math.PI / 180)));
return (Point.polar(_local4, _local5));
}
public static function _gs1026():void{
var _local1:_mm644;
_rm505._pw151 = 4;
_rm505._kg1115 = 7000;
_na955 = true;
_ts31._be773(irrcrpt("fudvk", 3));
}
public static function _qf381(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Boolean{
_arg7 = (_arg7 * _kt1065);
var _local8:Number = (_arg1 - _arg3);
var _local9:Number = (_arg2 - _arg4);
var _local10:Number = Math.sin(_arg7);
var _local11:Number = Math.cos(_arg7);
var _local12:Number = ((_local8 * _local11) + (_local9 * _local10));
var _local13:Number = ((-(_local8) * _local10) + (_local9 * _local11));
var _local14:Number = (_arg5 * 0.5);
var _local15:Number = (_arg6 * 0.5);
return ((((((((_local12 > -(_local14))) && ((_local12 < _local14)))) && ((_local13 > -(_local15))))) && ((_local13 < _local15))));
}
public static function _he338(_arg1:Event):void{
_ts31._be773(irrcrpt("folfn", 3));
if (_nl1009.state == 1){
_nl1009.state = 0;
_gn776._bk303();
_gn776._yl379(false);
_nl1009._or1132(_ao876._nc607);
} else {
_nl1009.state = 1;
_gn776._yl379(true);
_gn776._wh936(irrcrpt("usbdl2", 1), 1);
_gn776._be773(irrcrpt("wudfn4", 3));
_nl1009._or1132(_ao876._rm50);
};
_xl1098._cr233 = _nl1009.state;
}
public static function Init(_arg1:Sprite):void{
Parent = _arg1;
_mk299 = new _qr181();
_mk299.Init(Parent, _rm505._gr406, _rm505._fx583, false, 4278210815, false);
_mk299._do1053();
_sn450 = _mk299.Parent.x;
_pn635 = _mk299.Parent.y;
if (_rm505._fc359 == false){
_mk299._pv1141();
_mk299._or1132(_ao876._eb540);
};
}
public static function _uq535():void{
_rm505._bm572++;
}
public static function _xq338():void{
_gt158 = 0;
_mk299._xk625(_sn450, _pn635);
_sa937();
_rm505._px54 = 0;
_rm505._bm572 = 1;
_rm505._pw151 = 1;
_rm505._do930(0);
_cx1157 = 2000;
_be153 = _cx1157;
_yd673 = false;
_na955 = false;
}
public static function _mx42():void{
var _local1:BitmapData;
_bf957 = _mk299._ng406._tb698(_mk299.Parent, _ao876._kd965, 0, 275, 1, _sk606, _rm505._aq1182, _rm505._aq1182);
}
public static function _yc517(_arg1:Event):void{
}
public static function _yt92():void{
_yd673 = true;
_de797 = _sg868._gd949(_ao876._jh550, 0, 0, _ao876._jh550.width, _ao876._jh550.height, _mk299._yo1112, 0, 0, 0);
_de797._xk625(300, -((_de797.height / 2)));
Tweener.addTween(_de797, {y:150, time:1, transition:irrcrpt("iewiMr", 4)});
}
public static function _wo837():void{
}
public static function _sa937():void{
_em355._sa937();
_iv967._sa937();
_uu520._sa937();
_sg868._sa937();
}
public static function _yw721(_arg1:Event):void{
}
public static function _kn235():void{
_mk299._ex1070();
MochiMedia.SubmitMochiScore(_rm505._pj75.value, SubmitScoreDone, irrcrpt("ee0e07e067754gg4", 4));
}
public static function SubmitScoreDone():void{
_mk299._sv1093();
_rm505._jl1158._hu591(_og601, 1200);
}
public static function _sk606(_arg1:Event):void{
_nw170._mc641(irrcrpt("iuuq://nvotjfhbnft.dpn?sfg=dbsdibpt", 1));
}
public static function _og601():void{
_mk299._ap864(0.5, _jy514);
_gn776._ap864(irrcrpt("xvego5", 4), 1);
_cc136 = _rm505._uv1176;
_rm505._ia1042 = _rm505._uv1176;
}
public static function _ty392(_arg1:Number):String{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:String;
var _local8:String;
_local3 = _arg1;
_local4 = (_local3 % 1000);
if (_local4 < 100){
_local8 = "0";
} else {
if (_local4 < 10){
_local8 = irrcrpt("33", 3);
} else {
_local8 = "";
};
};
_local5 = Math.floor(((_local3 / 1000) % 60));
if (_local5 < 10){
_local7 = "0";
} else {
_local7 = "";
};
_local6 = Math.floor((_local3 / 60000));
return (((((((("" + _local6) + ":") + _local7) + _local5) + ".") + _local8) + _local4));
}
public static function _wf876(_arg1:Event):void{
_ts31._be773(irrcrpt("dmjdl", 1));
if (_lh778.state == 1){
_lh778.state = 0;
_ts31._yl379(false);
_lh778._or1132(_ao876._lj656);
} else {
_lh778.state = 1;
_ts31._yl379(true);
_lh778._or1132(_ao876._vg850);
};
_xl1098._oq363 = _lh778.state;
}
public static function _am998(_arg1:_mm644):void{
var _local2:_mm644;
var _local3:Boolean;
if (_arg1.state == 2){
_de797 = _iv967._gd949(_ao876._hp708, 0, 0, _ao876._hp708.width, _ao876._hp708.height, _cl895._mk299._yo1112, 0, 0, 1);
_de797._xk625(_arg1.x, _arg1.y);
_de797._df39(-0.0025, 1);
_de797._aw21 = false;
if (_nw170._qk96() == true){
_de797._mu406 = BlendMode.ADD;
};
_de797._nm631(0.0035, 0, 1100, 4, _nw170._hr506(0, 0.5));
_de797.rotation = _nw170._vw462();
};
if ((((_xe1184._sb887 == true)) && ((_na955 == false)))){
if (_qf381(_rm505._me1176, _rm505._rn1035, _arg1.x, _arg1.y, 86, 42, _arg1.rotation) == true){
_oo1059._nv666(_rm505._me1176, _rm505._rn1035, _nw170._im141(10, 25));
if (_arg1.state == 1){
_arg1._rd688((_arg1._bp433 * 3), (_arg1._gx663 * 3));
_arg1._ei269 = false;
_arg1.state = 2;
_rm505._dd1162(1000);
_arg1._pg1134(-0.00085, 1, 1.45, 3, 1.45);
_ts31._be773((irrcrpt("hqjlqh", 3) + _nw170._im141(1, 2)));
if (_arg1.id == 0){
_ts31._be773(irrcrpt("uktgp", 2));
_de797 = _sg868._nm1044(_ao876._om811, _mk299._yo1112, _arg1.x, _arg1.y);
_de797._aw21 = false;
_de797._df39(-0.001, 1);
_rm505._dd1162(50000);
};
} else {
if (_arg1.state == 2){
_arg1._rd688(0, 0);
_arg1._ei269 = false;
_arg1.state = 3;
_rm505._dd1162(2500);
_ts31._be773(irrcrpt("dtgcm", 2));
} else {
if (_arg1.state == 3){
_arg1._rd688(_arg1._bp433, _arg1._gx663);
_arg1._ei269 = false;
_arg1.state = 1;
_rm505._dd1162(500);
};
};
};
};
};
if ((((((((_arg1.x < -47)) || ((_arg1.x > (599 + 47))))) || ((_arg1.y < -47)))) || ((_arg1.y > (599 + 47))))){
_arg1._tk357 = true;
_arg1._al569 = false;
if (_arg1.state == 1){
_rm505._dd1162(5000);
} else {
_rm505._dd1162(10000);
};
} else {
for each (_local2 in _em355._ng406) {
if (_local2._al569 == true){
if (_local2 != _arg1){
if (_nw170._cp946(_arg1.x, _arg1.y, _local2.x, _local2.y) < 75){
if (_jt840((_arg1.x - (_arg1._nt592 / 2)), (_arg1.y - (_arg1._ci831 / 2)), _arg1._nt592, _arg1._ci831, _arg1.rotation, (_local2.x - (_local2._nt592 / 2)), (_local2.y - (_local2._ci831 / 2)), _local2._nt592, _local2._ci831, _local2.rotation) == true){
_local2._wm1044 = _oo1059._dn828[(_local2.id + 8)];
_arg1._wm1044 = _oo1059._dn828[(_arg1.id + 8)];
if (((!((_arg1._aw1125 == 0))) || (!((_arg1._nf398 == 0))))){
_arg1.rotation = _nw170._io1093(_arg1.rotation, _nw170._hr506(-20, 20));
_local3 = true;
};
if (((!((_local2._aw1125 == 0))) || (!((_local2._nf398 == 0))))){
_local2.rotation = _nw170._io1093(_local2.rotation, _nw170._hr506(-20, 20));
_local3 = true;
};
_arg1._fu546 = 0;
_arg1._dv523 = 1;
_arg1.state = 0;
_arg1._aw1125 = 0;
_arg1._nf398 = 0;
_local2._fu546 = 0;
_local2._dv523 = 1;
_local2.state = 0;
_local2._aw1125 = 0;
_local2._nf398 = 0;
if (_arg1._mk738 == false){
_ji733 = _mm971(_arg1.rotation, 43, 0);
_wm582((_arg1.x + _ji733.x), (_arg1.y + _ji733.y), _nw170._io1093(0, _nw170._hr506(-10, 10)), _nw170._hr506(0.35, 0.8), _nw170._hr506(0.015, 0.02));
_ji733 = _mm971(_arg1.rotation, 38, 0);
_oo1059._nv666((_arg1.x + _ji733.x), (_arg1.y + _ji733.y), _nw170._im141(10, 30));
_arg1._mk738 = true;
};
if (_local2._mk738 == false){
_ji733 = _mm971(_local2.rotation, 43, 0);
_wm582((_local2.x + _ji733.x), (_local2.y + _ji733.y), _nw170._io1093(0, _nw170._hr506(-10, 10)), _nw170._hr506(0.35, 0.8), _nw170._hr506(0.015, 0.02));
_ji733 = _mm971(_arg1.rotation, 38, 0);
_oo1059._nv666((_arg1.x + _ji733.x), (_arg1.y + _ji733.y), _nw170._im141(10, 30));
_local2._mk738 = true;
};
if (_na955 == false){
_gs1026();
};
if (_local3 == true){
_ts31._be773(irrcrpt("dsbti", 1));
_gt158 = 250;
};
};
};
};
};
};
};
}
public static function _tb1126(_arg1:Event):void{
}
public static function _ao977(_arg1:_mm644):void{
}
public static function _ao418():void{
}
}
}//package
Section 77
//_fh351 (_fh351)
package {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.system.*;
public class _fh351 extends Sprite {
protected const WIDTH:uint = 70;
protected const HEIGHT:uint = 100;
protected var _ig634:uint;
protected var _ff1104:Number;
protected var timer:uint;
protected var _xr170:Bitmap;
protected var _vc430:uint;
protected var xml:XML;
protected var _nl1058:Rectangle;
protected var _yg482:uint;
protected var _tk1054:Object;
protected var _td671:Number;
protected var fps:uint;
protected var _ho908:uint;
protected var _dq31:uint;
protected var text:TextField;
protected var style:StyleSheet;
public function _fh351(_arg1:Object=null):void{
_tk1054 = {bg:51, fps:0xFFFF00, _vc430:0xFF00, _td671:0xFFFF, memmax:0xFF0070};
super();
if (_arg1){
if (_arg1.bg != null){
_tk1054.bg = _arg1.bg;
};
if (_arg1.fps != null){
_tk1054.fps = _arg1.fps;
};
if (_arg1._vc430 != null){
_tk1054._vc430 = _arg1._vc430;
};
if (_arg1._td671 != null){
_tk1054._td671 = _arg1._td671;
};
if (_arg1.memmax != null){
_tk1054.memmax = _arg1.memmax;
};
};
_ff1104 = 0;
xml = <xml><fps>FPS:</fps><_vc430>MS:</_vc430><_td671>MEM:</_td671><memMax>MAX:</memMax></xml>
;
style = new StyleSheet();
style.setStyle(irrcrpt("ynm", 1), {fontSize:irrcrpt("2sa", 3), fontFamily:irrcrpt("_werw", 4), leading:irrcrpt("-5sa", 3)});
style.setStyle(irrcrpt("kux", 5), {color:_ss1047(_tk1054.fps)});
style.setStyle(irrcrpt("nt", 1), {color:_ss1047(_tk1054._vc430)});
style.setStyle(irrcrpt("qiq", 4), {color:_ss1047(_tk1054._td671)});
style.setStyle(irrcrpt("rjrRfc", 5), {color:_ss1047(_tk1054.memmax)});
text = new TextField();
text.width = WIDTH;
text.height = 50;
text.styleSheet = style;
text.condenseWhite = true;
text.selectable = false;
text.mouseEnabled = false;
_xr170 = new Bitmap();
_xr170.y = 50;
_nl1058 = new Rectangle((WIDTH - 1), 0, 1, (HEIGHT - 50));
addEventListener(Event.ADDED_TO_STAGE, init, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, _io416, false, 0, true);
}
private function init(_arg1:Event):void{
graphics.beginFill(_tk1054.bg);
graphics.drawRect(0, 0, WIDTH, HEIGHT);
graphics.endFill();
addChild(text);
_xr170.bitmapData = new BitmapData(WIDTH, (HEIGHT - 50), false, _tk1054.bg);
addChild(_xr170);
addEventListener(MouseEvent.CLICK, _ir424);
addEventListener(Event.ENTER_FRAME, update);
}
private function update(_arg1:Event):void{
timer = getTimer();
if ((timer - 1000) > _yg482){
_yg482 = timer;
_td671 = Number((System.totalMemory * 9.54E-7).toFixed(3));
_ff1104 = ((_ff1104 > _td671)) ? _ff1104 : _td671;
_dq31 = Math.min(_xr170.height, ((fps / stage.frameRate) * _xr170.height));
_ho908 = (Math.min(_xr170.height, Math.sqrt(Math.sqrt((_td671 * 5000)))) - 2);
_ig634 = (Math.min(_xr170.height, Math.sqrt(Math.sqrt((_ff1104 * 5000)))) - 2);
_xr170.bitmapData.scroll(-1, 0);
_xr170.bitmapData.fillRect(_nl1058, _tk1054.bg);
_xr170.bitmapData.setPixel((_xr170.width - 1), (_xr170.height - _dq31), _tk1054.fps);
_xr170.bitmapData.setPixel((_xr170.width - 1), (_xr170.height - ((timer - _vc430) >> 1)), _tk1054._vc430);
_xr170.bitmapData.setPixel((_xr170.width - 1), (_xr170.height - _ho908), _tk1054._td671);
_xr170.bitmapData.setPixel((_xr170.width - 1), (_xr170.height - _ig634), _tk1054.memmax);
xml.fps = (((irrcrpt("GQT: ", 1) + fps) + irrcrpt(" / ", 5)) + stage.frameRate);
xml._td671 = (irrcrpt("NFN: ", 1) + _td671);
xml.memMax = (irrcrpt("RFC: ", 5) + _ff1104);
fps = 0;
};
fps++;
xml._vc430 = (irrcrpt("PV: ", 3) + (timer - _vc430));
_vc430 = timer;
text.htmlText = xml;
}
private function _ss1047(_arg1:int):String{
return (("#" + _arg1.toString(16)));
}
private function _ir424(_arg1:MouseEvent):void{
if (((mouseY / height) > 0.5)){
stage.frameRate--;
} else {
stage.frameRate++;
};
xml.fps = (((irrcrpt("GQT: ", 1) + fps) + irrcrpt(" / ", 3)) + stage.frameRate);
text.htmlText = xml;
}
private function _io416(_arg1:Event):void{
graphics.clear();
while (numChildren > 0) {
removeChildAt(0);
};
_xr170.bitmapData.dispose();
removeEventListener(MouseEvent.CLICK, _ir424);
removeEventListener(Event.ENTER_FRAME, update);
}
}
}//package
Section 78
//_gf927 (_gf927)
package {
import classes.*;
public class _gf927 {
public static var _nu1174:Class = _gf927__nu1174;
public static var _ho581:Class = _gf927__ho581;
public static var _gm1104:Class = _gf927__gm1104;
public static var _pj908:Class = _gf927__pj908;
public static var _rc58:Class = _gf927__rc58;
public static var _le54:Class = _gf927__le54;
public static var _bh249:Class = _gf927__bh249;
public static var _fa435:Class = _gf927__fa435;
public static var _ah853:Class = _gf927__ah853;
public static function Init():void{
_ts31.Init();
_ts31._gx840(irrcrpt("fohjof2", 1), new _ho581(), 0, 0);
_ts31._gx840(irrcrpt("hqjlqh5", 3), new _le54(), 0, 0);
_ts31._gx840(irrcrpt("etcuj", 2), new _ah853(), 0, 0);
_ts31._gx840(irrcrpt("hwfxm7", 5), new _nu1174(), 0, 0);
_ts31._gx840(irrcrpt("euhdn", 3), new _bh249(), 0, 0);
_ts31._gx840(irrcrpt("vluhq", 3), new _rc58(), 0, 0);
_ts31._gx840(irrcrpt("pixwks", 4), new _pj908(), 0, 0);
_gn776.Init();
_gn776._gx840(irrcrpt("wudfn4", 3), new _gm1104());
_gn776._gx840(irrcrpt("ynyqj", 5), new _fa435(), 55, 3);
}
}
}//package
Section 79
//_gf927__ah853 (_gf927__ah853)
package {
import mx.core.*;
public class _gf927__ah853 extends SoundAsset {
}
}//package
Section 80
//_gf927__bh249 (_gf927__bh249)
package {
import mx.core.*;
public class _gf927__bh249 extends SoundAsset {
}
}//package
Section 81
//_gf927__fa435 (_gf927__fa435)
package {
import mx.core.*;
public class _gf927__fa435 extends SoundAsset {
}
}//package
Section 82
//_gf927__gm1104 (_gf927__gm1104)
package {
import mx.core.*;
public class _gf927__gm1104 extends SoundAsset {
}
}//package
Section 83
//_gf927__ho581 (_gf927__ho581)
package {
import mx.core.*;
public class _gf927__ho581 extends SoundAsset {
}
}//package
Section 84
//_gf927__le54 (_gf927__le54)
package {
import mx.core.*;
public class _gf927__le54 extends SoundAsset {
}
}//package
Section 85
//_gf927__nu1174 (_gf927__nu1174)
package {
import mx.core.*;
public class _gf927__nu1174 extends SoundAsset {
}
}//package
Section 86
//_gf927__pj908 (_gf927__pj908)
package {
import mx.core.*;
public class _gf927__pj908 extends SoundAsset {
}
}//package
Section 87
//_gf927__rc58 (_gf927__rc58)
package {
import mx.core.*;
public class _gf927__rc58 extends SoundAsset {
}
}//package
Section 88
//_mx424 (_mx424)
package {
import flash.display.*;
import classes.*;
import flash.geom.*;
import flash.ui.*;
import flash.utils.*;
public class _mx424 {
private static var _gs60:Class = _mx424__gs60;
public static var _yf973:BitmapData = new _gs60().bitmapData;
public static var _bm468:_na572;
public static var _jq666:_na572;
public static var _bk829:_na572;
private static function _gg495():void{
var _local1:int;
_bm468 = new _na572();
_bm468._xb1087(_yf973, 0);
var _local2:int;
while (_local2 < 90) {
_bm468._ci713((32 + _local2), (_local2 * 16), 0, 16, 16);
_local2++;
};
}
public static function Init():void{
_bm468 = new _na572();
_gg495();
}
}
}//package
Section 89
//_mx424__gs60 (_mx424__gs60)
package {
import mx.core.*;
public class _mx424__gs60 extends BitmapAsset {
}
}//package
Section 90
//_nb111 (_nb111)
package {
import classes.*;
public class _nb111 {
public static function _ty969():void{
_rm505._ss235.data._oq363 = _xl1098._oq363;
_rm505._ss235.data._cr233 = _xl1098._cr233;
_rm505._ss235.data.LevelsCompleted = _rm505._wv816;
_rm505._ss235.data.quality = (_xl1098.quality + 1);
}
public static function _hp647():void{
_qi913._yh169(_rm505._ss235, _ty969);
}
public static function _gt560():void{
_xl1098._oq363 = 1;
_xl1098._cr233 = 1;
_rm505._wv816 = 0;
_xl1098.quality = 1;
_qi913._ow1152(_rm505._ss235);
if (_rm505._ss235.data._oq363 != null){
_xl1098._oq363 = _rm505._ss235.data._oq363;
};
if (_rm505._ss235.data._cr233 != null){
_xl1098._cr233 = _rm505._ss235.data._cr233;
};
if (_rm505._ss235.data.LevelsCompleted != null){
_rm505._wv816 = _rm505._ss235.data.LevelsCompleted;
};
if (_rm505._ss235.data.quality != null){
_xl1098.quality = (_rm505._ss235.data.quality - 1);
};
if (_xl1098._cr233 == 0){
_gn776._yl379(false);
};
if (_xl1098._oq363 == 0){
_ts31._yl379(false);
};
_rm505._br91(_xl1098.quality);
}
}
}//package
Section 91
//_oo1059 (_oo1059)
package {
import flash.display.*;
import classes.*;
import flash.geom.*;
public class _oo1059 {
private static var _ba493:Number = 0.0174532925199433;
public static var _gj653:Object = new Object();
public static var _de797:_mm644;
private static var _ul496:Number = 57.2957795130823;
public static var _dn828:Object = new Object();
public static function _uw1047(_arg1:_mm644):void{
_arg1.rotation = (Math.atan2(_arg1._nf398, _arg1._aw1125) * _ul496);
}
public static function _wc514():void{
var _local2:int;
var _local3:int;
var _local4:BitmapData;
var _local1:int;
_local3 = 0;
while (_local3 < 4) {
_local2 = 0;
while (_local2 < 5) {
_gj653[_local1] = new BitmapData(120, 210, true, 0);
_local4 = _gj653[_local1];
_nw170._hb418(_ao876._is1051, 0, 0, (_local2 * 121), (_local3 * 211), 120, 210, _local4);
_local1++;
_local2++;
};
_local3++;
};
}
public static function _bo407():void{
var _local2:int;
var _local3:int;
var _local4:BitmapData;
var _local1:int;
_local3 = 0;
while (_local3 < 2) {
_local2 = 0;
while (_local2 < 8) {
_dn828[_local1] = new BitmapData(95, 56, true, 0);
_local4 = _dn828[_local1];
_nw170._hb418(_ao876._ky330, 0, 0, (_local2 * 96), (_local3 * 57), 95, 56, _local4);
_local1++;
_local2++;
};
_local3++;
};
}
public static function Init():void{
_wc514();
_bo407();
}
public static function _nv666(_arg1:Number, _arg2:Number, _arg3:int):void{
var _local4:int;
while (_local4 < _arg3) {
_de797 = _cl895._sg868._gd949(_ao876._oq155, 0, 0, _ao876._oq155.width, _ao876._oq155.height, _cl895._mk299._yo1112, 0, 0, 1);
_de797._xk625(_arg1, _arg2);
_de797._dm1039(0, 360, _nw170._hr506(0.08, 0.6), 0, 0, false);
_de797._df39(-(_nw170._hr506(0.001, 0.005)), 1);
_de797._aw21 = false;
_de797._mu406 = BlendMode.ADD;
_de797._nm631(-0.0005, 0, 3, 4, _nw170._hr506(0.5, 1.5));
_de797.rotation = (Math.atan2(_de797._nf398, _de797._aw1125) * _ul496);
_local4++;
};
}
}
}//package
Section 92
//_rm505 (_rm505)
package {
import flash.events.*;
import flash.display.*;
import classes.*;
import flash.geom.*;
import flash.net.*;
import com.urbansquall.display.*;
import com.flashdynamix.utils.*;
import mochi.*;
import caurina.transitions.*;
public class _rm505 extends InitializedSprite {
public static var _bw664:int;
public static var _mx590:_fh351;
public static var _jy791:int;
public static var _fh38:int;
public static var _lq1014:int = 0;
public static var _px54:int;
public static var _is822:int;
public static var _nu765:_kd270 = new _kd270();
public static var _ia1042:Function;
public static var _rn1035:Number;
public static var _wv816:int = 0;
public static var _jl1158:_lg879;
public static var _bm572:int;
public static var _ac196:Stage;
public static var _ss235:SharedObject = SharedObject.getLocal(_vx177);
public static var _me1176:Number;
public static var _pj75:MochiDigits = new MochiDigits();
public static var _fc359:Boolean;
public static var _ht1179:Sprite;
public static var _pw151:int;
public static var _kg1115:int;
public static var _en993:Number = 0;
public static var _hi341:String;
public static var _ec286:Number;
public static var _st257:Boolean;
public static var _vx177:String = irrcrpt("TvsnigxReqi", 4);
public static var _ja580:String;
public static var _fx583:int = 600;
public static var _ny86:Number = 0;
public static var _gr406:int = 600;
public static var _qk970:Number;
public static var _rs934:int = 30;
public static var _vn1020:Boolean = true;
public static var _oh1175:Boolean = false;
public function _rm505():void{
}
override protected function Init():void{
_ac196 = stage;
_ac196.frameRate = _rs934;
stage.scaleMode = StageScaleMode.NO_SCALE;
_ac196.quality = StageQuality.MEDIUM;
_ac196.stageFocusRect = false;
_bc791();
_jl1158 = new _lg879();
_xe1184.Init(_ac196);
_mx424.Init();
_gf927.Init();
_ht1179 = new Sprite();
_ht1179.x = 0;
_ht1179.y = 0;
_ht1179.scrollRect = new Rectangle(0, 0, _gr406, _fx583);
_ac196.addChild(_ht1179);
if (_vn1020 == true){
_ai598.init(_ac196, this);
};
_es545();
}
private function _es545():void{
MochiMedia.MochiServicesConnect(_ac196, irrcrpt("f431jikj37f93390", 5));
_tm833();
_ac709._be1002();
_wu1079._gy656();
_ac709._yq1137((1000 / 20));
_ac196.addEventListener(Event.ENTER_FRAME, _br231);
if (_oh1175 == true){
_mx590 = new _fh351();
_ac196.addChild(_mx590);
};
_xl1098._se879();
}
private function _bc791():void{
_fc359 = true;
}
private function _br231(_arg1:Event):void{
_ec286 = _ac709._vc662();
_me1176 = mouseX;
_rn1035 = mouseY;
_jl1158._fa1074(_ec286);
if (_qk970 > 0){
_qk970 = (_qk970 - _ec286);
if (_qk970 < 1){
_qk970 = 0;
};
} else {
_ia1042();
};
_ts31._un171();
_xe1184._sb887 = false;
}
private function _tv1164():String{
var _local2:String;
var _local1:String = this.root.loaderInfo.url;
_local2 = _local1;
return (_local2.toLowerCase());
}
public static function _ek814(_arg1:InteractiveObject):void{
_ac196.focus = _arg1;
}
public static function _kc651(_arg1:BitmapData, _arg2:String, _arg3:Number, _arg4:Number):void{
_nu765.draw(_arg1, _arg2, _arg3, _arg4);
}
public static function _qu875(_arg1:BitmapData, _arg2:Number, _arg3:Number):void{
_nu765.draw(_arg1, ("" + _wu1079._xt222()), _arg2, _arg3);
}
public static function _do930(_arg1:Number=0):void{
_pj75.value = _arg1;
_dd1162(0);
}
public static function _yg291(_arg1:_qr181):void{
_arg1._ng406._sa937();
_arg1.Parent.visible = false;
}
private static function _tm833():void{
_ac196.quality = StageQuality.BEST;
_xl1098.Init(_ht1179);
_cl895.Init(_ht1179);
_oo1059.Init();
_ac196.quality = StageQuality.MEDIUM;
_nb111._gt560();
}
public static function _dd1162(_arg1:Number):void{
_pj75.addValue(_arg1);
_ja580 = ("" + _pj75.value);
}
public static function _br91(_arg1:int=0):void{
if (_arg1 == 0){
_ac196.quality = StageQuality.LOW;
} else {
if (_arg1 == 1){
_ac196.quality = StageQuality.MEDIUM;
} else {
if (_arg1 == 2){
_ac196.quality = StageQuality.HIGH;
};
};
};
}
public static function _py989(_arg1:Event):void{
var _local2:String = irrcrpt("fbtfPvuFmbtujd", 1);
Tweener.addTween(_arg1.currentTarget, {scale:1, time:0.8, transition:_local2});
}
public static function _aq1182(_arg1:Event):void{
}
public static function _uv1176():void{
}
public static function _xk771(_arg1:Event):void{
var _local2:String = irrcrpt("hdvhRxwHodvwlf", 3);
Tweener.addTween(_arg1.currentTarget, {scale:1.2, time:0.8, transition:_local2});
}
}
}//package
Section 93
//_sl827 (_sl827)
package {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import caurina.transitions.*;
import classes.*;
import com.urbansquall.preloader.*;
import mochi.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
public class _sl827 extends Preloader {
private var _cb308:int;// = 600
private var _xy655:Boolean;// = true
private var _yd264:BitmapData;
private var _kp85:String;
private var _fo743:int;// = 600
private var _tt374:Class;
private var _if276:int;
private var _hj310:BitmapData;
private var _nk225:BitmapData;
private var _bb1032:Class;
private var _xk342:MovieClip;
private var _hi1136:Number;// = 0
private var _qu330:BitmapData;
private var _ju218:Class;
private var _tq792:Sprite;
private var _mk299:_qr181;
private var _gl648:Class;
private var _sc627:Number;// = 0
private var _tp349:Boolean;
public function _sl827(){
_gl648 = _sl827__gl648;
_nk225 = new _gl648().bitmapData;
_tt374 = _sl827__tt374;
_qu330 = new _tt374().bitmapData;
_ju218 = _sl827__ju218;
_hj310 = new _ju218().bitmapData;
_bb1032 = _sl827__bb1032;
_yd264 = new _bb1032().bitmapData;
_mk299 = new _qr181();
_kp85 = irrcrpt("c108gfhg04c60067", 2);
super();
}
private function _sk606(_arg1:Event):void{
_mc641(irrcrpt("jvvr://owpukgicogu.eqo?tgh=ectejcqu", 2));
}
override protected function beginLoading():void{
_tp349 = false;
_if276 = (stage.frameRate * 2);
_tq792 = new Sprite();
addChild(_tq792);
_tq792.x = 0;
_tq792.y = 0;
_tq792.scrollRect = new Rectangle(0, 0, _fo743, _cb308);
_mk299.Init(_tq792, _fo743, _cb308, true, 267386880, true);
_mk299._or1132(_nk225);
_mk299._ng406._tb698(_mk299.Parent, _qu330, 0, 150, 1, _sk606, _xn72, _mk170);
if (_xy655 == true){
_xk342 = new MovieClip();
addChild(_xk342);
MochiAd.showPreGameAd({id:_kp85, res:irrcrpt("044b044", 4), clip:_xk342, ad_failed:_xt124, ad_skipped:_xt124, ad_finished:_xt124});
} else {
_xt124();
};
}
override protected function updateLoading(_arg1:Number):void{
var _local2:int = Math.round((_arg1 * 100));
var _local3:int = (_hj310.width * (_local2 / 100));
var _local4:int = (_cb308 * (_local2 / 100));
if (_hi1136 != _local3){
if (_local3 < _hj310.width){
_mk299._ps479();
_nw170._hb418(_nk225, 15, 200, 15, 200, 600, _yd264.height, _mk299._yo1112);
_nw170._hb418(_yd264, 15, 200, 0, 0, _yd264.width, _yd264.height, _mk299._yo1112);
_nw170._hb418(_hj310, 15, 200, 0, 0, _local3, _yd264.height, _mk299._yo1112);
_mk299._mo707();
} else {
_mk299._ps479();
_nw170._hb418(_nk225, 15, 200, 15, 200, 600, _yd264.height, _mk299._yo1112);
_nw170._hb418(_hj310, 15, 200, 0, 0, _yd264.width, _yd264.height, _mk299._yo1112);
_mk299._mo707();
};
_hi1136 = _local3;
_sc627 = _local4;
};
if (_tp349 == true){
_if276 = (_if276 - 1);
if (_if276 < 1){
oktoexit = true;
};
};
}
override protected function endLoading():void{
_mk299._nt598();
_nk225 = null;
_qu330 = null;
_hj310 = null;
_yd264 = null;
removeChild(_tq792);
_tq792 = null;
_mk299 = null;
if (_xy655 == true){
removeChild(_xk342);
_xk342.visible = false;
_xk342 = null;
};
}
private function _mc641(_arg1:String):void{
var _local2:URLRequest = new URLRequest(_arg1);
navigateToURL(_local2, irrcrpt("_dncpm", 2));
}
private function _xn72(_arg1:Event):void{
var _local2:String = irrcrpt("jfxjTzyJqfxynh", 5);
Tweener.addTween(_arg1.currentTarget, {scale:1.15, time:0.8, transition:_local2});
}
private function _xt124():void{
_tp349 = true;
}
private function _mk170(_arg1:Event):void{
var _local2:String = irrcrpt("fbtfPvuFmbtujd", 1);
Tweener.addTween(_arg1.currentTarget, {scale:1, time:0.8, transition:_local2});
}
}
}//package
Section 94
//_sl827__bb1032 (_sl827__bb1032)
package {
import mx.core.*;
public class _sl827__bb1032 extends BitmapAsset {
}
}//package
Section 95
//_sl827__gl648 (_sl827__gl648)
package {
import mx.core.*;
public class _sl827__gl648 extends BitmapAsset {
}
}//package
Section 96
//_sl827__ju218 (_sl827__ju218)
package {
import mx.core.*;
public class _sl827__ju218 extends BitmapAsset {
}
}//package
Section 97
//_sl827__tt374 (_sl827__tt374)
package {
import mx.core.*;
public class _sl827__tt374 extends BitmapAsset {
}
}//package
Section 98
//_xl1098 (_xl1098)
package {
import flash.events.*;
import flash.display.*;
import classes.*;
import flash.geom.*;
import flash.net.*;
import mochi.*;
import flash.ui.*;
import flash.utils.*;
import caurina.transitions.*;
import flash.filters.*;
public class _xl1098 {
public static var _kx1092:int = _np1153.length;
public static var _gt158:Number = 0;
public static var _de797:_mm644;
public static var _sn450:Number = 0;
public static var _oq363:int;
public static var _mj412:BitmapData;
public static var _mb450:Boolean;
public static var _np1153:Array = [844.467120181406, 1773.26530612245, 2794.9433106576, 3770.18140589569, 4745.41950113379, 5720.65759637188, 6695.89569160998, 7717.57369614512, 8692.81179138322, 9668.04988662131, 10689.7278911565, 11711.4058956916, 12686.6439909297, 13661.8820861678, 14683.5600907029, 16808.3673469388, 17690.7256235828, 18665.9637188209, 19687.641723356, 20755.7596371882, 21684.5578231292, 22706.2358276644, 23681.4739229025, 24703.1519274376, 25678.3900226757, 26700.0680272109, 27675.306122449, 28696.9841269841, 29672.2222222222, 30647.4603174603, 32772.2675736961, 33701.0657596372, 34722.7437641723, 35697.9818594104, 36719.6598639456, 37694.8979591837, 38670.1360544218, 39738.253968254, 40713.4920634921, 41688.7301587302, 42710.4081632653, 43639.2063492063, 44660.8843537415, 45682.5623582766, 46704.2403628118, 47725.918];
public static var _ct1185:Boolean;
public static var _cc136:Function;
public static var _nl1009:_td125;
private static var Parent:Sprite;
public static var _cr233:int;
public static var _ib148:_td125;
public static var _au1132:_qr181;
public static var _bf957:_td125;
public static var _pn635:Number = 0;
public static var _vv957:_td125;
public static var _lh778:_td125;
public static var _md653:_ai813;
public static var _hp82:Number = 0;
public static var _uk601:_ai813;
public static var _nv1010:_td125;
public static var _kl184:Number = 50;
public static var _yy790:int;
public static var _dm1152:_td125;
public static var _mk299:_qr181;
public static var _tp986:String = "";
public static var quality:int;
public static function _tb1126(_arg1:Event):void{
_pc1162();
_nw170._mc641(irrcrpt("jvvr://owpukgicogu.eqo?tgh=ectejcqu", 2));
}
private static function _jy514():void{
_md653._sa937();
_uk601._sa937();
_mk299._do1053();
_cl895._se879();
}
public static function _mj965():void{
if (_ct1185 == true){
if ((_gn776._wj78(irrcrpt("vkvng", 2)) + 250) > _np1153[_yy790]){
_yy790 = (_yy790 + 1);
if (_yy790 < _kx1092){
_dm1152._nm631(-0.002, 1, 1.35, 3, 1.35);
if (_yy790 > 4){
_ib148._nm631(-0.002, 1, 1.35, 3, 1.35);
};
if (_yy790 > 6){
_vv957._nm631(-0.002, 1, 1.35, 3, 1.35);
};
};
};
};
}
public static function _am998(_arg1:_mm644):void{
if (_arg1._ei417 == 0){
_ts31._be773(irrcrpt("etcuj4", 2));
_gt158 = 250;
_arg1._wm1044 = _oo1059._dn828[((_arg1.id - 1) + 8)];
if (_arg1.id == 1){
_arg1.rotation = 325;
_rg107();
};
if (_arg1.id == 2){
_arg1.rotation = 300;
_de797 = _uk601._nm1044(_oo1059._gj653[0], _mk299._yo1112, 0, 0);
_de797._xk625((_arg1.x + 3), (_arg1.y - 68));
_de797.rotation = 320;
_de797._cp1165(_oo1059._gj653, 0.015, 20, 2);
_de797._aw21 = false;
_de797._df39(0.001, 0);
_de797.scale = 0.5;
_ir54();
};
if (_arg1.id == 3){
_arg1.rotation = 335;
_ms1168();
};
if (_arg1.id == 4){
_arg1.rotation = 300;
_de797 = _uk601._nm1044(_oo1059._gj653[0], _mk299._yo1112, 0, 0);
_de797._xk625((_arg1.x + 26), (_arg1.y - 89));
_de797.rotation = 0;
_de797._cp1165(_oo1059._gj653, 0.015, 20, 2);
_de797._aw21 = false;
_de797._df39(0.001, 0);
_de797.scale = 0.75;
_lg429();
};
_arg1._ne155(null);
};
}
public static function _xk771(_arg1:Event):void{
var _local3:String;
var _local5:int;
var _local2:String = irrcrpt("iewiSyxIpewxmg", 4);
var _local4 = " ";
Tweener.addTween(_arg1.currentTarget, {brightness:1.25, time:0.2, transition:irrcrpt("qnsjfw", 5)});
}
public static function _se879():void{
_xe1184._sh284();
_nw170._ry1101._ab761 = _nw170._ry1101._at811(100, 100000);
if (_rm505._fc359 == false){
_rm505._ia1042 = _rm505._uv1176;
} else {
_gt158 = 0;
_mk299._xk625(_sn450, _pn635);
_mk299._ng406._sa937();
_mk299._do1053();
_rm505._ek814(_mk299.Parent);
_rm505._ia1042 = _fa1074;
_ct1185 = false;
_xr369();
_mk299._fj391(0.5, _ku1117);
};
}
public static function _yc517(_arg1:Event):void{
_pc1162();
}
public static function _cr292(_arg1:Event):void{
_pc1162();
_mk299._ex1070();
MochiMedia.ShowMochiScores(ShowScoresDone, irrcrpt("ff1f18f178865hh5", 5));
}
public static function _ol197(_arg1:Event):void{
}
public static function _py989(_arg1:Event):void{
var _local2:String = irrcrpt("hdvhRxwHodvwlf", 3);
Tweener.addTween(_arg1.currentTarget, {brightness:1, time:0.2, transition:irrcrpt("mjofbs", 1)});
}
public static function _fa1074():void{
_mk299._ps479();
_nw170._hb418(_ao876._kl949, 0, 238, 0, 238, 600, (600 - 238), _mk299._yo1112);
_mj965();
_mk299._ng406._ni281(_rm505._ec286);
_md653._sw802(_rm505._ec286);
_uk601._sw802(_rm505._ec286);
if (_gt158 > 0){
_mk299._xk625((_sn450 + _nw170._im141(-6, 6)), (_pn635 + _nw170._im141(-6, 6)));
_gt158 = (_gt158 - _rm505._ec286);
if (_gt158 < 1){
_gt158 = 0;
_mk299._xk625(_sn450, _pn635);
};
};
_mk299._mo707();
if (_xe1184._ym363 > 0){
_xe1184._qw236(_xe1184._ym363);
};
}
public static function _lg429():void{
var _local2:Number;
var _local3:BitmapData;
var _local1:String = irrcrpt("hdvhRxwHodvwlf", 3);
_local3 = _ao876._yd938;
_local1 = irrcrpt("pmriev", 4);
_local2 = 0;
_bf957 = _mk299._ng406._gd949(_mk299.Parent, _local3, -183, (-((_rm505._fx583 / 2)) - (_local3.height / 2)), 1);
Tweener.addTween(_bf957, {y:-214, time:0.25, transition:_local1, delay:_local2});
}
public static function _ms1168():void{
var _local2:Number;
var _local3:BitmapData;
var _local1:String = irrcrpt("hdvhRxwHodvwlf", 3);
_local1 = irrcrpt("mjofbs", 1);
_local3 = _ao876._fl1121;
_local2 = 0;
_bf957 = _mk299._ng406._tb698(_mk299.Parent, _local3, 137, ((_rm505._fx583 / 2) + (_local3.height / 2)), 1, _mh457, _xk771, _py989);
Tweener.addTween(_bf957, {y:196, time:0.25, transition:_local1, delay:_local2});
Tweener.addTween(_bf957, {_pg104:0, time:0.25, transition:_local1, delay:_local2});
}
public static function _wd477(_arg1:Event):void{
_gn776._kv362(irrcrpt("ynyqj", 5));
_gn776._wh936(irrcrpt("ujumf", 1), 1);
_gn776._be773(irrcrpt("ujumf", 1));
_gn776._ti110(irrcrpt("xmxpi", 4), _wd477);
_yy790 = 0;
}
public static function _rg107():void{
var _local2:Number;
var _local3:BitmapData;
var _local1:String = irrcrpt("gcugQwvGncuvke", 2);
_local1 = irrcrpt("olqhdu", 3);
_local3 = _ao876._ko620;
_local2 = 0;
_bf957 = _mk299._ng406._gd949(_mk299.Parent, _local3, (-300 - (_local3.width / 2)), -150, 1);
Tweener.addTween(_bf957, {x:-160, time:0.25, transition:_local1, delay:_local2});
_bf957._pg104 = 64;
Tweener.addTween(_bf957, {_pg104:0, time:0.25, transition:_local1, delay:_local2});
_ib148 = _bf957;
}
public static function _bs151(_arg1:_td125):void{
_arg1._fu546 = 0;
_arg1.scaleX = 1;
}
public static function _gk238():void{
var _local2:Number;
var _local3:BitmapData;
var _local1:String = irrcrpt("iewiSyxIpewxmg", 4);
_local1 = irrcrpt("mjofbs", 1);
_local3 = _ao876._kj1159;
_local2 = 0;
_dm1152 = _mk299._ng406._tb698(_mk299.Parent, _local3, 4, (-((_rm505._fx583 / 2)) - (_local3.height / 2)), 0, _yw721, _xk771, _py989);
_dm1152._pg104 = 64;
Tweener.addTween(_dm1152, {y:-10, time:0.25, transition:_local1, delay:_local2});
Tweener.addTween(_dm1152, {_pg104:0, time:0.25, transition:_local1, delay:_local2});
_ct1185 = true;
}
public static function Init(_arg1:Sprite):void{
quality = 1;
Parent = _arg1;
_mk299 = new _qr181();
_mk299.Init(Parent, _rm505._gr406, _rm505._fx583);
_mk299._or1132(_ao876._kl949);
_mk299._do1053();
_md653 = new _ai813();
_uk601 = new _ai813();
_au1132 = new _qr181();
_au1132.Init(Parent, _ao876._ot861.width, _ao876._ot861.height, true);
_au1132._or1132(_ao876._ot861);
_au1132._ng406._tb698(_au1132.Parent, _ao876._yl676, 110, 140, 1, _ps206, _xk771, _py989);
_au1132._xk625(300, 300);
_au1132._do1053();
_sn450 = _mk299.Parent.x;
_pn635 = _mk299.Parent.y;
if (_rm505._fc359 == false){
_mk299._pv1141();
_mk299._or1132(_ao876._eb540);
} else {
_oq363 = 1;
_cr233 = 1;
};
}
public static function _ee752(_arg1:Event):void{
_pc1162();
_nw170._mc641(irrcrpt("jvvr://owpukgicogu.eqo?tgh=ectejcqu", 2));
}
public static function _ti803():void{
if (_xe1184._ym363 == 65){
_kl184 = (_kl184 - 0.5);
_gn776._bk303();
_gn776._rm1150(irrcrpt("xmxpi", 4), _kl184);
trace((irrcrpt("NqqrUvctv=", 2) + _kl184));
_gn776._be773(irrcrpt("ujumf", 1));
};
if (_xe1184._ym363 == 66){
_kl184 = (_kl184 + 0.5);
_gn776._bk303();
_gn776._rm1150(irrcrpt("ynyqj", 5), _kl184);
trace((irrcrpt("NqqrUvctv=", 2) + _kl184));
_gn776._be773(irrcrpt("wlwoh", 3));
};
}
public static function ShowScoresDone():void{
_mk299._sv1093();
}
public static function _he338(_arg1:Event):void{
_pc1162();
if (_nl1009.state == 1){
_nl1009.state = 0;
_gn776._bk303();
_gn776._yl379(false);
_nl1009._or1132(_ao876._nc607);
} else {
_nl1009.state = 1;
_gn776._yl379(true);
_wd477(null);
_nl1009._or1132(_ao876._rm50);
};
_cr233 = _nl1009.state;
}
public static function _mo336():void{
_au1132._do1053();
}
public static function _ku1117():void{
var _local2:Number;
var _local3:BitmapData;
var _local5:int;
var _local6:int;
var _local1:String = irrcrpt("fbtfPvuFmbtujd", 1);
var _local4:Number = 70;
_local1 = irrcrpt("fbtfPvu", 1);
_local2 = 500;
_local3 = _oo1059._dn828[0];
_de797 = _md653._nm1044(_local3, _mk299._yo1112, (0 - (95 / 2)), (599 + (56 / 2)), _local2);
_de797.rotation = 315;
_de797._nx1153(194, 356, 0.5, 0, false);
_de797.id = 1;
_de797._ne155(_am998);
_local2 = (_local2 + 800);
_local3 = _oo1059._dn828[1];
_de797 = _md653._nm1044(_local3, _mk299._yo1112, (0 - (95 / 2)), (599 + (56 / 2)), _local2);
_de797.rotation = 315;
_de797._nx1153((194 - 60), (356 + 60), 0.5, 0, false);
_de797.id = 2;
_de797._ne155(_am998);
_local2 = (_local2 + 800);
_local3 = _oo1059._dn828[2];
_de797 = _md653._nm1044(_local3, _mk299._yo1112, (0 - (95 / 2)), (599 + (56 / 2)), _local2);
_de797.rotation = 315;
_de797._nx1153((194 - (60 * 2)), (356 + (60 * 2)), 0.5, 0, false);
_de797.id = 3;
_de797._ne155(_am998);
_local2 = (_local2 + 800);
_local3 = _oo1059._dn828[3];
_de797 = _md653._nm1044(_local3, _mk299._yo1112, (0 - (95 / 2)), (599 + (56 / 2)), _local2);
_de797.rotation = 315;
_de797._nx1153((194 - (60 * 3)), (356 + (60 * 3)), 0.5, 0, false);
_de797.id = 4;
_de797._ne155(_am998);
_wd477(null);
}
public static function _sa937():void{
_md653._sa937();
}
public static function _sb586():void{
}
public static function _ps206(_arg1:Event):void{
var _local2:String;
_local2 = irrcrpt("fbtfPvu", 1);
Tweener.addTween(_au1132.Parent, {y:(-((_rm505._fx583 / 2)) - (_ao876._ot861.height / 2)), time:2, transition:_local2, onComplete:_mo336});
_mk299._sv1093();
}
public static function _og601():void{
_gt158 = 0;
_mk299._xk625(_sn450, _pn635);
_mk299._ap864(0.5, _jy514);
_gn776._kv362(irrcrpt("ujumf", 1));
_gn776._ap864(irrcrpt("wlwoh", 3));
_cc136 = _rm505._uv1176;
_rm505._ia1042 = _rm505._uv1176;
}
public static function _mh457(_arg1:Event):void{
_pc1162();
_nw170._mc641(irrcrpt("lxxt://qyrwmikeqiw.gsq?vij=gevglesw", 4));
}
public static function _wy493(_arg1:Event):void{
var _local2:BitmapData;
quality++;
if (quality == 3){
quality = 0;
};
if (quality == 0){
_local2 = _ao876._dc941;
} else {
if (quality == 1){
_local2 = _ao876._gm344;
} else {
if (quality == 2){
_local2 = _ao876._ch813;
};
};
};
_nv1010._or1132(_local2);
_rm505._br91(quality);
_pc1162();
}
public static function _ir54():void{
var _local2:Number;
var _local3:BitmapData;
var _local1:String = irrcrpt("fbtfPvuFmbtujd", 1);
_local1 = irrcrpt("pmriev", 4);
_local3 = _ao876._yh48;
_local2 = 0;
_bf957 = _mk299._ng406._gd949(_mk299.Parent, _local3, (300 + (_local3.width / 2)), -150, 1);
Tweener.addTween(_bf957, {x:120, time:0.25, transition:_local1, delay:_local2});
_bf957._pg104 = 64;
Tweener.addTween(_bf957, {_pg104:0, time:0.25, transition:_local1, delay:_local2});
_vv957 = _bf957;
}
public static function _yw721(_arg1:Event):void{
_pc1162();
_rm505._jl1158._vi243();
_og601();
_ts31._be773(irrcrpt("mfuthp", 1));
}
public static function _ao418():void{
}
public static function _wf876(_arg1:Event):void{
_pc1162();
if (_lh778.state == 1){
_lh778.state = 0;
_ts31._yl379(false);
_lh778._or1132(_ao876._lj656);
} else {
_lh778.state = 1;
_ts31._yl379(true);
_lh778._or1132(_ao876._vg850);
};
_oq363 = _lh778.state;
}
public static function _pc1162():void{
}
public static function _ur443(_arg1:Event):void{
_pc1162();
_nw170._mc641(irrcrpt("kwws://pxqvlhjdphv.frp?uhi=fdufkdrv", 3));
}
public static function _jk107(_arg1:Event):void{
var _local2:String;
_mk299._ex1070(1);
_au1132._pv1141();
_local2 = irrcrpt("jfxjTzy", 5);
_au1132.Parent.y = (-((_rm505._fx583 / 2)) - (_ao876._ot861.height / 2));
Tweener.addTween(_au1132.Parent, {y:300, time:1, transition:_local2});
}
public static function _xr369():void{
var _local1:BitmapData;
_local1 = _ao876._kj1159;
_dm1152 = _mk299._ng406._tb698(_mk299.Parent, _local1, 4, -10, 0, _yw721, _xk771, _py989);
_ct1185 = true;
_local1 = _ao876._cd367;
_bf957 = _mk299._ng406._tb698(_mk299.Parent, _local1, -58, 180, 4, _tb1126, _xk771, _py989);
_local1 = _ao876._la1145;
_bf957 = _mk299._ng406._tb698(_mk299.Parent, _local1, -37, 220, 1, _jk107, _xk771, _py989);
_local1 = _ao876._so336;
_bf957 = _mk299._ng406._tb698(_mk299.Parent, _local1, -60, 265, 1, _cr292, _xk771, _py989);
_local1 = _ao876._vg850;
if (_oq363 == 0){
_local1 = _ao876._lj656;
};
_lh778 = _mk299._ng406._tb698(_mk299.Parent, _local1, 62, 50, 1, _wf876, _xk771, _py989);
_lh778.state = _oq363;
_local1 = _ao876._rm50;
if (_cr233 == 0){
_local1 = _ao876._nc607;
};
_nl1009 = _mk299._ng406._tb698(_mk299.Parent, _local1, 88, 47, 1, _he338, _xk771, _py989);
_nl1009.state = _cr233;
if (quality == 0){
_local1 = _ao876._dc941;
} else {
if (quality == 1){
_local1 = _ao876._gm344;
} else {
if (quality == 2){
_local1 = _ao876._ch813;
};
};
};
_nv1010 = _mk299._ng406._tb698(_mk299.Parent, _local1, 118, 46, 1, _wy493, _xk771, _py989);
}
}
}//package
Section 99
//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