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;
private static var _engineExists:Boolean = false;
private static var _specialPropertyModifierList:Object;
private static var _currentTime:Number;
private static var _tweenList:Array;
private static var _specialPropertyList:Object;
private static var _transitionList:Object;
private static var _inited:Boolean = false;
private static var __tweener_controller__:MovieClip;
public function Tweener(){
trace("Tweener is a static class and should not be instantiated.");
}
public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{
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 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 updateFrame():void{
_currentTimeFrame++;
}
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.31.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 = {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;
removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete);
_tweenList.push(_local15);
if ((((_local8 == 0)) && ((_local9 == 0)))){
_local16 = (_tweenList.length - 1);
updateTweenByIndex(_local16);
removeTweenByIndex(_local16);
};
_local3++;
};
return (true);
}
public static function registerTransition(_arg1:String, _arg2:Function):void{
if (!_inited){
init();
};
_transitionList[_arg1] = _arg2;
}
public static function printError(_arg1:String):void{
trace(("## [Tweener] Error: " + _arg1));
}
private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{
var _local5:uint;
var _local6:Array;
var _local7:uint;
var _local8:uint;
var _local9:uint;
var _local4:Boolean;
if (!Boolean(_tweenList)){
return (false);
};
_local5 = 0;
while (_local5 < _tweenList.length) {
if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){
if (_arg3.length == 0){
_arg1(_local5);
_local4 = true;
} else {
_local6 = new Array();
_local7 = 0;
while (_local7 < _arg3.length) {
if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){
_local6.push(_arg3[_local7]);
};
_local7++;
};
if (_local6.length > 0){
_local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties);
if (_local8 == _local6.length){
_arg1(_local5);
_local4 = true;
} else {
_local9 = splitTweens(_local5, _local6);
_arg1(_local9);
_local4 = true;
};
};
};
};
_local5++;
};
return (_local4);
}
public static function getTweens(_arg1:Object):Array{
var _local2:uint;
var _local3:String;
if (!Boolean(_tweenList)){
return ([]);
};
var _local4:Array = new Array();
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
for (_local3 in _tweenList[_local2].properties) {
_local4.push(_local3);
};
};
_local2++;
};
return (_local4);
}
public static function isTweening(_arg1:Object):Boolean{
var _local2:uint;
if (!Boolean(_tweenList)){
return (false);
};
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
return (true);
};
_local2++;
};
return (false);
}
public static function pauseTweenByIndex(_arg1:Number):Boolean{
var _local2:TweenListObj = _tweenList[_arg1];
if ((((_local2 == null)) || (_local2.isPaused))){
return (false);
};
_local2.timePaused = getCurrentTweeningTime(_local2);
_local2.isPaused = true;
return (true);
}
public static function getCurrentTweeningTime(_arg1:Object):Number{
return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime);
}
public static function getTweenCount(_arg1:Object):Number{
var _local2:uint;
if (!Boolean(_tweenList)){
return (0);
};
var _local3:Number = 0;
_local2 = 0;
while (_local2 < _tweenList.length) {
if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){
_local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties));
};
_local2++;
};
return (_local3);
}
private static function stopEngine():void{
_engineExists = false;
_tweenList = null;
_currentTime = 0;
_currentTimeFrame = 0;
__tweener_controller__.removeEventListener(Event.ENTER_FRAME, Tweener.onEnterFrame);
__tweener_controller__ = null;
}
public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{
var removedLocally:Boolean;
var i:uint;
var pName:String;
var eventScope:Object;
var p_scope = _arg1;
var p_properties = _arg2;
var p_timeStart = _arg3;
var p_timeComplete = _arg4;
var removed:Boolean;
var tl:uint = _tweenList.length;
i = 0;
while (i < tl) {
if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){
if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){
removedLocally = false;
for (pName in _tweenList[i].properties) {
if (Boolean(p_properties[pName])){
if (Boolean(_tweenList[i].onOverwrite)){
eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope;
try {
_tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams);
} catch(e:Error) {
handleError(_tweenList[i], e, "onOverwrite");
};
};
_tweenList[i].properties[pName] = undefined;
delete _tweenList[i].properties[pName];
removedLocally = true;
removed = true;
};
};
if (removedLocally){
if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){
removeTweenByIndex(i);
};
};
};
};
i = (i + 1);
};
return (removed);
}
public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{
if (!_inited){
init();
};
var _local4:SpecialPropertySplitter = new SpecialPropertySplitter(_arg2, _arg3);
_specialPropertySplitterList[_arg1] = _local4;
}
public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{
_tweenList[_arg1] = null;
if (_arg2){
_tweenList.splice(_arg1, 1);
};
return (true);
}
public static function resumeTweens(_arg1:Object, ... _args):Boolean{
var _local4:uint;
var _local3:Array = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
_local3.push(_args[_local4]);
};
_local4++;
};
return (affectTweens(resumeTweenByIndex, _arg1, _local3));
}
public static function pauseTweens(_arg1:Object, ... _args):Boolean{
var _local4:uint;
var _local3:Array = new Array();
_local4 = 0;
while (_local4 < _args.length) {
if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){
_local3.push(_args[_local4]);
};
_local4++;
};
return (affectTweens(pauseTweenByIndex, _arg1, _local3));
}
}
}//package caurina.transitions
Section 8
//TweenListObj (caurina.transitions.TweenListObj)
package caurina.transitions {
public class TweenListObj {
public var hasStarted:Boolean;
public var onUpdate:Function;
public var useFrames:Boolean;
public var count:Number;
public var onOverwriteParams:Array;
public var timeStart:Number;
public var timeComplete:Number;
public var onStartParams:Array;
public var onUpdateScope:Object;
public var rounded:Boolean;
public var onUpdateParams:Array;
public var properties:Object;
public var onComplete:Function;
public var transitionParams:Object;
public var updatesSkipped:Number;
public var onStart:Function;
public var onOverwriteScope:Object;
public var skipUpdates:Number;
public var onStartScope:Object;
public var scope:Object;
public var isCaller:Boolean;
public var timePaused:Number;
public var transition:Function;
public var onCompleteParams:Array;
public var onError:Function;
public var timesCalled:Number;
public var onErrorScope:Object;
public var onOverwrite:Function;
public var isPaused:Boolean;
public var waitFrames:Boolean;
public var onCompleteScope:Object;
public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){
scope = _arg1;
timeStart = _arg2;
timeComplete = _arg3;
useFrames = _arg4;
transition = _arg5;
transitionParams = _arg6;
properties = new Object();
isPaused = false;
timePaused = undefined;
isCaller = false;
updatesSkipped = 0;
timesCalled = 0;
skipUpdates = 0;
hasStarted = false;
}
public function clone(_arg1:Boolean):TweenListObj{
var _local3:String;
var _local2:TweenListObj = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams);
_local2.properties = new Array();
for (_local3 in properties) {
_local2.properties[_local3] = properties[_local3].clone();
};
_local2.skipUpdates = skipUpdates;
_local2.updatesSkipped = updatesSkipped;
if (!_arg1){
_local2.onStart = onStart;
_local2.onUpdate = onUpdate;
_local2.onComplete = onComplete;
_local2.onOverwrite = onOverwrite;
_local2.onError = onError;
_local2.onStartParams = onStartParams;
_local2.onUpdateParams = onUpdateParams;
_local2.onCompleteParams = onCompleteParams;
_local2.onOverwriteParams = onOverwriteParams;
_local2.onStartScope = onStartScope;
_local2.onUpdateScope = onUpdateScope;
_local2.onCompleteScope = onCompleteScope;
_local2.onOverwriteScope = onOverwriteScope;
_local2.onErrorScope = onErrorScope;
};
_local2.rounded = rounded;
_local2.isPaused = isPaused;
_local2.timePaused = timePaused;
_local2.isCaller = isCaller;
_local2.count = count;
_local2.timesCalled = timesCalled;
_local2.waitFrames = waitFrames;
_local2.hasStarted = hasStarted;
return (_local2);
}
public function toString():String{
var _local3:String;
var _local1 = "\n[TweenListObj ";
_local1 = (_local1 + ("scope:" + String(scope)));
_local1 = (_local1 + ", properties:");
var _local2:Boolean;
for (_local3 in properties) {
if (!_local2){
_local1 = (_local1 + ",");
};
_local1 = (_local1 + ("[name:" + properties[_local3].name));
_local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart));
_local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete));
_local1 = (_local1 + "]");
_local2 = false;
};
_local1 = (_local1 + (", timeStart:" + String(timeStart)));
_local1 = (_local1 + (", timeComplete:" + String(timeComplete)));
_local1 = (_local1 + (", useFrames:" + String(useFrames)));
_local1 = (_local1 + (", transition:" + String(transition)));
_local1 = (_local1 + (", transitionParams:" + String(transitionParams)));
if (skipUpdates){
_local1 = (_local1 + (", skipUpdates:" + String(skipUpdates)));
};
if (updatesSkipped){
_local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped)));
};
if (Boolean(onStart)){
_local1 = (_local1 + (", onStart:" + String(onStart)));
};
if (Boolean(onUpdate)){
_local1 = (_local1 + (", onUpdate:" + String(onUpdate)));
};
if (Boolean(onComplete)){
_local1 = (_local1 + (", onComplete:" + String(onComplete)));
};
if (Boolean(onOverwrite)){
_local1 = (_local1 + (", onOverwrite:" + String(onOverwrite)));
};
if (Boolean(onError)){
_local1 = (_local1 + (", onError:" + String(onError)));
};
if (onStartParams){
_local1 = (_local1 + (", onStartParams:" + String(onStartParams)));
};
if (onUpdateParams){
_local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams)));
};
if (onCompleteParams){
_local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams)));
};
if (onOverwriteParams){
_local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams)));
};
if (onStartScope){
_local1 = (_local1 + (", onStartScope:" + String(onStartScope)));
};
if (onUpdateScope){
_local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope)));
};
if (onCompleteScope){
_local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope)));
};
if (onOverwriteScope){
_local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope)));
};
if (onErrorScope){
_local1 = (_local1 + (", onErrorScope:" + String(onErrorScope)));
};
if (rounded){
_local1 = (_local1 + (", rounded:" + String(rounded)));
};
if (isPaused){
_local1 = (_local1 + (", isPaused:" + String(isPaused)));
};
if (timePaused){
_local1 = (_local1 + (", timePaused:" + String(timePaused)));
};
if (isCaller){
_local1 = (_local1 + (", isCaller:" + String(isCaller)));
};
if (count){
_local1 = (_local1 + (", count:" + String(count)));
};
if (timesCalled){
_local1 = (_local1 + (", timesCalled:" + String(timesCalled)));
};
if (waitFrames){
_local1 = (_local1 + (", waitFrames:" + String(waitFrames)));
};
if (hasStarted){
_local1 = (_local1 + (", hasStarted:" + String(hasStarted)));
};
_local1 = (_local1 + "]\n");
return (_local1);
}
public static function makePropertiesChain(_arg1:Object):Object{
var _local3:Object;
var _local4:Object;
var _local5:Object;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local2:Object = _arg1.base;
if (_local2){
_local3 = {};
if ((_local2 is Array)){
_local4 = [];
_local8 = 0;
while (_local8 < _local2.length) {
_local4.push(_local2[_local8]);
_local8++;
};
} else {
_local4 = [_local2];
};
_local4.push(_arg1);
_local6 = _local4.length;
_local7 = 0;
while (_local7 < _local6) {
if (_local4[_local7]["base"]){
_local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]);
} else {
_local5 = _local4[_local7];
};
_local3 = AuxFunctions.concatObjects(_local3, _local5);
_local7++;
};
if (_local3["base"]){
delete _local3["base"];
};
return (_local3);
//unresolved jump
};
return (_arg1);
}
}
}//package caurina.transitions
Section 9
//_ej123 (classes._ej123)
package classes {
public class _ej123 {
public var _ct225:Number;// = 0
public var _ds561:Number;// = 0
public var _aj392:Number;// = 0
public var _sj1084:Number;// = 0
public var _lh790:Number;// = 0
public var _cd289:Number;// = 0
public var _qd1110:Number;// = 0
public var _id875:Number;// = 0
public function _ej123():void{
}
}
}//package classes
Section 10
//_fm115 (classes._fm115)
package classes {
public class _fm115 {
public var _jl1088:int;
public var _qk912:int;
public var _cx447:int;
public var _mv792:Array;
public var _ty212:int;
public var _ia94:int;
public var _gg227:int;
public var _tr1045:Number;// = 0
public function _fm115():void{
}
}
}//package classes
Section 11
//_ft79 (classes._ft79)
package classes {
import flash.media.*;
import flash.utils.*;
public class _ft79 {
private var _ne967:Dictionary;
private var _bc1073:Boolean;
public function _ft79(){
_ne967 = new Dictionary();
_bc1073 = true;
}
public function _ng833(_arg1:String):Number{
var _local2:_nw332;
if (_ne967[_arg1] == null){
throw (new Error(((irrcrpt("<RLJXtzsix> Ljy Ufs: ", 5) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local2 = _ne967[_arg1];
return (_local2._ng833());
}
public function _cg655(_arg1:Boolean):void{
_bc1073 = _arg1;
}
public function _jt262(_arg1:String, _arg2:Number):void{
var _local3:_nw332;
if (_ne967[_arg1] == null){
throw (new Error(((irrcrpt("<RLJXtzsix> Xjy Atqzrj: ", 5) + _arg1) + irrcrpt(" ycu pqv hqwpf!", 2))));
};
_local3 = _ne967[_arg1];
_local3._jt262(_arg2);
}
public function _do191(_arg1:String):void{
var _local2:_nw332;
if (_ne967[_arg1] == null){
throw (new Error(((irrcrpt("<RLJXtzsix> Uqfd Xtzsi: ", 5) + _arg1) + irrcrpt(" zdv qrw irxqg!", 3))));
};
_local2 = _ne967[_arg1];
if (_bc1073 == true){
_local2._do191();
};
}
public function _nq571(_arg1:String, _arg2:Number):void{
var _local3:_nw332;
if (_ne967[_arg1] == null){
throw (new Error(((irrcrpt("<PJHVrxqgv> Vhw Sdq: ", 3) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local3 = _ne967[_arg1];
_local3._nq571(_arg2);
}
public function _ya338(_arg1:String, _arg2:Sound, _arg3:Number=0, _arg4:int=0):void{
var _local5:_nw332 = new _nw332();
_local5._ya338(_arg2, _arg3, _arg4);
_ne967[_arg1] = _local5;
}
public function _uf1086():void{
var _local1:_nw332;
for each (_local1 in _ne967) {
_local1._rm620();
};
}
public function _rm620(_arg1:String):void{
var _local2:_nw332;
if (_ne967[_arg1] == null){
throw (new Error(((irrcrpt("<NHFTpvoet> Tupq Tpvoe: ", 1) + _arg1) + irrcrpt(" xbt opu gpvoe!", 1))));
};
_local2 = _ne967[_arg1];
_local2._rm620();
}
public function _bk938():Boolean{
return (_bc1073);
}
public function _ra283(_arg1:String):Number{
var _local2:_nw332;
if (_ne967[_arg1] == null){
throw (new Error(((irrcrpt("<RLJXtzsix> Ljy Atqzrj: ", 5) + _arg1) + irrcrpt(" aew rsx jsyrh!", 4))));
};
_local2 = _ne967[_arg1];
return (_local2._ra283());
}
}
}//package classes
Section 12
//_gn1124 (classes._gn1124)
package classes {
import flash.display.*;
import flash.geom.*;
public class _gn1124 {
public var _wv249:Number;// = 0
public var _ee48:Number;// = 0
public var _eo1075:Number;// = 0
public var _dm369:Number;// = 0
public var _rx510:int;
public var _ap1113:Number;// = 0
public var _qp797:Rectangle;
public var _wv474:Number;// = 0
public var _bl96:int;// = 0
public var _vy965:int;// = 0
public var _if1006:int;
public var _so502:Number;// = 0
public var _ik1048:Number;// = 0
public var _td675:Number;// = 0
public var _jx520:Number;// = 0
public var _rc624:Number;// = 0
public var _ou1105:Number;// = 0
public var _dn902:Object;
public var _kp844:Boolean;
public var _cl807:Number;// = 0
public var _vk350:Number;// = 0
public var _eo906:Number;// = 0
public var callback:Object;
public var _ns886:Number;// = 0
public var _ip574:Number;// = 0
public var _sk1043:Number;// = 0
public var _ec168:int;
public var _hp1101:Number;// = 0
public var _mq668:int;// = 0
public var _ad1020:Number;// = 0
public var _ho20:Number;// = 0
public var _ah99:Boolean;
public var _ww1009:Number;// = 0
public var _jw697:int;
private var _wm1092:Number;// = 0
public var _ho337:Number;// = 0
public var _kj640:int;
public var id3:int;
public var y:Number;// = 0
public var x:Number;// = 0
public var _vc898:Number;// = 0
public var _mx998:Number;// = 0
public var state:int;
public var _pf1130:Number;// = 0
public var _lj330:int;
public var _xv772:Number;// = 0
public var _lk781:Number;// = 0
public var _wl1066:Number;// = 0
public var _oj537:Number;// = 0
public var _xq767:Number;// = 0
public var _mh519:Number;// = 0
public var _aw439:Number;// = 0
public var _sg944:Number;// = 0
public var _sg824:int;
public var _nx448:Number;// = 0
public var _kt329:Number;// = 0
public var _fu1116:int;
public var _we885:Number;// = 0
public var _qr427:Number;// = 0
public var _nj621:Number;// = 0
public var _rg230:int;
public var _mo1054:BitmapData;
public var _ja371:Number;// = 0
public var _hy828:Number;// = 0
public var _rx337:Number;// = 0
public var _uv590:String;
public var _db82:String;
public var _ph295:int;// = 0
public var _wh373:Number;// = 0
public var _sc367:Number;// = 0
public var _yf597:Object;
public var _ta423:Boolean;
public var _fe194:Number;// = 0
public var _ty399:Boolean;
public var _cg730:Number;// = 0
public var _jo896:int;
public var _ic534:Number;// = 0
public var _ax434:Object;
public var _td819:Number;// = 0
public var _kd109:int;// = 0
public var _ec418:Number;// = 0
public var _eb201:Number;// = 0
public var _yc894:Number;// = 0
public var _mv69:Number;// = 0
public var _xk574:Number;// = 0
public var _id192:Number;// = 0
public var _qc653:Number;// = 0
public var _ps80:Number;// = 0
public var id:int;
public var _jd315:Number;// = 0
public var _jw396:Number;// = 0
public var _yl359:Number;// = 0
public var height:int;
public var _hk593:Number;// = 0
public var type:int;
public var _hn868:Number;// = 0
public var _uo514:Number;// = 0
public var _ft451:int;
public var _ab49:int;// = 0
public var _yl486:Number;// = 0
public var _fq618:Boolean;
public var _sa1044:Number;// = 0
public var _xt293:Boolean;
public var _eh579:Array;
public var _id1020:Number;// = 0
public var _po843:int;// = 0
public var _ng84:int;
public var alpha:Number;// = 0
public var _va182:Number;// = 0
public var _dr564:Number;
public var _yd1036:_gn1124;
public var _xg209:String;
public var frame:Number;// = 0
public var _jg179:Number;// = 0
public var _mk974:int;
public var _jl506:Number;// = 0
public var _hh429:Number;// = 0
public var rotation:Number;// = 0
public var _kp1095:Number;// = 0
public var _dj964:Number;// = 0
public var _pr446:int;
public var _xs536:Number;// = 0
public var _oc603:Number;// = 0
public var _ky602:Number;// = 0
public var _ci843:Number;// = 0
public var _ee640:int;
public var _ei207:int;
public var _yg816:Number;// = 0
public var _du725:Number;// = 0
public var _mn578:Number;// = 0
public var _jd912:Number;// = 0
public var _ho197:int;
public var _qa966:Boolean;
public var _bs141:BitmapData;
public var _dv827:Number;// = 0
public var _nw879:Number;// = 0
public var _uf1002:Number;// = 0
public var _ig397:Number;// = 0
public var _ff422:Number;// = 0
public var delta:Number;// = 0
public var _tr343:Number;// = 0
public var target:_gn1124;
public var _ia732:Number;// = 0
public var _wm654:Boolean;
public var _tp727:Number;// = 0
public var _sk590:int;
public var _vm737:Number;// = 0
public var width:int;
public var _ay906:Object;
public var _nv1043:Number;// = 0
public var _ko960:int;
public var _di1133:Number;// = 0
public var _vn395:Number;// = 0
public var _kq463:int;// = 0
public var _no1097:Number;// = 0
public var _if873:Number;// = 0
public var _lv714:int;// = 0
public var _xh330:Number;// = 0
public var _ds631:Number;// = 0
public var _yq506:Point;
public var _wn518:int;
public var _yd453:int;
public var _mx140:int;// = 0
public var _br769:Number;// = 0
public var _hl264:Number;// = 0
public var _qu798:int;
public var _rt822:Number;// = 0
public var _yn1115:Number;// = 0
public var _rl783:Number;// = 0
public var _ur964:Number;// = 0
public var _tq156:Number;// = 0
public var _aa88:Number;// = 0
public function _gn1124(){
_ur964 = -10000;
_hl264 = 10000;
_xh330 = -10000;
_wv249 = 10000;
alpha = 1;
_vk350 = 1;
_dv827 = 1;
_tr343 = 1;
_xs536 = 1;
_jx520 = 1;
_wm1092 = (Math.PI * 2);
_qp797 = new Rectangle(0, 0, 0, 0);
_yq506 = new Point(0, 0);
_ty399 = true;
}
public function _wx1126(_arg1:_gn1124, _arg2:Number, _arg3:Number, _arg4:Number):void{
target = _arg1;
_dj964 = _arg2;
_xk574 = _arg3;
_tp727 = _arg4;
_kd109 = 5;
}
public function _bw882(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_rx510 = _arg4;
_ig397 = _arg1;
_qc653 = _arg2;
_xq767 = _arg3;
_vk350 = _arg5;
}
public function _cl327():void{
if (_pr446){
_nv1043 = (_nv1043 + (_uf1002 * delta));
switch (_pr446){
case 1:
if (_nv1043 >= _kp1095){
_nv1043 = _kp1095;
_uf1002 = -(_uf1002);
} else {
if (_nv1043 <= _td819){
_nv1043 = _td819;
_uf1002 = -(_uf1002);
};
};
break;
case 2:
if (_nv1043 >= _kp1095){
_nv1043 = _td819;
} else {
if (_nv1043 <= _td819){
_nv1043 = _kp1095;
};
};
break;
case 3:
if (_nv1043 >= _kp1095){
_nv1043 = _kp1095;
_pr446 = 0;
} else {
if (_nv1043 <= _td819){
_nv1043 = _td819;
_pr446 = 0;
};
};
break;
case 4:
if (_nv1043 >= _kp1095){
_nv1043 = _kp1095;
_pr446 = 0;
_xt293 = true;
} else {
if (_nv1043 <= _td819){
_nv1043 = _td819;
_pr446 = 0;
_xt293 = true;
};
};
break;
};
};
}
public function _wr450(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):void{
_ap1113 = _arg1;
_ip574 = _arg2;
_jg179 = _arg3;
_vn395 = _arg4;
_nj621 = _arg5;
_kd109 = 1;
}
public function _lv1005(_arg1:Number):void{
_dr564 = _arg1;
}
public function _nx634(_arg1:Object):void{
callback = _arg1;
}
public function _be495(_arg1:BitmapData, _arg2:Number, _arg3:Number):void{
}
public function _st183(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{
_fe194 = _arg1;
_yc894 = _arg2;
_ik1048 = _arg3;
_sa1044 = _arg4;
_jw396 = _arg5;
_rl783 = _arg6;
_jl506 = 1;
_hy828 = 1;
_yl359 = 1;
_wm654 = true;
}
public function _in811():void{
if (_wm654 == true){
_fe194 = (_fe194 - (_sa1044 * delta));
_yc894 = (_yc894 - (_jw396 * delta));
_ik1048 = (_ik1048 - (_rl783 * delta));
if (_fe194 < _jl506){
_fe194 = _jl506;
};
if (_yc894 < _hy828){
_yc894 = _hy828;
};
if (_ik1048 < _yl359){
_ik1048 = _jl506;
};
_tr343 = _fe194;
_xs536 = _yc894;
_jx520 = _ik1048;
if (_fe194 == _jl506){
if (_yc894 == _hy828){
if (_ik1048 == _yl359){
_wm654 = false;
};
};
};
};
}
public function _ai380(_arg1:Number, _arg2:Number):void{
x = _arg1;
y = _arg2;
}
public function _bu701(_arg1:Number, _arg2:Number, _arg3:Number):void{
_tr343 = _arg1;
_xs536 = _arg2;
_jx520 = _arg3;
}
public function _uy1003():void{
var _local1:_gn1124;
if (_mx998 > 1){
_mx998 = (_mx998 - delta);
if (_mx998 < 1){
_mx998 = _oj537;
_local1 = new _gn1124();
_local1._ku861(_bs141, 0, 0, width, height, _mo1054);
_local1.frame = frame;
_local1._ai380(x, y);
_local1._sh498(_vk350, _dv827);
_local1._yd751(-(_br769), alpha);
_local1._bu701(_tr343, _xs536, _jx520);
_local1.rotation = rotation;
_eh579.push(_local1);
};
};
}
public function _vi979(_arg1:Number, _arg2:Number):void{
_ci843 = _arg1;
_hp1101 = _arg2;
}
public function _im735(_arg1:Number):void{
alpha = _arg1;
}
public function _ku861(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:BitmapData, _arg7:int=1, _arg8:Number=0, _arg9:Boolean=true):void{
_aa88 = _arg8;
type = _arg7;
_bs141 = _arg1;
_mo1054 = _arg6;
_lj330 = _arg2;
_sg824 = _arg3;
width = _arg4;
height = _arg5;
_qp797.width = width;
_qp797.height = height;
_ta423 = _arg9;
_sg944 = (width / 2);
_ci843 = width;
_hp1101 = height;
_ty399 = true;
if (_aa88 > 0){
_fq618 = _ty399;
_ty399 = false;
};
_im735(1);
}
public function _lf500():void{
var _local1:Number;
var _local2:ColorTransform;
var _local3:Matrix;
var _local4:Number;
var _local5:Number;
if (_aa88 == 0){
if (type == 1){
_local1 = 0;
if (rotation != 0){
if (rotation > 180){
_local1 = (-360 + rotation);
} else {
_local1 = rotation;
};
_local1 = ((_wm1092 * _local1) / 360);
};
_local2 = new ColorTransform(_tr343, _xs536, _jx520, alpha, 0, 0, 0, 0);
_local3 = new Matrix();
_local4 = width;
_local5 = height;
if (_ta423 == true){
_local3.translate((-(_local4) / 2), (-(_local5) / 2));
};
_local3.scale(_vk350, _dv827);
_local3.rotate(_local1);
_local3.translate(Math.round(x), Math.round(y));
_mo1054.draw(_bs141, _local3, _local2, _db82, null, true);
} else {
if (_ta423 == true){
_yq506.x = Math.round((x - (width / 2)));
_yq506.y = Math.round((y - (height / 2)));
} else {
_yq506.x = Math.round(x);
_yq506.y = Math.round(y);
};
_qp797.x = _lj330;
_qp797.y = _sg824;
_mo1054.copyPixels(_bs141, _qp797, _yq506, null, null, true);
};
};
}
public function _fb797(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_pr446 = _arg4;
_uf1002 = _arg1;
_td819 = _arg2;
_kp1095 = _arg3;
_nv1043 = _arg5;
}
public function _gk162():void{
if (_ng84){
_ky602 = (_ky602 + (_ia732 * delta));
switch (_ng84){
case 1:
if (_ky602 > _ko960){
_ky602 = _ko960;
_ia732 = -(_ia732);
} else {
if (_ky602 < _rg230){
_ky602 = _rg230;
_ia732 = -(_ia732);
};
};
break;
case 2:
if (_ky602 > _ko960){
_ky602 = _rg230;
} else {
if (_ky602 < _rg230){
_ky602 = _ko960;
};
};
break;
case 3:
if (_ky602 >= _ko960){
_ky602 = _ko960;
_ng84 = 0;
} else {
if (_ky602 <= _rg230){
_ky602 = _rg230;
_ng84 = 0;
};
};
break;
case 4:
if (_ky602 >= _ko960){
_ky602 = _ko960;
_ng84 = 0;
_xt293 = true;
} else {
if (_ky602 <= _rg230){
_ky602 = _rg230;
_ng84 = 0;
_xt293 = true;
};
};
};
if (Math.round(_ky602) != frame){
frame = Math.round(_ky602);
if (_kp844 == true){
_lj330 = (frame * (width + _ec168));
} else {
_bs141 = _ax434[frame];
};
};
};
}
public function _na1013(_arg1:Object, _arg2:Number, _arg3:int, _arg4:int):void{
_ax434 = _arg1;
_bs141 = _ax434[0];
_rg230 = 0;
_ko960 = (_arg3 - 1);
_ia732 = _arg2;
_ky602 = 0;
frame = 0;
_kp844 = false;
_ng84 = _arg4;
}
public function _gr532(_arg1:Number, _arg2:Number):void{
var _local3:Number = 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) * _up777._aw838));
if (_local3 < 0){
_local3 = (_local3 + 360);
};
if (_local3 > 359){
_local3 = (_local3 - 360);
};
rotation = _local3;
}
public function _mi276():void{
if (_yd453){
_jd315 = (_jd315 + (_mv69 * delta));
switch (_yd453){
case 1:
if (_jd315 >= _mn578){
_jd315 = _mn578;
_mv69 = -(_mv69);
} else {
if (_jd315 <= _ww1009){
_jd315 = _ww1009;
_mv69 = -(_mv69);
};
};
break;
case 2:
if (_jd315 >= _mn578){
_jd315 = _ww1009;
} else {
if (_jd315 <= _ww1009){
_jd315 = _mn578;
};
};
break;
case 3:
if (_jd315 >= _mn578){
_jd315 = _mn578;
_yd453 = 0;
} else {
if (_jd315 <= _ww1009){
_jd315 = _ww1009;
_yd453 = 0;
};
};
break;
case 4:
if (_jd315 >= _mn578){
_jd315 = _mn578;
_yd453 = 0;
_xt293 = true;
} else {
if (_jd315 <= _ww1009){
_jd315 = _ww1009;
_yd453 = 0;
_xt293 = true;
};
};
break;
};
};
}
public function _kv288(_arg1:Number):void{
_sg944 = _arg1;
}
private function _hu564():void{
_eb201 = (_eb201 + (_ps80 * delta));
x = ((((_ec418 * Math.pow((1 - _eb201), 3)) + (((3 * _xv772) * Math.pow((1 - _eb201), 2)) * _eb201)) + (((3 * _wl1066) * (1 - _eb201)) * Math.pow(_eb201, 2))) + (_tq156 * Math.pow(_eb201, 3)));
y = ((((_wh373 * Math.pow((1 - _eb201), 3)) + (((3 * _nw879) * Math.pow((1 - _eb201), 2)) * _eb201)) + (((3 * _ja371) * (1 - _eb201)) * Math.pow(_eb201, 2))) + (_so502 * Math.pow(_eb201, 3)));
if (_eb201 >= 1){
x = _tq156;
y = _so502;
if (_mq668 < _po843){
_mq668 = (_mq668 + 1);
_ti642();
_eb201 = 0;
} else {
if (_vy965 == 0){
_kd109 = 0;
if (_ab49 == 0){
_xt293 = true;
};
} else {
_mq668 = _mx140;
_ti642();
_eb201 = 0;
};
};
};
}
public function _ry641(_arg1:String):void{
_db82 = _arg1;
}
public function _tb290(_arg1:_gn1124, _arg2:Number, _arg3:Number):void{
_qr427 = _mx498._bd1068(x, y, _arg1.x, _arg1.y);
x = (x + (_mx498._vw324(_qr427, _arg2) * _arg3));
y = (y + (_mx498._pd1029(_qr427, _arg2) * _arg3));
}
public function _cn217(_arg1:int, _arg2:int, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:int=0, _arg7:int=0, _arg8:int=0, _arg9:int=0, _arg10:int=0):void{
_kd109 = 4;
_ph295 = _arg10;
_lv714 = _arg8;
_bl96 = _arg9;
_vy965 = _arg6;
_ab49 = _arg7;
_ps80 = _arg3;
_eb201 = 0;
_mx140 = _arg1;
_po843 = _arg2;
_mq668 = _arg1;
_ic534 = _arg4;
_rc624 = _arg5;
_ti642();
}
public function _gy218(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):void{
_dj964 = _arg1;
_xk574 = _arg2;
_tp727 = _arg3;
_ds631 = _arg4;
_ou1105 = _arg5;
_pf1130 = _arg6;
_sc367 = _arg7;
_kd109 = 8;
}
public function _mf226(_arg1:Number, _arg2:Number):void{
_ee48 = _arg1;
_hk593 = _arg2;
}
public function _do364(_arg1:Number, _arg2:Number):void{
_jd315 = _arg1;
_nv1043 = _arg2;
}
public function _ek238(_arg1:int):Boolean{
_ho197 = (_ho197 - _arg1);
if (_ho197 < 1){
_ho197 = 0;
return (true);
};
return (false);
}
public function _uc998(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Boolean=false):void{
_we885 = _arg1;
_oc603 = _arg2;
_dm369 = _arg3;
_if873 = _arg4;
_kd109 = 7;
if (_arg5 == true){
_kd109 = 9;
};
}
public function _en995(_arg1:Number, _arg2:Number):void{
_qu798 = 6;
_kt329 = _arg2;
_wv474 = _arg1;
}
private function _oo319(_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 _xt810():void{
if (_rx510){
_vk350 = (_vk350 + (_ig397 * delta));
switch (_rx510){
case 1:
if (_vk350 >= _xq767){
_vk350 = _xq767;
_ig397 = -(_ig397);
} else {
if (_vk350 <= _qc653){
_vk350 = _qc653;
_ig397 = -(_ig397);
};
};
break;
case 2:
if (_vk350 >= _xq767){
_vk350 = _qc653;
} else {
if (_vk350 <= _qc653){
_vk350 = _xq767;
};
};
break;
case 3:
if (_vk350 >= _xq767){
_vk350 = _xq767;
_rx510 = 0;
} else {
if (_vk350 <= _qc653){
_vk350 = _qc653;
_rx510 = 0;
};
};
break;
case 4:
if (_vk350 >= _xq767){
_vk350 = _xq767;
_rx510 = 0;
_xt293 = true;
} else {
if (_vk350 <= _qc653){
_vk350 = _qc653;
_rx510 = 0;
_xt293 = true;
};
};
break;
};
};
}
public function _mk239(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Number=0):void{
var _local6:Number = (_arg1 + _mx498._ct423._mj866((-(_arg2) / 2), (_arg2 / 2)));
if (_local6 < 0){
_local6 = (_local6 + 360);
} else {
if (_local6 > 360){
_local6 = (_local6 - 360);
};
};
_wr450(_mx498._vw324(_local6, _arg3), _mx498._pd1029(_local6, _arg3), 0, _arg5, _arg4);
}
public function _sh498(_arg1:Number, _arg2:Number):void{
_vk350 = _arg1;
_dv827 = _arg2;
}
public function _eq487(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
_bs141 = _arg1;
_lj330 = _arg2;
_sg824 = _arg3;
width = _arg4;
height = _arg5;
_qp797.width = width;
_qp797.height = height;
_sg944 = (width / 2);
_ci843 = width;
_hp1101 = height;
_ty399 = true;
}
public function _fh452(_arg1:BitmapData, _arg2:Number, _arg3:int, _arg4:int, _arg5:int=0):void{
_bs141 = _arg1;
_lj330 = 0;
_rg230 = 0;
_ko960 = (_arg3 - 1);
_ia732 = _arg2;
_ky602 = 0;
frame = 0;
_ec168 = _arg5;
_kp844 = true;
_ng84 = _arg4;
}
public function _be984(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number=0, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0):void{
_ap1113 = _arg7;
_ip574 = _arg8;
_jg179 = _arg9;
_vn395 = _arg10;
_dj964 = _arg1;
_xk574 = _arg2;
_tp727 = _arg3;
_ds631 = _arg4;
_ou1105 = _arg5;
_pf1130 = _arg6;
_kd109 = 3;
}
public function _pw405(_arg1:_gn1124, _arg2:Number):void{
_qu798 = 5;
_kt329 = _arg2;
_yd1036 = _arg1;
}
public function _io59(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_yd453 = _arg4;
_mv69 = _arg1;
_ww1009 = _arg2;
_mn578 = _arg3;
_jd315 = _arg5;
}
public function _vw391(_arg1:Boolean):void{
_ty399 = _arg1;
_fq618 = _ty399;
}
public function _bm810():void{
if (_qu798){
switch (_qu798){
case 1:
rotation = (rotation + (_kt329 * delta));
if (rotation >= _yl486){
rotation = _yl486;
_kt329 = -(_kt329);
} else {
if (rotation <= _wv474){
rotation = _wv474;
_kt329 = -(_kt329);
};
};
break;
case 2:
rotation = (rotation + (_kt329 * delta));
if (rotation >= _yl486){
rotation = _wv474;
} else {
if (rotation <= _wv474){
rotation = _yl486;
};
};
break;
case 3:
rotation = (rotation + (_kt329 * delta));
if (rotation >= _yl486){
rotation = _yl486;
_qu798 = 0;
} else {
if (rotation <= _wv474){
rotation = _wv474;
_qu798 = 0;
};
};
break;
case 4:
rotation = (rotation + (_kt329 * delta));
if (rotation >= _yl486){
rotation = _yl486;
_qu798 = 0;
_xt293 = true;
} else {
if (rotation <= _wv474){
rotation = _wv474;
_qu798 = 0;
_xt293 = true;
};
};
break;
case 5:
_vx1115(_yd1036, _kt329);
break;
case 6:
_gr532(_wv474, _kt329);
break;
};
};
}
public function _yd751(_arg1:Number, _arg2:Number=1):void{
_ft451 = 1;
_mh519 = _arg1;
_sk590 = 0;
_ee640 = 1;
alpha = _arg2;
}
public function _pc628(_arg1:Number, _arg2:Number):Boolean{
if (_ta423 == true){
return (_oo319(_arg1, _arg2, (x - ((_ci843 * _vk350) / 2)), (y - ((_hp1101 * _dv827) / 2)), (_ci843 * _vk350), (_hp1101 * _dv827)));
};
return (_oo319(_arg1, _arg2, x, y, (_ci843 * _vk350), (_hp1101 * _dv827)));
}
public function _vx1115(_arg1:_gn1124, _arg2:Number):void{
var _local3:Number = rotation;
var _local4:Number = _mx498._bd1068(x, 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) * _up777._aw838));
if (_local3 < 0){
_local3 = (_local3 + 360);
};
if (_local3 > 359){
_local3 = (_local3 - 360);
};
rotation = _local3;
}
public function _kj62():void{
if (_fu1116){
_dv827 = (_dv827 + (_hh429 * delta));
switch (_fu1116){
case 1:
if (_dv827 >= _hn868){
_dv827 = _hn868;
_hh429 = -(_hh429);
} else {
if (_dv827 <= _va182){
_dv827 = _va182;
_hh429 = -(_hh429);
};
};
break;
case 2:
if (_dv827 >= _hn868){
_dv827 = _va182;
} else {
if (_dv827 <= _va182){
_dv827 = _hn868;
};
};
break;
case 3:
if (_dv827 >= _hn868){
_dv827 = _hn868;
_fu1116 = 0;
} else {
if (_dv827 <= _va182){
_dv827 = _va182;
_fu1116 = 0;
};
};
break;
case 4:
if (_dv827 >= _hn868){
_dv827 = _hn868;
_fu1116 = 0;
_xt293 = true;
} else {
if (_dv827 <= _va182){
_dv827 = _va182;
_fu1116 = 0;
_xt293 = true;
};
};
break;
};
};
}
public function _qh208(_arg1:Number=1):void{
delta = _arg1;
if (_aa88 != 0){
_aa88 = (_aa88 - delta);
if (_aa88 < 1){
_aa88 = 0;
_ty399 = _fq618;
};
} else {
_iv711();
_bm810();
_xt810();
_kj62();
_hd990();
_gk162();
_in811();
if (callback != null){
callback(this);
};
if (_dr564){
_dr564 = (_dr564 - _arg1);
if (_dr564 < 1){
_dr564 = 0;
_xt293 = true;
};
};
};
}
public function _is563(_arg1:Number, _arg2:Number, _arg3:Array):void{
_mx998 = _arg1;
_oj537 = _arg1;
_br769 = _arg2;
_eh579 = _arg3;
}
public function _ja180(_arg1:Number, _arg2:Number):void{
_ft451 = 2;
_mh519 = _arg1;
_sk590 = 0;
_ee640 = 1;
alpha = 0;
_ho337 = 0;
_rx337 = _arg2;
}
public function _iv711():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
if (_kd109 == 1){
if (_nx448 > 0){
_nx448 = (_nx448 - delta);
if (_nx448 < 1){
_nx448 = _id1020;
_ap1113 = (_ap1113 * _du725);
_ip574 = (_ip574 * _du725);
if (Math.abs(_ap1113) < 0.001){
_ap1113 = 0;
};
if (Math.abs(_ip574) < 0.001){
_ip574 = 0;
};
if ((((_ap1113 == 0)) && ((_ip574 == 0)))){
_nx448 = 0;
};
};
};
x = (x + (_ap1113 * delta));
y = (y + (_ip574 * delta));
_ap1113 = (_ap1113 + (_jg179 * delta));
_ip574 = (_ip574 + (_vn395 * delta));
if ((((x < _ur964)) || ((x > _hl264)))){
_xt293 = true;
};
if ((((y < _xh330)) || ((y > _wv249)))){
_xt293 = true;
};
if (_nj621 > 0){
_nj621 = (_nj621 - delta);
if (_nj621 < 1){
_kd109 = 0;
};
};
} else {
if (_kd109 == 2){
_local1 = x;
_local2 = y;
_local3 = target.x;
_local4 = target.y;
if (_local1 < _local3){
_we885 = (_we885 + (_oc603 * delta));
if (_we885 > _dm369){
_we885 = _dm369;
};
} else {
if (_local1 > _local3){
_we885 = (_we885 - (_oc603 * delta));
if (_we885 < -(_dm369)){
_we885 = -(_dm369);
};
};
};
x = (x + (_we885 * delta));
if (_local2 < _local4){
_if873 = (_if873 + (_rt822 * delta));
if (_if873 > _di1133){
_if873 = _di1133;
};
} else {
if (_local2 > _local4){
_if873 = (_if873 - (_rt822 * delta));
if (_if873 < -(_di1133)){
_if873 = -(_di1133);
};
};
};
y = (y + (_if873 * delta));
} else {
if (_kd109 == 3){
_dj964 = (_dj964 + (_xk574 * delta));
_ds631 = (_ds631 + (_ou1105 * delta));
x = (x + ((Math.cos(_dj964) * _tp727) * delta));
y = (y + ((Math.sin(_ds631) * _pf1130) * delta));
x = (x + (_ap1113 * delta));
y = (y + (_ip574 * delta));
_ap1113 = (_ap1113 + (_jg179 * delta));
_ip574 = (_ip574 + (_vn395 * delta));
if ((((x < _ur964)) || ((x > _hl264)))){
_xt293 = true;
};
if ((((y < _xh330)) || ((y > _wv249)))){
_xt293 = true;
};
};
};
};
if (_nj621 > 0){
_nj621 = (_nj621 - delta);
if (_nj621 < 1){
_kd109 = 0;
};
} else {
if (_kd109 == 4){
_hu564();
} else {
if (_kd109 == 5){
if (target != null){
_dj964 = (_dj964 + (_xk574 * delta));
x = (target.x + (Math.cos(_dj964) * _tp727));
y = (target.y + (Math.sin(_dj964) * _tp727));
} else {
_xt293 = true;
};
} else {
if (_kd109 == 6){
if (target != null){
if (_ad1020 > 0){
_ad1020 = (_ad1020 - delta);
if (_ad1020 < 1){
_ad1020 = _yn1115;
_qr427 = _mx498._bd1068(x, y, target.x, target.y);
_ap1113 = _mx498._vw324(_qr427, _we885);
_ip574 = _mx498._pd1029(_qr427, _we885);
x = (x + (_ap1113 * delta));
y = (y + (_ip574 * delta));
_we885 = (_we885 + (_oc603 * delta));
};
} else {
_qr427 = _mx498._bd1068(x, y, target.x, target.y);
_ap1113 = _mx498._vw324(_qr427, _we885);
_ip574 = _mx498._pd1029(_qr427, _we885);
x = (x + (_ap1113 * delta));
y = (y + (_ip574 * delta));
_we885 = (_we885 + (_oc603 * delta));
};
if (_dm369 > 0){
_dm369 = (_dm369 - delta);
if (_dm369 < 1){
_dm369 = 0;
_kd109 = 0;
};
};
} else {
_xt293 = true;
};
} else {
if (_kd109 == 7){
_qr427 = _mx498._bd1068(x, y, _we885, _oc603);
_ap1113 = _mx498._vw324(_qr427, _dm369);
_ip574 = _mx498._pd1029(_qr427, _dm369);
x = (x + (_ap1113 * delta));
y = (y + (_ip574 * delta));
_dm369 = (_dm369 + (_if873 * delta));
if (_ap1113 > 0){
if (x > _we885){
x = _we885;
};
} else {
if (_ap1113 < 0){
if (x < _we885){
x = _we885;
};
};
};
if (_ip574 > 0){
if (y > _oc603){
y = _oc603;
};
} else {
if (_ip574 < 0){
if (y < _oc603){
y = _oc603;
};
};
};
if ((((x == _we885)) && ((y == _oc603)))){
_kd109 = 0;
};
} else {
if (_kd109 == 8){
_dj964 = (_dj964 + (_xk574 * delta));
_ds631 = (_ds631 + (_ou1105 * delta));
x = (x + ((Math.cos(_dj964) * _tp727) * delta));
y = (y + ((Math.sin(_ds631) * _pf1130) * delta));
_tp727 = (_tp727 + (_sc367 * delta));
_pf1130 = (_pf1130 + (_sc367 * delta));
if ((((x < _ur964)) || ((x > _hl264)))){
_xt293 = true;
};
if ((((y < _xh330)) || ((y > _wv249)))){
_xt293 = true;
};
} else {
if (_kd109 == 9){
_qr427 = _mx498._bd1068(x, y, _we885, _oc603);
_ap1113 = _mx498._vw324(_qr427, _dm369);
_ip574 = _mx498._pd1029(_qr427, _dm369);
x = (x + (_ap1113 * delta));
y = (y + (_ip574 * delta));
_dm369 = (_dm369 + (_if873 * delta));
if (_ap1113 > 0){
if (x > _we885){
x = _we885;
};
} else {
if (_ap1113 < 0){
if (x < _we885){
x = _we885;
};
};
};
if (_ip574 > 0){
if (y > _oc603){
y = _oc603;
};
} else {
if (_ip574 < 0){
if (y < _oc603){
y = _oc603;
};
};
};
if ((((x == _we885)) && ((y == _oc603)))){
_kd109 = 0;
_xt293 = true;
};
};
};
};
};
};
};
};
}
public function _qu875(_arg1:Number, _arg2:Number=0.95):void{
_nx448 = _arg1;
_id1020 = _arg1;
_du725 = _arg2;
}
public function _kc611(_arg1:_gn1124, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):void{
target = _arg1;
_we885 = _arg2;
_yn1115 = _arg3;
_ad1020 = _yn1115;
_kd109 = 6;
_oc603 = _arg4;
_dm369 = _arg5;
}
public function _hd990():void{
if (_ft451){
switch (_ft451){
case 1:
alpha = (alpha + (_mh519 * delta));
if (alpha >= _ee640){
alpha = _ee640;
_ft451 = 0;
} else {
if ((((alpha < _sk590)) || ((alpha == _sk590)))){
alpha = _sk590;
_ft451 = 0;
_xt293 = true;
};
};
break;
case 2:
if (_ho337 > 0){
_ho337 = (_ho337 - (1 * delta));
if (_ho337 < 1){
_ho337 = 0;
_yd751(-(_mh519));
};
} else {
alpha = (alpha + (_mh519 * delta));
if (alpha >= _ee640){
alpha = _ee640;
_ho337 = _rx337;
};
};
break;
};
_im735(alpha);
};
}
public function _uv292():void{
callback = null;
_yf597 = null;
_dn902 = null;
_qp797 = null;
_yq506 = null;
_ay906 = null;
_yd1036 = null;
target = null;
}
public function _lq592(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_qu798 = _arg4;
_kt329 = _arg1;
_wv474 = _arg2;
_yl486 = _arg3;
rotation = _arg5;
}
public function _id318(_arg1:_gn1124, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{
target = _arg1;
_we885 = 0;
_oc603 = _arg2;
_dm369 = _arg3;
_if873 = 0;
_rt822 = _arg4;
_di1133 = _arg5;
_kd109 = 2;
}
public function _ti642():void{
var _local1:Number = 600;
var _local2:Number = 600;
if (_ph295 == 1){
_up777._th619[_mq668]._qd1110 = -(_up777._th619[_mq668]._qd1110);
_up777._th619[_mq668]._ct225 = -(_up777._th619[_mq668]._ct225);
_up777._th619[_mq668]._sj1084 = -(_up777._th619[_mq668]._sj1084);
_up777._th619[_mq668]._lh790 = -(_up777._th619[_mq668]._lh790);
};
if (_lv714 == 0){
x = (_up777._th619[_mq668]._qd1110 + _ic534);
_ec418 = x;
_xv772 = (_up777._th619[_mq668]._ct225 + _ic534);
_wl1066 = (_up777._th619[_mq668]._sj1084 + _ic534);
_tq156 = (_up777._th619[_mq668]._lh790 + _ic534);
} else {
x = (((_local1 - 1) - _up777._th619[_mq668]._qd1110) + _ic534);
_ec418 = x;
_xv772 = (((_local1 - 1) - _up777._th619[_mq668]._ct225) + _ic534);
_wl1066 = (((_local1 - 1) - _up777._th619[_mq668]._sj1084) + _ic534);
_tq156 = (((_local1 - 1) - _up777._th619[_mq668]._lh790) + _ic534);
};
if (_bl96 == 0){
y = (_up777._th619[_mq668]._ds561 + _rc624);
_wh373 = y;
_nw879 = (_up777._th619[_mq668]._aj392 + _rc624);
_so502 = (_up777._th619[_mq668]._cd289 + _rc624);
_ja371 = (_up777._th619[_mq668]._id875 + _rc624);
} else {
y = (((_local2 - 1) - _up777._th619[_mq668]._ds561) + _rc624);
_wh373 = y;
_nw879 = (((_local2 - 1) - _up777._th619[_mq668]._aj392) + _rc624);
_so502 = (((_local2 - 1) - _up777._th619[_mq668]._cd289) + _rc624);
_ja371 = (((_local2 - 1) - _up777._th619[_mq668]._id875) + _rc624);
};
if (_ph295 == 1){
_up777._th619[_mq668]._qd1110 = -(_up777._th619[_mq668]._qd1110);
_up777._th619[_mq668]._ct225 = -(_up777._th619[_mq668]._ct225);
_up777._th619[_mq668]._sj1084 = -(_up777._th619[_mq668]._sj1084);
_up777._th619[_mq668]._lh790 = -(_up777._th619[_mq668]._lh790);
};
}
public function _ny258(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_fu1116 = _arg4;
_hh429 = _arg1;
_va182 = _arg2;
_hn868 = _arg3;
_dv827 = _arg5;
}
public function _gw688(_arg1:Object):void{
_dn902 = _arg1;
}
public function _ow86(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_ur964 = _arg1;
_hl264 = _arg3;
_xh330 = _arg2;
_wv249 = _arg4;
}
public function _gt188(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_sk1043 = _arg1;
_jd912 = _arg3;
_no1097 = _arg2;
_ns886 = _arg4;
}
public function _rr1013(_arg1:Object):void{
_yf597 = _arg1;
}
}
}//package classes
Section 13
//_lg811 (classes._lg811)
package classes {
import flash.display.*;
import flash.geom.*;
public class _lg811 {
private var _ft83:Number;
private var i:int;
private var _jk289:Object;
private var _wm471:Number;
private var _dg826:Bitmap;
private var _au750:Class;
public static const CENTER:int = 2;
public static const LEFT:int = 0;
public static const RIGHT:int = 1;
public function _lg811():void{
_au750 = _lg811__au750;
_dg826 = new _au750();
_wm471 = "?".charCodeAt(0);
_ft83 = irrcrpt("\n", 2).charCodeAt(0);
_jk289 = new Object();
super();
i = 32;
while (i < 161) {
_jk289[i] = new Rectangle((((i - 32) % 16) * 16), (int(((i - 32) / 16)) * 16), 9, 16);
i++;
};
}
private function _tp796(_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 = _wm471;
};
_arg1.copyPixels(_dg826.bitmapData, _jk289[_local8], _local5);
_local5.x = (_local5.x + 8);
_local7++;
};
}
public function draw(_arg1:BitmapData, _arg2:String, _arg3:int=0, _arg4:int=0, _arg5:int=0):void{
var _local7:String;
var _local6:Array = _arg2.split(irrcrpt("\n", 3));
for each (_local7 in _local6) {
if (_arg5 == LEFT){
_tp796(_arg1, _local7, _arg3, _arg4);
} else {
if (_arg5 == RIGHT){
_tp796(_arg1, _local7, (_arg3 - (_local7.length * 8)), _arg4);
} else {
_tp796(_arg1, _local7, (_arg3 - ((_local7.length * 8) / 2)), _arg4);
};
};
_arg4 = (_arg4 + 13);
};
}
}
}//package classes
Section 14
//_lg811__au750 (classes._lg811__au750)
package classes {
import mx.core.*;
public class _lg811__au750 extends BitmapAsset {
}
}//package classes
Section 15
//_mx498 (classes._mx498)
package classes {
import flash.display.*;
import flash.geom.*;
import flash.net.*;
public class _mx498 {
private static var _dg181:Point;
private static var _nt990:Number = 0.0174532925199433;
private static var rect:Rectangle;
public static var _ct423:_tk523 = new _tk523();
private static var _wm1092:Number = 6.28318530717959;
private static var _ss455:Number = 57.2957795130823;
public function _qm1090(_arg1:String):void{
var _local2:URLRequest = new URLRequest(_arg1);
navigateToURL(_local2, irrcrpt("_dncpm", 2));
}
public static function _mb268(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:BitmapData, _arg5:Number=1, _arg6:Number=1, _arg7:Number=1, _arg8:String=null):void{
var _local9:Matrix = new Matrix();
var _local10:ColorTransform = new ColorTransform(1, 1, 1, _arg5, 0, 0, 0, 0);
_local9.translate((-(_arg1.width) / 2), (-(_arg1.height) / 2));
_local9.scale(_arg6, _arg7);
_local9.translate(_arg2, _arg3);
_arg4.draw(_arg1, _local9, _local10, _arg8, null, true);
}
public static function _yo216(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:BitmapData, _arg9:Boolean=true):void{
_dg181 = new Point((_arg2 - (_arg6 / 2)), (_arg3 - (_arg7 / 2)));
rect = new Rectangle(_arg4, _arg5, _arg6, _arg7);
_arg8.copyPixels(_arg1, rect, _dg181, null, null, _arg9);
}
public static function _px470(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=1, _arg5:Number=1, _arg6:Number=1, _arg7:Number=20):void{
var _local9:BitmapData;
var _local10:BitmapData;
var _local8:Number = 0;
var _local11:BitmapData = _arg3;
var _local12:Number = 0;
var _local13:Number = 1;
var _local14:Number = 1;
var _local15:int;
var _local16:Number = (360 / _arg7);
_arg1[_arg2] = new BitmapData((_local11.width * _arg7), _local11.height, true, 0);
_local12 = 1;
var _local17:int;
while (_local17 < _arg7) {
_local9 = new BitmapData(_local11.width, _local11.height, true, 0);
_local10 = new BitmapData(_local11.width, _local11.height, true, 0);
_fl176(_local11, 0, 0, 0, 0, _local11.width, _local11.height, _local9);
_xn1118(_local9, ((_local11.width / 2) - 0.5), ((_local11.height / 2) - 0.5), _local10, _local12, _local13, _local14, _local8, 0, 0, _arg4, _arg5, _arg6);
_fl176(_local10, (_local17 * _local11.width), 0, 0, 0, _local11.width, _local11.height, _arg1[_arg2]);
_local8 = (_local8 + _local16);
_local17++;
};
_local9 = null;
_local10 = null;
_local11 = null;
}
public static function _bd1068(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
var _local5:Number = (Math.atan2((_arg4 - _arg2), (_arg3 - _arg1)) * _ss455);
if (_local5 < 0){
_local5 = (_local5 + 360);
};
return (_local5);
}
public static function _ai109(_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);
_fl176(_local8, 0, 0, 0, 0, _local8.width, _local8.height, _local6);
_mk790(_local6, 0, 0, _local7, 1, 1, 1, _local10, _local10, _local10, null, false);
_fl176(_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 _fl176(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:BitmapData, _arg9:Boolean=true):void{
_dg181 = new Point(_arg2, _arg3);
rect = new Rectangle(_arg4, _arg5, _arg6, _arg7);
_arg8.copyPixels(_arg1, rect, _dg181, null, null, _arg9);
}
public static function _na789(_arg1:int=50):Boolean{
if (_arg1 > _ct423._xx1117(0, 100)){
return (true);
};
return (false);
}
public static function _vw324(_arg1:Number, _arg2:Number):Number{
return ((_arg2 * Math.cos((_arg1 * _nt990))));
}
public static function _uw767(_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 _tr656(_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 _xn1118(_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 = ((_wm1092 * _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 _ch950(_arg1:Object, _arg2:int, _arg3:BitmapData, _arg4:Number=1, _arg5:Number=1, _arg6:Number=1, _arg7:Number=20, _arg8:Number=1, _arg9:Boolean=true):void{
var _local11:BitmapData;
var _local12:BitmapData;
var _local10:Number = 0;
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);
_fl176(_local13, 0, 0, 0, 0, _local13.width, _local13.height, _local11);
_xn1118(_local11, ((_local13.width / 2) - 0.5), ((_local13.height / 2) - 0.5), _local12, _local14, _local15, _local16, _local10, 0, 0, _arg4, _arg5, _arg6, null, false);
_fl176(_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 _dt340(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (Math.sqrt((((_arg3 - _arg1) * (_arg3 - _arg1)) + ((_arg4 - _arg2) * (_arg4 - _arg2)))));
}
public static function _oj259(_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);
_fl176(_local8, 0, 0, 0, 0, _local8.width, _local8.height, _local6);
_fl176(_local6, 0, 0, 0, 0, _local6.width, _local6.height, _local7);
_mk790(_arg4, 0, 0, _local7, _local10, 1, 1, 1, 1, 1, null, false);
_fl176(_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 _ao850(_arg1:Number, _arg2:Number, _arg3:Number=100):Number{
return ((_arg1 / (_arg2 / _arg3)));
}
public static function _be20(_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 = 0;
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){
_fl176(_local18, 0, 0, 0, 0, _local18.width, _local18.height, _local16);
_xn1118(_local16, ((_local18.width / 2) - 0.5), ((_local18.height / 2) - 0.5), _local17, _local19, _local20, _local21, _local15, 0, 0, _arg4, _arg5, _arg6);
};
_fl176(_local17, (_local24 * _local18.width), 0, 0, 0, _local18.width, _local18.height, _arg1[_arg2]);
_local19 = (_local19 - (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){
_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 _kx76(_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);
_fl176(_local10, 0, 0, 0, 0, _local10.width, _local10.height, _local8);
_xn1118(_local8, ((_local10.width / 2) - 0.5), ((_local10.height / 2) - 0.5), _local9, _local11, _local12, _local13, _local7, 0, 0, _arg3, _arg4, _arg5);
_fl176(_local9, 0, 0, 0, 0, _local10.width, _local10.height, _arg1[_local16]);
_local7 = (_local7 + _local15);
_local16++;
};
_local8 = null;
_local9 = null;
_local10 = null;
}
public static function _gw534(_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 _mk790(_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 _gf486(_arg1:String, _arg2:int):String{
while (_arg1.length < _arg2) {
_arg1 = ("0" + _arg1);
};
return (_arg1);
}
public static function _pd1029(_arg1:Number, _arg2:Number):Number{
return ((_arg2 * Math.sin((_arg1 * _nt990))));
}
public static function _ol105(_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);
_fl176(_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);
_fl176(_local15, _arg6, _arg7, 0, 0, _arg4, _arg5, _arg8);
_local14 = null;
_local15 = null;
}
public static function _nd484(_arg1:Number, _arg2:Number):Number{
var _local3:Number = (Math.atan2(_arg2, _arg1) * _ss455);
if (_local3 < 0){
_local3 = (_local3 + 360);
};
return (_local3);
}
public static function _rm13(_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){
_fl176(_local18, 0, 0, 0, 0, _local18.width, _local18.height, _local16);
_xn1118(_local16, ((_local18.width / 2) - 0.5), ((_local18.height / 2) - 0.5), _local17, _local19, _local20, _local21, _local15, 0, 0, _arg4, _arg5, _arg6);
};
_fl176(_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 _ex110(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):Boolean{
if ((((_arg1 > (_arg5 + _arg7))) || (((_arg1 + _arg3) < _arg5)))){
return (false);
};
if ((((_arg2 > (_arg6 + _arg8))) || (((_arg2 + _arg4) < _arg6)))){
return (false);
};
return (true);
}
}
}//package classes
Section 16
//_na76 (classes._na76)
package classes {
import flash.events.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
public class _na76 extends Sprite {
public var _rl783:Number;// = 0
public var _ni959:Function;
public var _dm369:Number;// = 0
public var _rx510:int;
public var _ap1113:Number;// = 0
public var _if1006:int;
public var _ik1048:Number;// = 0
public var _td675:Number;// = 0
public var _jx520:Number;// = 0
public var _ou1105:Number;// = 0
public var _dn902:Object;
public var _kp844:Boolean;
public var _cl807:Number;// = 0
public var callback:Object;
public var _ip574:Number;// = 0
public var _ns886:Number;// = 0
public var _sk1043:Number;// = 0
public var _ec168:int;
public var _hp1101:Number;// = 0
public var _ad1020:Number;// = 0
public var _fp1093:BitmapData;
public var _ho20:Number;// = 0
public var _ho337:Number;// = 0
public var id3:int;
public var _gg497:int;
public var state:int;
public var _pf1130:Number;// = 0
public var _sq846:Number;// = 0
public var _xq767:Number;// = 0
public var _mh519:Number;// = 0
public var _aw439:Number;// = 0
public var _sg944:Number;// = 0
public var _nx448:Number;// = 0
public var _kt329:Number;// = 0
public var _fu1116:int;
public var _we885:Number;// = 0
public var _qr427:Number;// = 0
public var _nj621:Number;// = 0
public var _rg230:int;
public var _hy828:Number;// = 0
public var _rx337:Number;// = 0
public var _db82:String;
public var _sc367:Number;// = 0
public var _yf597:Object;
public var _lv81:BlurFilter;
public var _fe194:Number;// = 0
public var _ty399:Boolean;
public var _jo896:int;
public var _ww614:Bitmap;
public var _ax434:Object;
public var _cg730:Number;// = 0
public var _kd109:int;// = 0
public var _qc653:Number;// = 0
public var _xk574:Number;// = 0
public var _yc894:Number;// = 0
public var _id192:Number;// = 0
public var id:int;
public var _jw396:Number;// = 0
public var _yl359:Number;// = 0
public var _ds631:Number;// = 0
public var _pr780:Function;
public var _hn868:Number;// = 0
public var _ss951:Function;
public var _vq1041:Number;// = 0
public var _uo514:Number;// = 0
public var _ft451:int;
public var _yl486:Number;// = 0
public var _sa1044:Number;// = 0
public var _gs606:Boolean;
public var _ng84:int;
public var _id1020:Number;// = 0
public var _xt293:Boolean;
public var _va182:Number;// = 0
public var _wd81:Object;
public var _yd1036:_na76;
public var frame:Number;// = 0
public var _oc603:Number;// = 0
public var _jg179:Number;// = 0
public var _jl506:Number;// = 0
public var _hh429:Number;// = 0
public var _xs536:Number;// = 0
public var _dj964:Number;// = 0
public var _ky602:Number;// = 0
public var target:_na76;
public var _ci843:Number;// = 0
public var _ee640:int;
public var _du725:Number;// = 0
public var _jd912:Number;// = 0
public var _ho197:int;
public var _di1133:Number;// = 0
public var _ig397:Number;// = 0
public var _sk590:int;
public var delta:Number;// = 0
public var _ff422:Number;// = 0
public var _ia732:Number;// = 0
public var _wm654:Boolean;
public var _tp727:Number;// = 0
public var _pg1106:Array;
public var _vm737:Number;// = 0
public var _tr343:Number;// = 0
public var _ko960:int;
public var _wv474:Number;// = 0
public var _if873:Number;// = 0
public var _no1097:Number;// = 0
public var _vn395:Number;// = 0
public var _xh330:Number;// = 0
public var _hl264:Number;// = 0
public var _qu798:int;
public var _rt822:Number;// = 0
public var _yn1115:Number;// = 0
public var _wv249:Number;// = 0
public var _ur964:Number;// = 0
public function _wr450(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):void{
_ap1113 = _arg1;
_ip574 = _arg2;
_jg179 = _arg3;
_vn395 = _arg4;
_nj621 = _arg5;
_kd109 = 1;
}
private function _in811():void{
if (_wm654 == true){
_fe194 = (_fe194 - (_sa1044 * delta));
_yc894 = (_yc894 - (_jw396 * delta));
_ik1048 = (_ik1048 - (_rl783 * delta));
if (_fe194 < _jl506){
_fe194 = _jl506;
};
if (_yc894 < _hy828){
_yc894 = _hy828;
};
if (_ik1048 < _yl359){
_ik1048 = _jl506;
};
_tr343 = _fe194;
_xs536 = _yc894;
_jx520 = _ik1048;
if (_fe194 == _jl506){
if (_yc894 == _hy828){
if (_ik1048 == _yl359){
_wm654 = false;
};
};
};
};
}
public function _nx634(_arg1:Object):void{
callback = _arg1;
}
public function get _xl168():Number{
return (_lv81.blurX);
}
public function _ai380(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
public function _vi979(_arg1:Number, _arg2:Number):void{
_ci843 = _arg1;
_hp1101 = _arg2;
}
public function get brightness():Number{
return (_sq846);
}
public function _kv288(_arg1:Number):void{
_sg944 = _arg1;
}
public function set _xl168(_arg1:Number):void{
_lv81.blurX = _arg1;
if (_arg1 == 0){
_lv81.quality = 0;
this.filters = null;
} else {
_lv81.quality = 1;
};
this.filters = _pg1106;
}
public function set scale(_arg1:Number):void{
_vq1041 = _arg1;
this.scaleX = _vq1041;
this.scaleY = _vq1041;
}
public function set brightness(_arg1:Number):void{
_sq846 = _arg1;
_mx498._gw534(this, _sq846, _sq846, _sq846);
}
private function _oo319(_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 get _wl163():Number{
return (_lv81.blurY);
}
public function _wl832():void{
_fp1093.lock();
}
public function _en995(_arg1:Number, _arg2:Number):void{
_qu798 = 6;
_kt329 = _arg2;
_wv474 = _arg1;
}
public function _pw405(_arg1:_na76, _arg2:Number):void{
_qu798 = 5;
_kt329 = _arg2;
_yd1036 = _arg1;
}
public function _nk722(_arg1:BitmapData):void{
_fp1093.copyPixels(_arg1, new Rectangle(0, 0, width, height), new Point(0, 0));
}
private function _xt810():void{
if (_rx510){
this.scaleX = (this.scaleX + (_ig397 * delta));
switch (_rx510){
case 1:
if (this.scaleX >= _xq767){
this.scaleX = _xq767;
_ig397 = -(_ig397);
} else {
if (this.scaleX <= _qc653){
this.scaleX = _qc653;
_ig397 = -(_ig397);
};
};
break;
case 2:
if (this.scaleX >= _xq767){
this.scaleX = _qc653;
} else {
if (this.scaleX <= _qc653){
this.scaleX = _xq767;
};
};
break;
case 3:
if (this.scaleX >= _xq767){
this.scaleX = _xq767;
_rx510 = 0;
} else {
if (this.scaleX <= _qc653){
this.scaleX = _qc653;
_rx510 = 0;
};
};
break;
case 4:
if (this.scaleX >= _xq767){
this.scaleX = _xq767;
_rx510 = 0;
_xt293 = true;
} else {
if (this.scaleX <= _qc653){
this.scaleX = _qc653;
_rx510 = 0;
_xt293 = true;
};
};
break;
};
};
}
public function _is789(_arg1:Object):void{
_dn902 = _arg1;
}
public function _pj925(_arg1:Number, _arg2:Number):void{
_ft451 = 2;
_mh519 = _arg1;
_sk590 = 0;
_ee640 = 1;
this.alpha = 0;
_ho337 = 0;
_rx337 = _arg2;
}
public function _pc628(_arg1:Number, _arg2:Number):Boolean{
return (_oo319(_arg1, _arg2, (this.x - ((_ci843 * this.scaleX) / 2)), (this.y - ((_hp1101 * this.scaleY) / 2)), (_ci843 * this.scaleX), (_hp1101 * this.scaleY)));
}
public function _vx1115(_arg1:_na76, _arg2:Number):void{
var _local3:Number = this.rotation;
var _local4:Number = _mx498._bd1068(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 Init(_arg1:Object, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean=true, _arg6:uint=4278190080, _arg7:Boolean=false):void{
_wd81 = _arg1;
_gg497 = _arg2;
_fp1093 = new BitmapData(_arg3, _arg4, _arg5, _arg6);
_ww614 = new Bitmap(_fp1093);
_ww614.smoothing = _arg7;
_wd81.addChild(this);
_ww614.x = (-(_ww614.width) / 2);
_ww614.y = (-(_ww614.height) / 2);
this.addChild(_ww614);
this.x = (_fp1093.width / 2);
this.y = (_fp1093.height / 2);
width = _arg3;
height = _arg4;
_lv81 = new BlurFilter(0, 0, 1);
_pg1106 = new Array();
_pg1106.push(_lv81);
this.filters = _pg1106;
_lv81.blurX = 0;
_lv81.blurY = 0;
_lv81.quality = 0;
this.filters = _pg1106;
_sg944 = (width / 2);
_ci843 = width;
_hp1101 = height;
_ty399 = true;
_ur964 = -10000;
_hl264 = 10000;
_xh330 = -10000;
_wv249 = 10000;
this.alpha = 1;
this.scaleX = 1;
this.scaleY = 1;
_tr343 = 1;
_xs536 = 1;
_jx520 = 1;
_sq846 = 1;
_vq1041 = 1;
}
private function _bm810():void{
if (_qu798){
switch (_qu798){
case 1:
this.rotation = (this.rotation + (_kt329 * delta));
if (this.rotation >= _yl486){
this.rotation = _yl486;
_kt329 = -(_kt329);
} else {
if (this.rotation <= _wv474){
this.rotation = _wv474;
_kt329 = -(_kt329);
};
};
break;
case 2:
this.rotation = (this.rotation + (_kt329 * delta));
if (this.rotation >= _yl486){
this.rotation = _wv474;
} else {
if (this.rotation <= _wv474){
this.rotation = _yl486;
};
};
break;
case 3:
this.rotation = (this.rotation + (_kt329 * delta));
if (this.rotation >= _yl486){
this.rotation = _yl486;
_qu798 = 0;
} else {
if (this.rotation <= _wv474){
this.rotation = _wv474;
_qu798 = 0;
};
};
break;
case 4:
this.rotation = (this.rotation + (_kt329 * delta));
if (this.rotation >= _yl486){
this.rotation = _yl486;
_qu798 = 0;
_xt293 = true;
} else {
if (this.rotation <= _wv474){
this.rotation = _wv474;
_qu798 = 0;
_xt293 = true;
};
};
break;
case 5:
_vx1115(_yd1036, _kt329);
break;
case 6:
_gr532(_wv474, _kt329);
break;
};
};
}
public function _yd751(_arg1:Number, _arg2:Number=1):void{
_ft451 = 1;
_mh519 = _arg1;
_sk590 = 0;
_ee640 = 1;
this.alpha = _arg2;
}
private function _kj62():void{
if (_fu1116){
this.scaleY = (this.scaleY + (_hh429 * delta));
switch (_fu1116){
case 1:
if (this.scaleY >= _hn868){
this.scaleY = _hn868;
_hh429 = -(_hh429);
} else {
if (this.scaleY <= _va182){
this.scaleY = _va182;
_hh429 = -(_hh429);
};
};
break;
case 2:
if (this.scaleY >= _hn868){
this.scaleY = _va182;
} else {
if (this.scaleY <= _va182){
this.scaleY = _hn868;
};
};
break;
case 3:
if (this.scaleY >= _hn868){
this.scaleY = _hn868;
_fu1116 = 0;
} else {
if (this.scaleY <= _va182){
this.scaleY = _va182;
_fu1116 = 0;
};
};
break;
case 4:
if (this.scaleY >= _hn868){
this.scaleY = _hn868;
_fu1116 = 0;
_xt293 = true;
} else {
if (this.scaleY <= _va182){
this.scaleY = _va182;
_fu1116 = 0;
_xt293 = true;
};
};
break;
};
};
}
public function _qh208(_arg1:Number=1):void{
delta = _arg1;
_iv711();
_bm810();
_xt810();
_kj62();
_hd990();
if (callback != null){
callback(this);
};
}
private function _iv711():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
if (_kd109 == 1){
if (_nx448 > 0){
_nx448 = (_nx448 - delta);
if (_nx448 < 1){
_nx448 = _id1020;
_ap1113 = (_ap1113 * _du725);
_ip574 = (_ip574 * _du725);
if (Math.abs(_ap1113) < 0.001){
_ap1113 = 0;
};
if (Math.abs(_ip574) < 0.001){
_ip574 = 0;
};
if ((((_ap1113 == 0)) && ((_ip574 == 0)))){
_nx448 = 0;
};
};
};
this.x = (this.x + (_ap1113 * delta));
this.y = (this.y + (_ip574 * delta));
_ap1113 = (_ap1113 + (_jg179 * delta));
_ip574 = (_ip574 + (_vn395 * delta));
if ((((this.x < _ur964)) || ((this.x > _hl264)))){
_xt293 = true;
};
if ((((this.y < _xh330)) || ((this.y > _wv249)))){
_xt293 = true;
};
if (_nj621 > 0){
_nj621 = (_nj621 - delta);
if (_nj621 < 1){
_kd109 = 0;
};
};
} else {
if (_kd109 == 2){
_local1 = this.x;
_local2 = this.y;
_local3 = target.x;
_local4 = target.y;
if (_local1 < _local3){
_we885 = (_we885 + (_oc603 * delta));
if (_we885 > _dm369){
_we885 = _dm369;
};
} else {
if (_local1 > _local3){
_we885 = (_we885 - (_oc603 * delta));
if (_we885 < -(_dm369)){
_we885 = -(_dm369);
};
};
};
this.x = (this.x + (_we885 * delta));
if (_local2 < _local4){
_if873 = (_if873 + (_rt822 * delta));
if (_if873 > _di1133){
_if873 = _di1133;
};
} else {
if (_local2 > _local4){
_if873 = (_if873 - (_rt822 * delta));
if (_if873 < -(_di1133)){
_if873 = -(_di1133);
};
};
};
this.y = (this.y + (_if873 * delta));
} else {
if (_kd109 == 3){
_dj964 = (_dj964 + (_xk574 * delta));
_ds631 = (_ds631 + (_ou1105 * delta));
this.x = (this.x + ((Math.cos(_dj964) * _tp727) * delta));
this.y = (this.y + ((Math.sin(_ds631) * _pf1130) * delta));
this.x = (this.x + (_ap1113 * delta));
this.y = (this.y + (_ip574 * delta));
_ap1113 = (_ap1113 + (_jg179 * delta));
_ip574 = (_ip574 + (_vn395 * delta));
if ((((this.x < _ur964)) || ((this.x > _hl264)))){
_xt293 = true;
};
if ((((this.y < _xh330)) || ((this.y > _wv249)))){
_xt293 = true;
};
};
};
};
if (_nj621 > 0){
_nj621 = (_nj621 - delta);
if (_nj621 < 1){
_kd109 = 0;
};
} else {
if (_kd109 == 4){
} else {
if (_kd109 == 5){
if (target != null){
_dj964 = (_dj964 + (_xk574 * delta));
this.x = (target.x + (Math.cos(_dj964) * _tp727));
this.y = (target.y + (Math.sin(_dj964) * _tp727));
} else {
_xt293 = true;
};
} else {
if (_kd109 == 6){
if (target != null){
if (_ad1020 > 0){
_ad1020 = (_ad1020 - delta);
if (_ad1020 < 1){
_ad1020 = _yn1115;
_qr427 = _mx498._bd1068(this.x, this.y, target.x, target.y);
_ap1113 = _mx498._vw324(_qr427, _we885);
_ip574 = _mx498._pd1029(_qr427, _we885);
this.x = (this.x + (_ap1113 * delta));
this.y = (this.y + (_ip574 * delta));
_we885 = (_we885 + (_oc603 * delta));
};
} else {
_qr427 = _mx498._bd1068(this.x, this.y, target.x, target.y);
_ap1113 = _mx498._vw324(_qr427, _we885);
_ip574 = _mx498._pd1029(_qr427, _we885);
this.x = (this.x + (_ap1113 * delta));
this.y = (this.y + (_ip574 * delta));
_we885 = (_we885 + (_oc603 * delta));
};
} else {
_xt293 = true;
};
} else {
if (_kd109 == 7){
_qr427 = _mx498._bd1068(this.x, this.y, _we885, _oc603);
_ap1113 = _mx498._vw324(_qr427, _dm369);
_ip574 = _mx498._pd1029(_qr427, _dm369);
this.x = (this.x + (_ap1113 * delta));
this.y = (this.y + (_ip574 * delta));
_dm369 = (_dm369 + (_if873 * delta));
if (_ap1113 > 0){
if (this.x > _we885){
this.x = _we885;
};
} else {
if (_ap1113 < 0){
if (this.x < _we885){
this.x = _we885;
};
};
};
if (_ip574 > 0){
if (this.y > _oc603){
this.y = _oc603;
};
} else {
if (_ip574 < 0){
if (this.y < _oc603){
this.y = _oc603;
};
};
};
if ((((this.x == _we885)) && ((this.y == _oc603)))){
_kd109 = 0;
};
} else {
if (_kd109 == 8){
_dj964 = (_dj964 + (_xk574 * delta));
_ds631 = (_ds631 + (_ou1105 * delta));
this.x = (this.x + ((Math.cos(_dj964) * _tp727) * delta));
this.y = (this.y + ((Math.sin(_ds631) * _pf1130) * delta));
_tp727 = (_tp727 + (_sc367 * delta));
_pf1130 = (_pf1130 + (_sc367 * delta));
if ((((this.x < _ur964)) || ((this.x > _hl264)))){
_xt293 = true;
};
if ((((this.y < _xh330)) || ((this.y > _wv249)))){
_xt293 = true;
};
} else {
if (_kd109 == 9){
_qr427 = _mx498._bd1068(this.x, this.y, _we885, _oc603);
_ap1113 = _mx498._vw324(_qr427, _dm369);
_ip574 = _mx498._pd1029(_qr427, _dm369);
this.x = (this.x + (_ap1113 * delta));
this.y = (this.y + (_ip574 * delta));
_dm369 = (_dm369 + (_if873 * delta));
if (_ap1113 > 0){
if (this.x > _we885){
this.x = _we885;
};
} else {
if (_ap1113 < 0){
if (this.x < _we885){
this.x = _we885;
};
};
};
if (_ip574 > 0){
if (this.y > _oc603){
this.y = _oc603;
};
} else {
if (_ip574 < 0){
if (this.y < _oc603){
this.y = _oc603;
};
};
};
if ((((this.x == _we885)) && ((this.y == _oc603)))){
_kd109 = 0;
_xt293 = true;
};
};
};
};
};
};
};
};
}
public function get scale():Number{
return (_vq1041);
}
public function set _wl163(_arg1:Number):void{
_lv81.blurY = _arg1;
if (_arg1 == 0){
_lv81.quality = 0;
this.filters = null;
} else {
_lv81.quality = 1;
};
this.filters = _pg1106;
}
public function _th423():void{
_fp1093.unlock();
}
public function _lq592(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=0):void{
_qu798 = _arg4;
_kt329 = _arg1;
_wv474 = _arg2;
_yl486 = _arg3;
this.rotation = _arg5;
}
private function _hd990():void{
if (_ft451){
switch (_ft451){
case 1:
this.alpha = (this.alpha + (_mh519 * delta));
if (this.alpha >= _ee640){
this.alpha = _ee640;
_ft451 = 0;
} else {
if ((((this.alpha < _sk590)) || ((this.alpha == _sk590)))){
this.alpha = _sk590;
_ft451 = 0;
_xt293 = true;
};
};
break;
case 2:
if (_ho337 > 0){
_ho337 = (_ho337 - (1 * delta));
if (_ho337 < 1){
_ho337 = 0;
_yd751(-(_mh519));
};
} else {
this.alpha = (this.alpha + (_mh519 * delta));
if (this.alpha >= _ee640){
this.alpha = _ee640;
_ho337 = _rx337;
};
};
break;
};
};
}
public function _uv292():void{
callback = null;
_yf597 = null;
_dn902 = null;
_yd1036 = null;
target = null;
if (_gs606 == true){
this.removeEventListener(MouseEvent.CLICK, _ni959);
this.removeEventListener(MouseEvent.MOUSE_OVER, _pr780);
this.removeEventListener(MouseEvent.MOUSE_OUT, _ss951);
};
_ni959 = null;
_pr780 = null;
_ss951 = null;
_wd81.removeChild(this);
this.removeChild(_ww614);
_fp1093 = null;
_ww614 = null;
_lv81 = null;
_pg1106 = null;
}
public function _gr532(_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 _ny258(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_fu1116 = _arg4;
_hh429 = _arg1;
_va182 = _arg2;
_hn868 = _arg3;
this.scaleY = _arg5;
}
public function _bw882(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int=1, _arg5:Number=1):void{
_rx510 = _arg4;
_ig397 = _arg1;
_qc653 = _arg2;
_xq767 = _arg3;
this.scaleX = _arg5;
}
public function _ow86(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_ur964 = _arg1;
_hl264 = _arg3;
_xh330 = _arg2;
_wv249 = _arg4;
}
public function _aj328(_arg1:Object):void{
_yf597 = _arg1;
}
}
}//package classes
Section 17
//_nw332 (classes._nw332)
package classes {
import flash.media.*;
public class _nw332 {
private var _dl180:SoundChannel;
private var _vn219:int;
private var _gu65:Sound;
private var _ln552:SoundTransform;
private var _nl720:Number;// = 0
public function _nw332(){
_dl180 = new SoundChannel();
_ln552 = new SoundTransform(1, 0);
}
public function _ya338(_arg1:Sound, _arg2:Number, _arg3:int):void{
_gu65 = _arg1;
_nl720 = _arg2;
_vn219 = _arg3;
}
public function _jt262(_arg1:Number):void{
if (_arg1 < 0){
_arg1 = 0;
};
_ln552.volume = _arg1;
}
public function _ng833():Number{
return (_ln552.pan);
}
public function _uv292():void{
_rm620();
_gu65 = null;
_dl180 = null;
_ln552 = null;
}
public function _nq571(_arg1:Number):void{
_ln552.pan = _arg1;
}
public function _do191():void{
_dl180 = _gu65.play(_nl720, _vn219, _ln552);
}
public function _ra283():Number{
return (_ln552.volume);
}
public function _rm620():void{
_dl180.stop();
}
}
}//package classes
Section 18
//_qr163 (classes._qr163)
package classes {
import flash.display.*;
public class _qr163 {
public var _of703:Array;
public var _hy722:Number;// = 0
public var _ds148:int;// = 0
public var _os1025:int;// = 0
public var _po376:Number;// = 0
public function _qr163(){
_of703 = [];
super();
}
public function _he1128(_arg1:int):void{
var _local2:_gn1124;
for each (_local2 in _of703) {
if (_local2._ei207 == _arg1){
_local2._xt293 = true;
_local2._ty399 = false;
};
};
}
public function _lo561(_arg1:int=0):_gn1124{
var _local2:int;
var _local3:_gn1124;
var _local4:_gn1124;
var _local5:int = (_of703.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _of703[_local2];
if (_local3._if1006 == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _lv297():void{
var _local3:_gn1124;
var _local1:int = (_of703.length - 1);
var _local2:int = _local1;
while (_local2 >= 0) {
_local3 = _of703[_local2];
_local3._qh208(_up777._aw838);
if (_local3._xt293 == true){
_local3._uv292();
_of703.splice(_local2, 1);
_local3 = null;
} else {
_local3._lf500();
};
_local2--;
};
}
public function _wy844(_arg1:Object):void{
var _local4:_gn1124;
var _local2:int = (_of703.length - 1);
var _local3:int = _local2;
while (_local3 >= 0) {
_local4 = _of703[_local3];
_local4._qh208(_up777._aw838);
_arg1(_local4);
if (_local4._xt293 == true){
_local4._uv292();
_of703.splice(_local3, 1);
_local4 = null;
} else {
_local4._lf500();
};
_local3--;
};
}
public function _mj479(_arg1:int=0):void{
var _local2:int;
var _local3:Object;
var _local4:int = (_of703.length - 1);
_local2 = _local4;
while (_local2 >= 0) {
_local3 = _of703[_local2];
if (_arg1 > 0){
if (_local3._if1006 == _arg1){
_of703.splice(_local2, 1);
_local3._uv292();
_local3 = null;
};
} else {
_of703.splice(_local2, 1);
_local3._uv292();
_local3 = null;
};
_local2--;
};
}
public function _ur54(_arg1:int=0):_gn1124{
var _local2:int;
var _local3:_gn1124;
var _local4:_gn1124;
var _local5:int = (_of703.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _of703[_local2];
if (_local3.id == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _pm661(_arg1:int):Boolean{
var _local2:_gn1124;
var _local3:Boolean;
for each (_local2 in _of703) {
if (_local2._if1006 == _arg1){
_local3 = true;
};
};
return (_local3);
}
public function _pv795():int{
return (_of703.length);
}
public function _uy371():void{
var _local3:_gn1124;
var _local1:int = (_of703.length - 1);
var _local2:int = _local1;
while (_local2 >= 0) {
_local3 = _of703[_local2];
_local3._qh208(_up777._aw838);
if (_local3._xt293 == true){
_local3._uv292();
_of703.splice(_local2, 1);
_local3 = null;
};
_local2--;
};
}
public function _lk1118(_arg1:_gn1124):void{
_of703[_of703.length] = _arg1;
}
public function _lx26(_arg1:Object):void{
var _local4:_gn1124;
var _local2:int = (_of703.length - 1);
var _local3:int = _local2;
while (_local3 >= 0) {
_local4 = _of703[_local3];
_local4._qh208(_up777._aw838);
if (_local4._xt293 == true){
_local4._uv292();
_of703.splice(_local3, 1);
_local4 = null;
} else {
_arg1(_local4);
_local4._lf500();
};
_local3--;
};
}
public function _mb1052():void{
var _local3:_gn1124;
var _local1:int = (_of703.length - 1);
var _local2:int = _local1;
while (_local2 >= 0) {
_local3 = _of703[_local2];
_local3._qh208(_up777._aw838);
if (_local3._xt293 == true){
_local3._uv292();
_of703.splice(_local2, 1);
_local3 = null;
} else {
_local3._lf500();
};
_local2--;
};
}
public function _nl73(_arg1:BitmapData, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:BitmapData, _arg7:Number, _arg8:Number, _arg9:int, _arg10:Number=0, _arg11:Boolean=true):_gn1124{
var _local12:_gn1124;
_local12 = new _gn1124();
_local12._ku861(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg9, _arg10, _arg11);
_local12._ai380(_arg7, _arg8);
_of703[_of703.length] = _local12;
return (_local12);
}
public function _yi748():void{
var _local1:_gn1124;
for each (_local1 in _of703) {
_local1._xt293 = true;
};
}
public function _sb184():void{
var _local1:_gn1124;
for each (_local1 in _of703) {
_local1._lf500();
};
}
}
}//package classes
Section 19
//_qt1044 (classes._qt1044)
package classes {
import flash.events.*;
import flash.utils.*;
public class _qt1044 {
private static const delta_array_size:int = 20;
private static var _mi828:Number = 0;
private static var _ij1008:int;
private static var _kx703:Number = 0;
private static var _mu709:Number = 0;
private static var _wq985:Array = [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30];
public function _qt1044():void{
_my455();
}
public static function _my455():void{
_mi828 = getTimer();
_wq985 = [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30];
_kx703 = 30;
_ij1008 = -1;
}
public static function _wj500():Number{
var _local1:uint = getTimer();
var _local2:uint = (_local1 - _mi828);
_mi828 = getTimer();
_ij1008++;
if (_ij1008 == delta_array_size){
_ij1008 = 0;
};
_wq985[_ij1008] = _local2;
_kx703 = 0;
var _local3:int;
while (_local3 < delta_array_size) {
_kx703 = (_kx703 + _wq985[_local3]);
_local3++;
};
_mu709 = (_kx703 / delta_array_size);
if (_mu709 > 40){
_mu709 = 40;
};
return (_mu709);
}
}
}//package classes
Section 20
//_tf155 (classes._tf155)
package classes {
import flash.events.*;
import flash.display.*;
public class _tf155 {
public var _of703:Array;
public var _os1025:int;// = 0
public var _hy722:Number;// = 0
public var _po376:Number;// = 0
public function _tf155(){
_of703 = [];
super();
}
public function _la258(_arg1:Object, _arg2:Number):void{
var _local5:_na76;
var _local3:int = (_of703.length - 1);
var _local4:int = _local3;
while (_local4 >= 0) {
_local5 = _of703[_local4];
_local5._qh208(_arg2);
_arg1(_local5);
if (_local5._xt293 == true){
_local5._uv292();
_of703.splice(_local4, 1);
_local5 = null;
};
_local4--;
};
}
public function _ur54(_arg1:int=0):_na76{
var _local2:int;
var _local3:_na76;
var _local4:_na76;
var _local5:int = (_of703.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _of703[_local2];
if (_local3.id == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
public function _cr123(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Function, _arg7:Function, _arg8:Function, _arg9:uint=4278190080):_na76{
var _local10:_na76;
_local10 = new _na76();
_local10.Init(_arg1, _arg5, _arg2.width, _arg2.height, true, _arg9, true);
_local10._ai380(_arg3, _arg4);
_local10._nk722(_arg2);
_of703[_of703.length] = _local10;
_local10.buttonMode = true;
_local10.addEventListener(MouseEvent.CLICK, _arg6);
_local10.addEventListener(MouseEvent.MOUSE_OVER, _arg7);
_local10.addEventListener(MouseEvent.MOUSE_OUT, _arg8);
_local10._gs606 = true;
_local10._ni959 = _arg6;
_local10._pr780 = _arg7;
_local10._ss951 = _arg8;
return (_local10);
}
public function _lk1118(_arg1:_na76):void{
_of703[_of703.length] = _arg1;
}
public function _pv795():int{
return (_of703.length);
}
public function _uy371(_arg1:Number):void{
var _local4:_na76;
var _local2:int = (_of703.length - 1);
var _local3:int = _local2;
while (_local3 >= 0) {
_local4 = _of703[_local3];
_local4._qh208(_arg1);
if (_local4._xt293 == true){
_local4._uv292();
_of703.splice(_local3, 1);
_local4 = null;
};
_local3--;
};
}
public function _mm611(_arg1:Number=0.001):void{
var _local2:_na76;
for each (_local2 in _of703) {
_local2._yd751(-(_arg1), 1);
};
}
public function _nl73(_arg1:Sprite, _arg2:BitmapData, _arg3:Number, _arg4:Number, _arg5:int, _arg6:Boolean=true, _arg7:Boolean=true, _arg8:uint=4278190080):_na76{
var _local9:_na76;
_local9 = new _na76();
_local9.Init(_arg1, _arg5, _arg2.width, _arg2.height, _arg6, _arg8, _arg7);
_local9._ai380(_arg3, _arg4);
_local9._nk722(_arg2);
_of703[_of703.length] = _local9;
return (_local9);
}
public function _mj479(_arg1:int=0):void{
var _local2:int;
var _local3:Object;
var _local4:int = (_of703.length - 1);
_local2 = _local4;
while (_local2 >= 0) {
_local3 = _of703[_local2];
if (_arg1 > 0){
if (_local3._if1006 == _arg1){
_of703.splice(_local2, 1);
_local3._uv292();
_local3 = null;
};
} else {
_of703.splice(_local2, 1);
_local3._uv292();
_local3 = null;
};
_local2--;
};
}
public function _yi748():void{
var _local1:_na76;
for each (_local1 in _of703) {
_local1._xt293 = true;
};
}
public function _pm661(_arg1:int):Boolean{
var _local2:_na76;
var _local3:Boolean;
for each (_local2 in _of703) {
if (_local2._if1006 == _arg1){
_local3 = true;
};
};
return (_local3);
}
public function _lo561(_arg1:int=0):_na76{
var _local2:int;
var _local3:_na76;
var _local4:_na76;
var _local5:int = (_of703.length - 1);
_local2 = _local5;
while (_local2 >= 0) {
_local3 = _of703[_local2];
if (_local3._if1006 == _arg1){
_local4 = _local3;
break;
};
_local2--;
};
return (_local4);
}
}
}//package classes
Section 21
//_tk523 (classes._tk523)
package classes {
public class _tk523 {
public var _eh604:uint;
public function _tk523(){
_eh604 = 1;
}
private function _io666():uint{
return ((_eh604 = ((_eh604 * 16807) % 2147483647)));
}
public function _xx1117(_arg1:Number, _arg2:Number):uint{
_arg1 = (_arg1 - 0.4999);
_arg2 = (_arg2 + 0.4999);
return (Math.round((_arg1 + ((_arg2 - _arg1) * _lt144()))));
}
public function _lt144():Number{
return ((_io666() / 2147483647));
}
public function _mj866(_arg1:Number, _arg2:Number):Number{
return ((_arg1 + ((_arg2 - _arg1) * _lt144())));
}
public function _ku364():uint{
return (_io666());
}
}
}//package classes
Section 22
//_wu831 (classes._wu831)
package classes {
import flash.events.*;
import flash.display.*;
import caurina.transitions.*;
public class _wu831 extends Sprite {
private var _vc894:Function;
private var _cu307:BitmapData;
private var _nv872:_xe622;
private var _lu621:Stage;
private var _ya876:Class;
private var Spacer:Number;// = 0
private var _ij1123:Class;
private var _fy695:BitmapData;
private var _gk132:Number;// = 0
private var _ow1107:_na76;
private var State:int;
private var delta:Number;// = 0
public function _wu831():void{
_ya876 = _wu831__ya876;
_cu307 = new _ya876().bitmapData;
_ij1123 = _wu831__ij1123;
_fy695 = new _ij1123().bitmapData;
_nv872 = new _xe622();
_ow1107 = new _na76();
super();
}
public function _uv292():void{
_nv872._gm620(_lu621);
}
public function _td791(_arg1:Event):void{
delta = _qt1044._wj500();
_nv872._is39._uy371(delta);
_gk132 = (_gk132 - delta);
if (_gk132 < 1){
switch (State){
case 1:
_ow1107 = _nv872._is39._nl73(_nv872.parent, _fy695, 110, -117, 1);
_ow1107._bw882(0.008, 0, 2, 3, 0);
_ow1107._ny258(0.008, 0, 2, 3, 0);
_gk132 = 300;
State = 2;
break;
case 2:
_ow1107._bw882(-0.006, 1, 2, 3, 2);
_ow1107._ny258(-0.006, 1, 2, 3, 2);
_gk132 = 900;
State = 3;
break;
case 3:
_ow1107 = _nv872._is39._of703[0];
_ow1107._yd751(-0.002);
_gk132 = 800;
State = 4;
break;
case 4:
_ow1107 = _nv872._is39._of703[0];
_ow1107._wr450(0, 0.001, 0, 0.001);
_ow1107._ow86(-320, -200, 320, 250);
_gk132 = 1000;
State = 5;
break;
case 5:
_lu621.removeEventListener(Event.ENTER_FRAME, _td791);
_nv872._gm620(_lu621);
_vc894();
break;
};
};
}
public function Init(_arg1:Stage, _arg2:Function):void{
_lu621 = _arg1;
_vc894 = _arg2;
_nv872.init(_lu621, _lu621.width, _lu621.height, false, 4283136211, true);
_ow1107 = _nv872._is39._nl73(_nv872.parent, _cu307, 0, 0, 1);
_ow1107._yd751(0.002, 0);
_qt1044._my455();
_gk132 = 1000;
State = 1;
_lu621.addEventListener(Event.ENTER_FRAME, _td791);
}
}
}//package classes
Section 23
//_wu831__ij1123 (classes._wu831__ij1123)
package classes {
import mx.core.*;
public class _wu831__ij1123 extends BitmapAsset {
}
}//package classes
Section 24
//_wu831__ya876 (classes._wu831__ya876)
package classes {
import mx.core.*;
public class _wu831__ya876 extends BitmapAsset {
}
}//package classes
Section 25
//_xe622 (classes._xe622)
package classes {
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
public class _xe622 {
public var width:int;
public var _xj596:Bitmap;
public var _fp1093:BitmapData;
public var height:int;
public var _lv81:BlurFilter;
public var parent:Sprite;
public var _yh339:BitmapData;
public var _is39:_tf155;
public var _pg1106:Array;
public function get _xl168():Number{
return (_lv81.blurX);
}
public function set _xl168(_arg1:Number):void{
_lv81.blurX = _arg1;
if (_arg1 == 0){
_lv81.quality = 0;
parent.filters = null;
} else {
_lv81.quality = 1;
};
parent.filters = _pg1106;
}
public function clear():void{
_fp1093.copyPixels(_yh339, new Rectangle(0, 0, width, height), new Point(), null, null, false);
}
public function _gm620(_arg1:Stage):void{
_is39._mj479();
_arg1.removeChild(parent);
parent.removeChild(_xj596);
_yh339 = null;
_fp1093 = null;
_xj596 = null;
parent = null;
_lv81 = null;
_pg1106 = null;
}
public function init(_arg1:Stage, _arg2:int, _arg3:int, _arg4:Boolean=true, _arg5:uint=4278190080, _arg6:Boolean=false):void{
_yh339 = new BitmapData(_arg2, _arg3, _arg4, _arg5);
_fp1093 = new BitmapData(_arg2, _arg3, _arg4, _arg5);
_xj596 = new Bitmap(_fp1093);
_xj596.smoothing = _arg6;
parent = new Sprite();
_arg1.addChild(parent);
_xj596.x = (-(_xj596.width) / 2);
_xj596.y = (-(_xj596.height) / 2);
parent.addChild(_xj596);
parent.x = (_fp1093.width / 2);
parent.y = (_fp1093.height / 2);
width = _arg2;
height = _arg3;
_lv81 = new BlurFilter(0, 0, 1);
_pg1106 = new Array();
_pg1106.push(_lv81);
parent.filters = _pg1106;
_lv81.blurX = 0;
_lv81.blurY = 0;
_lv81.quality = 0;
parent.filters = _pg1106;
_is39 = new _tf155();
}
public function unlock():void{
_fp1093.unlock();
}
public function _nk722(_arg1:BitmapData):void{
_fp1093.copyPixels(_arg1, new Rectangle(0, 0, width, height), new Point(0, 0));
}
public function lock():void{
_fp1093.lock();
}
public function set _wl163(_arg1:Number):void{
_lv81.blurY = _arg1;
if (_arg1 == 0){
_lv81.quality = 0;
parent.filters = null;
} else {
_lv81.quality = 1;
};
parent.filters = _pg1106;
}
public function get _wl163():Number{
return (_lv81.blurY);
}
}
}//package classes
Section 26
//Background (com.gamezhero.api.as3.gui.Background)
package com.gamezhero.api.as3.gui {
import flash.display.*;
public class Background extends MovieClip {
private var _goal:MovieClip;
private var _bg:MovieClip;
public function Background(_arg1:MovieClip){
_goal = _arg1;
_goal.addChild(this);
ini();
iniEvents();
}
public function remove():void{
clearEvents();
_goal.removeChild(this);
}
private function clearEvents():void{
}
public function update(_arg1:Number, _arg2:Number):void{
this.x = 0;
this.y = 0;
this.width = (_arg1 + 100);
this.height = (_arg2 + 100);
}
private function getBg():MovieClip{
var _local1:MovieClip = new MovieClip();
_local1.graphics.beginFill(0, 1);
_local1.graphics.lineStyle(0, 0, 0);
_local1.graphics.moveTo(0, 0);
_local1.graphics.lineTo(1000, 0);
_local1.graphics.lineTo(1000, 1000);
_local1.graphics.lineTo(0, 1000);
_local1.graphics.lineTo(0, 0);
_local1.graphics.endFill();
return (_local1);
}
private function ini():void{
_bg = getBg();
this.addChild(_bg);
}
private function iniEvents():void{
}
}
}//package com.gamezhero.api.as3.gui
Section 27
//Indicator (com.gamezhero.api.as3.gui.Indicator)
package com.gamezhero.api.as3.gui {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
public class Indicator extends MovieClip {
private var _timer:Timer;
private var _goal:MovieClip;
private var _indicator:MovieClip;
private var _dalpha:Number;
private var _info_text:TextField;
private var _arr:Array;
private var _n:uint;// = 10
private var _timer_2:Timer;
private var _current:Number;// = 0
public function Indicator(_arg1:MovieClip){
_dalpha = (360 / _n);
_arr = new Array();
super();
_goal = _arg1;
_goal.addChild(this);
ini();
iniEvents();
}
public function setSize(_arg1:Number, _arg2:Number):void{
this.visible = true;
this.width = _arg1;
this.height = _arg2;
}
public function remove():void{
clearEvents();
_goal.removeChild(this);
}
private function getItem():MovieClip{
var _local1:MovieClip = new MovieClip();
_local1.graphics.beginFill(0xFFFFFF, 1);
_local1.graphics.lineStyle(0, 0, 0);
_local1.graphics.moveTo(32.3, -5.7);
_local1.graphics.curveTo(30, -3.3, 30, 0);
_local1.graphics.curveTo(30, 3.3, 32.3, 5.6);
_local1.graphics.curveTo(34.7, 8, 38.05, 8);
_local1.graphics.lineTo(57, 8);
_local1.graphics.curveTo(60.3, 8, 62.6, 5.6);
_local1.graphics.curveTo(65, 3.3, 65, 0);
_local1.graphics.curveTo(65, -3.3, 62.6, -5.7);
_local1.graphics.curveTo(60.3, -8, 57, -8);
_local1.graphics.lineTo(38.05, -8);
_local1.graphics.curveTo(34.7, -8, 32.3, -5.7);
_local1.graphics.endFill();
_indicator.addChild(_local1);
return (_local1);
}
private function clearEvents():void{
_timer.removeEventListener(TimerEvent.TIMER, updateIndicator);
_timer_2.removeEventListener(TimerEvent.TIMER, updateCurrent);
}
public function setPos(_arg1:Number, _arg2:Number):void{
this.visible = true;
this.x = _arg1;
this.y = _arg2;
}
private function updateIndicator(_arg1:TimerEvent=null):void{
var _local2:uint;
while (_local2 < _n) {
_arr[_local2].alpha = (_arr[_local2].alpha - 0.07);
if (_arr[_local2].alpha <= 0){
_arr[_local2].alpha = 0;
};
_local2++;
};
_arg1.updateAfterEvent();
}
public function createInfoText():void{
_info_text = new TextField();
var _local1:TextFormat = new TextFormat();
_local1.color = 0xFFFFFF;
_local1.size = 11;
_local1.font = "Arial";
_info_text.defaultTextFormat = _local1;
_info_text.autoSize = TextFieldAutoSize.CENTER;
_indicator.addChild(_info_text);
var _local2:Number = 100;
var _local3:Number = 20;
_local2 = _info_text.width;
_local3 = _info_text.height;
_info_text.x = (-(_local2) / 2);
_info_text.y = -10;
}
public function update(_arg1:Number, _arg2:Number):void{
this.visible = true;
this.x = (_arg1 / 2);
this.y = (_arg2 / 2);
}
private function iniEvents():void{
_timer.addEventListener(TimerEvent.TIMER, updateIndicator);
_timer.start();
_timer_2.addEventListener(TimerEvent.TIMER, updateCurrent);
_timer_2.start();
}
public function setVal(_arg1:String):void{
_info_text.text = _arg1;
}
private function getBorder():MovieClip{
var _local1:Number = 10;
var _local2:Number = 150;
var _local3:Number = 150;
var _local4:MovieClip = new MovieClip();
_local4.graphics.beginFill(0x333333, 1);
_local4.graphics.moveTo(_local1, 0);
_local4.graphics.lineTo((_local2 - _local1), 0);
_local4.graphics.curveTo(_local2, 0, _local2, _local1);
_local4.graphics.lineTo(_local2, _local1);
_local4.graphics.lineTo(_local2, (_local3 - _local1));
_local4.graphics.curveTo(_local2, _local3, (_local2 - _local1), _local3);
_local4.graphics.lineTo((_local2 - _local1), _local3);
_local4.graphics.lineTo(_local1, _local3);
_local4.graphics.curveTo(0, _local3, 0, (_local3 - _local1));
_local4.graphics.lineTo(0, (_local3 - _local1));
_local4.graphics.lineTo(0, _local1);
_local4.graphics.curveTo(0, 0, _local1, 0);
_local4.graphics.lineTo(_local1, 0);
_local4.graphics.endFill();
_indicator.addChild(_local4);
_local4.x = (-(_local4.width) / 2);
_local4.y = (-(_local4.height) / 2);
return (_local4);
}
private function ini():void{
var _local2:MovieClip;
this.visible = false;
_timer = new Timer((1000 / 40), 0);
_timer_2 = new Timer((1000 / 20), 0);
_indicator = new MovieClip();
this.addChild(_indicator);
getBorder();
var _local1:uint;
while (_local1 < _n) {
_local2 = getItem();
_local2.rotation = (_dalpha * _local1);
_local2.alpha = 0.2;
_arr.push(_local2);
_local1++;
};
createInfoText();
}
private function updateCurrent(_arg1:TimerEvent=null):void{
_current++;
if (_current >= _arr.length){
_current = 0;
};
_arr[_current].alpha = 1;
_arg1.updateAfterEvent();
}
}
}//package com.gamezhero.api.as3.gui
Section 28
//URL (com.gamezhero.api.as3.utils.URL)
package com.gamezhero.api.as3.utils {
public class URL {
private var _scheme:String;
private var _host:String;
private var _query:String;
private var _path:String;
private var _userinfo:String;
private var _port:String;
private var _url:String;
private var _fragment:String;
private static const PATTERN:RegExp = /^([A-Za-z0-9_+.]{1,8}:\/\/)?([!-~]+@)?([^\/?#:]*)(:[0-9]*)?(\/[^?#]*)?(\?[^#]*)?(\#.*)?/i;
public function URL(_arg1:String):void{
var _local2:Array = _arg1.match(URL.PATTERN);
_url = _local2[0];
_scheme = _local2[1];
_userinfo = _local2[2];
_host = _local2[3];
_port = _local2[4];
_path = _local2[5];
_query = _local2[6];
_fragment = _local2[7];
}
public function get port():int{
return (((_port.length <= 0)) ? undefined : int(_port.substring(1, _port.length)));
}
public function get fragment():String{
return (((_fragment.length <= 0)) ? undefined : _fragment);
}
public function get query():Object{
var _local2:String;
var _local3:Array;
var _local4:int;
var _local5:Array;
var _local1:Object = {raw:undefined, parsed:undefined};
if (((_query) && ((_query.length > 0)))){
_local1.raw = _query;
_local2 = _query.substring(1, _query.length);
_local3 = _local2.split("&");
_local1.parsed = ((_local3.length > 0)) ? {} : undefined;
_local4 = 0;
while (_local4 < _local3.length) {
_local5 = _local3[_local4].split("=");
_local1.parsed[_local5[0]] = _local5[1];
_local4++;
};
};
return (_local1);
}
public function get scheme():String{
return (((_scheme.length <= 0)) ? undefined : _scheme.substring(0, (_scheme.length - 3)));
}
public function get host():String{
return (((_host.length <= 0)) ? undefined : _host);
}
public function get path():String{
return (((_path.length <= 0)) ? undefined : _path);
}
public function get url():String{
return (((_url.length <= 0)) ? undefined : _url);
}
public function get userinfo():Object{
var _local2:Array;
var _local1:Object = {user:undefined, pass:undefined};
if (_userinfo){
_local2 = _userinfo.substring(0, (_userinfo.length - 1)).split(":");
_local1.user = (_local2[0]) ? _local2[0] : _local1.user;
_local1.pass = (_local2[1]) ? _local2[1] : _local1.pas;
};
return (_local1);
}
}
}//package com.gamezhero.api.as3.utils
Section 29
//GamePreloader (com.gamezhero.api.as3.GamePreloader)
package com.gamezhero.api.as3 {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import com.google.analytics.*;
import com.gamezhero.api.as3.gui.*;
import flash.utils.*;
import flash.ui.*;
public class GamePreloader extends MovieClip {
private var _indicator:Indicator;
private var _obj_listener_preloader:Object;
private var _gamezhero_code_preloader:Number;
private var _quality_old:String;
private var _rate_old:Number;
private var _send_name_connection_preloader:String;
private var _recived_name_connection_preloader:String;
private var _obj:Object;
private var _scale_old:String;
private var _preloader_active_flag:Boolean;// = false
private var _urls:Dictionary;
private var _timer:Timer;
private var _loader_preloader_skin:Loader;
private var _bg:Background;
private var _recive_localconnection_preloader:LocalConnection;
private var _error_flag:Boolean;// = false
private var _in_target:String;
private var _align_old:String;
private var _send_localconnection_preloader:LocalConnection;
private var _par:MovieClip;
private var _amount_try:uint;// = 10
private var _in_url:String;// = "null"
private var _tracker:GATracker;
private var _debug_flag:Boolean;// = false
public static const finish:String = "PRELOAD_COMPLETE";
public function GamePreloader(_arg1:MovieClip, _arg2:Object=null){
var par = _arg1;
var iniObject = _arg2;
_timer = new Timer((1000 / 10), 0);
_obj = new Object();
_urls = new Dictionary();
_recive_localconnection_preloader = new LocalConnection();
_send_localconnection_preloader = new LocalConnection();
_loader_preloader_skin = new Loader();
_obj_listener_preloader = new Object();
super();
_par = par;
_par.addChild(this);
if (iniObject != null){
_obj = iniObject;
};
try {
_debug_flag = _obj["debug"];
} catch(e:Error) {
_debug_flag = false;
};
_bg = new Background(this);
_indicator = new Indicator(this);
_gamezhero_code_preloader = new Date().getTime();
_recived_name_connection_preloader = ("_recived_gamezhero_preloader_" + _gamezhero_code_preloader);
_send_name_connection_preloader = ("_send_gamezhero_preloader_" + _gamezhero_code_preloader);
iniLocalConnectionsPreloader();
iniEvents();
iniStage();
iniGoogleAnalitics();
}
private function ioErrorHandler(_arg1:IOErrorEvent=null):void{
beginScenario2();
}
private function preloaderLoaderError(_arg1:Event=null):void{
beginScenario2();
}
private function preloaderLoaderComplete(_arg1:Event=null):void{
}
private function actionDone(_arg1:TimerEvent=null):void{
var _local2:Event;
this.alpha = (this.alpha - 1);
if (this.alpha <= 1){
this.alpha = 0;
clearEvents();
clearStageEvents();
clearTimers();
setStageSettings();
_local2 = new Event(finish);
this.dispatchEvent(_local2);
_indicator.remove();
_bg.remove();
_par.removeChild(this);
};
_arg1.updateAfterEvent();
}
private function gotoAction(_arg1:MouseEvent=null):void{
trace((((("gotoAction 2 " + _in_url) + " ") + _in_target) + " "));
if (_in_url != "null"){
GamezheroGlobal.getURL(_in_url, _in_target);
_in_url = "null";
};
}
private function iniStage(_arg1:Event=null):void{
var event = _arg1;
this.removeEventListener(Event.ENTER_FRAME, iniStage);
try {
getStageSettings();
iniStageSettings();
iniContextMenu();
iniStageEvents();
if (_debug_flag == false){
loadPreloaderSkin();
} else {
beginScenario2();
};
} catch(e:Error) {
_amount_try--;
if (_amount_try <= 0){
beginScenario2();
} else {
this.addEventListener(Event.ENTER_FRAME, iniStage);
};
};
}
private function resizeAction(_arg1:Event=null):void{
var obj:Object;
var event = _arg1;
obj = new Object();
try {
obj.width = stage.stageWidth;
obj.height = stage.stageHeight;
} catch(e:Error) {
obj.width = 550;
obj.height = 400;
};
if ((((_error_flag == false)) && ((_preloader_active_flag == true)))){
try {
_send_localconnection_preloader.send(_send_name_connection_preloader, GamezheroGlobal.toText([117, 112, 100, 97, 116, 101, 80, 111, 115]), obj);
} catch(e:Error) {
beginScenario2();
};
};
_indicator.update(obj.width, obj.height);
_bg.update(obj.width, obj.height);
}
private function getStageSettings():void{
_scale_old = stage.scaleMode;
_align_old = stage.align;
_rate_old = stage.frameRate;
_quality_old = stage.quality;
}
private function beginScenario2():void{
_error_flag = true;
clearTimers();
_timer.addEventListener(TimerEvent.TIMER, updatePreloader2);
_timer.start();
}
private function iniEvents():void{
_par.loaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
_loader_preloader_skin.contentLoaderInfo.addEventListener(Event.INIT, preloaderLoaderInit);
_loader_preloader_skin.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, preloaderLoaderError);
_recive_localconnection_preloader.addEventListener(StatusEvent.STATUS, onStatusRecivePreloader);
_recive_localconnection_preloader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorRecivePreloader);
_send_localconnection_preloader.addEventListener(StatusEvent.STATUS, onStatusSendPreloader);
_send_localconnection_preloader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorSendPreloader);
}
private function updatePreloader2(_arg1:TimerEvent=null):void{
var obj:Object;
var event = _arg1;
iniStageSettings();
var proc:Number = (_par.loaderInfo.bytesLoaded / _par.loaderInfo.bytesTotal);
_indicator.setVal((Math.round((proc * 100)) + " %"));
if (proc >= 1){
action();
};
obj = new Object();
try {
obj.width = stage.stageWidth;
obj.height = stage.stageHeight;
} catch(e:Error) {
obj.width = 550;
obj.height = 400;
};
event.updateAfterEvent();
}
private function iniContextMenu():void{
var _local5:String;
var _local6:ContextMenuItem;
var _local1:String = GamezheroGlobal.getDomain(_par.stage);
var _local2:String = GamezheroGlobal.gameName;
_obj.gamezhero_url = (((("http://www.gamezhero.com/?utm_campaign=" + _local2) + "&utm_source=") + _local1) + "&utm_medium=preloader");
_obj.gamezhero_menu = {Free Online Games @ Gamezhero.com:(((("http://www.gamezhero.com/?utm_campaign=" + _local2) + "&utm_source=") + _local1) + "&utm_medium=context_menu"), Send To Friends:(((((("http://www.gamezhero.com/sendtofriends/" + _local2) + "-onlinegames.html?utm_campaign=") + _local2) + "&utm_source=") + _local1) + "&utm_medium=send_to_friends_context_menu"), Put This Game To Your Blog or Site:(((((("http://www.gamezhero.com/freewebsitegames/" + _local2) + "-onlinegames.html?utm_campaign=") + _local2) + "&utm_source=") + _local1) + "&utm_medium=free_web_site_games_context")};
var _local3:ContextMenu = new ContextMenu();
_local3.hideBuiltInItems();
var _local4:ContextMenuBuiltInItems = _local3.builtInItems;
_local4.quality = true;
_local4.print = true;
for (_local5 in _obj.gamezhero_menu) {
_local6 = new ContextMenuItem(_local5);
_urls[_local6] = _obj.gamezhero_menu[_local5];
_local6.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, getURLContextMenu);
_local3.customItems.push(_local6);
};
this.parent.contextMenu = _local3;
}
private function getInfo():Object{
var _local1:UserInfo = new UserInfo(_par);
return ((_local1 as Object));
}
private function onStatusRecivePreloader(_arg1:StatusEvent=null):void{
switch (_arg1.level){
case "status":
break;
case "error":
beginScenario2();
break;
};
}
private function iniLocalConnectionsPreloader():void{
_obj_listener_preloader = new Object();
_obj_listener_preloader.preloaderOk = function ():void{
_send_localconnection_preloader.send(_send_name_connection_preloader, GamezheroGlobal.toText([105, 110, 105, 80, 114, 101, 108, 111, 97, 100, 101, 114]), getInfo());
beginScenario1();
};
_obj_listener_preloader.preloaderGetUrlAction = function (_arg1:String, _arg2:String):void{
var url = _arg1;
var target = _arg2;
try {
_tracker.trackEvent("preloader", "click", GamezheroGlobal.gameName);
} catch(e:Error) {
};
gotoActionIni(url, target);
};
_obj_listener_preloader.finishAction = function (_arg1:Object):void{
action();
};
var dom:String = GamezheroGlobal.toText([102, 105, 108, 101, 115, 46, 103, 97, 109, 101, 122, 104, 101, 114, 111, 46, 99, 111, 109]);
_recive_localconnection_preloader.allowInsecureDomain(dom);
_recive_localconnection_preloader.allowDomain(dom);
_recive_localconnection_preloader.client = _obj_listener_preloader;
try {
_recive_localconnection_preloader.connect(_recived_name_connection_preloader);
} catch(e:Error) {
beginScenario2();
};
_send_localconnection_preloader.allowInsecureDomain(dom);
_send_localconnection_preloader.allowDomain(dom);
}
private function gotoActionIni(_arg1:String, _arg2:String):void{
trace((((("gotoAction 1 " + _arg1) + " ") + _arg2) + " "));
_in_url = _arg1;
_in_target = _arg2;
gotoAction();
}
private function onStatusSendPreloader(_arg1:StatusEvent=null):void{
switch (_arg1.level){
case "status":
break;
case "error":
beginScenario2();
break;
};
}
private function iniGoogleAnalitics():void{
try {
_tracker = new GATracker(this, "UA-262190-1", "AS3", false);
_tracker.trackEvent("preloader", "loading", GamezheroGlobal.gameName);
} catch(e:Error) {
};
}
private function getURLContextMenu(_arg1:ContextMenuEvent=null):void{
GamezheroGlobal.getURL(_urls[_arg1.target], "_blank");
}
private function iniStageEvents():void{
stage.addEventListener(Event.RESIZE, resizeAction);
resizeAction();
}
public function action(_arg1:Event=null):void{
clearTimers();
_timer.addEventListener(TimerEvent.TIMER, actionDone);
_timer.start();
}
private function iniStageSettings():void{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.frameRate = 20;
stage.quality = StageQuality.HIGH;
}
private function clearEvents():void{
_par.loaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
this.removeEventListener(Event.ENTER_FRAME, iniStage);
_loader_preloader_skin.contentLoaderInfo.removeEventListener(Event.INIT, preloaderLoaderInit);
_loader_preloader_skin.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, preloaderLoaderError);
_recive_localconnection_preloader.removeEventListener(StatusEvent.STATUS, onStatusRecivePreloader);
_recive_localconnection_preloader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorRecivePreloader);
_recive_localconnection_preloader.client = {};
_recive_localconnection_preloader.close();
_recive_localconnection_preloader = new LocalConnection();
_send_localconnection_preloader.removeEventListener(StatusEvent.STATUS, onStatusSendPreloader);
_send_localconnection_preloader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorSendPreloader);
_send_localconnection_preloader = new LocalConnection();
}
private function updatePreloader1(_arg1:TimerEvent=null):void{
var obj:Object;
var event = _arg1;
iniStageSettings();
var proc:Number = (_par.loaderInfo.bytesLoaded / _par.loaderInfo.bytesTotal);
_indicator.setVal("Loading...");
obj = new Object();
try {
obj.width = stage.stageWidth;
obj.height = stage.stageHeight;
} catch(e:Error) {
obj.width = 550;
obj.height = 400;
};
obj.loaded = proc;
_send_localconnection_preloader.send(_send_name_connection_preloader, GamezheroGlobal.toText([117, 112, 100, 97, 116, 101, 80, 114, 101, 108, 111, 97, 100, 101, 114]), obj);
event.updateAfterEvent();
}
private function loadPreloaderSkin():void{
var url:String = (GamezheroGlobal.toText([104, 116, 116, 112, 58, 47, 47, 102, 105, 108, 101, 115, 46, 103, 97, 109, 101, 122, 104, 101, 114, 111, 46, 99, 111, 109, 47, 112, 114, 101, 108, 111, 97, 100, 101, 114, 47, 112, 114, 101, 108, 111, 97, 100, 101, 114, 95, 118, 49, 46, 115, 119, 102, 63, 103, 97, 109, 101, 122, 104, 101, 114, 111, 67, 111, 100, 101, 61]) + String(_gamezhero_code_preloader));
var request:URLRequest = new URLRequest(url);
try {
_loader_preloader_skin.load(request);
addChild(_loader_preloader_skin);
} catch(e:Error) {
beginScenario2();
};
}
private function preloaderLoaderInit(_arg1:Event=null):void{
var _local2:Timer = new Timer(200, 1);
_local2.addEventListener(TimerEvent.TIMER, checkPreloader);
_local2.start();
}
private function checkPreloader(_arg1:TimerEvent=null):void{
_send_localconnection_preloader.send(_send_name_connection_preloader, GamezheroGlobal.toText([112, 114, 101, 108, 111, 97, 100, 101, 114, 73, 115, 79, 107]), null);
}
private function clearStageEvents():void{
try {
stage.removeEventListener(Event.RESIZE, resizeAction);
} catch(e:Error) {
};
}
private function onErrorRecivePreloader(_arg1:SecurityErrorEvent=null):void{
beginScenario2();
}
private function moveAction(_arg1:MouseEvent=null):void{
}
private function beginScenario1():void{
_preloader_active_flag = true;
clearTimers();
_timer.addEventListener(TimerEvent.TIMER, updatePreloader1);
_timer.start();
resizeAction();
}
private function clearTimers():void{
_timer.removeEventListener(TimerEvent.TIMER, updatePreloader1);
_timer.removeEventListener(TimerEvent.TIMER, updatePreloader2);
_timer.removeEventListener(TimerEvent.TIMER, actionDone);
}
private function onErrorSendPreloader(_arg1:SecurityErrorEvent=null):void{
beginScenario2();
}
private function setStageSettings():void{
stage.scaleMode = _scale_old;
stage.align = _align_old;
stage.frameRate = _rate_old;
stage.quality = _quality_old;
}
}
}//package com.gamezhero.api.as3
Section 30
//GamezheroApi (com.gamezhero.api.as3.GamezheroApi)
package com.gamezhero.api.as3 {
import flash.events.*;
import flash.display.*;
import flash.system.*;
public class GamezheroApi {
private static var _score_continue_function:Function;
private static var _preloader_next_step_function:Function;
private static var _preloader_goal:MovieClip;
private static var _score_submit_function:Function;
private static var _score_error_function:Function;
private static var _score_goal:MovieClip;
private static function scoreSubmitAction(_arg1:Event=null):void{
_score_submit_function.apply();
}
public static function preloader(_arg1:MovieClip, _arg2:Function):void{
var _local3:GamePreloader;
_preloader_goal = (_arg1 as MovieClip);
_preloader_next_step_function = _arg2;
if (GamezheroGlobal.gameName == "unset"){
trace("Error. GamezheroApi don't ini !");
} else {
_local3 = new GamePreloader(_preloader_goal, {debug:false});
_local3.addEventListener(GamePreloader.finish, preloaderNextStep);
};
}
public static function ini(_arg1:String):void{
Security.allowDomain("www.gamezhero.com", "gamezhero.com", "files.gamezhero.com", "data.gamezhero.com", "*.gamezhero.com");
Security.allowInsecureDomain("www.gamezhero.com", "gamezhero.com", "files.gamezhero.com", "data.gamezhero.com", "*.gamezhero.com");
GamezheroGlobal.gameName = _arg1;
}
private static function scoreErrorAction(_arg1:Event=null):void{
_score_error_function.apply();
}
public static function linkSendToFrined():void{
GamezheroGlobal.getURL((((((("http://www.gamezhero.com/sendtofriends/" + GamezheroGlobal.gameName) + "-games.html?utm_campaign=") + GamezheroGlobal.gameName) + "&utm_source=") + GamezheroGlobal.getDomain()) + "&utm_medium=send_to_friend"), "_blank");
}
private static function scoreContinueAction(_arg1:Event=null):void{
_score_continue_function.apply();
}
public static function score(_arg1:MovieClip, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Function, _arg7:Function, _arg8:Function, _arg9:Object=null):void{
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Object;
var _local14:SubmitArea;
GamezheroGlobal.gameCode = _arg2;
_score_goal = (_arg1 as MovieClip);
_score_submit_function = _arg6;
_score_continue_function = _arg7;
_score_error_function = _arg8;
if (GamezheroGlobal.gameName == "unset"){
trace("Error. GamezheroApi don't ini !");
} else {
_local10 = _arg3;
_local11 = _arg4;
_local12 = _arg5;
_local13 = _arg9;
if (_local13 == null){
_local13 = {border:{width:4, color:0xFFFFFF, alpha:100}, background:{topColor:0x999999, bottomColor:0x666666, topAlpha:100, bottomAlpha:100, cornerRadius:10}, language:"ENG"};
};
_local14 = new SubmitArea(_score_goal, _local11, _local12, _local10, _local13);
_local14.addEventListener(SubmitArea.SUBMITED, scoreSubmitAction);
_local14.addEventListener(SubmitArea.CONTINUE, scoreContinueAction);
_local14.addEventListener(SubmitArea.ERROR, scoreErrorAction);
};
}
private static function preloaderNextStep(_arg1:Event=null):void{
_preloader_next_step_function.apply();
}
public static function linkTopScore():void{
GamezheroGlobal.getURL((((((("http://www.gamezhero.com/topscore/" + GamezheroGlobal.gameName) + "/top100.html?utm_campaign=") + GamezheroGlobal.gameName) + "&utm_source=") + GamezheroGlobal.getDomain()) + "&utm_medium=top_score"), "_blank");
}
public static function linkMoreGames():void{
GamezheroGlobal.getURL((((("http://www.gamezhero.com/?utm_campaign=" + GamezheroGlobal.gameName) + "&utm_source=") + GamezheroGlobal.getDomain()) + "&utm_medium=more_free_games"), "_blank");
}
public static function linkZorroLogo():void{
GamezheroGlobal.getURL((((("http://www.gamezhero.com/?utm_campaign=" + GamezheroGlobal.gameName) + "&utm_source=") + GamezheroGlobal.getDomain()) + "&utm_medium=zorro_logo"), "_blank");
}
public static function linkPublish():void{
GamezheroGlobal.getURL((((((("http://www.gamezhero.com/freewebsitegames/" + GamezheroGlobal.gameName) + "-games.html?utm_campaign=") + GamezheroGlobal.gameName) + "&utm_source=") + GamezheroGlobal.getDomain()) + "&utm_medium=free_web_site_games"), "_blank");
}
}
}//package com.gamezhero.api.as3
Section 31
//GamezheroGlobal (com.gamezhero.api.as3.GamezheroGlobal)
package com.gamezhero.api.as3 {
import flash.display.*;
import flash.net.*;
import com.gamezhero.api.as3.utils.*;
import flash.external.*;
public class GamezheroGlobal {
public static const SAFARI:String = "safari";
public static const FIREFOX:String = "firefox";
public static const CHROME:String = "chrome";
public static const IE:String = "ie";
public static const OPERA:String = "opera";
public static var gameNameVar:String = "unset";
public static var host:String = "error";
public static var browser:String = "unset";
public static var gameCodeVar:String = "unset";
public static function getDomain(_arg1:Stage=null):String{
var url:URL;
var stage = _arg1;
if (host != "error"){
return (host);
};
try {
url = new URL(stage.loaderInfo.url);
host = url.host;
if (url.host == null){
host = "local";
};
} catch(e:Error) {
host = "error";
};
return (host);
}
public static function toText(_arg1:Array):String{
var _local2 = "";
var _local3:Number = 0;
while (_local3 < _arg1.length) {
_local2 = (_local2 + String.fromCharCode(_arg1[_local3]));
_local3++;
};
return (_local2);
}
public static function getURL(_arg1:String, _arg2:String):void{
var _local3:URLRequest = new URLRequest(_arg1);
navigateToURL(_local3, _arg2);
}
public static function get gameName():String{
return (gameNameVar);
}
public static function getBrowser():String{
var st:String;
if (browser == "unset"){
if (ExternalInterface.available){
try {
st = ExternalInterface.call("function (){ return navigator['userAgent']}");
st = st.toLowerCase();
if (st.indexOf("firefox") != -1){
browser = FIREFOX;
} else {
if (st.indexOf("chrome") != -1){
browser = CHROME;
} else {
if (st.indexOf("safari") != -1){
browser = SAFARI;
} else {
if (st.indexOf("opera") != -1){
browser = OPERA;
} else {
browser = IE;
};
};
};
};
} catch(e:Error) {
browser = IE;
};
} else {
browser = IE;
};
};
return (browser);
}
public static function set gameName(_arg1:String):void{
gameNameVar = _arg1;
}
public static function set gameCode(_arg1:String):void{
gameCodeVar = _arg1;
}
public static function get gameCode():String{
return (gameCodeVar);
}
}
}//package com.gamezhero.api.as3
Section 32
//SubmitArea (com.gamezhero.api.as3.SubmitArea)
package com.gamezhero.api.as3 {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.text.*;
import com.gamezhero.api.as3.gui.*;
import flash.utils.*;
public class SubmitArea extends MovieClip {
private var reciveLocalConnection_engine:LocalConnection;
private var sendLocalConnection_skin:LocalConnection;
private var score_value:Number;// = 0
private var sendNameConnection_skin:String;
private var x_pos:Number;// = 0
private var y_pos:Number;// = 0
private var _indicator:Indicator;
private var score:Number;
private var goal:MovieClip;
private var skin_mc:MovieClip;
private var loader_skin:Loader;
private var gamezheroCode_engine:Number;
private var engine_mc:MovieClip;
private var skin_info:Object;
private var _loader:URLVariables;
private var reciveLocalConnection_skin:LocalConnection;
private var recivedNameConnection_engine:String;
private var sendLocalConnection_engine:LocalConnection;
private var sendNameConnection_engine:String;
private var _loader_url:String;// = "null"
private var objListenerSkin:Object;
public var versionGame:String;// = "2.0"
private var gamezheroCode_skin:Number;
private var loader_engine:Loader;
private var objListenerEngine:Object;
private var recivedNameConnection_skin:String;
private var infoText:TextField;
public static const SUBMITED:String = "gamezhero_submited";
public static const CONTINUE:String = "gamezhero_continue";
public static const ERROR:String = "gamezhero_error";
public function SubmitArea(_arg1:DisplayObject, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object){
reciveLocalConnection_skin = new LocalConnection();
sendLocalConnection_skin = new LocalConnection();
reciveLocalConnection_engine = new LocalConnection();
sendLocalConnection_engine = new LocalConnection();
loader_skin = new Loader();
loader_engine = new Loader();
objListenerSkin = new Object();
objListenerEngine = new Object();
_loader = new URLVariables();
super();
gamezheroCode_skin = new Date().getTime();
gamezheroCode_engine = gamezheroCode_skin;
recivedNameConnection_skin = ("_send_gamezhero_skin_" + gamezheroCode_skin);
sendNameConnection_skin = ("_recive_gamezhero_skin_" + gamezheroCode_skin);
recivedNameConnection_engine = ("_send_gamezhero_engine_" + gamezheroCode_engine);
sendNameConnection_engine = ("_recive_gamezhero_engine_" + gamezheroCode_engine);
iniLocalConnectionsSkin();
iniLocalConnectionsEngine();
iniSubmitArea(_arg1, _arg2, _arg3, _arg4, _arg5);
iniEvents();
}
private function iniSkin():void{
loader_skin.x = x_pos;
loader_skin.y = y_pos;
infoText.text = "";
try {
_indicator.remove();
} catch(e:Error) {
};
sendLocalConnection_skin.send(sendNameConnection_skin, "iniSkin", skin_info);
}
private function loadSkin():void{
infoText.text = "Loading Skin...";
var url:String = (toText([104, 116, 116, 112, 58, 47, 47, 102, 105, 108, 101, 115, 46, 103, 97, 109, 101, 122, 104, 101, 114, 111, 46, 99, 111, 109, 47, 115, 99, 111, 114, 101, 47, 115, 107, 105, 110, 47, 115, 107, 105, 110, 95, 118, 49, 46, 115, 119, 102, 63, 103, 97, 109, 101, 122, 104, 101, 114, 111, 67, 111, 100, 101, 61]) + gamezheroCode_skin);
var request:URLRequest = new URLRequest(url);
try {
loader_skin.load(request);
addChild(loader_skin);
} catch(e:Error) {
infoText.text = "Error Loading Skin...";
errorAction();
};
}
public function submitAction(_arg1:String=""):void{
diactivateAllEvents();
deleteAll();
dispatchEvent(new Event(SUBMITED));
}
private function diactivateAllEvents():void{
loader_skin.contentLoaderInfo.removeEventListener(Event.INIT, skinLoaderInit);
loader_skin.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, skinLoaderError);
loader_engine.contentLoaderInfo.removeEventListener(Event.INIT, engineLoaderInit);
loader_engine.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, engineLoaderError);
reciveLocalConnection_skin.removeEventListener(StatusEvent.STATUS, onStatusReciveSkin);
reciveLocalConnection_skin.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorReciveSkin);
sendLocalConnection_skin.removeEventListener(StatusEvent.STATUS, onStatusSendSkin);
sendLocalConnection_skin.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorSendSkin);
reciveLocalConnection_engine.removeEventListener(StatusEvent.STATUS, onStatusReciveEngine);
reciveLocalConnection_engine.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorReciveEngine);
sendLocalConnection_engine.removeEventListener(StatusEvent.STATUS, onStatusSendEngine);
sendLocalConnection_engine.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorSendEngine);
}
private function onStatusReciveEngine(_arg1:StatusEvent=null):void{
switch (_arg1.level){
case "status":
break;
case "error":
infoText.text = "Error Connections 'Recive From Engine'";
break;
};
}
public function createInfoText():void{
infoText = new TextField();
infoText.autoSize = TextFieldAutoSize.LEFT;
var _local1:TextFormat = new TextFormat();
_local1.color = 0xFFFFFF;
_local1.size = 11;
_local1.font = "Arial";
infoText.defaultTextFormat = _local1;
this.addChild(infoText);
infoText.x = 10;
infoText.y = 10;
infoText.visible = false;
}
private function iniEvents():void{
loader_skin.contentLoaderInfo.addEventListener(Event.INIT, skinLoaderInit);
loader_skin.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, skinLoaderError);
loader_engine.contentLoaderInfo.addEventListener(Event.INIT, engineLoaderInit);
loader_engine.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, engineLoaderError);
reciveLocalConnection_skin.addEventListener(StatusEvent.STATUS, onStatusReciveSkin);
reciveLocalConnection_skin.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorReciveSkin);
sendLocalConnection_skin.addEventListener(StatusEvent.STATUS, onStatusSendSkin);
sendLocalConnection_skin.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorSendSkin);
reciveLocalConnection_engine.addEventListener(StatusEvent.STATUS, onStatusReciveEngine);
reciveLocalConnection_engine.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorReciveEngine);
sendLocalConnection_engine.addEventListener(StatusEvent.STATUS, onStatusSendEngine);
sendLocalConnection_engine.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onErrorSendEngine);
}
private function engineLoaderError(_arg1:Event=null):void{
infoText.text = "Error Loading Engine...";
errorAction();
}
private function onStatusReciveSkin(_arg1:StatusEvent=null):void{
switch (_arg1.level){
case "status":
break;
case "error":
infoText.text = "Error Connections 'Recive From Skin'";
break;
};
}
private function engineLoaderInit(_arg1:Event=null):void{
infoText.text = "Check Engine Connection...";
var _local2:Timer = new Timer(200, 1);
_local2.addEventListener(TimerEvent.TIMER, checkEngine);
_local2.start();
}
private function onStatusSendEngine(_arg1:StatusEvent=null):void{
switch (_arg1.level){
case "status":
break;
case "error":
infoText.text = "Error Connections 'Send To Engine'";
break;
};
}
private function checkSkin(_arg1:TimerEvent=null):void{
sendLocalConnection_skin.send(sendNameConnection_skin, "skinIsOk");
}
private function iniLocalConnectionsSkin():void{
objListenerSkin = new Object();
objListenerSkin.skinOk = function ():void{
loadEngine();
};
objListenerSkin.submitAction = function (_arg1:String):void{
sendLocalConnection_engine.send(sendNameConnection_engine, toText([115, 101, 110, 100, 83, 99, 111, 114, 101]), _arg1);
};
objListenerSkin.errorInputActin = function ():void{
};
objListenerSkin.continueAction = function ():void{
continueAction();
};
var dom:String = toText([102, 105, 108, 101, 115, 46, 103, 97, 109, 101, 122, 104, 101, 114, 111, 46, 99, 111, 109]);
reciveLocalConnection_skin.allowInsecureDomain(dom);
reciveLocalConnection_skin.allowDomain(dom);
reciveLocalConnection_skin.client = objListenerSkin;
reciveLocalConnection_skin.connect(recivedNameConnection_skin);
sendLocalConnection_skin.allowInsecureDomain(dom);
sendLocalConnection_skin.allowDomain(dom);
}
private function onErrorReciveSkin(_arg1:SecurityErrorEvent=null):void{
errorAction();
}
private function onStatusSendSkin(_arg1:StatusEvent=null):void{
switch (_arg1.level){
case "status":
break;
case "error":
infoText.text = "Error Connections 'Send To Skin'";
break;
};
}
private function onErrorSendSkin(_arg1:SecurityErrorEvent=null):void{
errorAction();
}
private function skinLoaderInit(_arg1:Event=null):void{
infoText.text = "Check Skin Connection... ";
var _local2:Timer = new Timer(200, 1);
_local2.addEventListener(TimerEvent.TIMER, checkSkin);
_local2.start();
}
public function continueAction():void{
diactivateAllEvents();
deleteAll();
dispatchEvent(new Event(CONTINUE));
}
private function onErrorReciveEngine(_arg1:SecurityErrorEvent=null):void{
errorAction();
}
private function sendScoreAction(_arg1:MouseEvent=null):void{
var _local2:URLRequest;
if (_loader_url != "null"){
_local2 = new URLRequest(_loader_url);
_local2.method = URLRequestMethod.POST;
_local2.data = _loader;
navigateToURL(_local2, "_blank");
_loader = new URLVariables();
_loader_url = "null";
submitAction();
};
}
private function toText(_arg1:Array):String{
var _local2 = "";
var _local3:Number = 0;
while (_local3 < _arg1.length) {
_local2 = (_local2 + String.fromCharCode(_arg1[_local3]));
_local3++;
};
return (_local2);
}
private function iniSubmitArea(_arg1:DisplayObject, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object):void{
goal = (_arg1 as MovieClip);
goal.addChild(this);
x_pos = _arg2;
y_pos = _arg3;
score_value = Math.abs(Math.round(_arg4));
skin_info = _arg5;
skin_info.score = score_value;
skin_info.gameName = GamezheroGlobal.gameName;
skin_info.gameCode = GamezheroGlobal.gameCode;
skin_info.domain = GamezheroGlobal.getDomain(goal.stage);
_indicator = new Indicator(goal);
_indicator.setSize(50, 50);
_indicator.setPos(30, 30);
createInfoText();
loadSkin();
}
private function deleteAll():void{
try {
this.removeChild(infoText);
} catch(e:Error) {
};
try {
this.removeChild(loader_skin);
} catch(e:Error) {
};
try {
this.removeChild(loader_engine);
} catch(e:Error) {
};
try {
_indicator.remove();
} catch(e:Error) {
};
try {
goal.removeChild(this);
} catch(e:Error) {
};
}
private function onErrorSendEngine(_arg1:SecurityErrorEvent=null):void{
errorAction();
}
private function loadEngine():void{
infoText.text = "Loading Engine...";
var url:String = (toText([104, 116, 116, 112, 58, 47, 47, 102, 105, 108, 101, 115, 46, 103, 97, 109, 101, 122, 104, 101, 114, 111, 46, 99, 111, 109, 47, 115, 99, 111, 114, 101, 47, 101, 110, 103, 105, 110, 101, 47, 101, 110, 103, 105, 110, 101, 95, 118, 49, 46, 115, 119, 102, 63, 103, 97, 109, 101, 122, 104, 101, 114, 111, 67, 111, 100, 101, 61]) + gamezheroCode_engine);
var request:URLRequest = new URLRequest(url);
try {
loader_engine.load(request);
addChild(loader_engine);
} catch(e:Error) {
infoText.text = "Error Loading Engine...";
errorAction();
};
}
public function errorAction():void{
diactivateAllEvents();
deleteAll();
dispatchEvent(new Event(ERROR));
}
private function iniLocalConnectionsEngine():void{
objListenerEngine = new Object();
objListenerEngine.engineOk = function ():void{
sendLocalConnection_engine.send(sendNameConnection_engine, "iniEngine", skin_info);
infoText.text = "Engine Connections...";
};
objListenerEngine.engineError = function ():void{
infoText.text = "Error Engine...";
};
objListenerEngine.submitActionDone = function (_arg1:Object):void{
sendScore(_arg1);
};
objListenerEngine.engineActivated = function ():void{
iniSkin();
};
var dom:String = toText([102, 105, 108, 101, 115, 46, 103, 97, 109, 101, 122, 104, 101, 114, 111, 46, 99, 111, 109]);
reciveLocalConnection_engine.allowDomain(dom);
reciveLocalConnection_engine.allowInsecureDomain(dom);
reciveLocalConnection_engine.client = objListenerEngine;
reciveLocalConnection_engine.connect(recivedNameConnection_engine);
sendLocalConnection_engine.allowDomain(dom);
sendLocalConnection_engine.allowInsecureDomain(dom);
}
private function moveAction(_arg1:MouseEvent=null):void{
}
private function sendScore(_arg1:Object):void{
var _local2:String;
_loader = new URLVariables();
_loader_url = _arg1.url;
for (_local2 in _arg1.vars) {
_loader[_local2] = _arg1.vars[_local2];
};
sendScoreAction();
}
private function checkEngine(_arg1:TimerEvent=null):void{
sendLocalConnection_engine.send(sendNameConnection_engine, "engineIsOk");
}
private function fromText(_arg1:String):Array{
var _local2:Array = new Array();
var _local3:Number = 0;
while (_local3 < _arg1.length) {
_local2.push(_arg1.charCodeAt(_local3));
_local3++;
};
return (_local2);
}
private function skinLoaderError(_arg1:Event=null):void{
infoText.text = "Error Loading Skin...";
errorAction();
}
}
}//package com.gamezhero.api.as3
Section 33
//UserInfo (com.gamezhero.api.as3.UserInfo)
package com.gamezhero.api.as3 {
import flash.display.*;
import flash.system.*;
import flash.external.*;
public class UserInfo {
public var flash_domain:String;
private var _stage:Stage;
public var ad_zone:String;// = "preloader"
public var flash_height:Number;
public var flash_vars:Object;
public var referrer:String;
public var flash_url:String;
public var browser:String;
public var href:String;
private var _goal:MovieClip;
public var flash_width:Number;
public var game_name:String;
public var api_version:String;// = "AS3 - v3.0"
public var publisher:String;// = "gamezhero"
public var capabilities:String;
public function UserInfo(_arg1:MovieClip){
var g = _arg1;
_goal = g;
try {
_stage = _goal.stage;
} catch(e:Error) {
};
super();
iniInfo();
}
private function iniInfo():void{
var i:String;
this["publisher"] = "gamezhero";
this["ad_zone"] = "preloader";
this["api_version"] = "AS3 - v3.0";
this["flash_vars"] = new Object();
this["capabilities"] = Capabilities.serverString;
if (ExternalInterface.available){
try {
this["href"] = ExternalInterface.call("function (){return document.location.href}");
} catch(e:Error) {
this["href"] = "-1";
};
try {
this["browser"] = ExternalInterface.call("function (){var st = ''; for (i in navigator){ if (typeof(navigator[i])!='function'){ st+=i+'='+navigator[i]+'&'; }} return st}");
} catch(e:Error) {
this["browser"] = "-1";
};
try {
this["referrer"] = ExternalInterface.call("function (){return document.referrer}");
} catch(e:Error) {
this["referrer"] = "-1";
};
} else {
this["href"] = "-1";
this["browser"] = "-1";
this["referrer"] = "-1";
};
this["game_name"] = GamezheroGlobal.gameName;
this["flash_domain"] = GamezheroGlobal.getDomain();
try {
this["flash_width"] = _stage.stageWidth;
this["flash_height"] = _stage.stageHeight;
this["flash_url"] = _stage.root.loaderInfo.url;
} catch(e:Error) {
};
try {
for (i in _stage.root.loaderInfo.parameters) {
this["flash_vars"][i] = _stage.root.loaderInfo.parameters[i];
};
} catch(e:Error) {
};
}
}
}//package com.gamezhero.api.as3
Section 34
//CampaignInfo (com.google.analytics.campaign.CampaignInfo)
package com.google.analytics.campaign {
import com.google.analytics.utils.*;
public class CampaignInfo {
private var _new:Boolean;
private var _empty:Boolean;
public function CampaignInfo(_arg1:Boolean=true, _arg2:Boolean=false){
_empty = _arg1;
_new = _arg2;
}
public function toURLString():String{
var _local1:Variables = toVariables();
return (_local1.toString());
}
public function isNew():Boolean{
return (_new);
}
public function get utmcn():String{
return ("1");
}
public function isEmpty():Boolean{
return (_empty);
}
public function toVariables():Variables{
var _local1:Variables = new Variables();
_local1.URIencode = true;
if (((!(isEmpty())) && (isNew()))){
_local1.utmcn = utmcn;
};
if (((!(isEmpty())) && (!(isNew())))){
_local1.utmcr = utmcr;
};
return (_local1);
}
public function get utmcr():String{
return ("1");
}
}
}//package com.google.analytics.campaign
Section 35
//CampaignKey (com.google.analytics.campaign.CampaignKey)
package com.google.analytics.campaign {
public class CampaignKey {
public var UCMD:String;// = "utm_medium"
public var UCID:String;// = "utm_id"
public var UCTR:String;// = "utm_term"
public var UCSR:String;// = "utm_source"
public var UCNO:String;// = "utm_nooverride"
public var UCCN:String;// = "utm_campaign"
public var UGCLID:String;// = "gclid"
public var UCCT:String;// = "utm_content"
}
}//package com.google.analytics.campaign
Section 36
//CampaignManager (com.google.analytics.campaign.CampaignManager)
package com.google.analytics.campaign {
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import com.google.analytics.utils.*;
public class CampaignManager {
private var _config:Configuration;
private var _domainHash:Number;
private var _debug:DebugConfiguration;
private var _timeStamp:Number;
private var _referrer:String;
private var _buffer:Buffer;
public static const trackingDelimiter:String = "|";
public function CampaignManager(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Buffer, _arg4:Number, _arg5:String, _arg6:Number){
_config = _arg1;
_debug = _arg2;
_buffer = _arg3;
_domainHash = _arg4;
_referrer = _arg5;
_timeStamp = _arg6;
}
public function getCampaignInformation(_arg1:String, _arg2:Boolean):CampaignInfo{
var _local4:CampaignTracker;
var _local8:CampaignTracker;
var _local9:int;
var _local3:CampaignInfo = new CampaignInfo();
var _local5:Boolean;
var _local6:Boolean;
var _local7:int;
if (((_config.allowLinker) && (_buffer.isGenuine()))){
if (!_buffer.hasUTMZ()){
return (_local3);
};
};
_local4 = getTrackerFromSearchString(_arg1);
if (isValid(_local4)){
_local6 = hasNoOverride(_arg1);
if (((_local6) && (!(_buffer.hasUTMZ())))){
return (_local3);
};
};
if (!isValid(_local4)){
_local4 = getOrganicCampaign();
if (((!(_buffer.hasUTMZ())) && (isIgnoredKeyword(_local4)))){
return (_local3);
};
};
if (((!(isValid(_local4))) && (_arg2))){
_local4 = getReferrerCampaign();
if (((!(_buffer.hasUTMZ())) && (isIgnoredReferral(_local4)))){
return (_local3);
};
};
if (!isValid(_local4)){
if (((!(_buffer.hasUTMZ())) && (_arg2))){
_local4 = getDirectCampaign();
};
};
if (!isValid(_local4)){
return (_local3);
};
if (((_buffer.hasUTMZ()) && (!(_buffer.utmz.isEmpty())))){
_local8 = new CampaignTracker();
_local8.fromTrackerString(_buffer.utmz.campaignTracking);
_local5 = (_local8.toTrackerString() == _local4.toTrackerString());
_local7 = _buffer.utmz.responseCount;
};
if (((!(_local5)) || (_arg2))){
_local9 = _buffer.utma.sessionCount;
_local7++;
if (_local9 == 0){
_local9 = 1;
};
_buffer.utmz.domainHash = _domainHash;
_buffer.utmz.campaignCreation = _timeStamp;
_buffer.utmz.campaignSessions = _local9;
_buffer.utmz.responseCount = _local7;
_buffer.utmz.campaignTracking = _local4.toTrackerString();
_debug.info(_buffer.utmz.toString(), VisualDebugMode.geek);
_local3 = new CampaignInfo(false, true);
} else {
_local3 = new CampaignInfo(false, false);
};
return (_local3);
}
public function hasNoOverride(_arg1:String):Boolean{
var _local2:CampaignKey = _config.campaignKey;
if (_arg1 == ""){
return (false);
};
var _local3:Variables = new Variables(_arg1);
var _local4 = "";
if (_local3.hasOwnProperty(_local2.UCNO)){
_local4 = _local3[_local2.UCNO];
switch (_local4){
case "1":
return (true);
case "":
case "0":
default:
return (false);
};
};
return (false);
}
public function getTrackerFromSearchString(_arg1:String):CampaignTracker{
var _local2:CampaignTracker = getOrganicCampaign();
var _local3:CampaignTracker = new CampaignTracker();
var _local4:CampaignKey = _config.campaignKey;
if (_arg1 == ""){
return (_local3);
};
var _local5:Variables = new Variables(_arg1);
if (_local5.hasOwnProperty(_local4.UCID)){
_local3.id = _local5[_local4.UCID];
};
if (_local5.hasOwnProperty(_local4.UCSR)){
_local3.source = _local5[_local4.UCSR];
};
if (_local5.hasOwnProperty(_local4.UGCLID)){
_local3.clickId = _local5[_local4.UGCLID];
};
if (_local5.hasOwnProperty(_local4.UCCN)){
_local3.name = _local5[_local4.UCCN];
} else {
_local3.name = "(not set)";
};
if (_local5.hasOwnProperty(_local4.UCMD)){
_local3.medium = _local5[_local4.UCMD];
} else {
_local3.medium = "(not set)";
};
if (_local5.hasOwnProperty(_local4.UCTR)){
_local3.term = _local5[_local4.UCTR];
} else {
if (((_local2) && (!((_local2.term == ""))))){
_local3.term = _local2.term;
};
};
if (_local5.hasOwnProperty(_local4.UCCT)){
_local3.content = _local5[_local4.UCCT];
};
return (_local3);
}
public function getOrganicCampaign():CampaignTracker{
var _local1:CampaignTracker;
var _local4:Array;
var _local5:OrganicReferrer;
var _local6:String;
if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){
return (_local1);
};
var _local2:URL = new URL(_referrer);
var _local3 = "";
if (_local2.hostName != ""){
if (_local2.hostName.indexOf(".") > -1){
_local4 = _local2.hostName.split(".");
switch (_local4.length){
case 2:
_local3 = _local4[0];
break;
case 3:
_local3 = _local4[1];
break;
};
};
};
if (_config.organic.match(_local3)){
_local5 = _config.organic.getReferrerByName(_local3);
_local6 = _config.organic.getKeywordValue(_local5, _local2.search);
_local1 = new CampaignTracker();
_local1.source = _local5.engine;
_local1.name = "(organic)";
_local1.medium = "organic";
_local1.term = _local6;
};
return (_local1);
}
public function getDirectCampaign():CampaignTracker{
var _local1:CampaignTracker = new CampaignTracker();
_local1.source = "(direct)";
_local1.name = "(direct)";
_local1.medium = "(none)";
return (_local1);
}
public function isIgnoredKeyword(_arg1:CampaignTracker):Boolean{
if (((_arg1) && ((_arg1.medium == "organic")))){
return (_config.organic.isIgnoredKeyword(_arg1.term));
};
return (false);
}
public function isIgnoredReferral(_arg1:CampaignTracker):Boolean{
if (((_arg1) && ((_arg1.medium == "referral")))){
return (_config.organic.isIgnoredReferral(_arg1.source));
};
return (false);
}
public function isValid(_arg1:CampaignTracker):Boolean{
if (((_arg1) && (_arg1.isValid()))){
return (true);
};
return (false);
}
public function getReferrerCampaign():CampaignTracker{
var _local1:CampaignTracker;
if (((isInvalidReferrer(_referrer)) || (isFromGoogleCSE(_referrer, _config)))){
return (_local1);
};
var _local2:URL = new URL(_referrer);
var _local3:String = _local2.hostName;
var _local4:String = _local2.path;
if (_local3.indexOf("www.") == 0){
_local3 = _local3.substr(4);
};
_local1 = new CampaignTracker();
_local1.source = _local3;
_local1.name = "(referral)";
_local1.medium = "referral";
_local1.content = _local4;
return (_local1);
}
public static function isInvalidReferrer(_arg1:String):Boolean{
var _local2:URL;
if ((((((_arg1 == "")) || ((_arg1 == "-")))) || ((_arg1 == "0")))){
return (true);
};
if (_arg1.indexOf("://") > -1){
_local2 = new URL(_arg1);
if ((((_local2.protocol == Protocols.file)) || ((_local2.protocol == Protocols.none)))){
return (true);
};
};
return (false);
}
public static function isFromGoogleCSE(_arg1:String, _arg2:Configuration):Boolean{
var _local3:URL = new URL(_arg1);
if (_local3.hostName.indexOf(_arg2.google) > -1){
if (_local3.search.indexOf((_arg2.googleSearchParam + "=")) > -1){
if (_local3.path == ("/" + _arg2.googleCsePath)){
return (true);
};
};
};
return (false);
}
}
}//package com.google.analytics.campaign
Section 37
//CampaignTracker (com.google.analytics.campaign.CampaignTracker)
package com.google.analytics.campaign {
import com.google.analytics.utils.*;
public class CampaignTracker {
public var content:String;
public var source:String;
public var clickId:String;
public var name:String;
public var term:String;
public var medium:String;
public var id:String;
public function CampaignTracker(_arg1:String="", _arg2:String="", _arg3:String="", _arg4:String="", _arg5:String="", _arg6:String="", _arg7:String=""){
this.id = _arg1;
this.source = _arg2;
this.clickId = _arg3;
this.name = _arg4;
this.medium = _arg5;
this.term = _arg6;
this.content = _arg7;
}
public function isValid():Boolean{
if (((((!((id == ""))) || (!((source == ""))))) || (!((clickId == ""))))){
return (true);
};
return (false);
}
public function toTrackerString():String{
var _local1:Array = [];
_addIfNotEmpty(_local1, "utmcid=", id);
_addIfNotEmpty(_local1, "utmcsr=", source);
_addIfNotEmpty(_local1, "utmgclid=", clickId);
_addIfNotEmpty(_local1, "utmccn=", name);
_addIfNotEmpty(_local1, "utmcmd=", medium);
_addIfNotEmpty(_local1, "utmctr=", term);
_addIfNotEmpty(_local1, "utmcct=", content);
return (_local1.join(CampaignManager.trackingDelimiter));
}
private function _addIfNotEmpty(_arg1:Array, _arg2:String, _arg3:String):void{
if (_arg3 != ""){
_arg3 = _arg3.split("+").join("%20");
_arg3 = _arg3.split(" ").join("%20");
_arg1.push((_arg2 + _arg3));
};
}
public function fromTrackerString(_arg1:String):void{
var _local2:String = _arg1.split(CampaignManager.trackingDelimiter).join("&");
var _local3:Variables = new Variables(_local2);
if (_local3.hasOwnProperty("utmcid")){
this.id = _local3["utmcid"];
};
if (_local3.hasOwnProperty("utmcsr")){
this.source = _local3["utmcsr"];
};
if (_local3.hasOwnProperty("utmccn")){
this.name = _local3["utmccn"];
};
if (_local3.hasOwnProperty("utmcmd")){
this.medium = _local3["utmcmd"];
};
if (_local3.hasOwnProperty("utmctr")){
this.term = _local3["utmctr"];
};
if (_local3.hasOwnProperty("utmcct")){
this.content = _local3["utmcct"];
};
if (_local3.hasOwnProperty("utmgclid")){
this.clickId = _local3["utmgclid"];
};
}
}
}//package com.google.analytics.campaign
Section 38
//BrowserInfo (com.google.analytics.core.BrowserInfo)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.utils.*;
public class BrowserInfo {
private var _config:Configuration;
private var _info:Environment;
public function BrowserInfo(_arg1:Configuration, _arg2:Environment){
_config = _arg1;
_info = _arg2;
}
public function get utmul():String{
return (_info.language.toLowerCase());
}
public function get utmje():String{
return ("0");
}
public function toURLString():String{
var _local1:Variables = toVariables();
return (_local1.toString());
}
public function get utmsr():String{
return (((_info.screenWidth + "x") + _info.screenHeight));
}
public function get utmfl():String{
var _local1:Version;
if (_config.detectFlash){
_local1 = _info.flashVersion;
return (((((_local1.major + ".") + _local1.minor) + " r") + _local1.build));
};
return ("-");
}
public function get utmcs():String{
return (_info.languageEncoding);
}
public function toVariables():Variables{
var _local1:Variables = new Variables();
_local1.URIencode = true;
_local1.utmcs = utmcs;
_local1.utmsr = utmsr;
_local1.utmsc = utmsc;
_local1.utmul = utmul;
_local1.utmje = utmje;
_local1.utmfl = utmfl;
return (_local1);
}
public function get utmsc():String{
return ((_info.screenColorDepth + "-bit"));
}
}
}//package com.google.analytics.core
Section 39
//Buffer (com.google.analytics.core.Buffer)
package com.google.analytics.core {
import flash.events.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.net.*;
import com.google.analytics.data.*;
public dynamic class Buffer {
private var _SO:SharedObject;
private var _data:Object;
private var _OBJ:Object;
private var _utmb:UTMB;
private var _utmc:UTMC;
private var _utma:UTMA;
private var _debug:DebugConfiguration;
private var _utmk:UTMK;
private var _config:Configuration;
private var _utmv:UTMV;
private var _utmx:UTMX;
private var _utmz:UTMZ;
private var _volatile:Boolean;
public function Buffer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Boolean=false, _arg4:Object=null){
var _local5:String;
super();
_config = _arg1;
_debug = _arg2;
_data = _arg4;
_volatile = _arg3;
if (_volatile){
_OBJ = new Object();
if (_data){
for (_local5 in _data) {
_OBJ[_local5] = _data[_local5];
};
};
};
}
public function save():void{
var flushStatus:String;
if (!isVolatile()){
flushStatus = null;
try {
flushStatus = _SO.flush();
} catch(e:Error) {
_debug.warning("Error...Could not write SharedObject to disk");
};
switch (flushStatus){
case SharedObjectFlushStatus.PENDING:
_debug.info("Requesting permission to save object...");
_SO.addEventListener(NetStatusEvent.NET_STATUS, _onFlushStatus);
break;
case SharedObjectFlushStatus.FLUSHED:
_debug.info("Value flushed to disk.");
break;
};
};
}
public function get utmv():UTMV{
if (!hasUTMV()){
_createUMTV();
};
return (_utmv);
}
public function get utmx():UTMX{
if (!hasUTMX()){
_createUMTX();
};
return (_utmx);
}
public function get utmz():UTMZ{
if (!hasUTMZ()){
_createUMTZ();
};
return (_utmz);
}
public function hasUTMA():Boolean{
if (_utma){
return (true);
};
return (false);
}
public function hasUTMB():Boolean{
if (_utmb){
return (true);
};
return (false);
}
public function hasUTMC():Boolean{
if (_utmc){
return (true);
};
return (false);
}
public function clearCookies():void{
utma.reset();
utmb.reset();
utmc.reset();
utmz.reset();
utmv.reset();
utmk.reset();
}
public function resetCurrentSession():void{
_clearUTMB();
_clearUTMC();
save();
}
public function hasUTMK():Boolean{
if (_utmk){
return (true);
};
return (false);
}
public function getLinkerUrl(_arg1:String="", _arg2:Boolean=false):String{
var _local3:String = toLinkerParams();
var _local4:String = _arg1;
var _local5:Array = _arg1.split("#");
if (_local3){
if (_arg2){
if (1 >= _local5.length){
_local4 = (_local4 + ("#" + _local3));
} else {
_local4 = (_local4 + ("&" + _local3));
};
} else {
if (1 >= _local5.length){
if (_arg1.indexOf("?") > -1){
_local4 = (_local4 + "&");
} else {
_local4 = (_local4 + "?");
};
_local4 = (_local4 + _local3);
} else {
_local4 = _local5[0];
if (_arg1.indexOf("?") > -1){
_local4 = (_local4 + "&");
} else {
_local4 = (_local4 + "?");
};
_local4 = (_local4 + ((_local3 + "#") + _local5[1]));
};
};
};
return (_local4);
}
public function generateCookiesHash():Number{
var _local1 = "";
_local1 = (_local1 + utma.valueOf());
_local1 = (_local1 + utmb.valueOf());
_local1 = (_local1 + utmc.valueOf());
_local1 = (_local1 + utmx.valueOf());
_local1 = (_local1 + utmz.valueOf());
_local1 = (_local1 + utmv.valueOf());
return (Utils.generateHash(_local1));
}
private function _createUMTA():void{
_utma = new UTMA();
_utma.proxy = this;
}
private function _createUMTB():void{
_utmb = new UTMB();
_utmb.proxy = this;
}
private function _createUMTC():void{
_utmc = new UTMC();
}
public function hasUTMV():Boolean{
if (_utmv){
return (true);
};
return (false);
}
private function _createUMTK():void{
_utmk = new UTMK();
_utmk.proxy = this;
}
public function hasUTMX():Boolean{
if (_utmx){
return (true);
};
return (false);
}
public function hasUTMZ():Boolean{
if (_utmz){
return (true);
};
return (false);
}
private function _createUMTV():void{
_utmv = new UTMV();
_utmv.proxy = this;
}
private function _createUMTX():void{
_utmx = new UTMX();
_utmx.proxy = this;
}
private function _createUMTZ():void{
_utmz = new UTMZ();
_utmz.proxy = this;
}
public function updateUTMA(_arg1:Number):void{
if (_debug.verbose){
_debug.info((("updateUTMA( " + _arg1) + " )"), VisualDebugMode.advanced);
};
if (!utma.isEmpty()){
if (isNaN(utma.sessionCount)){
utma.sessionCount = 1;
} else {
utma.sessionCount = (utma.sessionCount + 1);
};
utma.lastTime = utma.currentTime;
utma.currentTime = _arg1;
};
}
public function isGenuine():Boolean{
if (!hasUTMK()){
return (true);
};
return ((utmk.hash == generateCookiesHash()));
}
private function _onFlushStatus(_arg1:NetStatusEvent):void{
_debug.info("User closed permission dialog...");
switch (_arg1.info.code){
case "SharedObject.Flush.Success":
_debug.info("User granted permission -- value saved.");
break;
case "SharedObject.Flush.Failed":
_debug.info("User denied permission -- value not saved.");
break;
};
_SO.removeEventListener(NetStatusEvent.NET_STATUS, _onFlushStatus);
}
public function toLinkerParams():String{
var _local1 = "";
_local1 = (_local1 + utma.toURLString());
_local1 = (_local1 + ("&" + utmb.toURLString()));
_local1 = (_local1 + ("&" + utmc.toURLString()));
_local1 = (_local1 + ("&" + utmx.toURLString()));
_local1 = (_local1 + ("&" + utmz.toURLString()));
_local1 = (_local1 + ("&" + utmv.toURLString()));
_local1 = (_local1 + ("&__utmk=" + generateCookiesHash()));
return (_local1);
}
private function _clearUTMA():void{
_utma = null;
if (!isVolatile()){
_SO.data.utma = null;
delete _SO.data.utma;
};
}
private function _clearUTMC():void{
_utmc = null;
}
private function _clearUTMB():void{
_utmb = null;
if (!isVolatile()){
_SO.data.utmb = null;
delete _SO.data.utmb;
};
}
public function update(_arg1:String, _arg2):void{
if (isVolatile()){
_OBJ[_arg1] = _arg2;
} else {
_SO.data[_arg1] = _arg2;
};
}
public function createSO():void{
var saveSO:Boolean;
UTMZ.defaultTimespan = _config.conversionTimeout;
UTMB.defaultTimespan = _config.sessionTimeout;
if (!_volatile){
try {
_SO = SharedObject.getLocal(_config.cookieName, _config.cookiePath);
} catch(e:Error) {
if (_debug.active){
_debug.warning(((("Shared Object " + _config.cookieName) + " failed to be set\nreason: ") + e.message));
};
};
saveSO = false;
if (_SO.data.utma){
if (!hasUTMA()){
_createUMTA();
};
_utma.fromSharedObject(_SO.data.utma);
if (_debug.verbose){
_debug.info(("found: " + _utma.toString(true)), VisualDebugMode.geek);
};
if (_utma.isExpired()){
if (_debug.verbose){
_debug.warning("UTMA has expired", VisualDebugMode.advanced);
};
_clearUTMA();
saveSO = true;
};
};
if (_SO.data.utmb){
if (!hasUTMB()){
_createUMTB();
};
_utmb.fromSharedObject(_SO.data.utmb);
if (_debug.verbose){
_debug.info(("found: " + _utmb.toString(true)), VisualDebugMode.geek);
};
if (_utmb.isExpired()){
if (_debug.verbose){
_debug.warning("UTMB has expired", VisualDebugMode.advanced);
};
_clearUTMB();
saveSO = true;
};
};
if (_SO.data.utmc){
delete _SO.data.utmc;
saveSO = true;
};
if (_SO.data.utmk){
if (!hasUTMK()){
_createUMTK();
};
_utmk.fromSharedObject(_SO.data.utmk);
if (_debug.verbose){
_debug.info(("found: " + _utmk.toString()), VisualDebugMode.geek);
};
};
if (!hasUTMX()){
_createUMTX();
};
if (_SO.data.utmv){
if (!hasUTMV()){
_createUMTV();
};
_utmv.fromSharedObject(_SO.data.utmv);
if (_debug.verbose){
_debug.info(("found: " + _utmv.toString(true)), VisualDebugMode.geek);
};
if (_utmv.isExpired()){
if (_debug.verbose){
_debug.warning("UTMV has expired", VisualDebugMode.advanced);
};
_clearUTMV();
saveSO = true;
};
};
if (_SO.data.utmz){
if (!hasUTMZ()){
_createUMTZ();
};
_utmz.fromSharedObject(_SO.data.utmz);
if (_debug.verbose){
_debug.info(("found: " + _utmz.toString(true)), VisualDebugMode.geek);
};
if (_utmz.isExpired()){
if (_debug.verbose){
_debug.warning("UTMZ has expired", VisualDebugMode.advanced);
};
_clearUTMZ();
saveSO = true;
};
};
if (saveSO){
save();
};
};
}
private function _clearUTMZ():void{
_utmz = null;
if (!isVolatile()){
_SO.data.utmz = null;
delete _SO.data.utmz;
};
}
private function _clearUTMV():void{
_utmv = null;
if (!isVolatile()){
_SO.data.utmv = null;
delete _SO.data.utmv;
};
}
public function isVolatile():Boolean{
return (_volatile);
}
public function get utma():UTMA{
if (!hasUTMA()){
_createUMTA();
};
return (_utma);
}
public function get utmb():UTMB{
if (!hasUTMB()){
_createUMTB();
};
return (_utmb);
}
public function get utmc():UTMC{
if (!hasUTMC()){
_createUMTC();
};
return (_utmc);
}
public function get utmk():UTMK{
if (!hasUTMK()){
_createUMTK();
};
return (_utmk);
}
}
}//package com.google.analytics.core
Section 40
//DocumentInfo (com.google.analytics.core.DocumentInfo)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import com.google.analytics.external.*;
import com.google.analytics.utils.*;
public class DocumentInfo {
private var _pageURL:String;
private var _utmr:String;
private var _config:Configuration;
private var _adSense:AdSenseGlobals;
private var _info:Environment;
public function DocumentInfo(_arg1:Configuration, _arg2:Environment, _arg3:String, _arg4:String=null, _arg5:AdSenseGlobals=null){
_config = _arg1;
_info = _arg2;
_utmr = _arg3;
_pageURL = _arg4;
_adSense = _arg5;
}
public function get utmr():String{
if (!_utmr){
return ("-");
};
return (_utmr);
}
public function toURLString():String{
var _local1:Variables = toVariables();
return (_local1.toString());
}
private function _renderPageURL(_arg1:String=""):String{
var _local2:String = _info.locationPath;
var _local3:String = _info.locationSearch;
if (((!(_arg1)) || ((_arg1 == "")))){
_arg1 = (_local2 + unescape(_local3));
if (_arg1 == ""){
_arg1 = "/";
};
};
return (_arg1);
}
public function get utmp():String{
return (_renderPageURL(_pageURL));
}
public function get utmhid():String{
return (String(_generateHitId()));
}
private function _generateHitId():Number{
var _local1:Number;
if (((_adSense.hid) && (!((_adSense.hid == ""))))){
_local1 = Number(_adSense.hid);
} else {
_local1 = Math.round((Math.random() * 2147483647));
_adSense.hid = String(_local1);
};
return (_local1);
}
public function toVariables():Variables{
var _local1:Variables = new Variables();
_local1.URIencode = true;
if (((_config.detectTitle) && (!((utmdt == ""))))){
_local1.utmdt = utmdt;
};
_local1.utmhid = utmhid;
_local1.utmr = utmr;
_local1.utmp = utmp;
return (_local1);
}
public function get utmdt():String{
return (_info.documentTitle);
}
}
}//package com.google.analytics.core
Section 41
//Domain (com.google.analytics.core.Domain)
package com.google.analytics.core {
import com.google.analytics.debug.*;
public class Domain {
private var _mode:DomainNameMode;
private var _debug:DebugConfiguration;
private var _name:String;
public function Domain(_arg1:DomainNameMode=null, _arg2:String="", _arg3:DebugConfiguration=null){
_debug = _arg3;
if (_arg1 == null){
_arg1 = DomainNameMode.auto;
};
_mode = _arg1;
if (_arg1 == DomainNameMode.custom){
this.name = _arg2;
} else {
_name = _arg2;
};
}
public function get mode():DomainNameMode{
return (_mode);
}
public function set mode(_arg1:DomainNameMode):void{
_mode = _arg1;
if (_mode == DomainNameMode.none){
_name = "";
};
}
public function get name():String{
return (_name);
}
public function set name(_arg1:String):void{
if (((!((_arg1.charAt(0) == "."))) && (_debug))){
_debug.warning(("missing leading period \".\", cookie will only be accessible on " + _arg1), VisualDebugMode.geek);
};
_name = _arg1;
}
}
}//package com.google.analytics.core
Section 42
//DomainNameMode (com.google.analytics.core.DomainNameMode)
package com.google.analytics.core {
public class DomainNameMode {
private var _value:int;
private var _name:String;
public static const custom:DomainNameMode = new DomainNameMode(2, "custom");
;
public static const none:DomainNameMode = new DomainNameMode(0, "none");
;
public static const auto:DomainNameMode = new DomainNameMode(1, "auto");
;
public function DomainNameMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.core
Section 43
//Ecommerce (com.google.analytics.core.Ecommerce)
package com.google.analytics.core {
import com.google.analytics.debug.*;
import com.google.analytics.ecommerce.*;
public class Ecommerce {
private var _debug:DebugConfiguration;
private var _trans:Array;
public function Ecommerce(_arg1:DebugConfiguration){
this._debug = _arg1;
_trans = new Array();
}
public function getTransLength():Number{
return (_trans.length);
}
public function getTransFromArray(_arg1:Number):Transaction{
return (_trans[_arg1]);
}
public function addTransaction(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:String, _arg8:String):Transaction{
var _local9:Transaction;
_local9 = getTransaction(_arg1);
if (_local9 == null){
_local9 = new Transaction(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
_trans.push(_local9);
} else {
_local9.affiliation = _arg2;
_local9.total = _arg3;
_local9.tax = _arg4;
_local9.shipping = _arg5;
_local9.city = _arg6;
_local9.state = _arg7;
_local9.country = _arg8;
};
return (_local9);
}
public function getTransaction(_arg1:String):Transaction{
var _local2:Number;
_local2 = 0;
while (_local2 < _trans.length) {
if (_trans[_local2].id == _arg1){
return (_trans[_local2]);
};
_local2++;
};
return (null);
}
}
}//package com.google.analytics.core
Section 44
//EventInfo (com.google.analytics.core.EventInfo)
package com.google.analytics.core {
import com.google.analytics.data.*;
import com.google.analytics.utils.*;
public class EventInfo {
private var _ext10:X10;
private var _isEventHit:Boolean;
private var _x10:X10;
public function EventInfo(_arg1:Boolean, _arg2:X10, _arg3:X10=null){
_isEventHit = _arg1;
_x10 = _arg2;
_ext10 = _arg3;
}
public function toURLString():String{
var _local1:Variables = toVariables();
return (_local1.toString());
}
public function get utmt():String{
return ("event");
}
public function get utme():String{
return (_x10.renderMergedUrlString(_ext10));
}
public function toVariables():Variables{
var _local1:Variables = new Variables();
_local1.URIencode = true;
if (_isEventHit){
_local1.utmt = utmt;
};
_local1.utme = utme;
return (_local1);
}
}
}//package com.google.analytics.core
Section 45
//EventTracker (com.google.analytics.core.EventTracker)
package com.google.analytics.core {
import com.google.analytics.v4.*;
public class EventTracker {
private var _parent:GoogleAnalyticsAPI;
public var name:String;
public function EventTracker(_arg1:String, _arg2:GoogleAnalyticsAPI){
this.name = _arg1;
_parent = _arg2;
}
public function trackEvent(_arg1:String, _arg2:String=null, _arg3:Number=NaN):Boolean{
return (_parent.trackEvent(name, _arg1, _arg2, _arg3));
}
}
}//package com.google.analytics.core
Section 46
//ga_internal (com.google.analytics.core.ga_internal)
package com.google.analytics.core {
public namespace ga_internal;
}//package com.google.analytics.core
Section 47
//GIFRequest (com.google.analytics.core.GIFRequest)
package com.google.analytics.core {
import flash.events.*;
import flash.display.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.net.*;
import com.google.analytics.utils.*;
import flash.system.*;
public class GIFRequest {
private var _info:Environment;
private var _count:int;
private var _utmac:String;
private var _alertcount:int;
private var _debug:DebugConfiguration;
private var _lastRequest:URLRequest;
private var _buffer:Buffer;
private var _config:Configuration;
private var _requests:Array;
public function GIFRequest(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:Buffer, _arg4:Environment){
_config = _arg1;
_debug = _arg2;
_buffer = _arg3;
_info = _arg4;
_count = 0;
_alertcount = 0;
_requests = [];
}
public function get utmn():String{
return ((Utils.generate32bitRandom() as String));
}
public function onIOError(_arg1:IOErrorEvent):void{
var _local2:String = _lastRequest.url;
var _local3:String = String((_requests.length - 1));
var _local4 = (("Gif Request #" + _local3) + " failed");
if (_debug.GIFRequests){
if (!_debug.verbose){
if (_local2.indexOf("?") > -1){
_local2 = _local2.split("?")[0];
};
_local2 = _shortenURL(_local2);
};
if (int(_debug.mode) > int(VisualDebugMode.basic)){
_local4 = (_local4 + ((" \"" + _local2) + "\" does not exists or is unreachable"));
};
_debug.failure(_local4);
} else {
_debug.warning(_local4);
};
_removeListeners(_arg1.target);
}
public function send(_arg1:String, _arg2:Variables=null, _arg3:Boolean=false, _arg4:Boolean=false):void{
var _local5:String;
var _local6:URLRequest;
var _local7:URLRequest;
_utmac = _arg1;
if (!_arg2){
_arg2 = new Variables();
};
_arg2.URIencode = false;
_arg2.pre = ["utmwv", "utmn", "utmhn", "utmt", "utme", "utmcs", "utmsr", "utmsc", "utmul", "utmje", "utmfl", "utmdt", "utmhid", "utmr", "utmp"];
_arg2.post = ["utmcc"];
if (_debug.verbose){
_debug.info(((("tracking: " + _buffer.utmb.trackCount) + "/") + _config.trackingLimitPerSession), VisualDebugMode.geek);
};
if ((((_buffer.utmb.trackCount < _config.trackingLimitPerSession)) || (_arg3))){
if (_arg4){
updateToken();
};
if (((((_arg3) || (!(_arg4)))) || ((_buffer.utmb.token >= 1)))){
if (((!(_arg3)) && (_arg4))){
_buffer.utmb.token = (_buffer.utmb.token - 1);
};
_buffer.utmb.trackCount = (_buffer.utmb.trackCount + 1);
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
};
_arg2.utmwv = utmwv;
_arg2.utmn = Utils.generate32bitRandom();
if (_info.domainName != ""){
_arg2.utmhn = _info.domainName;
};
if (_config.sampleRate < 1){
_arg2.utmsp = (_config.sampleRate * 100);
};
if ((((_config.serverMode == ServerOperationMode.local)) || ((_config.serverMode == ServerOperationMode.both)))){
_local5 = _info.locationSWFPath;
if (_local5.lastIndexOf("/") > 0){
_local5 = _local5.substring(0, _local5.lastIndexOf("/"));
};
_local6 = new URLRequest();
if (_config.localGIFpath.indexOf("http") == 0){
_local6.url = _config.localGIFpath;
} else {
_local6.url = (_local5 + _config.localGIFpath);
};
_local6.url = (_local6.url + ("?" + _arg2.toString()));
if (((_debug.active) && (_debug.GIFRequests))){
_debugSend(_local6);
} else {
sendRequest(_local6);
};
};
if ((((_config.serverMode == ServerOperationMode.remote)) || ((_config.serverMode == ServerOperationMode.both)))){
_local7 = new URLRequest();
if (_info.protocol == Protocols.HTTPS){
_local7.url = _config.secureRemoteGIFpath;
} else {
if (_info.protocol == Protocols.HTTP){
_local7.url = _config.remoteGIFpath;
} else {
_local7.url = _config.remoteGIFpath;
};
};
_arg2.utmac = utmac;
_arg2.utmcc = encodeURIComponent(utmcc);
_local7.url = (_local7.url + ("?" + _arg2.toString()));
if (((_debug.active) && (_debug.GIFRequests))){
_debugSend(_local7);
} else {
sendRequest(_local7);
};
};
};
};
}
public function onSecurityError(_arg1:SecurityErrorEvent):void{
if (_debug.GIFRequests){
_debug.failure(_arg1.text);
};
}
public function get utmsp():String{
return (((_config.sampleRate * 100) as String));
}
public function get utmcc():String{
var _local1:Array = [];
if (_buffer.hasUTMA()){
_local1.push((_buffer.utma.toURLString() + ";"));
};
if (_buffer.hasUTMZ()){
_local1.push((_buffer.utmz.toURLString() + ";"));
};
if (_buffer.hasUTMV()){
_local1.push((_buffer.utmv.toURLString() + ";"));
};
return (_local1.join("+"));
}
public function get utmac():String{
return (_utmac);
}
public function get utmwv():String{
return (_config.version);
}
public function sendRequest(_arg1:URLRequest):void{
var request = _arg1;
var loader:Loader = new Loader();
loader.name = String(_count++);
var context:LoaderContext = new LoaderContext(false);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
_lastRequest = request;
_requests[loader.name] = new RequestObject(request);
try {
loader.load(request, context);
} catch(e:Error) {
_debug.failure("\"Loader.load()\" could not instanciate Gif Request");
};
}
private function _removeListeners(_arg1:Object):void{
_arg1.removeEventListener(IOErrorEvent.IO_ERROR, onIOError);
_arg1.removeEventListener(Event.COMPLETE, onComplete);
}
public function updateToken():void{
var _local2:Number;
var _local1:Number = new Date().getTime();
_local2 = ((_local1 - _buffer.utmb.lastTime) * (_config.tokenRate / 1000));
if (_debug.verbose){
_debug.info(("tokenDelta: " + _local2), VisualDebugMode.geek);
};
if (_local2 >= 1){
_buffer.utmb.token = Math.min(Math.floor((_buffer.utmb.token + _local2)), _config.bucketCapacity);
_buffer.utmb.lastTime = _local1;
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
};
};
}
public function get utmhn():String{
return (_info.domainName);
}
private function _shortenURL(_arg1:String):String{
var _local2:Array;
if (_arg1.length > 60){
_local2 = _arg1.split("/");
while (_arg1.length > 60) {
_local2.shift();
_arg1 = ("../" + _local2.join("/"));
};
};
return (_arg1);
}
private function _debugSend(_arg1:URLRequest):void{
var _local3:String;
var _local2 = "";
switch (_debug.mode){
case VisualDebugMode.geek:
_local2 = ((("Gif Request #" + _alertcount) + ":\n") + _arg1.url);
break;
case VisualDebugMode.advanced:
_local3 = _arg1.url;
if (_local3.indexOf("?") > -1){
_local3 = _local3.split("?")[0];
};
_local3 = _shortenURL(_local3);
_local2 = (((("Send Gif Request #" + _alertcount) + ":\n") + _local3) + " ?");
break;
case VisualDebugMode.basic:
default:
_local2 = (((("Send " + _config.serverMode.toString()) + " Gif Request #") + _alertcount) + " ?");
};
_debug.alertGifRequest(_local2, _arg1, this);
_alertcount++;
}
public function onComplete(_arg1:Event):void{
var _local2:String = _arg1.target.loader.name;
_requests[_local2].complete();
var _local3 = (("Gif Request #" + _local2) + " sent");
var _local4:String = _requests[_local2].request.url;
if (_debug.GIFRequests){
if (!_debug.verbose){
if (_local4.indexOf("?") > -1){
_local4 = _local4.split("?")[0];
};
_local4 = _shortenURL(_local4);
};
if (int(_debug.mode) > int(VisualDebugMode.basic)){
_local3 = (_local3 + ((" to \"" + _local4) + "\""));
};
_debug.success(_local3);
} else {
_debug.info(_local3);
};
_removeListeners(_arg1.target);
}
}
}//package com.google.analytics.core
Section 48
//IdleTimer (com.google.analytics.core.IdleTimer)
package com.google.analytics.core {
import flash.events.*;
import flash.display.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import flash.utils.*;
public class IdleTimer {
private var _stage:Stage;
private var _loop:Timer;
private var _lastMove:int;
private var _inactivity:Number;
private var _debug:DebugConfiguration;
private var _session:Timer;
private var _buffer:Buffer;
public function IdleTimer(_arg1:Configuration, _arg2:DebugConfiguration, _arg3:DisplayObject, _arg4:Buffer){
var _local5:Number = _arg1.idleLoop;
var _local6:Number = _arg1.idleTimeout;
var _local7:Number = _arg1.sessionTimeout;
_loop = new Timer((_local5 * 1000));
_session = new Timer((_local7 * 1000), 1);
_debug = _arg2;
_stage = _arg3.stage;
_buffer = _arg4;
_lastMove = getTimer();
_inactivity = (_local6 * 1000);
_loop.addEventListener(TimerEvent.TIMER, checkForIdle);
_session.addEventListener(TimerEvent.TIMER_COMPLETE, endSession);
_stage.addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
_debug.info(((((("delay: " + _local5) + "sec , inactivity: ") + _local6) + "sec, sessionTimeout: ") + _local7), VisualDebugMode.geek);
_loop.start();
}
private function onMouseMove(_arg1:MouseEvent):void{
_lastMove = getTimer();
if (_session.running){
_debug.info("session timer reset", VisualDebugMode.geek);
_session.reset();
};
}
public function endSession(_arg1:TimerEvent):void{
_session.removeEventListener(TimerEvent.TIMER_COMPLETE, endSession);
_debug.info("session timer end session", VisualDebugMode.geek);
_session.reset();
_buffer.resetCurrentSession();
_debug.info(_buffer.utmb.toString(), VisualDebugMode.geek);
_debug.info(_buffer.utmc.toString(), VisualDebugMode.geek);
_session.addEventListener(TimerEvent.TIMER_COMPLETE, endSession);
}
public function checkForIdle(_arg1:TimerEvent):void{
var _local2:int = getTimer();
if ((_local2 - _lastMove) >= _inactivity){
if (!_session.running){
_debug.info("session timer start", VisualDebugMode.geek);
_session.start();
};
};
}
}
}//package com.google.analytics.core
Section 49
//Organic (com.google.analytics.core.Organic)
package com.google.analytics.core {
import com.google.analytics.utils.*;
public class Organic {
private var _sourcesCache:Array;
private var _sourcesEngine:Array;
private var _ignoredKeywords:Array;
private var _ignoredReferralsCache:Object;
private var _ignoredReferrals:Array;
private var _ignoredKeywordsCache:Object;
private var _sources:Array;
public static var throwErrors:Boolean = false;
public function Organic(){
_sources = [];
_sourcesCache = [];
_sourcesEngine = [];
_ignoredReferrals = [];
_ignoredReferralsCache = {};
_ignoredKeywords = [];
_ignoredKeywordsCache = {};
}
public function isIgnoredKeyword(_arg1:String):Boolean{
if (_ignoredKeywordsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function getKeywordValue(_arg1:OrganicReferrer, _arg2:String):String{
var _local3:String = _arg1.keyword;
return (getKeywordValueFromPath(_local3, _arg2));
}
public function isIgnoredReferral(_arg1:String):Boolean{
if (_ignoredReferralsCache.hasOwnProperty(_arg1)){
return (true);
};
return (false);
}
public function clear():void{
clearEngines();
clearIgnoredReferrals();
clearIgnoredKeywords();
}
public function get count():int{
return (_sources.length);
}
public function get ignoredKeywordsCount():int{
return (_ignoredKeywords.length);
}
public function match(_arg1:String):Boolean{
if (_arg1 == ""){
return (false);
};
_arg1 = _arg1.toLowerCase();
if (_sourcesEngine[_arg1] != undefined){
return (true);
};
return (false);
}
public function clearIgnoredKeywords():void{
_ignoredKeywords = [];
_ignoredKeywordsCache = {};
}
public function addSource(_arg1:String, _arg2:String):void{
var _local3:OrganicReferrer = new OrganicReferrer(_arg1, _arg2);
if (_sourcesCache[_local3.toString()] == undefined){
_sources.push(_local3);
_sourcesCache[_local3.toString()] = (_sources.length - 1);
if (_sourcesEngine[_local3.engine] == undefined){
_sourcesEngine[_local3.engine] = [(_sources.length - 1)];
} else {
_sourcesEngine[_local3.engine].push((_sources.length - 1));
};
} else {
if (throwErrors){
throw (new Error((_local3.toString() + " already exists, we don't add it.")));
};
};
}
public function clearEngines():void{
_sources = [];
_sourcesCache = [];
_sourcesEngine = [];
}
public function get ignoredReferralsCount():int{
return (_ignoredReferrals.length);
}
public function addIgnoredReferral(_arg1:String):void{
if (_ignoredReferralsCache[_arg1] == undefined){
_ignoredReferrals.push(_arg1);
_ignoredReferralsCache[_arg1] = (_ignoredReferrals.length - 1);
} else {
if (throwErrors){
throw (new Error((("\"" + _arg1) + "\" already exists, we don't add it.")));
};
};
}
public function clearIgnoredReferrals():void{
_ignoredReferrals = [];
_ignoredReferralsCache = {};
}
public function getReferrerByName(_arg1:String):OrganicReferrer{
var _local2:int;
if (match(_arg1)){
_local2 = _sourcesEngine[_arg1][0];
return (_sources[_local2]);
};
return (null);
}
public function addIgnoredKeyword(_arg1:String):void{
if (_ignoredKeywordsCache[_arg1] == undefined){
_ignoredKeywords.push(_arg1);
_ignoredKeywordsCache[_arg1] = (_ignoredKeywords.length - 1);
} else {
if (throwErrors){
throw (new Error((("\"" + _arg1) + "\" already exists, we don't add it.")));
};
};
}
public function get sources():Array{
return (_sources);
}
public static function getKeywordValueFromPath(_arg1:String, _arg2:String):String{
var _local3:String;
var _local4:Variables;
if (_arg2.indexOf((_arg1 + "=")) > -1){
if (_arg2.charAt(0) == "?"){
_arg2 = _arg2.substr(1);
};
_arg2 = _arg2.split("+").join("%20");
_local4 = new Variables(_arg2);
_local3 = _local4[_arg1];
};
return (_local3);
}
}
}//package com.google.analytics.core
Section 50
//OrganicReferrer (com.google.analytics.core.OrganicReferrer)
package com.google.analytics.core {
public class OrganicReferrer {
private var _engine:String;
private var _keyword:String;
public function OrganicReferrer(_arg1:String, _arg2:String){
this.engine = _arg1;
this.keyword = _arg2;
}
public function get keyword():String{
return (_keyword);
}
public function get engine():String{
return (_engine);
}
public function set engine(_arg1:String):void{
_engine = _arg1.toLowerCase();
}
public function toString():String{
return (((engine + "?") + keyword));
}
public function set keyword(_arg1:String):void{
_keyword = _arg1.toLowerCase();
}
}
}//package com.google.analytics.core
Section 51
//RequestObject (com.google.analytics.core.RequestObject)
package com.google.analytics.core {
import flash.net.*;
import flash.utils.*;
public class RequestObject {
public var start:int;
public var end:int;
public var request:URLRequest;
public function RequestObject(_arg1:URLRequest){
start = getTimer();
this.request = _arg1;
}
public function hasCompleted():Boolean{
return ((end > 0));
}
public function toString():String{
var _local1:Array = [];
_local1.push((("duration: " + duration) + "ms"));
_local1.push(("url: " + request.url));
return ((("{ " + _local1.join(", ")) + " }"));
}
public function complete():void{
end = getTimer();
}
public function get duration():int{
if (!hasCompleted()){
return (0);
};
return ((end - start));
}
}
}//package com.google.analytics.core
Section 52
//ServerOperationMode (com.google.analytics.core.ServerOperationMode)
package com.google.analytics.core {
public class ServerOperationMode {
private var _value:int;
private var _name:String;
public static const both:ServerOperationMode = new ServerOperationMode(2, "both");
;
public static const remote:ServerOperationMode = new ServerOperationMode(1, "remote");
;
public static const local:ServerOperationMode = new ServerOperationMode(0, "local");
;
public function ServerOperationMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.core
Section 53
//TrackerCache (com.google.analytics.core.TrackerCache)
package com.google.analytics.core {
import com.google.analytics.v4.*;
import flash.errors.*;
public class TrackerCache implements GoogleAnalyticsAPI {
public var tracker:GoogleAnalyticsAPI;
private var _ar:Array;
public static var CACHE_THROW_ERROR:Boolean;
public function TrackerCache(_arg1:GoogleAnalyticsAPI=null){
this.tracker = _arg1;
_ar = [];
}
public function size():uint{
return (_ar.length);
}
public function flush():void{
var _local1:Object;
var _local2:String;
var _local3:Array;
var _local4:int;
var _local5:int;
if (tracker == null){
return;
};
if (size() > 0){
_local4 = _ar.length;
while (_local5 < _local4) {
_local1 = _ar.shift();
_local2 = (_local1.name as String);
_local3 = (_local1.args as Array);
if (((!((_local2 == null))) && ((_local2 in tracker)))){
(tracker[_local2] as Function).apply(tracker, _local3);
};
_local5++;
};
};
}
public function enqueue(_arg1:String, ... _args):Boolean{
if (_arg1 == null){
return (false);
};
_ar.push({name:_arg1, args:_args});
return (true);
}
public function link(_arg1:String, _arg2:Boolean=false):void{
enqueue("link", _arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
enqueue("addOrganic", _arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
enqueue("setAllowLinker", _arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
enqueue("trackEvent", _arg1, _arg2, _arg3, _arg4);
return (true);
}
public function getLinkerUrl(_arg1:String="", _arg2:Boolean=false):String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getLinkerUrl' method for the moment."));
};
return ("");
}
public function getClientInfo():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getClientInfo' method for the moment."));
};
return (false);
}
public function trackTrans():void{
enqueue("trackTrans");
}
public function trackPageview(_arg1:String=""):void{
enqueue("trackPageview", _arg1);
}
public function setClientInfo(_arg1:Boolean):void{
enqueue("setClientInfo", _arg1);
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
enqueue("linkByPost", _arg1, _arg2);
}
public function setCookieTimeout(_arg1:int):void{
enqueue("setCookieTimeout", _arg1);
}
public function isEmpty():Boolean{
return ((_ar.length == 0));
}
public function getDetectTitle():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getDetectTitle' method for the moment."));
};
return (false);
}
public function resetSession():void{
enqueue("resetSession");
}
public function setDetectFlash(_arg1:Boolean):void{
enqueue("setDetectFlash", _arg1);
}
public function clear():void{
_ar = [];
}
public function setCampNameKey(_arg1:String):void{
enqueue("setCampNameKey", _arg1);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
enqueue("addItem", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function createEventTracker(_arg1:String):EventTracker{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'createEventTracker' method for the moment."));
};
return (null);
}
public function clearIgnoredOrganic():void{
enqueue("clearIgnoredOrganic");
}
public function setVar(_arg1:String):void{
enqueue("setVar", _arg1);
}
public function setDomainName(_arg1:String):void{
enqueue("setDomainName", _arg1);
}
public function setCampSourceKey(_arg1:String):void{
enqueue("setCampSourceKey", _arg1);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):void{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'addTrans' method for the moment."));
};
}
public function setCampContentKey(_arg1:String):void{
enqueue("setCampContentKey", _arg1);
}
public function setLocalServerMode():void{
enqueue("setLocalServerMode");
}
public function getLocalGifPath():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getLocalGifPath' method for the moment."));
};
return ("");
}
public function setAllowAnchor(_arg1:Boolean):void{
enqueue("setAllowAnchor", _arg1);
}
public function clearIgnoredRef():void{
enqueue("clearIgnoredRef");
}
public function setLocalGifPath(_arg1:String):void{
enqueue("setLocalGifPath", _arg1);
}
public function getVersion():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getVersion' method for the moment."));
};
return ("");
}
public function setCookiePath(_arg1:String):void{
enqueue("setCookiePath", _arg1);
}
public function setSampleRate(_arg1:Number):void{
enqueue("setSampleRate", _arg1);
}
public function setDetectTitle(_arg1:Boolean):void{
enqueue("setDetectTitle", _arg1);
}
public function setAllowHash(_arg1:Boolean):void{
enqueue("setAllowHash", _arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
enqueue("addIgnoredOrganic", _arg1);
}
public function setCampNOKey(_arg1:String):void{
enqueue("setCampNOKey", _arg1);
}
public function getServiceMode():ServerOperationMode{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getServiceMode' method for the moment."));
};
return (null);
}
public function setLocalRemoteServerMode():void{
enqueue("setLocalRemoteServerMode");
}
public function cookiePathCopy(_arg1:String):void{
enqueue("cookiePathCopy", _arg1);
}
public function getDetectFlash():Boolean{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getDetectFlash' method for the moment."));
};
return (false);
}
public function setCampaignTrack(_arg1:Boolean):void{
enqueue("setCampaignTrack", _arg1);
}
public function clearOrganic():void{
enqueue("clearOrganic");
}
public function setCampTermKey(_arg1:String):void{
enqueue("setCampTermKey", _arg1);
}
public function addIgnoredRef(_arg1:String):void{
enqueue("addIgnoredRef", _arg1);
}
public function setCampMediumKey(_arg1:String):void{
enqueue("setCampMediumKey", _arg1);
}
public function setSessionTimeout(_arg1:int):void{
enqueue("setSessionTimeout", _arg1);
}
public function setRemoteServerMode():void{
enqueue("setRemoteServerMode");
}
public function element(){
return (_ar[0]);
}
public function getAccount():String{
if (CACHE_THROW_ERROR){
throw (new IllegalOperationError("The tracker is not ready and you can use the 'getAccount' method for the moment."));
};
return ("");
}
}
}//package com.google.analytics.core
Section 54
//TrackerMode (com.google.analytics.core.TrackerMode)
package com.google.analytics.core {
public class TrackerMode {
public static const BRIDGE:String = "Bridge";
public static const AS3:String = "AS3";
}
}//package com.google.analytics.core
Section 55
//Utils (com.google.analytics.core.Utils)
package com.google.analytics.core {
public class Utils {
public static function trim(_arg1:String, _arg2:Boolean=false):String{
var _local5:int;
var _local6:int;
var _local7:int;
if (_arg1 == ""){
return ("");
};
var _local3:Array = [" ", "\n", "\r", "\t"];
var _local4:String = _arg1;
if (_arg2){
_local5 = 0;
while ((((_local5 < _local3.length)) && ((_local4.indexOf(_local3[_local5]) > -1)))) {
_local4 = _local4.split(_local3[_local5]).join("");
_local5++;
};
} else {
_local6 = 0;
while ((((_local6 < _local4.length)) && ((_local3.indexOf(_local4.charAt(_local6)) > -1)))) {
_local6++;
};
_local4 = _local4.substr(_local6);
_local7 = (_local4.length - 1);
while ((((_local7 >= 0)) && ((_local3.indexOf(_local4.charAt(_local7)) > -1)))) {
_local7--;
};
_local4 = _local4.substring(0, (_local7 + 1));
};
return (_local4);
}
public static function generateHash(_arg1:String):int{
var _local4:int;
var _local5:int;
var _local2 = 1;
var _local3:int;
if (((!((_arg1 == null))) && (!((_arg1 == ""))))){
_local2 = 0;
_local4 = (_arg1.length - 1);
while (_local4 >= 0) {
_local5 = _arg1.charCodeAt(_local4);
_local2 = ((((_local2 << 6) & 268435455) + _local5) + (_local5 << 14));
_local3 = (_local2 & 266338304);
if (_local3 != 0){
_local2 = (_local2 ^ (_local3 >> 21));
};
_local4--;
};
};
return (_local2);
}
public static function generate32bitRandom():int{
return (Math.round((Math.random() * 2147483647)));
}
public static function validateAccount(_arg1:String):Boolean{
var _local2:RegExp = /^UA-[0-9]*-[0-9]*$/;
return (_local2.test(_arg1));
}
}
}//package com.google.analytics.core
Section 56
//Cookie (com.google.analytics.data.Cookie)
package com.google.analytics.data {
public interface Cookie {
function fromSharedObject(_arg1:Object):void;
function toURLString():String;
function get creation():Date;
function toSharedObject():Object;
function isExpired():Boolean;
function set creation(_arg1:Date):void;
function set expiration(_arg1:Date):void;
function get expiration():Date;
}
}//package com.google.analytics.data
Section 57
//UTMA (com.google.analytics.data.UTMA)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMA extends UTMCookie {
private var _sessionId:Number;
private var _domainHash:Number;
private var _firstTime:Number;
private var _currentTime:Number;
private var _lastTime:Number;
private var _sessionCount:Number;
public function UTMA(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN, _arg5:Number=NaN, _arg6:Number=NaN){
super("utma", "__utma", ["domainHash", "sessionId", "firstTime", "lastTime", "currentTime", "sessionCount"], (Timespan.twoyears * 1000));
this.domainHash = _arg1;
this.sessionId = _arg2;
this.firstTime = _arg3;
this.lastTime = _arg4;
this.currentTime = _arg5;
this.sessionCount = _arg6;
}
public function get lastTime():Number{
return (_lastTime);
}
public function set lastTime(_arg1:Number):void{
_lastTime = _arg1;
update();
}
public function set currentTime(_arg1:Number):void{
_currentTime = _arg1;
update();
}
public function get sessionId():Number{
return (_sessionId);
}
public function get sessionCount():Number{
return (_sessionCount);
}
public function get firstTime():Number{
return (_firstTime);
}
public function get currentTime():Number{
return (_currentTime);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set sessionId(_arg1:Number):void{
_sessionId = _arg1;
update();
}
public function set sessionCount(_arg1:Number):void{
_sessionCount = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
public function set firstTime(_arg1:Number):void{
_firstTime = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 58
//UTMB (com.google.analytics.data.UTMB)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMB extends UTMCookie {
private var _trackCount:Number;
private var _lastTime:Number;
private var _domainHash:Number;
private var _token:Number;
public static var defaultTimespan:Number = Timespan.thirtyminutes;
public function UTMB(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN){
super("utmb", "__utmb", ["domainHash", "trackCount", "token", "lastTime"], (defaultTimespan * 1000));
this.domainHash = _arg1;
this.trackCount = _arg2;
this.token = _arg3;
this.lastTime = _arg4;
}
public function set token(_arg1:Number):void{
_token = _arg1;
update();
}
public function set trackCount(_arg1:Number):void{
_trackCount = _arg1;
update();
}
public function get lastTime():Number{
return (_lastTime);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set lastTime(_arg1:Number):void{
_lastTime = _arg1;
update();
}
public function get domainHash():Number{
return (_domainHash);
}
public function get token():Number{
return (_token);
}
public function get trackCount():Number{
return (_trackCount);
}
}
}//package com.google.analytics.data
Section 59
//UTMC (com.google.analytics.data.UTMC)
package com.google.analytics.data {
public class UTMC extends UTMCookie {
private var _domainHash:Number;
public function UTMC(_arg1:Number=NaN){
super("utmc", "__utmc", ["domainHash"]);
this.domainHash = _arg1;
}
public function get domainHash():Number{
return (_domainHash);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 60
//UTMCookie (com.google.analytics.data.UTMCookie)
package com.google.analytics.data {
import com.google.analytics.core.*;
public class UTMCookie implements Cookie {
protected var inURL:String;
protected var name:String;
private var _creation:Date;
private var _expiration:Date;
public var proxy:Buffer;
protected var fields:Array;
private var _timespan:Number;
public function UTMCookie(_arg1:String, _arg2:String, _arg3:Array, _arg4:Number=0){
this.name = _arg1;
this.inURL = _arg2;
this.fields = _arg3;
_timestamp(_arg4);
}
public function isEmpty():Boolean{
var _local2:String;
var _local1:int;
var _local3:int;
while (_local3 < fields.length) {
_local2 = fields[_local3];
if ((((this[_local2] is Number)) && (isNaN(this[_local2])))){
_local1++;
} else {
if ((((this[_local2] is String)) && ((this[_local2] == "")))){
_local1++;
};
};
_local3++;
};
if (_local1 == fields.length){
return (true);
};
return (false);
}
public function resetTimestamp(_arg1:Number=NaN):void{
if (!isNaN(_arg1)){
_timespan = _arg1;
};
_creation = null;
_expiration = null;
_timestamp(_timespan);
}
protected function update():void{
resetTimestamp();
if (proxy){
proxy.update(name, toSharedObject());
};
}
public function reset():void{
var _local1:String;
var _local2:int;
while (_local2 < fields.length) {
_local1 = fields[_local2];
if ((this[_local1] is Number)){
this[_local1] = NaN;
} else {
if ((this[_local1] is String)){
this[_local1] = "";
};
};
_local2++;
};
resetTimestamp();
update();
}
public function fromSharedObject(_arg1:Object):void{
var _local2:String;
var _local3:int = fields.length;
var _local4:int;
while (_local4 < _local3) {
_local2 = fields[_local4];
if (_arg1[_local2]){
this[_local2] = _arg1[_local2];
};
_local4++;
};
if (_arg1.creation){
this.creation = _arg1.creation;
};
if (_arg1.expiration){
this.expiration = _arg1.expiration;
};
}
private function _timestamp(_arg1:Number):void{
creation = new Date();
_timespan = _arg1;
if (_arg1 > 0){
expiration = new Date((creation.valueOf() + _arg1));
};
}
public function isExpired():Boolean{
var _local1:Date = new Date();
var _local2:Number = (expiration.valueOf() - _local1.valueOf());
if (_local2 <= 0){
return (true);
};
return (false);
}
public function set expiration(_arg1:Date):void{
_expiration = _arg1;
}
public function get creation():Date{
return (_creation);
}
public function valueOf():String{
var _local2:String;
var _local3:*;
var _local4:Array;
var _local1:Array = [];
var _local5 = "";
var _local6:int;
while (_local6 < fields.length) {
_local2 = fields[_local6];
_local3 = this[_local2];
if ((_local3 is String)){
if (_local3 == ""){
_local3 = "-";
_local1.push(_local3);
} else {
_local1.push(_local3);
};
} else {
if ((_local3 is Number)){
if (_local3 == 0){
_local1.push(_local3);
} else {
if (isNaN(_local3)){
_local3 = "-";
_local1.push(_local3);
} else {
_local1.push(_local3);
};
};
};
};
_local6++;
};
if (isEmpty()){
return ("-");
};
return (("" + _local1.join(".")));
}
public function toURLString():String{
return (((inURL + "=") + valueOf()));
}
public function get expiration():Date{
if (_expiration){
return (_expiration);
};
return (new Date((new Date().valueOf() + 1000)));
}
public function toSharedObject():Object{
var _local2:String;
var _local3:*;
var _local1:Object = {};
var _local4:int;
for (;_local4 < fields.length;_local4++) {
_local2 = fields[_local4];
_local3 = this[_local2];
if ((_local3 is String)){
_local1[_local2] = _local3;
} else {
if (_local3 == 0){
_local1[_local2] = _local3;
} else {
if (isNaN(_local3)){
continue;
} else {
_local1[_local2] = _local3;
};
};
};
};
_local1.creation = creation;
_local1.expiration = expiration;
return (_local1);
}
public function toString(_arg1:Boolean=false):String{
var _local3:String;
var _local4:*;
var _local2:Array = [];
var _local5:int = fields.length;
var _local6:int;
for (;_local6 < _local5;_local6++) {
_local3 = fields[_local6];
_local4 = this[_local3];
if ((_local4 is String)){
_local2.push((((_local3 + ": \"") + _local4) + "\""));
} else {
if (_local4 == 0){
_local2.push(((_local3 + ": ") + _local4));
} else {
if (isNaN(_local4)){
continue;
} else {
_local2.push(((_local3 + ": ") + _local4));
};
};
};
};
var _local7 = (((name.toUpperCase() + " {") + _local2.join(", ")) + "}");
if (_arg1){
_local7 = (_local7 + (((" creation:" + creation) + ", expiration:") + expiration));
};
return (_local7);
}
public function set creation(_arg1:Date):void{
_creation = _arg1;
}
}
}//package com.google.analytics.data
Section 61
//UTMK (com.google.analytics.data.UTMK)
package com.google.analytics.data {
public class UTMK extends UTMCookie {
private var _hash:Number;
public function UTMK(_arg1:Number=NaN){
super("utmk", "__utmk", ["hash"]);
this.hash = _arg1;
}
public function set hash(_arg1:Number):void{
_hash = _arg1;
update();
}
public function get hash():Number{
return (_hash);
}
}
}//package com.google.analytics.data
Section 62
//UTMV (com.google.analytics.data.UTMV)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMV extends UTMCookie {
private var _domainHash:Number;
private var _value:String;
public function UTMV(_arg1:Number=NaN, _arg2:String=""){
super("utmv", "__utmv", ["domainHash", "value"], (Timespan.twoyears * 1000));
this.domainHash = _arg1;
this.value = _arg2;
}
public function get value():String{
return (_value);
}
public function get domainHash():Number{
return (_domainHash);
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set value(_arg1:String):void{
_value = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 63
//UTMX (com.google.analytics.data.UTMX)
package com.google.analytics.data {
public class UTMX extends UTMCookie {
private var _value:String;
public function UTMX(){
super("utmx", "__utmx", ["value"], 0);
_value = "-";
}
public function get value():String{
return (_value);
}
public function set value(_arg1:String):void{
_value = _arg1;
}
}
}//package com.google.analytics.data
Section 64
//UTMZ (com.google.analytics.data.UTMZ)
package com.google.analytics.data {
import com.google.analytics.utils.*;
public class UTMZ extends UTMCookie {
private var _campaignTracking:String;
private var _campaignCreation:Number;
private var _responseCount:Number;
private var _domainHash:Number;
private var _campaignSessions:Number;
public static var defaultTimespan:Number = Timespan.sixmonths;
public function UTMZ(_arg1:Number=NaN, _arg2:Number=NaN, _arg3:Number=NaN, _arg4:Number=NaN, _arg5:String=""){
super("utmz", "__utmz", ["domainHash", "campaignCreation", "campaignSessions", "responseCount", "campaignTracking"], (defaultTimespan * 1000));
this.domainHash = _arg1;
this.campaignCreation = _arg2;
this.campaignSessions = _arg3;
this.responseCount = _arg4;
this.campaignTracking = _arg5;
}
public function set responseCount(_arg1:Number):void{
_responseCount = _arg1;
update();
}
public function set domainHash(_arg1:Number):void{
_domainHash = _arg1;
update();
}
public function set campaignCreation(_arg1:Number):void{
_campaignCreation = _arg1;
update();
}
public function get campaignTracking():String{
return (_campaignTracking);
}
public function get campaignSessions():Number{
return (_campaignSessions);
}
public function get domainHash():Number{
return (_domainHash);
}
public function get responseCount():Number{
return (_responseCount);
}
public function get campaignCreation():Number{
return (_campaignCreation);
}
public function set campaignSessions(_arg1:Number):void{
_campaignSessions = _arg1;
update();
}
public function set campaignTracking(_arg1:String):void{
_campaignTracking = _arg1;
update();
}
}
}//package com.google.analytics.data
Section 65
//X10 (com.google.analytics.data.X10)
package com.google.analytics.data {
public class X10 {
private var _delimEnd:String;// = ")"
private var _minimum:int;
private var _delimSet:String;// = "*"
private var _escapeChar:String;// = "'"
private var _delimBegin:String;// = "("
private var _delimNumValue:String;// = "!"
private var _key:String;// = "k"
private var _set:Array;
private var _hasData:int;
private var _escapeCharMap:Object;
private var _projectData:Object;
private var _value:String;// = "v"
public function X10(){
_set = [_key, _value];
super();
_projectData = {};
_escapeCharMap = {};
_escapeCharMap[_escapeChar] = "'0";
_escapeCharMap[_delimEnd] = "'1";
_escapeCharMap[_delimSet] = "'2";
_escapeCharMap[_delimNumValue] = "'3";
_minimum = 1;
}
private function _setInternal(_arg1:Number, _arg2:String, _arg3:Number, _arg4:String):void{
if (!hasProject(_arg1)){
_projectData[_arg1] = {};
};
if (_projectData[_arg1][_arg2] == undefined){
_projectData[_arg1][_arg2] = [];
};
_projectData[_arg1][_arg2][_arg3] = _arg4;
_hasData = (_hasData + 1);
}
private function _renderProject(_arg1:Object):String{
var _local4:int;
var _local5:Array;
var _local2 = "";
var _local3:Boolean;
var _local6:int = _set.length;
_local4 = 0;
while (_local4 < _local6) {
_local5 = _arg1[_set[_local4]];
if (_local5){
if (_local3){
_local2 = (_local2 + _set[_local4]);
};
_local2 = (_local2 + _renderDataType(_local5));
_local3 = false;
} else {
_local3 = true;
};
_local4++;
};
return (_local2);
}
public function hasProject(_arg1:Number):Boolean{
return (_projectData[_arg1]);
}
public function clearKey(_arg1:Number):void{
_clearInternal(_arg1, _key);
}
private function _renderDataType(_arg1:Array):String{
var _local3:String;
var _local4:int;
var _local2:Array = [];
_local4 = 0;
while (_local4 < _arg1.length) {
if (_arg1[_local4] != undefined){
_local3 = "";
if (((!((_local4 == _minimum))) && ((_arg1[(_local4 - 1)] == undefined)))){
_local3 = (_local3 + _local4.toString());
_local3 = (_local3 + _delimNumValue);
};
_local3 = (_local3 + _escapeExtensibleValue(_arg1[_local4]));
_local2.push(_local3);
};
_local4++;
};
return (((_delimBegin + _local2.join(_delimSet)) + _delimEnd));
}
public function getKey(_arg1:Number, _arg2:Number):String{
return ((_getInternal(_arg1, _key, _arg2) as String));
}
public function hasData():Boolean{
return ((_hasData > 0));
}
public function renderMergedUrlString(_arg1:X10=null):String{
var _local3:String;
if (!_arg1){
return (renderUrlString());
};
var _local2:Array = [_arg1.renderUrlString()];
for (_local3 in _projectData) {
if (((hasProject(Number(_local3))) && (!(_arg1.hasProject(Number(_local3)))))){
_local2.push((_local3 + _renderProject(_projectData[_local3])));
};
};
return (_local2.join(""));
}
public function setValue(_arg1:Number, _arg2:Number, _arg3:Number):Boolean{
if (((((!((Math.round(_arg3) == _arg3))) || (isNaN(_arg3)))) || ((_arg3 == Infinity)))){
return (false);
};
_setInternal(_arg1, _value, _arg2, _arg3.toString());
return (true);
}
public function renderUrlString():String{
var _local2:String;
var _local1:Array = [];
for (_local2 in _projectData) {
if (hasProject(Number(_local2))){
_local1.push((_local2 + _renderProject(_projectData[_local2])));
};
};
return (_local1.join(""));
}
private function _getInternal(_arg1:Number, _arg2:String, _arg3:Number):Object{
if (((hasProject(_arg1)) && (!((_projectData[_arg1][_arg2] == undefined))))){
return (_projectData[_arg1][_arg2][_arg3]);
};
return (undefined);
}
public function setKey(_arg1:Number, _arg2:Number, _arg3:String):Boolean{
_setInternal(_arg1, _key, _arg2, _arg3);
return (true);
}
public function clearValue(_arg1:Number):void{
_clearInternal(_arg1, _value);
}
private function _clearInternal(_arg1:Number, _arg2:String):void{
var _local3:Boolean;
var _local4:int;
var _local5:int;
if (((hasProject(_arg1)) && (!((_projectData[_arg1][_arg2] == undefined))))){
_projectData[_arg1][_arg2] = undefined;
_local3 = true;
_local5 = _set.length;
_local4 = 0;
while (_local4 < _local5) {
if (_projectData[_arg1][_set[_local4]] != undefined){
_local3 = false;
break;
};
_local4++;
};
if (_local3){
_projectData[_arg1] = undefined;
_hasData = (_hasData - 1);
};
};
}
public function getValue(_arg1:Number, _arg2:Number){
var _local3:* = _getInternal(_arg1, _value, _arg2);
if (_local3 == null){
return (null);
};
return (Number(_local3));
}
private function _escapeExtensibleValue(_arg1:String):String{
var _local3:int;
var _local4:String;
var _local5:String;
var _local2 = "";
_local3 = 0;
while (_local3 < _arg1.length) {
_local4 = _arg1.charAt(_local3);
_local5 = _escapeCharMap[_local4];
if (_local5){
_local2 = (_local2 + _local5);
} else {
_local2 = (_local2 + _local4);
};
_local3++;
};
return (_local2);
}
}
}//package com.google.analytics.data
Section 66
//_Style (com.google.analytics.debug._Style)
package com.google.analytics.debug {
import flash.net.*;
import flash.text.*;
public class _Style {
public var failureColor:uint;
public var borderColor:uint;
public var backgroundColor:uint;
private var _sheet:StyleSheet;
public var roundedCorner:uint;
public var warningColor:uint;
public var infoColor:uint;
public var alertColor:uint;
public var successColor:uint;
private var _loader:URLLoader;
private var _defaultSheet:String;
public function _Style(){
_sheet = new StyleSheet();
_loader = new URLLoader();
_init();
}
private function _parseSheet(_arg1:String):void{
_sheet.parseCSS(_arg1);
}
public function get sheet():StyleSheet{
return (_sheet);
}
private function _init():void{
_defaultSheet = "";
_defaultSheet = (_defaultSheet + "a{text-decoration: underline;}\n");
_defaultSheet = (_defaultSheet + ".uiLabel{color: #000000;font-family: Arial;font-size: 12;margin-left: 2;margin-right: 2;}\n");
_defaultSheet = (_defaultSheet + ".uiWarning{color: #ffffff;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlert{color: #ffffff;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiInfo{color: #000000;font-family: Arial;font-size: 14;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiSuccess{color: #ffffff;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiFailure{color: #ffffff;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlertAction{color: #ffffff;text-align: center;font-family: Arial;font-size: 12;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + ".uiAlertTitle{color: #ffffff;font-family: Arial;font-size: 16;font-weight: bold;margin-left: 6;margin-right: 6;}\n");
_defaultSheet = (_defaultSheet + "\n");
roundedCorner = 6;
backgroundColor = 0xCCCCCC;
borderColor = 0x555555;
infoColor = 16777113;
alertColor = 0xFFCC00;
warningColor = 0xCC0000;
successColor = 0xFF00;
failureColor = 0xFF0000;
_parseSheet(_defaultSheet);
}
}
}//package com.google.analytics.debug
Section 67
//Alert (com.google.analytics.debug.Alert)
package com.google.analytics.debug {
import flash.events.*;
public class Alert extends Label {
public var autoClose:Boolean;// = true
public var actionOnNextLine:Boolean;// = true
private var _actions:Array;
public function Alert(_arg1:String, _arg2:Array, _arg3:String="uiAlert", _arg4:uint=0, _arg5:Align=null, _arg6:Boolean=false, _arg7:Boolean=true){
if (_arg4 == 0){
_arg4 = Style.alertColor;
};
if (_arg5 == null){
_arg5 = Align.center;
};
super(_arg1, _arg3, _arg4, _arg5, _arg6);
this.selectable = true;
super.mouseChildren = true;
this.buttonMode = true;
this.mouseEnabled = true;
this.useHandCursor = true;
this.actionOnNextLine = _arg7;
_actions = [];
var _local8:int;
while (_local8 < _arg2.length) {
_arg2[_local8].container = this;
_actions.push(_arg2[_local8]);
_local8++;
};
}
private function _defineActions():void{
var _local3:AlertAction;
var _local1 = "";
if (actionOnNextLine){
_local1 = (_local1 + "\n");
} else {
_local1 = (_local1 + " |");
};
_local1 = (_local1 + " ");
var _local2:Array = [];
var _local4:int;
while (_local4 < _actions.length) {
_local3 = _actions[_local4];
_local2.push((((("<a href=\"event:" + _local3.activator) + "\">") + _local3.name) + "</a>"));
_local4++;
};
_local1 = (_local1 + _local2.join(" | "));
appendText(_local1, "uiAlertAction");
}
protected function isValidAction(_arg1:String):Boolean{
var _local2:int;
while (_local2 < _actions.length) {
if (_arg1 == _actions[_local2].activator){
return (true);
};
_local2++;
};
return (false);
}
override protected function layout():void{
super.layout();
_defineActions();
}
protected function getAction(_arg1:String):AlertAction{
var _local2:int;
while (_local2 < _actions.length) {
if (_arg1 == _actions[_local2].activator){
return (_actions[_local2]);
};
_local2++;
};
return (null);
}
protected function spaces(_arg1:int):String{
var _local2 = "";
var _local3 = " ";
var _local4:int;
while (_local4 < (_arg1 + 1)) {
_local2 = (_local2 + _local3);
_local4++;
};
return (_local2);
}
override public function onLink(_arg1:TextEvent):void{
var _local2:AlertAction;
if (isValidAction(_arg1.text)){
_local2 = getAction(_arg1.text);
if (_local2){
_local2.execute();
};
};
if (autoClose){
close();
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 68
//AlertAction (com.google.analytics.debug.AlertAction)
package com.google.analytics.debug {
public class AlertAction {
public var container:Alert;
private var _callback;
public var activator:String;
public var name:String;
public function AlertAction(_arg1:String, _arg2:String, _arg3){
this.name = _arg1;
this.activator = _arg2;
_callback = _arg3;
}
public function execute():void{
if (_callback){
if ((_callback is Function)){
(_callback as Function)();
} else {
if ((_callback is String)){
var _local1 = container;
_local1[_callback]();
};
};
};
}
}
}//package com.google.analytics.debug
Section 69
//Align (com.google.analytics.debug.Align)
package com.google.analytics.debug {
public class Align {
private var _value:int;
private var _name:String;
public static const bottomRight:Align = new Align(18, "bottomRight");
;
public static const right:Align = new Align(16, "right");
;
public static const left:Align = new Align(32, "left");
;
public static const topRight:Align = new Align(17, "topRight");
;
public static const bottom:Align = new Align(2, "bottom");
;
public static const bottomLeft:Align = new Align(34, "bottomLeft");
;
public static const topLeft:Align = new Align(33, "topLeft");
;
public static const center:Align = new Align(0x0100, "center");
;
public static const none:Align = new Align(0, "none");
;
public static const top:Align = new Align(1, "top");
;
public function Align(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.debug
Section 70
//Background (com.google.analytics.debug.Background)
package com.google.analytics.debug {
import flash.display.*;
public class Background {
public static function drawRounded(_arg1, _arg2:Graphics, _arg3:uint=0, _arg4:uint=0):void{
var _local5:uint;
var _local6:uint;
var _local7:uint = Style.roundedCorner;
if ((((_arg3 > 0)) && ((_arg4 > 0)))){
_local5 = _arg3;
_local6 = _arg4;
} else {
_local5 = _arg1.width;
_local6 = _arg1.height;
};
if (((_arg1.stickToEdge) && (!((_arg1.alignement == Align.none))))){
switch (_arg1.alignement){
case Align.top:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, _local7, _local7);
break;
case Align.topLeft:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, 0, _local7);
break;
case Align.topRight:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, 0, _local7, 0);
break;
case Align.bottom:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, _local7, 0, 0);
break;
case Align.bottomLeft:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, _local7, 0, 0);
break;
case Align.bottomRight:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, 0, 0, 0);
break;
case Align.left:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, 0, _local7, 0, _local7);
break;
case Align.right:
_arg2.drawRoundRectComplex(0, 0, _local5, _local6, _local7, 0, _local7, 0);
break;
case Align.center:
_arg2.drawRoundRect(0, 0, _local5, _local6, _local7, _local7);
break;
};
} else {
_arg2.drawRoundRect(0, 0, _local5, _local6, _local7, _local7);
};
}
}
}//package com.google.analytics.debug
Section 71
//Debug (com.google.analytics.debug.Debug)
package com.google.analytics.debug {
import flash.events.*;
import flash.ui.*;
public class Debug extends Label {
private var _lines:Array;
private var _preferredForcedWidth:uint;// = 540
private var _linediff:int;// = 0
public var maxLines:uint;// = 16
public static var count:uint;
public function Debug(_arg1:uint=0, _arg2:Align=null, _arg3:Boolean=false){
if (_arg2 == null){
_arg2 = Align.bottom;
};
super("", "uiLabel", _arg1, _arg2, _arg3);
this.name = ("Debug" + count++);
_lines = [];
selectable = true;
addEventListener(KeyboardEvent.KEY_DOWN, onKey);
}
public function writeBold(_arg1:String):void{
write(_arg1, true);
}
private function _getLinesToDisplay(_arg1:int=0):Array{
var _local2:Array;
var _local3:uint;
var _local4:uint;
if ((_lines.length - 1) > maxLines){
if ((_linediff <= 0)){
_linediff = (_linediff + _arg1);
} else {
if ((((_linediff > 0)) && ((_arg1 < 0)))){
_linediff = (_linediff + _arg1);
};
};
_local3 = ((_lines.length - maxLines) + _linediff);
_local4 = (_local3 + maxLines);
_local2 = _lines.slice(_local3, _local4);
} else {
_local2 = _lines;
};
return (_local2);
}
private function onKey(_arg1:KeyboardEvent=null):void{
var _local2:Array;
switch (_arg1.keyCode){
case Keyboard.DOWN:
_local2 = _getLinesToDisplay(1);
break;
case Keyboard.UP:
_local2 = _getLinesToDisplay(-1);
break;
default:
_local2 = null;
};
if (_local2 == null){
return;
};
text = _local2.join("\n");
}
override public function get forcedWidth():uint{
if (this.parent){
if (UISprite(this.parent).forcedWidth > _preferredForcedWidth){
return (_preferredForcedWidth);
};
return (UISprite(this.parent).forcedWidth);
} else {
};
return (!NULL!);
}
public function write(_arg1:String, _arg2:Boolean=false):void{
var _local3:Array;
if (_arg1.indexOf("") > -1){
_local3 = _arg1.split("\n");
} else {
_local3 = [_arg1];
};
var _local4 = "";
var _local5 = "";
if (_arg2){
_local4 = "<b>";
_local5 = "</b>";
};
var _local6:int;
while (_local6 < _local3.length) {
_lines.push(((_local4 + _local3[_local6]) + _local5));
_local6++;
};
var _local7:Array = _getLinesToDisplay();
text = _local7.join("\n");
}
public function close():void{
dispose();
}
override protected function dispose():void{
removeEventListener(KeyboardEvent.KEY_DOWN, onKey);
super.dispose();
}
}
}//package com.google.analytics.debug
Section 72
//DebugConfiguration (com.google.analytics.debug.DebugConfiguration)
package com.google.analytics.debug {
import com.google.analytics.core.*;
import flash.net.*;
import flash.utils.*;
public class DebugConfiguration {
public var showHideKey:Number;// = 32
private var _mode:VisualDebugMode;
private var _verbose:Boolean;// = false
public var destroyKey:Number;// = 8
public var GIFRequests:Boolean;// = false
public var showInfos:Boolean;// = true
public var infoTimeout:Number;// = 1000
public var minimizedOnStart:Boolean;// = false
private var _active:Boolean;// = false
public var traceOutput:Boolean;// = false
public var layout:ILayout;
public var warningTimeout:Number;// = 1500
public var javascript:Boolean;// = false
public var showWarnings:Boolean;// = true
private var _visualInitialized:Boolean;// = false
public function DebugConfiguration(){
_mode = VisualDebugMode.basic;
super();
}
public function get verbose():Boolean{
return (_verbose);
}
public function set verbose(_arg1:Boolean):void{
_verbose = _arg1;
}
public function set mode(_arg1):void{
if ((_arg1 is String)){
switch (_arg1){
case "geek":
_arg1 = VisualDebugMode.geek;
break;
case "advanced":
_arg1 = VisualDebugMode.advanced;
break;
case "basic":
default:
_arg1 = VisualDebugMode.basic;
};
};
_mode = _arg1;
}
public function success(_arg1:String):void{
if (layout){
layout.createSuccessAlert(_arg1);
};
if (traceOutput){
trace((("[+] " + _arg1) + " !!"));
};
}
public function get active():Boolean{
return (_active);
}
private function _initializeVisual():void{
if (layout){
layout.init();
_visualInitialized = true;
};
}
private function _destroyVisual():void{
if (((layout) && (_visualInitialized))){
layout.destroy();
};
}
public function warning(_arg1:String, _arg2:VisualDebugMode=null):void{
if (_filter(_arg2)){
return;
};
if (((layout) && (showWarnings))){
layout.createWarning(_arg1);
};
if (traceOutput){
trace((("## " + _arg1) + " ##"));
};
}
private function _filter(_arg1:VisualDebugMode=null):Boolean{
return (((_arg1) && ((int(_arg1) >= int(this.mode)))));
}
public function failure(_arg1:String):void{
if (layout){
layout.createFailureAlert(_arg1);
};
if (traceOutput){
trace((("[-] " + _arg1) + " !!"));
};
}
public function get mode(){
return (_mode);
}
public function set active(_arg1:Boolean):void{
_active = _arg1;
if (_active){
_initializeVisual();
} else {
_destroyVisual();
};
}
protected function trace(_arg1:String):void{
var _local7:Array;
var _local8:int;
var _local2:Array = [];
var _local3 = "";
var _local4 = "";
if (this.mode == VisualDebugMode.geek){
_local3 = (getTimer() + " - ");
_local4 = (new Array(_local3.length).join(" ") + " ");
};
if (_arg1.indexOf("\n") > -1){
_local7 = _arg1.split("\n");
_local8 = 0;
while (_local8 < _local7.length) {
if (_local7[_local8] == ""){
} else {
if (_local8 == 0){
_local2.push((_local3 + _local7[_local8]));
} else {
_local2.push((_local4 + _local7[_local8]));
};
};
_local8++;
};
} else {
_local2.push((_local3 + _arg1));
};
var _local5:int = _local2.length;
var _local6:int;
while (_local6 < _local5) {
trace(_local2[_local6]);
_local6++;
};
}
public function alert(_arg1:String):void{
if (layout){
layout.createAlert(_arg1);
};
if (traceOutput){
trace((("!! " + _arg1) + " !!"));
};
}
public function info(_arg1:String, _arg2:VisualDebugMode=null):void{
if (_filter(_arg2)){
return;
};
if (((layout) && (showInfos))){
layout.createInfo(_arg1);
};
if (traceOutput){
trace(_arg1);
};
}
public function alertGifRequest(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void{
if (layout){
layout.createGIFRequestAlert(_arg1, _arg2, _arg3);
};
if (traceOutput){
trace(((">> " + _arg1) + " <<"));
};
}
}
}//package com.google.analytics.debug
Section 73
//FailureAlert (com.google.analytics.debug.FailureAlert)
package com.google.analytics.debug {
public class FailureAlert extends Alert {
public function FailureAlert(_arg1:DebugConfiguration, _arg2:String, _arg3:Array){
var _local4:Align = Align.bottomLeft;
var _local5:Boolean;
var _local6:Boolean;
if (_arg1.verbose){
_arg2 = ((("<u><span class=\"uiAlertTitle\">Failure</span>" + spaces(18)) + "</u>\n\n") + _arg2);
_local4 = Align.center;
_local5 = false;
_local6 = true;
};
super(_arg2, _arg3, "uiFailure", Style.failureColor, _local4, _local5, _local6);
}
}
}//package com.google.analytics.debug
Section 74
//GIFRequestAlert (com.google.analytics.debug.GIFRequestAlert)
package com.google.analytics.debug {
public class GIFRequestAlert extends Alert {
public function GIFRequestAlert(_arg1:String, _arg2:Array){
super(_arg1, _arg2);
}
}
}//package com.google.analytics.debug
Section 75
//ILayout (com.google.analytics.debug.ILayout)
package com.google.analytics.debug {
import flash.display.*;
import com.google.analytics.core.*;
import flash.net.*;
public interface ILayout {
function createAlert(_arg1:String):void;
function addToStage(_arg1:DisplayObject):void;
function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void;
function createWarning(_arg1:String):void;
function createPanel(_arg1:String, _arg2:uint, _arg3:uint):void;
function createInfo(_arg1:String):void;
function createFailureAlert(_arg1:String):void;
function addToPanel(_arg1:String, _arg2:DisplayObject):void;
function init():void;
function createSuccessAlert(_arg1:String):void;
function createVisualDebug():void;
function destroy():void;
function bringToFront(_arg1:DisplayObject):void;
function isAvailable():Boolean;
}
}//package com.google.analytics.debug
Section 76
//Info (com.google.analytics.debug.Info)
package com.google.analytics.debug {
import flash.events.*;
import flash.utils.*;
public class Info extends Label {
private var _timer:Timer;
public function Info(_arg1:String="", _arg2:uint=3000){
super(_arg1, "uiInfo", Style.infoColor, Align.top, true);
if (_arg2 > 0){
_timer = new Timer(_arg2, 1);
_timer.start();
_timer.addEventListener(TimerEvent.TIMER_COMPLETE, onComplete, false, 0, true);
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function onComplete(_arg1:TimerEvent):void{
close();
}
}
}//package com.google.analytics.debug
Section 77
//Label (com.google.analytics.debug.Label)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class Label extends UISprite {
private var _color:uint;
private var _background:Shape;
private var _textField:TextField;
public var stickToEdge:Boolean;
private var _text:String;
protected var selectable:Boolean;
private var _tag:String;
public static var count:uint = 0;
public function Label(_arg1:String="", _arg2:String="uiLabel", _arg3:uint=0, _arg4:Align=null, _arg5:Boolean=false){
this.name = ("Label" + count++);
selectable = false;
_background = new Shape();
_textField = new TextField();
_text = _arg1;
_tag = _arg2;
if (_arg4 == null){
_arg4 = Align.none;
};
this.alignement = _arg4;
this.stickToEdge = _arg5;
if (_arg3 == 0){
_arg3 = Style.backgroundColor;
};
_color = _arg3;
_textField.addEventListener(TextEvent.LINK, onLink);
}
public function get tag():String{
return (_tag);
}
private function _draw():void{
var _local1:Graphics = _background.graphics;
_local1.clear();
_local1.beginFill(_color);
var _local2:uint = _textField.width;
var _local3:uint = _textField.height;
if (forcedWidth > 0){
_local2 = forcedWidth;
};
Background.drawRounded(this, _local1, _local2, _local3);
_local1.endFill();
}
public function get text():String{
return (_textField.text);
}
public function appendText(_arg1:String, _arg2:String=""):void{
if (_arg1 == ""){
return;
};
if (_arg2 == ""){
_arg2 = tag;
};
_textField.htmlText = (_textField.htmlText + (((("<span class=\"" + _arg2) + "\">") + _arg1) + "</span>"));
_text = (_text + _arg1);
_draw();
resize();
}
public function set text(_arg1:String):void{
if (_arg1 == ""){
_arg1 = _text;
};
_textField.htmlText = (((("<span class=\"" + tag) + "\">") + _arg1) + "</span>");
_text = _arg1;
_draw();
resize();
}
override protected function layout():void{
_textField.type = TextFieldType.DYNAMIC;
_textField.autoSize = TextFieldAutoSize.LEFT;
_textField.background = false;
_textField.selectable = selectable;
_textField.multiline = true;
_textField.styleSheet = Style.sheet;
this.text = _text;
addChild(_background);
addChild(_textField);
}
public function set tag(_arg1:String):void{
_tag = _arg1;
text = "";
}
public function onLink(_arg1:TextEvent):void{
}
override protected function dispose():void{
_textField.removeEventListener(TextEvent.LINK, onLink);
super.dispose();
}
}
}//package com.google.analytics.debug
Section 78
//Layout (com.google.analytics.debug.Layout)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
import com.google.analytics.core.*;
import flash.net.*;
import com.google.analytics.*;
public class Layout implements ILayout {
private var _display:DisplayObject;
private var _infoQueue:Array;
private var _maxCharPerLine:int;// = 85
private var _hasInfo:Boolean;
private var _warningQueue:Array;
private var _hasDebug:Boolean;
private var _hasWarning:Boolean;
private var _mainPanel:Panel;
private var _GRAlertQueue:Array;
private var _debug:DebugConfiguration;
public var visualDebug:Debug;
private var _hasGRAlert:Boolean;
public function Layout(_arg1:DebugConfiguration, _arg2:DisplayObject){
_display = _arg2;
_debug = _arg1;
_hasWarning = false;
_hasInfo = false;
_hasDebug = false;
_hasGRAlert = false;
_warningQueue = [];
_infoQueue = [];
_GRAlertQueue = [];
}
private function onKey(_arg1:KeyboardEvent=null):void{
switch (_arg1.keyCode){
case _debug.showHideKey:
_mainPanel.visible = !(_mainPanel.visible);
break;
case _debug.destroyKey:
destroy();
break;
};
}
public function createWarning(_arg1:String):void{
if (((_hasWarning) || (!(isAvailable())))){
_warningQueue.push(_arg1);
return;
};
_arg1 = _filterMaxChars(_arg1);
_hasWarning = true;
var _local2:Warning = new Warning(_arg1, _debug.warningTimeout);
addToPanel("analytics", _local2);
_local2.addEventListener(Event.REMOVED_FROM_STAGE, _clearWarning, false, 0, true);
if (_hasDebug){
visualDebug.writeBold(_arg1);
};
}
public function bringToFront(_arg1:DisplayObject):void{
_display.stage.setChildIndex(_arg1, (_display.stage.numChildren - 1));
}
public function createFailureAlert(_arg1:String):void{
var _local2:AlertAction;
if (_debug.verbose){
_arg1 = _filterMaxChars(_arg1);
_local2 = new AlertAction("Close", "close", "close");
} else {
_local2 = new AlertAction("X", "close", "close");
};
var _local3:Alert = new FailureAlert(_debug, _arg1, [_local2]);
addToPanel("analytics", _local3);
if (_hasDebug){
if (_debug.verbose){
_arg1 = _arg1.split("\n").join("");
_arg1 = _filterMaxChars(_arg1, 66);
};
visualDebug.writeBold(_arg1);
};
}
public function init():void{
var _local1 = 10;
var _local2:uint = (_display.stage.stageWidth - (_local1 * 2));
var _local3:uint = (_display.stage.stageHeight - (_local1 * 2));
var _local4:Panel = new Panel("analytics", _local2, _local3);
_local4.alignement = Align.top;
_local4.stickToEdge = false;
_local4.title = ("Google Analytics v" + GATracker.version);
_mainPanel = _local4;
addToStage(_local4);
bringToFront(_local4);
if (_debug.minimizedOnStart){
_mainPanel.onToggle();
};
createVisualDebug();
_display.stage.addEventListener(KeyboardEvent.KEY_DOWN, onKey, false, 0, true);
}
public function addToPanel(_arg1:String, _arg2:DisplayObject):void{
var _local4:Panel;
var _local3:DisplayObject = _display.stage.getChildByName(_arg1);
if (_local3){
_local4 = (_local3 as Panel);
_local4.addData(_arg2);
} else {
trace((("panel \"" + _arg1) + "\" not found"));
};
}
private function _clearInfo(_arg1:Event):void{
_hasInfo = false;
if (_infoQueue.length > 0){
createInfo(_infoQueue.shift());
};
}
private function _filterMaxChars(_arg1:String, _arg2:int=0):String{
var _local6:String;
var _local3 = "\n";
var _local4:Array = [];
var _local5:Array = _arg1.split(_local3);
if (_arg2 == 0){
_arg2 = _maxCharPerLine;
};
var _local7:int;
while (_local7 < _local5.length) {
_local6 = _local5[_local7];
while (_local6.length > _arg2) {
_local4.push(_local6.substr(0, _arg2));
_local6 = _local6.substring(_arg2);
};
_local4.push(_local6);
_local7++;
};
return (_local4.join(_local3));
}
private function _clearGRAlert(_arg1:Event):void{
_hasGRAlert = false;
if (_GRAlertQueue.length > 0){
createGIFRequestAlert.apply(this, _GRAlertQueue.shift());
};
}
public function createSuccessAlert(_arg1:String):void{
var _local2:AlertAction;
if (_debug.verbose){
_arg1 = _filterMaxChars(_arg1);
_local2 = new AlertAction("Close", "close", "close");
} else {
_local2 = new AlertAction("X", "close", "close");
};
var _local3:Alert = new SuccessAlert(_debug, _arg1, [_local2]);
addToPanel("analytics", _local3);
if (_hasDebug){
if (_debug.verbose){
_arg1 = _arg1.split("\n").join("");
_arg1 = _filterMaxChars(_arg1, 66);
};
visualDebug.writeBold(_arg1);
};
}
public function isAvailable():Boolean{
return (!((_display.stage == null)));
}
public function createAlert(_arg1:String):void{
_arg1 = _filterMaxChars(_arg1);
var _local2:Alert = new Alert(_arg1, [new AlertAction("Close", "close", "close")]);
addToPanel("analytics", _local2);
if (_hasDebug){
visualDebug.writeBold(_arg1);
};
}
public function createInfo(_arg1:String):void{
if (((_hasInfo) || (!(isAvailable())))){
_infoQueue.push(_arg1);
return;
};
_arg1 = _filterMaxChars(_arg1);
_hasInfo = true;
var _local2:Info = new Info(_arg1, _debug.infoTimeout);
addToPanel("analytics", _local2);
_local2.addEventListener(Event.REMOVED_FROM_STAGE, _clearInfo, false, 0, true);
if (_hasDebug){
visualDebug.write(_arg1);
};
}
public function createGIFRequestAlert(_arg1:String, _arg2:URLRequest, _arg3:GIFRequest):void{
var message = _arg1;
var request = _arg2;
var ref = _arg3;
if (_hasGRAlert){
_GRAlertQueue.push([message, request, ref]);
return;
};
_hasGRAlert = true;
var f:Function = function ():void{
ref.sendRequest(request);
};
message = _filterMaxChars(message);
var gra:GIFRequestAlert = new GIFRequestAlert(message, [new AlertAction("OK", "ok", f), new AlertAction("Cancel", "cancel", "close")]);
addToPanel("analytics", gra);
gra.addEventListener(Event.REMOVED_FROM_STAGE, _clearGRAlert, false, 0, true);
if (_hasDebug){
if (_debug.verbose){
message = message.split("\n").join("");
message = _filterMaxChars(message, 66);
};
visualDebug.write(message);
};
}
public function createVisualDebug():void{
if (!visualDebug){
visualDebug = new Debug();
visualDebug.alignement = Align.bottom;
visualDebug.stickToEdge = true;
addToPanel("analytics", visualDebug);
_hasDebug = true;
};
}
public function addToStage(_arg1:DisplayObject):void{
_display.stage.addChild(_arg1);
}
private function _clearWarning(_arg1:Event):void{
_hasWarning = false;
if (_warningQueue.length > 0){
createWarning(_warningQueue.shift());
};
}
public function createPanel(_arg1:String, _arg2:uint, _arg3:uint):void{
var _local4:Panel = new Panel(_arg1, _arg2, _arg3);
_local4.alignement = Align.center;
_local4.stickToEdge = false;
addToStage(_local4);
bringToFront(_local4);
}
public function destroy():void{
_mainPanel.close();
_debug.layout = null;
}
}
}//package com.google.analytics.debug
Section 79
//Margin (com.google.analytics.debug.Margin)
package com.google.analytics.debug {
public class Margin {
public var top:int;
public var left:int;
public var bottom:int;
public var right:int;
public function Margin(_arg1:int=0, _arg2:int=0, _arg3:int=0, _arg4:int=0){
this.top = _arg1;
this.bottom = _arg2;
this.left = _arg3;
this.right = _arg4;
}
}
}//package com.google.analytics.debug
Section 80
//Panel (com.google.analytics.debug.Panel)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
public class Panel extends UISprite {
private var _savedH:uint;
private var _data:UISprite;
private var _mask:Sprite;
private var _background:Shape;
private var _savedW:uint;
private var _stickToEdge:Boolean;
private var _border:Shape;
private var _borderColor:uint;
protected var baseAlpha:Number;
private var _backgroundColor:uint;
private var _title:Label;
private var _colapsed:Boolean;
private var _name:String;
public function Panel(_arg1:String, _arg2:uint, _arg3:uint, _arg4:uint=0, _arg5:uint=0, _arg6:Number=0.3, _arg7:Align=null, _arg8:Boolean=false){
_name = _arg1;
this.name = _arg1;
this.mouseEnabled = false;
_colapsed = false;
forcedWidth = _arg2;
forcedHeight = _arg3;
this.baseAlpha = _arg6;
_background = new Shape();
_data = new UISprite();
_data.forcedWidth = _arg2;
_data.forcedHeight = _arg3;
_data.mouseEnabled = false;
_title = new Label(_arg1, "uiLabel", 0xFFFFFF, Align.topLeft, _arg8);
_title.buttonMode = true;
_title.margin.top = 0.6;
_title.margin.left = 0.6;
_title.addEventListener(MouseEvent.CLICK, onToggle);
_title.mouseChildren = false;
_border = new Shape();
_mask = new Sprite();
_mask.useHandCursor = false;
_mask.mouseEnabled = false;
_mask.mouseChildren = false;
if (_arg7 == null){
_arg7 = Align.none;
};
this.alignement = _arg7;
this.stickToEdge = _arg8;
if (_arg4 == 0){
_arg4 = Style.backgroundColor;
};
_backgroundColor = _arg4;
if (_arg5 == 0){
_arg5 = Style.borderColor;
};
_borderColor = _arg5;
}
public function get stickToEdge():Boolean{
return (_stickToEdge);
}
public function onToggle(_arg1:MouseEvent=null):void{
if (_colapsed){
_data.visible = true;
} else {
_data.visible = false;
};
_colapsed = !(_colapsed);
_update();
resize();
}
public function set stickToEdge(_arg1:Boolean):void{
_stickToEdge = _arg1;
_title.stickToEdge = _arg1;
}
override protected function dispose():void{
_title.removeEventListener(MouseEvent.CLICK, onToggle);
super.dispose();
}
private function _draw():void{
var _local1:uint;
var _local2:uint;
if (((_savedW) && (_savedH))){
forcedWidth = _savedW;
forcedHeight = _savedH;
};
if (!_colapsed){
_local1 = forcedWidth;
_local2 = forcedHeight;
} else {
_local1 = _title.width;
_local2 = _title.height;
_savedW = forcedWidth;
_savedH = forcedHeight;
forcedWidth = _local1;
forcedHeight = _local2;
};
var _local3:Graphics = _background.graphics;
_local3.clear();
_local3.beginFill(_backgroundColor);
Background.drawRounded(this, _local3, _local1, _local2);
_local3.endFill();
var _local4:Graphics = _data.graphics;
_local4.clear();
_local4.beginFill(_backgroundColor, 0);
Background.drawRounded(this, _local4, _local1, _local2);
_local4.endFill();
var _local5:Graphics = _border.graphics;
_local5.clear();
_local5.lineStyle(0.1, _borderColor);
Background.drawRounded(this, _local5, _local1, _local2);
_local5.endFill();
var _local6:Graphics = _mask.graphics;
_local6.clear();
_local6.beginFill(_backgroundColor);
Background.drawRounded(this, _local6, (_local1 + 1), (_local2 + 1));
_local6.endFill();
}
public function get title():String{
return (_title.text);
}
private function _update():void{
_draw();
if (baseAlpha < 1){
_background.alpha = baseAlpha;
_border.alpha = baseAlpha;
};
}
public function addData(_arg1:DisplayObject):void{
_data.addChild(_arg1);
}
override protected function layout():void{
_update();
addChild(_background);
addChild(_data);
addChild(_title);
addChild(_border);
addChild(_mask);
mask = _mask;
}
public function set title(_arg1:String):void{
_title.text = _arg1;
}
public function close():void{
dispose();
if (parent != null){
parent.removeChild(this);
};
}
}
}//package com.google.analytics.debug
Section 81
//Style (com.google.analytics.debug.Style)
package com.google.analytics.debug {
public const Style:_Style = new _Style();
}//package com.google.analytics.debug
Section 82
//SuccessAlert (com.google.analytics.debug.SuccessAlert)
package com.google.analytics.debug {
public class SuccessAlert extends Alert {
public function SuccessAlert(_arg1:DebugConfiguration, _arg2:String, _arg3:Array){
var _local4:Align = Align.bottomLeft;
var _local5:Boolean;
var _local6:Boolean;
if (_arg1.verbose){
_arg2 = ((("<u><span class=\"uiAlertTitle\">Success</span>" + spaces(18)) + "</u>\n\n") + _arg2);
_local4 = Align.center;
_local5 = false;
_local6 = true;
};
super(_arg2, _arg3, "uiSuccess", Style.successColor, _local4, _local5, _local6);
}
}
}//package com.google.analytics.debug
Section 83
//UISprite (com.google.analytics.debug.UISprite)
package com.google.analytics.debug {
import flash.events.*;
import flash.display.*;
public class UISprite extends Sprite {
private var _forcedWidth:uint;
public var margin:Margin;
protected var alignTarget:DisplayObject;
protected var listenResize:Boolean;
public var alignement:Align;
private var _forcedHeight:uint;
public function UISprite(_arg1:DisplayObject=null){
listenResize = false;
alignement = Align.none;
this.alignTarget = _arg1;
margin = new Margin();
addEventListener(Event.ADDED_TO_STAGE, _onAddedToStage);
addEventListener(Event.REMOVED_FROM_STAGE, _onRemovedFromStage);
}
public function get forcedHeight():uint{
if (_forcedHeight){
return (_forcedHeight);
};
return (height);
}
private function _onAddedToStage(_arg1:Event):void{
layout();
resize();
}
protected function dispose():void{
var _local1:DisplayObject;
var _local2:int;
while (_local2 < numChildren) {
_local1 = getChildAt(_local2);
if (_local1){
removeChild(_local1);
};
_local2++;
};
}
public function set forcedHeight(_arg1:uint):void{
_forcedHeight = _arg1;
}
public function set forcedWidth(_arg1:uint):void{
_forcedWidth = _arg1;
}
protected function layout():void{
}
public function get forcedWidth():uint{
if (_forcedWidth){
return (_forcedWidth);
};
return (width);
}
public function alignTo(_arg1:Align, _arg2:DisplayObject=null):void{
var _local3:uint;
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local7:UISprite;
if (_arg2 == null){
if ((parent is Stage)){
_arg2 = this.stage;
} else {
_arg2 = parent;
};
};
if (_arg2 == this.stage){
if (this.stage == null){
return;
};
_local3 = this.stage.stageHeight;
_local4 = this.stage.stageWidth;
_local5 = 0;
_local6 = 0;
} else {
_local7 = (_arg2 as UISprite);
if (_local7.forcedHeight){
_local3 = _local7.forcedHeight;
} else {
_local3 = _local7.height;
};
if (_local7.forcedWidth){
_local4 = _local7.forcedWidth;
} else {
_local4 = _local7.width;
};
_local5 = 0;
_local6 = 0;
};
switch (_arg1){
case Align.top:
x = ((_local4 / 2) - (forcedWidth / 2));
y = (_local6 + margin.top);
break;
case Align.bottom:
x = ((_local4 / 2) - (forcedWidth / 2));
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
case Align.left:
x = (_local5 + margin.left);
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.right:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.center:
x = ((_local4 / 2) - (forcedWidth / 2));
y = ((_local3 / 2) - (forcedHeight / 2));
break;
case Align.topLeft:
x = (_local5 + margin.left);
y = (_local6 + margin.top);
break;
case Align.topRight:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = (_local6 + margin.top);
break;
case Align.bottomLeft:
x = (_local5 + margin.left);
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
case Align.bottomRight:
x = (((_local5 + _local4) - forcedWidth) - margin.right);
y = (((_local6 + _local3) - forcedHeight) - margin.bottom);
break;
};
if (((!(listenResize)) && (!((_arg1 == Align.none))))){
_arg2.addEventListener(Event.RESIZE, onResize, false, 0, true);
listenResize = true;
};
this.alignement = _arg1;
this.alignTarget = _arg2;
}
private function _onRemovedFromStage(_arg1:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, _onAddedToStage);
removeEventListener(Event.REMOVED_FROM_STAGE, _onRemovedFromStage);
dispose();
}
public function resize():void{
if (alignement != Align.none){
alignTo(alignement, alignTarget);
};
}
protected function onResize(_arg1:Event):void{
resize();
}
}
}//package com.google.analytics.debug
Section 84
//Warning (com.google.analytics.debug.Warning)
package com.google.analytics.debug {
import flash.events.*;
import flash.utils.*;
public class Warning extends Label {
private var _timer:Timer;
public function Warning(_arg1:String="", _arg2:uint=3000){
super(_arg1, "uiWarning", Style.warningColor, Align.top, false);
margin.top = 32;
if (_arg2 > 0){
_timer = new Timer(_arg2, 1);
_timer.start();
_timer.addEventListener(TimerEvent.TIMER_COMPLETE, onComplete, false, 0, true);
};
}
public function close():void{
if (parent != null){
parent.removeChild(this);
};
}
override public function onLink(_arg1:TextEvent):void{
switch (_arg1.text){
case "hide":
close();
break;
};
}
public function onComplete(_arg1:TimerEvent):void{
close();
}
}
}//package com.google.analytics.debug
Section 85
//VisualDebugMode (com.google.analytics.debug.VisualDebugMode)
package com.google.analytics.debug {
public class VisualDebugMode {
private var _value:int;
private var _name:String;
public static const advanced:VisualDebugMode = new VisualDebugMode(1, "advanced");
;
public static const geek:VisualDebugMode = new VisualDebugMode(2, "geek");
;
public static const basic:VisualDebugMode = new VisualDebugMode(0, "basic");
;
public function VisualDebugMode(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.debug
Section 86
//Item (com.google.analytics.ecommerce.Item)
package com.google.analytics.ecommerce {
import com.google.analytics.utils.*;
public class Item {
private var _price:String;
private var _id:String;
private var _sku:String;
private var _category:String;
private var _quantity:String;
private var _name:String;
public function Item(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String){
this._id = _arg1;
this._sku = _arg2;
this._name = _arg3;
this._category = _arg4;
this._price = _arg5;
this._quantity = _arg6;
}
public function set sku(_arg1:String):void{
_sku = _arg1;
}
public function get price():String{
return (_price);
}
public function get name():String{
return (_name);
}
public function get quantity():String{
return (_quantity);
}
public function set name(_arg1:String):void{
_name = _arg1;
}
public function set price(_arg1:String):void{
_price = _arg1;
}
public function get id():String{
return (_id);
}
public function get sku():String{
return (_sku);
}
public function set quantity(_arg1:String):void{
_quantity = _arg1;
}
public function toGifParams():Variables{
var _local1:Variables = new Variables();
_local1.URIencode = true;
_local1.post = ["utmt", "utmtid", "utmipc", "utmipn", "utmiva", "utmipr", "utmiqt"];
_local1.utmt = "item";
_local1.utmtid = _id;
_local1.utmipc = _sku;
_local1.utmipn = _name;
_local1.utmiva = _category;
_local1.utmipr = _price;
_local1.utmiqt = _quantity;
return (_local1);
}
public function set id(_arg1:String):void{
_id = _arg1;
}
public function set category(_arg1:String):void{
_category = _arg1;
}
public function get category():String{
return (_category);
}
}
}//package com.google.analytics.ecommerce
Section 87
//Transaction (com.google.analytics.ecommerce.Transaction)
package com.google.analytics.ecommerce {
import com.google.analytics.utils.*;
public class Transaction {
private var _items:Array;
private var _total:String;
private var _vars:Variables;
private var _shipping:String;
private var _city:String;
private var _state:String;
private var _country:String;
private var _tax:String;
private var _affiliation:String;
private var _id:String;
public function Transaction(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:String, _arg8:String){
this._id = _arg1;
this._affiliation = _arg2;
this._total = _arg3;
this._tax = _arg4;
this._shipping = _arg5;
this._city = _arg6;
this._state = _arg7;
this._country = _arg8;
_items = new Array();
}
public function get total():String{
return (_total);
}
public function getItemFromArray(_arg1:Number):Item{
return (_items[_arg1]);
}
public function set total(_arg1:String):void{
_total = _arg1;
}
public function getItem(_arg1:String):Item{
var _local2:Number;
_local2 = 0;
while (_local2 < _items.length) {
if (_items[_local2].sku == _arg1){
return (_items[_local2]);
};
_local2++;
};
return (null);
}
public function getItemsLength():Number{
return (_items.length);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String):void{
var _local6:Item;
_local6 = getItem(_arg1);
if (_local6 == null){
_local6 = new Item(_id, _arg1, _arg2, _arg3, _arg4, _arg5);
_items.push(_local6);
} else {
_local6.name = _arg2;
_local6.category = _arg3;
_local6.price = _arg4;
_local6.quantity = _arg5;
};
}
public function set shipping(_arg1:String):void{
_shipping = _arg1;
}
public function get country():String{
return (_country);
}
public function get state():String{
return (_state);
}
public function set tax(_arg1:String):void{
_tax = _arg1;
}
public function set affiliation(_arg1:String):void{
_affiliation = _arg1;
}
public function set state(_arg1:String):void{
_state = _arg1;
}
public function get id():String{
return (_id);
}
public function get tax():String{
return (_tax);
}
public function toGifParams():Variables{
var _local1:Variables = new Variables();
_local1.URIencode = true;
_local1.utmt = "tran";
_local1.utmtid = id;
_local1.utmtst = affiliation;
_local1.utmtto = total;
_local1.utmttx = tax;
_local1.utmtsp = shipping;
_local1.utmtci = city;
_local1.utmtrg = state;
_local1.utmtco = country;
_local1.post = ["utmtid", "utmtst", "utmtto", "utmttx", "utmtsp", "utmtci", "utmtrg", "utmtco"];
return (_local1);
}
public function get affiliation():String{
return (_affiliation);
}
public function get city():String{
return (_city);
}
public function get shipping():String{
return (_shipping);
}
public function set id(_arg1:String):void{
_id = _arg1;
}
public function set city(_arg1:String):void{
_city = _arg1;
}
public function set country(_arg1:String):void{
_country = _arg1;
}
}
}//package com.google.analytics.ecommerce
Section 88
//AnalyticsEvent (com.google.analytics.events.AnalyticsEvent)
package com.google.analytics.events {
import flash.events.*;
import com.google.analytics.*;
public class AnalyticsEvent extends Event {
public var tracker:AnalyticsTracker;
public static const READY:String = "ready";
public function AnalyticsEvent(_arg1:String, _arg2:AnalyticsTracker, _arg3:Boolean=false, _arg4:Boolean=false){
super(_arg1, _arg3, _arg4);
this.tracker = _arg2;
}
override public function clone():Event{
return (new AnalyticsEvent(type, tracker, bubbles, cancelable));
}
}
}//package com.google.analytics.events
Section 89
//AdSenseGlobals (com.google.analytics.external.AdSenseGlobals)
package com.google.analytics.external {
import com.google.analytics.debug.*;
public class AdSenseGlobals extends JavascriptProxy {
private var _gaGlobalVerified:Boolean;// = false
public static var gaGlobal_js:XML = <script>
<![CDATA[
function()
{
try
{
gaGlobal
}
catch(e)
{
gaGlobal = {} ;
}
}
]]>
</script>
;
public function AdSenseGlobals(_arg1:DebugConfiguration){
super(_arg1);
}
public function set vid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.vid", _arg1);
}
public function get hid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.hid"));
}
public function set hid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.hid", _arg1);
}
public function get dh():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.dh"));
}
public function get sid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.sid"));
}
public function get vid():String{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal.vid"));
}
private function _verify():void{
if (!_gaGlobalVerified){
executeBlock(gaGlobal_js);
_gaGlobalVerified = true;
};
}
public function set sid(_arg1:String):void{
if (!isAvailable()){
return;
};
_verify();
setProperty("gaGlobal.sid", _arg1);
}
public function get gaGlobal():Object{
if (!isAvailable()){
return (null);
};
_verify();
return (getProperty("gaGlobal"));
}
}
}//package com.google.analytics.external
Section 90
//HTMLDOM (com.google.analytics.external.HTMLDOM)
package com.google.analytics.external {
import com.google.analytics.debug.*;
public class HTMLDOM extends JavascriptProxy {
private var _referrer:String;
private var _language:String;
private var _host:String;
private var _pathname:String;
private var _location:String;
private var _search:String;
private var _characterSet:String;
private var _title:String;
private var _protocol:String;
private var _colorDepth:String;
public static var cache_properties_js:XML = <script>
<![CDATA[
function()
{
var obj = {};
obj.host = document.location.host;
obj.language = navigator.language ? navigator.language : navigator.browserLanguage;
obj.characterSet = document.characterSet ? document.characterSet : document.charset;
obj.colorDepth = window.screen.colorDepth;
obj.location = document.location.toString();
obj.pathname = document.location.pathname;
obj.protocol = document.location.protocol;
obj.search = document.location.search;
obj.referrer = document.referrer;
obj.title = document.title;
return obj;
}
]]>
</script>
;
public function HTMLDOM(_arg1:DebugConfiguration){
super(_arg1);
}
public function get search():String{
if (_search){
return (_search);
};
if (!isAvailable()){
return (null);
};
_search = getProperty("document.location.search");
return (_search);
}
public function get location():String{
if (_location){
return (_location);
};
if (!isAvailable()){
return (null);
};
_location = getPropertyString("document.location");
return (_location);
}
public function get pathname():String{
if (_pathname){
return (_pathname);
};
if (!isAvailable()){
return (null);
};
_pathname = getProperty("document.location.pathname");
return (_pathname);
}
public function cacheProperties():void{
if (!isAvailable()){
return;
};
var _local1:Object = call(cache_properties_js);
if (_local1){
_host = _local1.host;
_language = _local1.language;
_characterSet = _local1.characterSet;
_colorDepth = _local1.colorDepth;
_location = _local1.location;
_pathname = _local1.pathname;
_protocol = _local1.protocol;
_search = _local1.search;
_referrer = _local1.referrer;
_title = _local1.title;
};
}
public function get language():String{
if (_language){
return (_language);
};
if (!isAvailable()){
return (null);
};
var _local1:String = getProperty("navigator.language");
if (_local1 == null){
_local1 = getProperty("navigator.browserLanguage");
};
_language = _local1;
return (_language);
}
public function get colorDepth():String{
if (_colorDepth){
return (_colorDepth);
};
if (!isAvailable()){
return (null);
};
_colorDepth = getProperty("window.screen.colorDepth");
return (_colorDepth);
}
public function get referrer():String{
if (_referrer){
return (_referrer);
};
if (!isAvailable()){
return (null);
};
_referrer = getProperty("document.referrer");
return (_referrer);
}
public function get protocol():String{
if (_protocol){
return (_protocol);
};
if (!isAvailable()){
return (null);
};
_protocol = getProperty("document.location.protocol");
return (_protocol);
}
public function get host():String{
if (_host){
return (_host);
};
if (!isAvailable()){
return (null);
};
_host = getProperty("document.location.host");
return (_host);
}
public function get characterSet():String{
if (_characterSet){
return (_characterSet);
};
if (!isAvailable()){
return (null);
};
var _local1:String = getProperty("document.characterSet");
if (_local1 == null){
_local1 = getProperty("document.charset");
};
_characterSet = _local1;
return (_characterSet);
}
public function get title():String{
if (_title){
return (_title);
};
if (!isAvailable()){
return (null);
};
_title = getProperty("document.title");
return (_title);
}
}
}//package com.google.analytics.external
Section 91
//JavascriptProxy (com.google.analytics.external.JavascriptProxy)
package com.google.analytics.external {
import com.google.analytics.debug.*;
import flash.system.*;
import flash.external.*;
public class JavascriptProxy {
private var _notAvailableWarning:Boolean;// = true
private var _debug:DebugConfiguration;
public static var setProperty_js:XML = <script>
<![CDATA[
function( path , value )
{
var paths;
var prop;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
prop = paths.pop() ;
}
else
{
paths = [];
prop = path;
}
var target = window ;
var len = paths.length ;
for( var i = 0 ; i < len ; i++ )
{
target = target[ paths[i] ] ;
}
target[ prop ] = value ;
}
]]>
</script>
;
public static var hasProperty_js:XML = <script>
<![CDATA[
function( path )
{
var paths;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
}
else
{
paths = [path];
}
var target = window ;
var len = paths.length ;
for( var i = 0 ; i < len ; i++ )
{
target = target[ paths[i] ] ;
}
if( target )
{
return true;
}
else
{
return false;
}
}
]]>
</script>
;
public static var setPropertyRef_js:XML = <script>
<![CDATA[
function( path , target )
{
var paths;
var prop;
if( path.indexOf(".") > 0 )
{
paths = path.split(".");
prop = paths.pop() ;
}
else
{
paths = [];
prop = path;
}
alert( "paths:"+paths.length+", prop:"+prop );
var targets;
var name;
if( target.indexOf(".") > 0 )
{
targets = target.split(".");
name = targets.pop();
}
else
{
targets = [];
name = target;
}
alert( "targets:"+targets.length+", name:"+name );
var root = window;
var len = paths.length;
for( var i = 0 ; i < len ; i++ )
{
root = root[ paths[i] ] ;
}
var ref = window;
var depth = targets.length;
for( var j = 0 ; j < depth ; j++ )
{
ref = ref[ targets[j] ] ;
}
root[ prop ] = ref[name] ;
}
]]>
</script>
;
public function JavascriptProxy(_arg1:DebugConfiguration){
_debug = _arg1;
}
public function getProperty(_arg1:String){
return (call((_arg1 + ".valueOf")));
}
public function hasProperty(_arg1:String):Boolean{
return (call(hasProperty_js, _arg1));
}
public function setProperty(_arg1:String, _arg2):void{
call(setProperty_js, _arg1, _arg2);
}
public function executeBlock(_arg1:String):void{
var data = _arg1;
if (isAvailable()){
try {
ExternalInterface.call(data);
} catch(e:SecurityError) {
if (_debug.javascript){
_debug.warning("ExternalInterface is not allowed.\nEnsure that allowScriptAccess is set to \"always\" in the Flash embed HTML.");
};
} catch(e:Error) {
if (_debug.javascript){
_debug.warning(("ExternalInterface failed to make the call\nreason: " + e.message));
};
};
};
}
public function getPropertyString(_arg1:String):String{
return (call((_arg1 + ".toString")));
}
public function setPropertyByReference(_arg1:String, _arg2:String):void{
call(setPropertyRef_js, _arg1, _arg2);
}
public function call(_arg1:String, ... _args){
var output:String;
var functionName = _arg1;
var args = _args;
if (isAvailable()){
try {
if (((_debug.javascript) && (_debug.verbose))){
output = "";
output = ("Flash->JS: " + functionName);
output = (output + "( ");
if (args.length > 0){
output = (output + args.join(","));
};
output = (output + " )");
_debug.info(output);
};
args.unshift(functionName);
return (ExternalInterface.call.apply(ExternalInterface, args));
} catch(e:SecurityError) {
if (_debug.javascript){
_debug.warning("ExternalInterface is not allowed.\nEnsure that allowScriptAccess is set to \"always\" in the Flash embed HTML.");
};
} catch(e:Error) {
if (_debug.javascript){
_debug.warning(("ExternalInterface failed to make the call\nreason: " + e.message));
};
};
};
return (null);
}
public function isAvailable():Boolean{
var _local1:Boolean = ExternalInterface.available;
if (((_local1) && ((Capabilities.playerType == "External")))){
_local1 = false;
};
if (((((!(_local1)) && (_debug.javascript))) && (_notAvailableWarning))){
_debug.warning("ExternalInterface is not available.");
_notAvailableWarning = false;
};
return (_local1);
}
}
}//package com.google.analytics.external
Section 92
//Environment (com.google.analytics.utils.Environment)
package com.google.analytics.utils {
import com.google.analytics.debug.*;
import com.google.analytics.external.*;
import flash.system.*;
public class Environment {
private var _dom:HTMLDOM;
private var _appName:String;
private var _debug:DebugConfiguration;
private var _appVersion:Version;
private var _url:String;
private var _protocol:Protocols;
private var _userAgent:UserAgent;
public function Environment(_arg1:String="", _arg2:String="", _arg3:String="", _arg4:DebugConfiguration=null, _arg5:HTMLDOM=null){
var _local6:Version;
super();
if (_arg2 == ""){
if (isAIR()){
_arg2 = "AIR";
} else {
_arg2 = "Flash";
};
};
if (_arg3 == ""){
_local6 = flashVersion;
} else {
_local6 = Version.fromString(_arg3);
};
_url = _arg1;
_appName = _arg2;
_appVersion = _local6;
_debug = _arg4;
_dom = _arg5;
}
public function isAIR():Boolean{
return ((((playerType == "Desktop")) && ((Security.sandboxType.toString() == "application"))));
}
public function get screenWidth():Number{
return (Capabilities.screenResolutionX);
}
public function get playerType():String{
return (Capabilities.playerType);
}
public function get locationSearch():String{
var _local1:String = _dom.search;
if (_local1){
return (_local1);
};
return ("");
}
public function get protocol():Protocols{
if (!_protocol){
_findProtocol();
};
return (_protocol);
}
public function get flashVersion():Version{
var _local1:Version = Version.fromString(Capabilities.version.split(" ")[1], ",");
return (_local1);
}
public function get userAgent():UserAgent{
if (!_userAgent){
_userAgent = new UserAgent(this, appName, appVersion.toString(4));
};
return (_userAgent);
}
public function get languageEncoding():String{
var _local1:String;
if (System.useCodePage){
_local1 = _dom.characterSet;
if (_local1){
return (_local1);
};
return ("-");
};
return ("UTF-8");
}
public function get appName():String{
return (_appName);
}
public function get screenColorDepth():String{
var _local1:String;
switch (Capabilities.screenColor){
case "bw":
_local1 = "1";
break;
case "gray":
_local1 = "2";
break;
case "color":
default:
_local1 = "24";
};
var _local2:String = _dom.colorDepth;
if (_local2){
_local1 = _local2;
};
return (_local1);
}
private function _findProtocol():void{
var _local4:String;
var _local5:String;
var _local1:Protocols = Protocols.none;
if (_url != ""){
_local4 = _url.toLowerCase();
_local5 = _local4.substr(0, 5);
switch (_local5){
case "file:":
_local1 = Protocols.file;
break;
case "http:":
_local1 = Protocols.HTTP;
break;
case "https":
if (_local4.charAt(5) == ":"){
_local1 = Protocols.HTTPS;
};
break;
default:
_protocol = Protocols.none;
};
};
var _local2:String = _dom.protocol;
var _local3:String = (_local1.toString() + ":").toLowerCase();
if (((((_local2) && (!((_local2 == _local3))))) && (_debug))){
_debug.warning(((("Protocol mismatch: SWF=" + _local3) + ", DOM=") + _local2));
};
_protocol = _local1;
}
public function get locationSWFPath():String{
return (_url);
}
public function get platform():String{
var _local1:String = Capabilities.manufacturer;
return (_local1.split("Adobe ")[1]);
}
public function get operatingSystem():String{
return (Capabilities.os);
}
public function set appName(_arg1:String):void{
_appName = _arg1;
userAgent.applicationProduct = _arg1;
}
function set url(_arg1:String):void{
_url = _arg1;
}
public function get referrer():String{
var _local1:String = _dom.referrer;
if (_local1){
return (_local1);
};
if (protocol == Protocols.file){
return ("localhost");
};
return ("");
}
public function isInHTML():Boolean{
return ((Capabilities.playerType == "PlugIn"));
}
public function get language():String{
var _local1:String = _dom.language;
var _local2:String = Capabilities.language;
if (_local1){
if ((((_local1.length > _local2.length)) && ((_local1.substr(0, _local2.length) == _local2)))){
_local2 = _local1;
};
};
return (_local2);
}
public function get domainName():String{
var _local1:String;
var _local2:String;
var _local3:int;
if ((((protocol == Protocols.HTTP)) || ((protocol == Protocols.HTTPS)))){
_local1 = _url.toLowerCase();
if (protocol == Protocols.HTTP){
_local2 = _local1.split("http://").join("");
} else {
if (protocol == Protocols.HTTPS){
_local2 = _local1.split("https://").join("");
};
};
_local3 = _local2.indexOf("/");
if (_local3 > -1){
_local2 = _local2.substring(0, _local3);
};
return (_local2);
};
if (protocol == Protocols.file){
return ("localhost");
};
return ("");
}
public function set userAgent(_arg1:UserAgent):void{
_userAgent = _arg1;
}
public function set appVersion(_arg1:Version):void{
_appVersion = _arg1;
userAgent.applicationVersion = _arg1.toString(4);
}
public function get screenHeight():Number{
return (Capabilities.screenResolutionY);
}
public function get locationPath():String{
var _local1:String = _dom.pathname;
if (_local1){
return (_local1);
};
return ("");
}
public function get documentTitle():String{
var _local1:String = _dom.title;
if (_local1){
return (_local1);
};
return ("");
}
public function get appVersion():Version{
return (_appVersion);
}
}
}//package com.google.analytics.utils
Section 93
//Protocols (com.google.analytics.utils.Protocols)
package com.google.analytics.utils {
public class Protocols {
private var _value:int;
private var _name:String;
public static const none:Protocols = new Protocols(0, "none");
;
public static const HTTPS:Protocols = new Protocols(3, "HTTPS");
;
public static const file:Protocols = new Protocols(1, "file");
;
public static const HTTP:Protocols = new Protocols(2, "HTTP");
;
public function Protocols(_arg1:int=0, _arg2:String=""){
_value = _arg1;
_name = _arg2;
}
public function valueOf():int{
return (_value);
}
public function toString():String{
return (_name);
}
}
}//package com.google.analytics.utils
Section 94
//Timespan (com.google.analytics.utils.Timespan)
package com.google.analytics.utils {
public class Timespan {
public static var sixmonths:Number = 15768000;
public static var twoyears:Number = 63072000;
public static var thirtyminutes:Number = 1800;
}
}//package com.google.analytics.utils
Section 95
//URL (com.google.analytics.utils.URL)
package com.google.analytics.utils {
public class URL {
private var _url:String;
public function URL(_arg1:String=""){
_url = _arg1.toLowerCase();
}
public function get domain():String{
var _local1:Array;
if (((!((hostName == ""))) && ((hostName.indexOf(".") > -1)))){
_local1 = hostName.split(".");
switch (_local1.length){
case 2:
return (hostName);
case 3:
if (_local1[1] == "co"){
return (hostName);
};
_local1.shift();
return (_local1.join("."));
case 4:
_local1.shift();
return (_local1.join("."));
};
};
return ("");
}
public function get path():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf(hostName) == 0){
_local1 = _local1.substr(hostName.length);
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[0];
};
if (_local1.charAt(0) != "/"){
_local1 = ("/" + _local1);
};
return (_local1);
}
public function get protocol():Protocols{
var _local1:String = _url.split("://")[0];
switch (_local1){
case "file":
return (Protocols.file);
case "http":
return (Protocols.HTTP);
case "https":
return (Protocols.HTTPS);
default:
return (Protocols.none);
};
}
public function get hostName():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf("/") > -1){
_local1 = _local1.split("/")[0];
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[0];
};
if ((((protocol == Protocols.file)) || ((protocol == Protocols.none)))){
return ("");
};
return (_local1);
}
public function get subDomain():String{
if (((!((domain == ""))) && (!((domain == hostName))))){
return (hostName.split(("." + domain)).join(""));
};
return ("");
}
public function get search():String{
var _local1:String = _url;
if (_local1.indexOf("://") > -1){
_local1 = _local1.split("://")[1];
};
if (_local1.indexOf(hostName) == 0){
_local1 = _local1.substr(hostName.length);
};
if (_local1.indexOf("?") > -1){
_local1 = _local1.split("?")[1];
} else {
_local1 = "";
};
return (_local1);
}
}
}//package com.google.analytics.utils
Section 96
//UserAgent (com.google.analytics.utils.UserAgent)
package com.google.analytics.utils {
import com.google.analytics.core.*;
import flash.system.*;
public class UserAgent {
private var _localInfo:Environment;
private var _applicationProduct:String;
private var _version:Version;
public static var minimal:Boolean = false;
public function UserAgent(_arg1:Environment, _arg2:String="", _arg3:String=""){
_localInfo = _arg1;
applicationProduct = _arg2;
_version = Version.fromString(_arg3);
}
public function get tamarinProductToken():String{
if (UserAgent.minimal){
return ("");
};
if (System.vmVersion){
return (("Tamarin/" + Utils.trim(System.vmVersion, true)));
};
return ("");
}
public function get applicationVersion():String{
return (_version.toString(2));
}
public function get vendorProductToken():String{
var _local1 = "";
if (_localInfo.isAIR()){
_local1 = (_local1 + "AIR");
} else {
_local1 = (_local1 + "FlashPlayer");
};
_local1 = (_local1 + "/");
_local1 = (_local1 + _version.toString(3));
return (_local1);
}
public function toString():String{
var _local1 = "";
_local1 = (_local1 + applicationProductToken);
if (applicationComment != ""){
_local1 = (_local1 + (" " + applicationComment));
};
if (tamarinProductToken != ""){
_local1 = (_local1 + (" " + tamarinProductToken));
};
if (vendorProductToken != ""){
_local1 = (_local1 + (" " + vendorProductToken));
};
return (_local1);
}
public function get applicationComment():String{
var _local1:Array = [];
_local1.push(_localInfo.platform);
_local1.push(_localInfo.playerType);
if (!UserAgent.minimal){
_local1.push(_localInfo.operatingSystem);
_local1.push(_localInfo.language);
};
if (Capabilities.isDebugger){
_local1.push("DEBUG");
};
if (_local1.length > 0){
return ((("(" + _local1.join("; ")) + ")"));
};
return ("");
}
public function set applicationVersion(_arg1:String):void{
_version = Version.fromString(_arg1);
}
public function get applicationProductToken():String{
var _local1:String = applicationProduct;
if (applicationVersion != ""){
_local1 = (_local1 + ("/" + applicationVersion));
};
return (_local1);
}
public function set applicationProduct(_arg1:String):void{
_applicationProduct = _arg1;
}
public function get applicationProduct():String{
return (_applicationProduct);
}
}
}//package com.google.analytics.utils
Section 97
//Variables (com.google.analytics.utils.Variables)
package com.google.analytics.utils {
import flash.net.*;
public dynamic class Variables {
public var post:Array;
public var URIencode:Boolean;
public var pre:Array;
public var sort:Boolean;// = true
public function Variables(_arg1:String=null, _arg2:Array=null, _arg3:Array=null){
pre = [];
post = [];
super();
if (_arg1){
decode(_arg1);
};
if (_arg2){
this.pre = _arg2;
};
if (_arg3){
this.post = _arg3;
};
}
private function _join(_arg1:Variables):void{
var _local2:String;
if (!_arg1){
return;
};
for (_local2 in _arg1) {
this[_local2] = _arg1[_local2];
};
}
public function join(... _args):void{
var _local2:int = _args.length;
var _local3:int;
while (_local3 < _local2) {
if (!(_args[_local3] is Variables)){
} else {
_join(_args[_local3]);
};
_local3++;
};
}
public function toString():String{
var _local2:String;
var _local3:String;
var _local4:String;
var _local5:int;
var _local6:int;
var _local7:String;
var _local8:String;
var _local1:Array = [];
for (_local3 in this) {
_local2 = this[_local3];
if (URIencode){
_local2 = encodeURI(_local2);
};
_local1.push(((_local3 + "=") + _local2));
};
if (sort){
_local1.sort();
};
if (pre.length > 0){
pre.reverse();
_local5 = 0;
while (_local5 < pre.length) {
_local7 = pre[_local5];
_local6 = 0;
while (_local6 < _local1.length) {
_local4 = _local1[_local6];
if (_local4.indexOf(_local7) == 0){
_local1.unshift(_local1.splice(_local6, 1)[0]);
};
_local6++;
};
_local5++;
};
pre.reverse();
};
if (post.length > 0){
_local5 = 0;
while (_local5 < post.length) {
_local8 = post[_local5];
_local6 = 0;
while (_local6 < _local1.length) {
_local4 = _local1[_local6];
if (_local4.indexOf(_local8) == 0){
_local1.push(_local1.splice(_local6, 1)[0]);
};
_local6++;
};
_local5++;
};
};
return (_local1.join("&"));
}
public function decode(_arg1:String):void{
var _local2:Array;
var _local3:String;
var _local4:String;
var _local5:String;
var _local6:Array;
if (_arg1 == ""){
return;
};
if (_arg1.charAt(0) == "?"){
_arg1 = _arg1.substr(1, _arg1.length);
};
if (_arg1.indexOf("&") > -1){
_local2 = _arg1.split("&");
} else {
_local2 = [_arg1];
};
var _local7:int;
while (_local7 < _local2.length) {
_local3 = _local2[_local7];
if (_local3.indexOf("=") > -1){
_local6 = _local3.split("=");
_local4 = _local6[0];
_local5 = decodeURI(_local6[1]);
this[_local4] = _local5;
};
_local7++;
};
}
public function toURLVariables():URLVariables{
var _local2:String;
var _local1:URLVariables = new URLVariables();
for (_local2 in this) {
_local1[_local2] = this[_local2];
};
return (_local1);
}
}
}//package com.google.analytics.utils
Section 98
//Version (com.google.analytics.utils.Version)
package com.google.analytics.utils {
public class Version {
private var _revision:uint;
private var _maxBuild:uint;// = 0xFF
private var _maxMinor:uint;// = 15
private var _maxMajor:uint;// = 15
private var _separator:String;// = "."
private var _maxRevision:uint;// = 0xFFFF
private var _build:uint;
private var _major:uint;
private var _minor:uint;
public function Version(_arg1:uint=0, _arg2:uint=0, _arg3:uint=0, _arg4:uint=0){
var _local5:Version;
super();
if ((((((((_arg1 > _maxMajor)) && ((_arg2 == 0)))) && ((_arg3 == 0)))) && ((_arg4 == 0)))){
_local5 = Version.fromNumber(_arg1);
_arg1 = _local5.major;
_arg2 = _local5.minor;
_arg3 = _local5.build;
_arg4 = _local5.revision;
};
this.major = _arg1;
this.minor = _arg2;
this.build = _arg3;
this.revision = _arg4;
}
public function toString(_arg1:int=0):String{
var _local2:Array;
if ((((_arg1 <= 0)) || ((_arg1 > 4)))){
_arg1 = getFields();
};
switch (_arg1){
case 1:
_local2 = [major];
break;
case 2:
_local2 = [major, minor];
break;
case 3:
_local2 = [major, minor, build];
break;
case 4:
default:
_local2 = [major, minor, build, revision];
};
return (_local2.join(_separator));
}
public function set revision(_arg1:uint):void{
_revision = Math.min(_arg1, _maxRevision);
}
public function get revision():uint{
return (_revision);
}
public function set build(_arg1:uint):void{
_build = Math.min(_arg1, _maxBuild);
}
public function set minor(_arg1:uint):void{
_minor = Math.min(_arg1, _maxMinor);
}
public function get build():uint{
return (_build);
}
public function set major(_arg1:uint):void{
_major = Math.min(_arg1, _maxMajor);
}
public function get minor():uint{
return (_minor);
}
private function getFields():int{
var _local1 = 4;
if (revision == 0){
_local1--;
};
if ((((_local1 == 3)) && ((build == 0)))){
_local1--;
};
if ((((_local1 == 2)) && ((minor == 0)))){
_local1--;
};
return (_local1);
}
public function valueOf():uint{
return (((((major << 28) | (minor << 24)) | (build << 16)) | revision));
}
public function get major():uint{
return (_major);
}
public function equals(_arg1):Boolean{
if (!(_arg1 is Version)){
return (false);
};
if ((((((((_arg1.major == major)) && ((_arg1.minor == minor)))) && ((_arg1.build == build)))) && ((_arg1.revision == revision)))){
return (true);
};
return (false);
}
public static function fromString(_arg1:String="", _arg2:String="."):Version{
var _local4:Array;
var _local3:Version = new (Version);
if ((((_arg1 == "")) || ((_arg1 == null)))){
return (_local3);
};
if (_arg1.indexOf(_arg2) > -1){
_local4 = _arg1.split(_arg2);
_local3.major = parseInt(_local4[0]);
_local3.minor = parseInt(_local4[1]);
_local3.build = parseInt(_local4[2]);
_local3.revision = parseInt(_local4[3]);
} else {
_local3.major = parseInt(_arg1);
};
return (_local3);
}
public static function fromNumber(_arg1:Number=0):Version{
var _local2:Version = new (Version);
if (((((((((((isNaN(_arg1)) || ((_arg1 == 0)))) || ((_arg1 < 0)))) || ((_arg1 == Number.MAX_VALUE)))) || ((_arg1 == Number.POSITIVE_INFINITY)))) || ((_arg1 == Number.NEGATIVE_INFINITY)))){
return (_local2);
};
_local2.major = (_arg1 >>> 28);
_local2.minor = ((_arg1 & 251658240) >>> 24);
_local2.build = ((_arg1 & 0xFF0000) >>> 16);
_local2.revision = (_arg1 & 0xFFFF);
return (_local2);
}
}
}//package com.google.analytics.utils
Section 99
//Bridge (com.google.analytics.v4.Bridge)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.external.*;
public class Bridge implements GoogleAnalyticsAPI {
private var _debug:DebugConfiguration;
private var _proxy:JavascriptProxy;
private var _jsContainer:String;// = "_GATracker"
private var _hasGATracker:Boolean;// = false
private var _account:String;
private static var _linkTrackingObject_js:XML = <script>
<![CDATA[
function( container , target )
{
var targets ;
var name ;
if( target.indexOf(".") > 0 )
{
targets = target.split(".");
name = targets.pop();
}
else
{
targets = [];
name = target;
}
var ref = window;
var depth = targets.length;
for( var j = 0 ; j < depth ; j++ )
{
ref = ref[ targets[j] ] ;
}
window[container][target] = ref[name] ;
}
]]>
</script>
;
private static var _createTrackingObject_js:XML = <script>
<![CDATA[
function( acct )
{
_GATracker[acct] = _gat._getTracker(acct);
}
]]>
</script>
;
private static var _injectTrackingObject_js:XML = <script>
<![CDATA[
function()
{
try
{
_GATracker
}
catch(e)
{
_GATracker = {};
}
}
]]>
</script>
;
private static var _checkGAJS_js:XML = <script>
<![CDATA[
function()
{
if( _gat && _gat._getTracker )
{
return true;
}
return false;
}
]]>
</script>
;
private static var _checkValidTrackingObject_js:XML = <script>
<![CDATA[
function(acct)
{
if( _GATracker[acct] && (_GATracker[acct]._getAccount) )
{
return true ;
}
else
{
return false;
}
}
]]>
</script>
;
public function Bridge(_arg1:String, _arg2:DebugConfiguration, _arg3:JavascriptProxy){
var _local4:String;
var _local5:String;
var _local6:String;
super();
_account = _arg1;
_debug = _arg2;
_proxy = _arg3;
if (!_checkGAJS()){
_local4 = "";
_local4 = (_local4 + "ga.js not found, be sure to check if\n");
_local4 = (_local4 + "<script src=\"http://www.google-analytics.com/ga.js\"></script>\n");
_local4 = (_local4 + "is included in the HTML.");
_debug.warning(_local4);
throw (new Error(_local4));
};
if (!_hasGATracker){
if (((_debug.javascript) && (_debug.verbose))){
_local5 = "";
_local5 = (_local5 + "The Google Analytics tracking code was not found on the container page\n");
_local5 = (_local5 + "we create it");
_debug.info(_local5, VisualDebugMode.advanced);
};
_injectTrackingObject();
};
if (Utils.validateAccount(_arg1)){
_createTrackingObject(_arg1);
} else {
if (_checkTrackingObject(_arg1)){
_linkTrackingObject(_arg1);
} else {
_local6 = "";
_local6 = (_local6 + (("JS Object \"" + _arg1) + "\" doesn't exist in DOM\n"));
_local6 = (_local6 + "Bridge object not created.");
_debug.warning(_local6);
throw (new Error(_local6));
};
};
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_debug.info((((("link( " + _arg1) + ", ") + _arg2) + " )"));
_call("_link", _arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_debug.info((("addOrganic( " + [_arg1, _arg2].join(", ")) + " )"));
_call("_addOrganic", _arg1);
}
public function setAllowLinker(_arg1:Boolean):void{
_debug.info((("setAllowLinker( " + _arg1) + " )"));
_call("_setAllowLinker", _arg1);
}
public function getLinkerUrl(_arg1:String="", _arg2:Boolean=false):String{
_debug.info((((("getLinkerUrl(" + _arg1) + ", ") + _arg2) + ")"));
return (_call("_getLinkerUrl", _arg1, _arg2));
}
private function _linkTrackingObject(_arg1:String):void{
_proxy.call(_linkTrackingObject_js, _jsContainer, _arg1);
}
public function setClientInfo(_arg1:Boolean):void{
_debug.info((("setClientInfo( " + _arg1) + " )"));
_call("_setClientInfo", _arg1);
}
public function trackTrans():void{
_debug.info("trackTrans()");
_call("_trackTrans");
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
var _local5 = 2;
if (((_arg3) && (!((_arg3 == ""))))){
_local5 = 3;
};
if ((((_local5 == 3)) && (!(isNaN(_arg4))))){
_local5 = 4;
};
switch (_local5){
case 4:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3, _arg4].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2, _arg3, _arg4));
case 3:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2, _arg3));
case 2:
default:
_debug.info((("trackEvent( " + [_arg1, _arg2].join(", ")) + " )"));
return (_call("_trackEvent", _arg1, _arg2));
};
}
public function setCookieTimeout(_arg1:int):void{
_debug.info((("setCookieTimeout( " + _arg1) + " )"));
_call("_setCookieTimeout", _arg1);
}
public function trackPageview(_arg1:String=""):void{
_debug.info((("trackPageview( " + _arg1) + " )"));
_call("_trackPageview", _arg1);
}
private function _checkValidTrackingObject(_arg1:String):Boolean{
return (_proxy.call(_checkValidTrackingObject_js, _arg1));
}
private function _checkGAJS():Boolean{
return (_proxy.call(_checkGAJS_js));
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_debug.warning((((("linkByPost( " + _arg1) + ", ") + _arg2) + " ) not implemented"));
}
public function getClientInfo():Boolean{
_debug.info("getClientInfo()");
return (_call("_getClientInfo"));
}
private function _call(_arg1:String, ... _args){
_args.unshift(((((("window." + _jsContainer) + "[\"") + _account) + "\"].") + _arg1));
return (_proxy.call.apply(_proxy, _args));
}
public function hasGAJS():Boolean{
return (_checkGAJS());
}
private function _checkTrackingObject(_arg1:String):Boolean{
var _local2:Boolean = _proxy.hasProperty(_arg1);
var _local3:Boolean = _proxy.hasProperty((_arg1 + "._getAccount"));
return (((_local2) && (_local3)));
}
public function resetSession():void{
_debug.warning("resetSession() not implemented");
}
public function getDetectTitle():Boolean{
_debug.info("getDetectTitle()");
return (_call("_getDetectTitle"));
}
public function setCampNameKey(_arg1:String):void{
_debug.info((("setCampNameKey( " + _arg1) + " )"));
_call("_setCampNameKey", _arg1);
}
public function setDetectFlash(_arg1:Boolean):void{
_debug.info((("setDetectFlash( " + _arg1) + " )"));
_call("_setDetectFlash", _arg1);
}
public function createEventTracker(_arg1:String):EventTracker{
_debug.info((("createEventTracker( " + _arg1) + " )"));
return (new EventTracker(_arg1, this));
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_debug.info((("addItem( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6].join(", ")) + " )"));
_call("_addItem", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
public function clearIgnoredOrganic():void{
_debug.info("clearIgnoredOrganic()");
_call("_clearIgnoreOrganic");
}
public function setVar(_arg1:String):void{
_debug.info((("setVar( " + _arg1) + " )"));
_call("_setVar", _arg1);
}
public function setDomainName(_arg1:String):void{
_debug.info((("setDomainName( " + _arg1) + " )"));
_call("_setDomainName", _arg1);
}
public function hasTrackingAccount(_arg1:String):Boolean{
if (Utils.validateAccount(_arg1)){
return (_checkValidTrackingObject(_arg1));
};
return (_checkTrackingObject(_arg1));
}
public function setCampSourceKey(_arg1:String):void{
_debug.info((("setCampSourceKey( " + _arg1) + " )"));
_call("_setCampSourceKey", _arg1);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):void{
_debug.info((("addTrans( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8].join(", ")) + " )"));
_call("_addTrans", _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
}
public function setCampContentKey(_arg1:String):void{
_debug.info((("setCampContentKey( " + _arg1) + " )"));
_call("_setCampContentKey", _arg1);
}
public function setLocalServerMode():void{
_debug.info("setLocalServerMode()");
_call("_setLocalServerMode");
}
public function getLocalGifPath():String{
_debug.info("getLocalGifPath()");
return (_call("_getLocalGifPath"));
}
public function clearIgnoredRef():void{
_debug.info("clearIgnoredRef()");
_call("_clearIgnoreRef");
}
public function setAllowAnchor(_arg1:Boolean):void{
_debug.info((("setAllowAnchor( " + _arg1) + " )"));
_call("_setAllowAnchor", _arg1);
}
public function setLocalGifPath(_arg1:String):void{
_debug.info((("setLocalGifPath( " + _arg1) + " )"));
_call("_setLocalGifPath", _arg1);
}
public function getVersion():String{
_debug.info("getVersion()");
return (_call("_getVersion"));
}
private function _injectTrackingObject():void{
_proxy.executeBlock(_injectTrackingObject_js);
_hasGATracker = true;
}
public function setCookiePath(_arg1:String):void{
_debug.info((("setCookiePath( " + _arg1) + " )"));
_call("_setCookiePath", _arg1);
}
public function setSampleRate(_arg1:Number):void{
_debug.info((("setSampleRate( " + _arg1) + " )"));
_call("_setSampleRate", _arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_debug.info((("setAllowHash( " + _arg1) + " )"));
_call("_setAllowHash", _arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_debug.info((("addIgnoredOrganic( " + _arg1) + " )"));
_call("_addIgnoredOrganic", _arg1);
}
public function setCampNOKey(_arg1:String):void{
_debug.info((("setCampNOKey( " + _arg1) + " )"));
_call("_setCampNOKey", _arg1);
}
public function cookiePathCopy(_arg1:String):void{
_debug.info((("cookiePathCopy( " + _arg1) + " )"));
_call("_cookiePathCopy", _arg1);
}
public function setLocalRemoteServerMode():void{
_debug.info("setLocalRemoteServerMode()");
_call("_setLocalRemoteServerMode");
}
public function getServiceMode():ServerOperationMode{
_debug.info("getServiceMode()");
return (_call("_getServiceMode"));
}
public function setDetectTitle(_arg1:Boolean):void{
_debug.info((("setDetectTitle( " + _arg1) + " )"));
_call("_setDetectTitle", _arg1);
}
private function _createTrackingObject(_arg1:String):void{
_proxy.call(_createTrackingObject_js, _arg1);
}
public function setCampaignTrack(_arg1:Boolean):void{
_debug.info((("setCampaignTrack( " + _arg1) + " )"));
_call("_setCampaignTrack", _arg1);
}
public function clearOrganic():void{
_debug.info("clearOrganic()");
_call("_clearOrganic");
}
public function setCampTermKey(_arg1:String):void{
_debug.info((("setCampTermKey( " + _arg1) + " )"));
_call("_setCampTermKey", _arg1);
}
public function getDetectFlash():Boolean{
_debug.info("getDetectFlash()");
return (_call("_getDetectFlash"));
}
public function setCampMediumKey(_arg1:String):void{
_debug.info((("setCampMediumKey( " + _arg1) + " )"));
_call("_setCampMediumKey", _arg1);
}
public function addIgnoredRef(_arg1:String):void{
_debug.info((("addIgnoredRef( " + _arg1) + " )"));
_call("_addIgnoredRef", _arg1);
}
public function setSessionTimeout(_arg1:int):void{
_debug.info((("setSessionTimeout( " + _arg1) + " )"));
_call("_setSessionTimeout", _arg1);
}
public function setRemoteServerMode():void{
_debug.info("setRemoteServerMode()");
_call("_setRemoteServerMode");
}
public function getAccount():String{
_debug.info("getAccount()");
return (_call("_getAccount"));
}
}
}//package com.google.analytics.v4
Section 100
//Configuration (com.google.analytics.v4.Configuration)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import com.google.analytics.utils.*;
import com.google.analytics.campaign.*;
public class Configuration {
public var serverMode:ServerOperationMode;
public var detectFlash:Boolean;// = true
public var hasSiteOverlay:Boolean;// = false
public var allowLocalTracking:Boolean;// = true
public var secureRemoteGIFpath:String;// = "https://ssl.google-analytics.com/__utm.gif"
private var _version:String;// = "4.3as"
public var allowDomainHash:Boolean;// = true
public var detectClientInfo:Boolean;// = true
public var idleLoop:Number;// = 30
public var isTrackOutboundSubdomains:Boolean;// = false
public var cookiePath:String;// = "/"
public var transactionFieldDelim:String;// = "|"
private var _organic:Organic;
private var _cookieName:String;// = "analytics"
public var campaignKey:CampaignKey;
public var google:String;// = "google"
public var googleCsePath:String;// = "cse"
public var bucketCapacity:Number;// = 10
private var _sampleRate:Number;// = 1
public var remoteGIFpath:String;// = "http://www.google-analytics.com/__utm.gif"
public var googleSearchParam:String;// = "q"
public var allowLinker:Boolean;// = false
public var maxOutboundLinkExamined:Number;// = 1000
private var _debug:DebugConfiguration;
public var allowAnchor:Boolean;// = false
private var _domain:Domain;
private var _trackingLimitPerSession:int;// = 500
public var tokenCliff:int;// = 10
public var sessionTimeout:Number;
public var idleTimeout:Number;// = 60
public var campaignTracking:Boolean;// = true
public var domainName:String;// = ""
public var detectTitle:Boolean;// = true
public var tokenRate:Number;// = 0.2
public var conversionTimeout:Number;
public var localGIFpath:String;// = "/__utm.gif"
public function Configuration(_arg1:DebugConfiguration=null){
_organic = new Organic();
conversionTimeout = Timespan.sixmonths;
sessionTimeout = Timespan.thirtyminutes;
campaignKey = new CampaignKey();
serverMode = ServerOperationMode.remote;
super();
_debug = _arg1;
_domain = new Domain(DomainNameMode.auto, "", _debug);
serverMode = ServerOperationMode.remote;
_initOrganicSources();
}
public function get organic():Organic{
return (_organic);
}
public function get cookieName():String{
return (_cookieName);
}
public function get trackingLimitPerSession():int{
return (_trackingLimitPerSession);
}
private function _initOrganicSources():void{
addOrganicSource(google, googleSearchParam);
addOrganicSource("yahoo", "p");
addOrganicSource("msn", "q");
addOrganicSource("aol", "query");
addOrganicSource("aol", "encquery");
addOrganicSource("lycos", "query");
addOrganicSource("ask", "q");
addOrganicSource("altavista", "q");
addOrganicSource("netscape", "query");
addOrganicSource("cnn", "query");
addOrganicSource("looksmart", "qt");
addOrganicSource("about", "terms");
addOrganicSource("mamma", "query");
addOrganicSource("alltheweb", "q");
addOrganicSource("gigablast", "q");
addOrganicSource("voila", "rdata");
addOrganicSource("virgilio", "qs");
addOrganicSource("live", "q");
addOrganicSource("baidu", "wd");
addOrganicSource("alice", "qs");
addOrganicSource("yandex", "text");
addOrganicSource("najdi", "q");
addOrganicSource("aol", "q");
addOrganicSource("club-internet", "q");
addOrganicSource("mama", "query");
addOrganicSource("seznam", "q");
addOrganicSource("search", "q");
addOrganicSource("wp", "szukaj");
addOrganicSource("onet", "qt");
addOrganicSource("netsprint", "q");
addOrganicSource("google.interia", "q");
addOrganicSource("szukacz", "q");
addOrganicSource("yam", "k");
addOrganicSource("pchome", "q");
addOrganicSource("kvasir", "searchExpr");
addOrganicSource("sesam", "q");
addOrganicSource("ozu", "q");
addOrganicSource("terra", "query");
addOrganicSource("nostrum", "query");
addOrganicSource("mynet", "q");
addOrganicSource("ekolay", "q");
addOrganicSource("search.ilse", "search_for");
}
public function get sampleRate():Number{
return (_sampleRate);
}
public function addOrganicSource(_arg1:String, _arg2:String):void{
var engine = _arg1;
var keyword = _arg2;
try {
_organic.addSource(engine, keyword);
} catch(e:Error) {
if (((_debug) && (_debug.active))){
_debug.warning(e.message);
};
};
}
public function get domain():Domain{
return (_domain);
}
public function set sampleRate(_arg1:Number):void{
if (_arg1 <= 0){
_arg1 = 0.1;
};
if (_arg1 > 1){
_arg1 = 1;
};
_arg1 = Number(_arg1.toFixed(2));
_sampleRate = _arg1;
}
public function get version():String{
return (_version);
}
}
}//package com.google.analytics.v4
Section 101
//GoogleAnalyticsAPI (com.google.analytics.v4.GoogleAnalyticsAPI)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
public interface GoogleAnalyticsAPI {
function setCampSourceKey(_arg1:String):void;
function setDetectTitle(_arg1:Boolean):void;
function setLocalRemoteServerMode():void;
function resetSession():void;
function setLocalServerMode():void;
function setCampContentKey(_arg1:String):void;
function addOrganic(_arg1:String, _arg2:String):void;
function setDetectFlash(_arg1:Boolean):void;
function setAllowLinker(_arg1:Boolean):void;
function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean;
function setCampTermKey(_arg1:String):void;
function setCampNameKey(_arg1:String):void;
function getLinkerUrl(_arg1:String="", _arg2:Boolean=false):String;
function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void;
function clearIgnoredRef():void;
function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):void;
function getDetectFlash():Boolean;
function setCampaignTrack(_arg1:Boolean):void;
function createEventTracker(_arg1:String):EventTracker;
function setCookieTimeout(_arg1:int):void;
function setAllowAnchor(_arg1:Boolean):void;
function trackTrans():void;
function clearOrganic():void;
function trackPageview(_arg1:String=""):void;
function setLocalGifPath(_arg1:String):void;
function getVersion():String;
function getLocalGifPath():String;
function getServiceMode():ServerOperationMode;
function setVar(_arg1:String):void;
function clearIgnoredOrganic():void;
function setCampMediumKey(_arg1:String):void;
function addIgnoredRef(_arg1:String):void;
function setClientInfo(_arg1:Boolean):void;
function setCookiePath(_arg1:String):void;
function setSampleRate(_arg1:Number):void;
function setSessionTimeout(_arg1:int):void;
function setRemoteServerMode():void;
function setDomainName(_arg1:String):void;
function addIgnoredOrganic(_arg1:String):void;
function setAllowHash(_arg1:Boolean):void;
function getAccount():String;
function linkByPost(_arg1:Object, _arg2:Boolean=false):void;
function link(_arg1:String, _arg2:Boolean=false):void;
function setCampNOKey(_arg1:String):void;
function getClientInfo():Boolean;
function cookiePathCopy(_arg1:String):void;
function getDetectTitle():Boolean;
}
}//package com.google.analytics.v4
Section 102
//Tracker (com.google.analytics.v4.Tracker)
package com.google.analytics.v4 {
import com.google.analytics.core.*;
import com.google.analytics.debug.*;
import flash.net.*;
import com.google.analytics.data.*;
import com.google.analytics.external.*;
import com.google.analytics.utils.*;
import com.google.analytics.ecommerce.*;
import com.google.analytics.campaign.*;
public class Tracker implements GoogleAnalyticsAPI {
private const EVENT_TRACKER_LABEL_KEY_NUM:int = 3;
private const EVENT_TRACKER_VALUE_VALUE_NUM:int = 1;
private const EVENT_TRACKER_PROJECT_ID:int = 5;
private const EVENT_TRACKER_OBJECT_NAME_KEY_NUM:int = 1;
private const EVENT_TRACKER_TYPE_KEY_NUM:int = 2;
private var _adSense:AdSenseGlobals;
private var _eventTracker:X10;
private var _noSessionInformation:Boolean;// = false
private var _browserInfo:BrowserInfo;
private var _debug:DebugConfiguration;
private var _isNewVisitor:Boolean;// = false
private var _buffer:Buffer;
private var _config:Configuration;
private var _x10Module:X10;
private var _campaign:CampaignManager;
private var _formatedReferrer:String;
private var _timeStamp:Number;
private var _info:Environment;
private var _domainHash:Number;
private var _campaignInfo:CampaignInfo;
private var _gifRequest:GIFRequest;
private var _hasInitData:Boolean;// = false
private var _ecom:Ecommerce;
private var _account:String;
public function Tracker(_arg1:String, _arg2:Configuration, _arg3:DebugConfiguration, _arg4:Environment, _arg5:Buffer, _arg6:GIFRequest, _arg7:AdSenseGlobals, _arg8:Ecommerce){
var _local9:String;
super();
_account = _arg1;
_config = _arg2;
_debug = _arg3;
_info = _arg4;
_buffer = _arg5;
_gifRequest = _arg6;
_adSense = _arg7;
_ecom = _arg8;
if (!Utils.validateAccount(_arg1)){
_local9 = (("Account \"" + _arg1) + "\" is not valid.");
_debug.warning(_local9);
throw (new Error(_local9));
};
}
private function _doTracking():Boolean{
if (((((!((_info.protocol == Protocols.file))) && (!((_info.protocol == Protocols.none))))) && (_isNotGoogleSearch()))){
return (true);
};
if (_config.allowLocalTracking){
return (true);
};
return (false);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_debug.info((("addOrganic( " + [_arg1, _arg2].join(", ")) + " )"));
_config.organic.addSource(_arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
_config.allowLinker = _arg1;
_debug.info((("setAllowLinker( " + _config.allowLinker) + " )"));
}
public function getLinkerUrl(_arg1:String="", _arg2:Boolean=false):String{
_initData();
_debug.info((((("getLinkerUrl( " + _arg1) + ", ") + _arg2.toString()) + " )"));
return (_buffer.getLinkerUrl(_arg1, _arg2));
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
_initData();
var _local5:Boolean;
var _local6 = 2;
if (((!((_arg1 == ""))) && (!((_arg2 == ""))))){
_eventTracker.clearKey(EVENT_TRACKER_PROJECT_ID);
_eventTracker.clearValue(EVENT_TRACKER_PROJECT_ID);
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_OBJECT_NAME_KEY_NUM, _arg1);
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_TYPE_KEY_NUM, _arg2);
if (_arg3){
_local5 = _eventTracker.setKey(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_LABEL_KEY_NUM, _arg3);
_local6 = 3;
};
if (!isNaN(_arg4)){
_local5 = _eventTracker.setValue(EVENT_TRACKER_PROJECT_ID, EVENT_TRACKER_VALUE_VALUE_NUM, _arg4);
_local6 = 4;
};
if (_local5){
_debug.info(((("valid event tracking call\ncategory: " + _arg1) + "\naction: ") + _arg2), VisualDebugMode.geek);
_sendXEvent(_eventTracker);
};
} else {
_debug.warning(((("event tracking call is not valid, failed!\ncategory: " + _arg1) + "\naction: ") + _arg2), VisualDebugMode.geek);
_local5 = false;
};
switch (_local6){
case 4:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3, _arg4].join(", ")) + " )"));
break;
case 3:
_debug.info((("trackEvent( " + [_arg1, _arg2, _arg3].join(", ")) + " )"));
break;
case 2:
default:
_debug.info((("trackEvent( " + [_arg1, _arg2].join(", ")) + " )"));
};
return (_local5);
}
public function trackPageview(_arg1:String=""):void{
_debug.info((("trackPageview( " + _arg1) + " )"));
if (_doTracking()){
_initData();
_trackMetrics(_arg1);
_noSessionInformation = false;
} else {
_debug.warning((("trackPageview( " + _arg1) + " ) failed"));
};
}
public function setCookieTimeout(_arg1:int):void{
_config.conversionTimeout = _arg1;
_debug.info((("setCookieTimeout( " + _config.conversionTimeout) + " )"));
}
public function trackTrans():void{
var _local1:Number;
var _local2:Number;
var _local4:Transaction;
_initData();
var _local3:Array = new Array();
if (_takeSample()){
_local1 = 0;
while (_local1 < _ecom.getTransLength()) {
_local4 = _ecom.getTransFromArray(_local1);
_local3.push(_local4.toGifParams());
_local2 = 0;
while (_local2 < _local4.getItemsLength()) {
_local3.push(_local4.getItemFromArray(_local2).toGifParams());
_local2++;
};
_local1++;
};
_local1 = 0;
while (_local1 < _local3.length) {
_gifRequest.send(_account, _local3[_local1]);
_local1++;
};
};
}
public function setClientInfo(_arg1:Boolean):void{
_config.detectClientInfo = _arg1;
_debug.info((("setClientInfo( " + _config.detectClientInfo) + " )"));
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_debug.warning("linkByPost not implemented in AS3 mode");
}
private function _initData():void{
var _local1:String;
var _local2:String;
if (!_hasInitData){
_updateDomainName();
_domainHash = _getDomainHash();
_timeStamp = Math.round((new Date().getTime() / 1000));
if (_debug.verbose){
_local1 = "";
_local1 = (_local1 + "_initData 0");
_local1 = (_local1 + ("\ndomain name: " + _config.domainName));
_local1 = (_local1 + ("\ndomain hash: " + _domainHash));
_local1 = (_local1 + (((("\ntimestamp: " + _timeStamp) + " (") + new Date((_timeStamp * 1000))) + ")"));
_debug.info(_local1, VisualDebugMode.geek);
};
};
if (_doTracking()){
_handleCookie();
};
if (!_hasInitData){
if (_doTracking()){
_formatedReferrer = _formatReferrer();
_browserInfo = new BrowserInfo(_config, _info);
_debug.info(("browserInfo: " + _browserInfo.toURLString()), VisualDebugMode.advanced);
if (_config.campaignTracking){
_campaign = new CampaignManager(_config, _debug, _buffer, _domainHash, _formatedReferrer, _timeStamp);
_campaignInfo = _campaign.getCampaignInformation(_info.locationSearch, _noSessionInformation);
_debug.info(("campaignInfo: " + _campaignInfo.toURLString()), VisualDebugMode.advanced);
_debug.info(("Search: " + _info.locationSearch));
_debug.info(("CampaignTrackig: " + _buffer.utmz.campaignTracking));
};
};
_x10Module = new X10();
_eventTracker = new X10();
_hasInitData = true;
};
if (_config.hasSiteOverlay){
_debug.warning("Site Overlay is not supported");
};
if (_debug.verbose){
_local2 = "";
_local2 = (_local2 + "_initData (misc)");
_local2 = (_local2 + ("\nflash version: " + _info.flashVersion.toString(4)));
_local2 = (_local2 + ("\nprotocol: " + _info.protocol));
_local2 = (_local2 + (("\ndefault domain name (auto): \"" + _info.domainName) + "\""));
_local2 = (_local2 + ("\nlanguage: " + _info.language));
_local2 = (_local2 + ("\ndomain hash: " + _getDomainHash()));
_local2 = (_local2 + ("\nuser-agent: " + _info.userAgent));
_debug.info(_local2, VisualDebugMode.geek);
};
}
public function getDetectTitle():Boolean{
_debug.info("getDetectTitle()");
return (_config.detectTitle);
}
public function resetSession():void{
_debug.info("resetSession()");
_buffer.resetCurrentSession();
}
public function getClientInfo():Boolean{
_debug.info("getClientInfo()");
return (_config.detectClientInfo);
}
private function _sendXEvent(_arg1:X10=null):void{
var _local2:Variables;
var _local3:EventInfo;
var _local4:Variables;
var _local5:Variables;
if (_takeSample()){
_local2 = new Variables();
_local2.URIencode = true;
_local3 = new EventInfo(true, _x10Module, _arg1);
_local4 = _local3.toVariables();
_local5 = _renderMetricsSearchVariables();
_local2.join(_local4, _local5);
_gifRequest.send(_account, _local2, false, true);
};
}
public function setDetectFlash(_arg1:Boolean):void{
_config.detectFlash = _arg1;
_debug.info((("setDetectFlash( " + _config.detectFlash) + " )"));
}
public function setCampNameKey(_arg1:String):void{
_config.campaignKey.UCCN = _arg1;
var _local2 = (("setCampNameKey( " + _config.campaignKey.UCCN) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCCN]"));
} else {
_debug.info(_local2);
};
}
private function _formatReferrer():String{
var _local2:String;
var _local3:URL;
var _local4:URL;
var _local1:String = _info.referrer;
if ((((_local1 == "")) || ((_local1 == "localhost")))){
_local1 = "-";
} else {
_local2 = _info.domainName;
_local3 = new URL(_local1);
_local4 = new URL(("http://" + _local2));
if (_local3.hostName == _local2){
return ("-");
};
if (_local4.domain == _local3.domain){
if (_local4.subDomain != _local3.subDomain){
_local1 = "0";
};
};
if ((((_local1.charAt(0) == "[")) && (_local1.charAt((_local1.length - 1))))){
_local1 = "-";
};
};
_debug.info(("formated referrer: " + _local1), VisualDebugMode.advanced);
return (_local1);
}
private function _visitCode():Number{
if (_debug.verbose){
_debug.info(("visitCode: " + _buffer.utma.sessionId), VisualDebugMode.geek);
};
return (_buffer.utma.sessionId);
}
public function createEventTracker(_arg1:String):EventTracker{
_debug.info((("createEventTracker( " + _arg1) + " )"));
return (new EventTracker(_arg1, this));
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
var _local7:Transaction;
_local7 = _ecom.getTransaction(_arg1);
if (_local7 == null){
_local7 = _ecom.addTransaction(_arg1, "", "", "", "", "", "", "");
};
_local7.addItem(_arg2, _arg3, _arg4, _arg5.toString(), _arg6.toString());
if (_debug.active){
_debug.info((("addItem( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6].join(", ")) + " )"));
};
}
public function clearIgnoredOrganic():void{
_debug.info("clearIgnoredOrganic()");
_config.organic.clearIgnoredKeywords();
}
public function setVar(_arg1:String):void{
var _local2:Variables;
if (((!((_arg1 == ""))) && (_isNotGoogleSearch()))){
_initData();
_buffer.utmv.domainHash = _domainHash;
_buffer.utmv.value = encodeURI(_arg1);
if (_debug.verbose){
_debug.info(_buffer.utmv.toString(), VisualDebugMode.geek);
};
_debug.info((("setVar( " + _arg1) + " )"));
if (_takeSample()){
_local2 = new Variables();
_local2.utmt = "var";
_gifRequest.send(_account, _local2);
};
} else {
_debug.warning((("setVar \"" + _arg1) + "\" is ignored"));
};
}
public function setDomainName(_arg1:String):void{
if (_arg1 == "auto"){
_config.domain.mode = DomainNameMode.auto;
} else {
if (_arg1 == "none"){
_config.domain.mode = DomainNameMode.none;
} else {
_config.domain.mode = DomainNameMode.custom;
_config.domain.name = _arg1;
};
};
_updateDomainName();
_debug.info((("setDomainName( " + _config.domainName) + " )"));
}
private function _updateDomainName():void{
var _local1:String;
if (_config.domain.mode == DomainNameMode.auto){
_local1 = _info.domainName;
if (_local1.substring(0, 4) == "www."){
_local1 = _local1.substring(4);
};
_config.domain.name = _local1;
};
_config.domainName = _config.domain.name.toLowerCase();
_debug.info(("domain name: " + _config.domainName), VisualDebugMode.advanced);
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):void{
_ecom.addTransaction(_arg1, _arg2, _arg3.toString(), _arg4.toString(), _arg5.toString(), _arg6, _arg7, _arg8);
if (_debug.active){
_debug.info((("addTrans( " + [_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8].join(", ")) + " );"));
};
}
private function _renderMetricsSearchVariables(_arg1:String=""):Variables{
var _local4:Variables;
var _local2:Variables = new Variables();
_local2.URIencode = true;
var _local3:DocumentInfo = new DocumentInfo(_config, _info, _formatedReferrer, _arg1, _adSense);
_debug.info(("docInfo: " + _local3.toURLString()), VisualDebugMode.geek);
if (_config.campaignTracking){
_local4 = _campaignInfo.toVariables();
};
var _local5:Variables = _browserInfo.toVariables();
_local2.join(_local3.toVariables(), _local5, _local4);
return (_local2);
}
public function setCampContentKey(_arg1:String):void{
_config.campaignKey.UCCT = _arg1;
var _local2 = (("setCampContentKey( " + _config.campaignKey.UCCT) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCCT]"));
} else {
_debug.info(_local2);
};
}
private function _handleCookie():void{
var _local1:String;
var _local2:String;
var _local3:Array;
var _local4:String;
if (_config.allowLinker){
};
_buffer.createSO();
if (((_buffer.hasUTMA()) && (!(_buffer.utma.isEmpty())))){
if (((!(_buffer.hasUTMB())) || (!(_buffer.hasUTMC())))){
_buffer.updateUTMA(_timeStamp);
_noSessionInformation = true;
};
if (_debug.verbose){
_debug.info(("from cookie " + _buffer.utma.toString()), VisualDebugMode.geek);
};
} else {
_debug.info("create a new utma", VisualDebugMode.advanced);
_buffer.utma.domainHash = _domainHash;
_buffer.utma.sessionId = _getUniqueSessionId();
_buffer.utma.firstTime = _timeStamp;
_buffer.utma.lastTime = _timeStamp;
_buffer.utma.currentTime = _timeStamp;
_buffer.utma.sessionCount = 1;
if (_debug.verbose){
_debug.info(_buffer.utma.toString(), VisualDebugMode.geek);
};
_noSessionInformation = true;
_isNewVisitor = true;
};
if (((_adSense.gaGlobal) && ((_adSense.dh == String(_domainHash))))){
if (_adSense.sid){
_buffer.utma.currentTime = Number(_adSense.sid);
if (_debug.verbose){
_local1 = "";
_local1 = (_local1 + "AdSense sid found\n");
_local1 = (_local1 + (((("Override currentTime(" + _buffer.utma.currentTime) + ") from AdSense sid(") + Number(_adSense.sid)) + ")"));
_debug.info(_local1, VisualDebugMode.geek);
};
};
if (_isNewVisitor){
if (_adSense.sid){
_buffer.utma.lastTime = Number(_adSense.sid);
if (_debug.verbose){
_local2 = "";
_local2 = (_local2 + "AdSense sid found (new visitor)\n");
_local2 = (_local2 + (((("Override lastTime(" + _buffer.utma.lastTime) + ") from AdSense sid(") + Number(_adSense.sid)) + ")"));
_debug.info(_local2, VisualDebugMode.geek);
};
};
if (_adSense.vid){
_local3 = _adSense.vid.split(".");
_buffer.utma.sessionId = Number(_local3[0]);
_buffer.utma.firstTime = Number(_local3[1]);
if (_debug.verbose){
_local4 = "";
_local4 = (_local4 + "AdSense vid found (new visitor)\n");
_local4 = (_local4 + (((("Override sessionId(" + _buffer.utma.sessionId) + ") from AdSense vid(") + Number(_local3[0])) + ")\n"));
_local4 = (_local4 + (((("Override firstTime(" + _buffer.utma.firstTime) + ") from AdSense vid(") + Number(_local3[1])) + ")"));
_debug.info(_local4, VisualDebugMode.geek);
};
};
if (_debug.verbose){
_debug.info(("AdSense modified : " + _buffer.utma.toString()), VisualDebugMode.geek);
};
};
};
_buffer.utmb.domainHash = _domainHash;
if (isNaN(_buffer.utmb.trackCount)){
_buffer.utmb.trackCount = 0;
};
if (isNaN(_buffer.utmb.token)){
_buffer.utmb.token = _config.tokenCliff;
};
if (isNaN(_buffer.utmb.lastTime)){
_buffer.utmb.lastTime = _buffer.utma.currentTime;
};
_buffer.utmc.domainHash = _domainHash;
if (_debug.verbose){
_debug.info(_buffer.utmb.toString(), VisualDebugMode.advanced);
_debug.info(_buffer.utmc.toString(), VisualDebugMode.advanced);
};
}
public function setLocalServerMode():void{
_config.serverMode = ServerOperationMode.local;
_debug.info("setLocalServerMode()");
}
public function clearIgnoredRef():void{
_debug.info("clearIgnoredRef()");
_config.organic.clearIgnoredReferrals();
}
public function setCampSourceKey(_arg1:String):void{
_config.campaignKey.UCSR = _arg1;
var _local2 = (("setCampSourceKey( " + _config.campaignKey.UCSR) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCSR]"));
} else {
_debug.info(_local2);
};
}
public function getLocalGifPath():String{
_debug.info("getLocalGifPath()");
return (_config.localGIFpath);
}
public function setLocalGifPath(_arg1:String):void{
_config.localGIFpath = _arg1;
_debug.info((("setLocalGifPath( " + _config.localGIFpath) + " )"));
}
public function getVersion():String{
_debug.info("getVersion()");
return (_config.version);
}
public function setAllowAnchor(_arg1:Boolean):void{
_config.allowAnchor = _arg1;
_debug.info((("setAllowAnchor( " + _config.allowAnchor) + " )"));
}
private function _isNotGoogleSearch():Boolean{
var _local1:String = _config.domainName;
var _local2 = (_local1.indexOf("www.google.") < 0);
var _local3 = (_local1.indexOf(".google.") < 0);
var _local4 = (_local1.indexOf("google.") < 0);
var _local5 = (_local1.indexOf("google.org") > -1);
return (((((((((_local2) || (_local3))) || (_local4))) || (!((_config.cookiePath == "/"))))) || (_local5)));
}
public function setSampleRate(_arg1:Number):void{
if (_arg1 < 0){
_debug.warning("sample rate can not be negative, ignoring value.");
} else {
_config.sampleRate = _arg1;
};
_debug.info((("setSampleRate( " + _config.sampleRate) + " )"));
}
private function _takeSample():Boolean{
if (_debug.verbose){
_debug.info((((("takeSample: (" + (_visitCode() % 10000)) + ") < (") + (_config.sampleRate * 10000)) + ")"), VisualDebugMode.geek);
};
return (((_visitCode() % 10000) < (_config.sampleRate * 10000)));
}
public function setCookiePath(_arg1:String):void{
_config.cookiePath = _arg1;
_debug.info((("setCookiePath( " + _config.cookiePath) + " )"));
}
public function setAllowHash(_arg1:Boolean):void{
_config.allowDomainHash = _arg1;
_debug.info((("setAllowHash( " + _config.allowDomainHash) + " )"));
}
private function _generateUserDataHash():Number{
var _local1 = "";
_local1 = (_local1 + _info.appName);
_local1 = (_local1 + _info.appVersion);
_local1 = (_local1 + _info.language);
_local1 = (_local1 + _info.platform);
_local1 = (_local1 + _info.userAgent.toString());
_local1 = (_local1 + (((_info.screenWidth + "x") + _info.screenHeight) + _info.screenColorDepth));
_local1 = (_local1 + _info.referrer);
return (Utils.generateHash(_local1));
}
public function setCampNOKey(_arg1:String):void{
_config.campaignKey.UCNO = _arg1;
var _local2 = (("setCampNOKey( " + _config.campaignKey.UCNO) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCNO]"));
} else {
_debug.info(_local2);
};
}
public function addIgnoredOrganic(_arg1:String):void{
_debug.info((("addIgnoredOrganic( " + _arg1) + " )"));
_config.organic.addIgnoredKeyword(_arg1);
}
public function setLocalRemoteServerMode():void{
_config.serverMode = ServerOperationMode.both;
_debug.info("setLocalRemoteServerMode()");
}
public function cookiePathCopy(_arg1:String):void{
_debug.warning((("cookiePathCopy( " + _arg1) + " ) not implemented"));
}
public function setDetectTitle(_arg1:Boolean):void{
_config.detectTitle = _arg1;
_debug.info((("setDetectTitle( " + _config.detectTitle) + " )"));
}
public function setCampTermKey(_arg1:String):void{
_config.campaignKey.UCTR = _arg1;
var _local2 = (("setCampTermKey( " + _config.campaignKey.UCTR) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCTR]"));
} else {
_debug.info(_local2);
};
}
public function getServiceMode():ServerOperationMode{
_debug.info("getServiceMode()");
return (_config.serverMode);
}
private function _trackMetrics(_arg1:String=""):void{
var _local2:Variables;
var _local3:Variables;
var _local4:Variables;
var _local5:EventInfo;
if (_takeSample()){
_local2 = new Variables();
_local2.URIencode = true;
if (((_x10Module) && (_x10Module.hasData()))){
_local5 = new EventInfo(false, _x10Module);
_local3 = _local5.toVariables();
};
_local4 = _renderMetricsSearchVariables(_arg1);
_local2.join(_local3, _local4);
_gifRequest.send(_account, _local2);
};
}
public function setCampaignTrack(_arg1:Boolean):void{
_config.campaignTracking = _arg1;
_debug.info((("setCampaignTrack( " + _config.campaignTracking) + " )"));
}
public function addIgnoredRef(_arg1:String):void{
_debug.info((("addIgnoredRef( " + _arg1) + " )"));
_config.organic.addIgnoredReferral(_arg1);
}
public function clearOrganic():void{
_debug.info("clearOrganic()");
_config.organic.clearEngines();
}
public function getDetectFlash():Boolean{
_debug.info("getDetectFlash()");
return (_config.detectFlash);
}
public function setCampMediumKey(_arg1:String):void{
_config.campaignKey.UCMD = _arg1;
var _local2 = (("setCampMediumKey( " + _config.campaignKey.UCMD) + " )");
if (_debug.mode == VisualDebugMode.geek){
_debug.info((_local2 + " [UCMD]"));
} else {
_debug.info(_local2);
};
}
private function _getUniqueSessionId():Number{
var _local1:Number = ((Utils.generate32bitRandom() ^ _generateUserDataHash()) * 2147483647);
_debug.info(("Session ID: " + _local1), VisualDebugMode.geek);
return (_local1);
}
private function _getDomainHash():Number{
if (((((!(_config.domainName)) || ((_config.domainName == "")))) || ((_config.domain.mode == DomainNameMode.none)))){
_config.domainName = "";
return (1);
};
_updateDomainName();
if (_config.allowDomainHash){
return (Utils.generateHash(_config.domainName));
};
return (1);
}
public function setSessionTimeout(_arg1:int):void{
_config.sessionTimeout = _arg1;
_debug.info((("setSessionTimeout( " + _config.sessionTimeout) + " )"));
}
public function getAccount():String{
_debug.info("getAccount()");
return (_account);
}
public function link(_arg1:String, _arg2:Boolean=false):void{
var targetUrl = _arg1;
var useHash = _arg2;
_initData();
var out:String = _buffer.getLinkerUrl(targetUrl, useHash);
var request:URLRequest = new URLRequest(out);
_debug.info((("link( " + [targetUrl, useHash].join(",")) + " )"));
try {
navigateToURL(request, "_top");
} catch(e:Error) {
_debug.warning(("An error occured in link() msg: " + e.message));
};
}
public function setRemoteServerMode():void{
_config.serverMode = ServerOperationMode.remote;
_debug.info("setRemoteServerMode()");
}
}
}//package com.google.analytics.v4
Section 103
//AnalyticsTracker (com.google.analytics.AnalyticsTracker)
package com.google.analytics {
import flash.events.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
public interface AnalyticsTracker extends GoogleAnalyticsAPI, IEventDispatcher {
function set account(_arg1:String):void;
function get config():Configuration;
function get mode():String;
function set config(_arg1:Configuration):void;
function set mode(_arg1:String):void;
function set debug(_arg1:DebugConfiguration):void;
function get visualDebug():Boolean;
function get account():String;
function set visualDebug(_arg1:Boolean):void;
function isReady():Boolean;
function get debug():DebugConfiguration;
}
}//package com.google.analytics
Section 104
//API (com.google.analytics.API)
package com.google.analytics {
import com.google.analytics.utils.*;
public class API {
public static var version:Version = new Version();
version.major = 1;
version.minor = 0;
version.build = 1;
version.revision = "$Rev: 319 $ ".split(" ")[1];
}
}//package com.google.analytics
Section 105
//GATracker (com.google.analytics.GATracker)
package com.google.analytics {
import flash.events.*;
import flash.display.*;
import com.google.analytics.core.*;
import com.google.analytics.v4.*;
import com.google.analytics.debug.*;
import com.google.analytics.external.*;
import com.google.analytics.utils.*;
import com.google.analytics.events.*;
public class GATracker implements AnalyticsTracker {
private var _adSense:AdSenseGlobals;
private var _env:Environment;
private var _visualDebug:Boolean;
private var _idleTimer:IdleTimer;
private var _debug:DebugConfiguration;
private var _buffer:Buffer;
private var _config:Configuration;
private var _mode:String;
private var _display:DisplayObject;
private var _jsproxy:JavascriptProxy;
private var _dom:HTMLDOM;
private var _eventDispatcher:EventDispatcher;
private var _ready:Boolean;// = false
private var _gifRequest:GIFRequest;
private var _ecom:Ecommerce;
private var _account:String;
private var _tracker:GoogleAnalyticsAPI;
public static var version:Version = API.version;
public static var autobuild:Boolean = true;
public function GATracker(_arg1:DisplayObject, _arg2:String, _arg3:String="AS3", _arg4:Boolean=false, _arg5:Configuration=null, _arg6:DebugConfiguration=null){
_display = _arg1;
_eventDispatcher = new EventDispatcher(this);
_tracker = new TrackerCache();
this.account = _arg2;
this.mode = _arg3;
this.visualDebug = _arg4;
if (!_arg6){
this.debug = new DebugConfiguration();
};
if (!_arg5){
this.config = new Configuration(_arg6);
};
if (autobuild){
_factory();
};
}
public function link(_arg1:String, _arg2:Boolean=false):void{
_tracker.link(_arg1, _arg2);
}
public function addOrganic(_arg1:String, _arg2:String):void{
_tracker.addOrganic(_arg1, _arg2);
}
public function setAllowLinker(_arg1:Boolean):void{
_tracker.setAllowLinker(_arg1);
}
public function trackEvent(_arg1:String, _arg2:String, _arg3:String=null, _arg4:Number=NaN):Boolean{
return (_tracker.trackEvent(_arg1, _arg2, _arg3, _arg4));
}
public function getLinkerUrl(_arg1:String="", _arg2:Boolean=false):String{
return (_tracker.getLinkerUrl(_arg1, _arg2));
}
public function setCookieTimeout(_arg1:int):void{
_tracker.setCookieTimeout(_arg1);
}
public function trackTrans():void{
_tracker.trackTrans();
}
public function getClientInfo():Boolean{
return (_tracker.getClientInfo());
}
public function trackPageview(_arg1:String=""):void{
_tracker.trackPageview(_arg1);
}
public function setClientInfo(_arg1:Boolean):void{
_tracker.setClientInfo(_arg1);
}
public function get account():String{
return (_account);
}
public function linkByPost(_arg1:Object, _arg2:Boolean=false):void{
_tracker.linkByPost(_arg1, _arg2);
}
public function getDetectTitle():Boolean{
return (_tracker.getDetectTitle());
}
public function dispatchEvent(_arg1:Event):Boolean{
return (_eventDispatcher.dispatchEvent(_arg1));
}
public function get config():Configuration{
return (_config);
}
public function set mode(_arg1:String):void{
_mode = _arg1;
}
public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
_eventDispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
public function setDetectFlash(_arg1:Boolean):void{
_tracker.setDetectFlash(_arg1);
}
public function resetSession():void{
_tracker.resetSession();
}
public function setCampNameKey(_arg1:String):void{
_tracker.setCampNameKey(_arg1);
}
public function get debug():DebugConfiguration{
return (_debug);
}
public function addItem(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:Number, _arg6:int):void{
_tracker.addItem(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6);
}
private function _bridgeFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (Bridge) v" + version) + "\naccount: ") + account));
return (new Bridge(account, _debug, _jsproxy));
}
public function clearIgnoredOrganic():void{
_tracker.clearIgnoredOrganic();
}
public function set account(_arg1:String):void{
_account = _arg1;
}
public function setVar(_arg1:String):void{
_tracker.setVar(_arg1);
}
public function build():void{
if (!isReady()){
_factory();
};
}
public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
_eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public function setDomainName(_arg1:String):void{
_tracker.setDomainName(_arg1);
}
public function createEventTracker(_arg1:String):EventTracker{
return (_tracker.createEventTracker(_arg1));
}
public function setCampSourceKey(_arg1:String):void{
_tracker.setCampSourceKey(_arg1);
}
public function set config(_arg1:Configuration):void{
_config = _arg1;
}
public function addTrans(_arg1:String, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:String, _arg7:String, _arg8:String):void{
_tracker.addTrans(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
}
public function setCampContentKey(_arg1:String):void{
_tracker.setCampContentKey(_arg1);
}
public function willTrigger(_arg1:String):Boolean{
return (_eventDispatcher.willTrigger(_arg1));
}
public function setLocalServerMode():void{
_tracker.setLocalServerMode();
}
public function isReady():Boolean{
return (_ready);
}
public function getLocalGifPath():String{
return (_tracker.getLocalGifPath());
}
public function setAllowAnchor(_arg1:Boolean):void{
_tracker.setAllowAnchor(_arg1);
}
public function clearIgnoredRef():void{
_tracker.clearIgnoredRef();
}
public function get mode():String{
return (_mode);
}
public function set debug(_arg1:DebugConfiguration):void{
_debug = _arg1;
}
public function setLocalGifPath(_arg1:String):void{
_tracker.setLocalGifPath(_arg1);
}
public function getVersion():String{
return (_tracker.getVersion());
}
public function setSampleRate(_arg1:Number):void{
_tracker.setSampleRate(_arg1);
}
public function setCookiePath(_arg1:String):void{
_tracker.setCookiePath(_arg1);
}
public function setAllowHash(_arg1:Boolean):void{
_tracker.setAllowHash(_arg1);
}
public function addIgnoredOrganic(_arg1:String):void{
_tracker.addIgnoredOrganic(_arg1);
}
public function setLocalRemoteServerMode():void{
_tracker.setLocalRemoteServerMode();
}
public function cookiePathCopy(_arg1:String):void{
_tracker.cookiePathCopy(_arg1);
}
private function _factory():void{
var _local1:GoogleAnalyticsAPI;
_jsproxy = new JavascriptProxy(debug);
if (visualDebug){
debug.layout = new Layout(debug, _display);
debug.active = visualDebug;
};
var _local2:TrackerCache = (_tracker as TrackerCache);
switch (mode){
case TrackerMode.BRIDGE:
_local1 = _bridgeFactory();
break;
case TrackerMode.AS3:
default:
_local1 = _trackerFactory();
};
if (!_local2.isEmpty()){
_local2.tracker = _local1;
_local2.flush();
};
_tracker = _local1;
_ready = true;
dispatchEvent(new AnalyticsEvent(AnalyticsEvent.READY, this));
}
public function setCampTermKey(_arg1:String):void{
_tracker.setCampTermKey(_arg1);
}
private function _trackerFactory():GoogleAnalyticsAPI{
debug.info(((("GATracker (AS3) v" + version) + "\naccount: ") + account));
_adSense = new AdSenseGlobals(debug);
_dom = new HTMLDOM(debug);
_dom.cacheProperties();
_env = new Environment("", "", "", debug, _dom);
_buffer = new Buffer(config, debug, false);
_gifRequest = new GIFRequest(config, debug, _buffer, _env);
_idleTimer = new IdleTimer(config, debug, _display, _buffer);
_ecom = new Ecommerce(_debug);
_env.url = _display.stage.loaderInfo.url;
return (new Tracker(account, config, debug, _env, _buffer, _gifRequest, _adSense, _ecom));
}
public function setCampNOKey(_arg1:String):void{
_tracker.setCampNOKey(_arg1);
}
public function setDetectTitle(_arg1:Boolean):void{
_tracker.setDetectTitle(_arg1);
}
public function clearOrganic():void{
_tracker.clearOrganic();
}
public function setCampaignTrack(_arg1:Boolean):void{
_tracker.setCampaignTrack(_arg1);
}
public function addIgnoredRef(_arg1:String):void{
_tracker.addIgnoredRef(_arg1);
}
public function getServiceMode():ServerOperationMode{
return (_tracker.getServiceMode());
}
public function set visualDebug(_arg1:Boolean):void{
_visualDebug = _arg1;
}
public function setCampMediumKey(_arg1:String):void{
_tracker.setCampMediumKey(_arg1);
}
public function getDetectFlash():Boolean{
return (_tracker.getDetectFlash());
}
public function get visualDebug():Boolean{
return (_visualDebug);
}
public function hasEventListener(_arg1:String):Boolean{
return (_eventDispatcher.hasEventListener(_arg1));
}
public function getAccount():String{
return (_tracker.getAccount());
}
public function setSessionTimeout(_arg1:int):void{
_tracker.setSessionTimeout(_arg1);
}
public function setRemoteServerMode():void{
_tracker.setRemoteServerMode();
}
}
var _local1:* = ServerOperationMode;
return (_local1);
}//package com.google.analytics
Section 106
//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 107
//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 completed: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{
}
private function checkFrame(_arg1:Event):void{
if (currentFrame == totalFrames){
removeEventListener(Event.ENTER_FRAME, checkFrame);
completed = true;
return;
};
if (m_firstFrame){
beginLoading();
m_firstFrame = false;
return;
};
var _local2:Number = (root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal);
updateLoading(_local2);
}
protected function get mainClassName():String{
return ("_up777");
}
protected function beginLoading():void{
}
public 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 108
//gamezhero_z_2_3 (gamezhero_fla.gamezhero_z_2_3)
package gamezhero_fla {
import flash.display.*;
public dynamic class gamezhero_z_2_3 extends MovieClip {
public function gamezhero_z_2_3(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package gamezhero_fla
Section 109
//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 110
//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 (_slot1.boardID != null){
options.boardID = _slot1.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{
_slot1.boardID = _arg1;
MochiServices.send("scores_setBoardID", {boardID:_arg1});
}
}
}//package mochi
Section 111
//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 112
//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 113
//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 114
//IFlexAsset (mx.core.IFlexAsset)
package mx.core {
public interface IFlexAsset {
}
}//package mx.core
Section 115
//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 116
//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 117
//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 118
//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 119
//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 120
//_iq928 (_iq928)
package {
import flash.events.*;
import flash.display.*;
import com.urbansquall.preloader.*;
import com.gamezhero.api.as3.*;
public class _iq928 extends Preloader {
private var _hx712:Boolean;// = false
private var _vq988:MovieClip;
public function _iq928(){
_vq988 = new MovieClip();
super();
GamezheroApi.ini(irrcrpt("slahoeodvw", 3));
trace(irrcrpt("CRK kpkvkcnkbgf", 2));
addChild(_vq988);
addEventListener(Event.ENTER_FRAME, _ml938);
GamezheroApi.preloader(_vq988, _nh50);
}
private function _ml938(_arg1:Event):void{
if (((completed) && (_hx712))){
removeEventListener(Event.ENTER_FRAME, _ml938);
startup();
};
}
private function _nh50():void{
_hx712 = true;
removeChild(_vq988);
}
}
}//package
Section 121
//_up777 (_up777)
package {
import flash.events.*;
import classes.*;
import flash.display.*;
import flash.geom.*;
import caurina.transitions.*;
import com.urbansquall.display.*;
import flash.ui.*;
import flash.net.*;
import flash.filters.*;
import mochi.*;
import flash.utils.*;
import flash.text.*;
import com.gamezhero.api.as3.*;
public class _up777 extends InitializedSprite {
private const baddie3hits:int = 1;
private const baddie2hits:int = 3;
private const baddie1hits:int = 1;
private const SkipLevelUsing_A_Active:Boolean = false;
private const sponsortest_keypressactive:Boolean = false;
private const game_oneupscore_threshold:int = 300000;
private const baddie10hits:int = 10;
private const player_bullets_pickup_increasingvalue:Number = 4;
private const bosshits:int = 1000;
private const NoPlayerCollisions:Boolean = false;
private const baddie9hits:int = 5;
private const baddie8hits:int = 3;
private const baddie7hits:int = 1;
private const baddie6hits:int = 1;
private const baddie5hits:int = 1;
private const player_bullets_pickup_decreasevalue:Number = 0.003;
private const baddie4hits:int = 3;
private var _de759:BitmapData;
private var _qn922:BitmapData;
private var _xl826:Class;
private var _up544:Class;
private var _gs666:BitmapData;
private var _km566:BitmapData;
private var _nu927:BitmapData;
private var _pg1016:Boolean;
private var _ld314:int;
private var _tn93:Boolean;
private var _in810:Class;
private var _xl836:Number;// = 0
private var _sn304:Class;
private var _up321:Number;// = 0
private var _av435:BitmapData;
private var _cy789:String;
private var _hd1109:BitmapData;
private var _gf23:int;
private var _oq147:Class;
private var _ok601:BitmapData;
private var _pm822:Number;// = 0
private var _gl1048:BitmapData;
public var o:Object;
private var _nt868:Number;
private var _di917:Class;
private var _kn87:Class;
private var _ky200:BitmapData;
private var _tg732:int;
private var _aa561:Number;// = 0
private var _le440:BitmapData;
private var _ke885:Class;
private var _ba377:_gn1124;
private var _ui29:Class;
private var _kg1116:Class;
private var _bw126:Class;
private var _sa1122:Class;
private var _dc163:Class;
private var _qv243:ContextMenuItem;
private var _de593:Class;
private var _se29:Object;
private var _vt306:_lg811;
private var _fw824:BitmapData;
private var _at1071:BitmapData;
private var _fl830:int;
private var _lr419:Array;
private var _he45:Class;
private var _kh950:Class;
private var _ug355:BitmapData;
private var _uh445:Class;
private var _ug118:Boolean;
private var _qx1096:int;
private var _eb913:int;
private var _wk566:_xe622;
private var _ul816:Class;
private var _xt181:Number;// = 0
private var _tq230:Boolean;
private var _ih901:BitmapData;
private var _oa551:BitmapData;
private var _lk813:Number;// = 0
private var _xq916:_xe622;
private var _yd304:Class;
private var _xj16:Class;
private var _mj770:Class;
private var _rl199:Boolean;
private var _pp957:Number;// = 0
private var _fa645:Class;
private var _fh1035:Class;
private var _fj693:Boolean;
private var _ot281:Number;// = 0
private var _ak98:Array;
private var _nw750:MovieClip;
private var _ls311:Class;
private var _oc1034:Class;
private var _dl31:BitmapData;
private var _ck921:String;
private var _om661:Object;
private var _vv315:_qr163;
private var _eu430:SharedObject;
private var _oa346:String;
private var _hx100:Class;
private var rect:Rectangle;
private var _bh861:BitmapData;
private var _af650:BitmapData;
private var _tp195:BitmapData;
private var _ut116:Boolean;
private var _uk785:_xe622;
private var _nb894:Number;// = 0
private var _af427:Number;// = 0
private var _nk477:Class;
private var _wp605:Array;
private var _go44:_xe622;
private var _fl452:Class;
private var _dt106:Number;// = 0
private var _gn682:Number;// = 0
private var _mu358:Class;
private var _aw1108:BitmapData;
private var _bp153:Number;
private var _bu846:BitmapData;
private var _ob241:BitmapData;
private var _dg181:Point;
private var _nv257:Class;
private var _qq206:ContextMenuItem;
private var _ci563:Number;// = 0
private var _dv302:BitmapData;
private var _uo708:Class;
private var _ta892:Class;
private var _iu700:BitmapData;
private var _ss489:SimpleButton;
private var _dn600:Object;
private var _xu911:BitmapData;
private var _wc252:Boolean;
private var _fv175:BitmapData;
private var _ru884:Boolean;
private var _tu246:_xe622;
private var _fa285:BitmapData;
private var _nx80:Boolean;
private var _et1040:BitmapData;
private var _ow1107:_na76;
private var _tv107:BitmapData;
private var _sw632:Number;// = 0
private var _rw840:Class;
private var _ji223:BitmapData;
private var _sm742:Class;
private var _vo324:Class;
private var _mg928:Class;
private var _sb753:_wu831;
private var _le708:Class;
private var _sw652:Class;
private var _lm434:BitmapData;
private var filter:BlurFilter;
private var _gj925:Array;
private var _ys334:Class;
private var _tp822:_qr163;
private var _tk130:Class;
private var _gy288:MochiDigits;
private var _rh266:Boolean;
private var _wg897:Class;
private var _qi312:Array;
private var _bk544:Class;
private var _bm966:_xe622;
private var _rc1039:BitmapData;
public var _dy1124:Boolean;
private var _if179:_qr163;
private var _un213:Class;
private var _ta241:Class;
private var _dc676:Number;// = 0
private var _uy217:Object;
private var _jh1002:ContextMenuItem;
private var _xh561:Array;
private var _nu1122:Number;// = 0
private var _vq547:int;// = 35
private var _sf912:_ft79;
private var _ba675:String;
private var _vr400:BitmapData;
private var _so976:int;// = 0
private var _ky520:BitmapData;
private var _lx233:Boolean;
private var _wh545:int;
private var _un70:BitmapData;
private var _kj1065:BitmapData;
private var _ha719:Number;// = 0
private var _lk1058:MovieClip;
private var _ju136:BitmapData;
private var _iv668:BitmapData;
private var _oq495:Boolean;
private var _xl961:Array;
private var _te653:BitmapData;
private var _rv14:Boolean;
private var _fu942:BitmapData;
public var _pr394:Number;// = 0
private var _or354:Class;
private var _rm781:_qr163;
private var _fq112:Class;
private var _jm672:BitmapData;
private var _ce873:BitmapData;
private var _pv769:_qr163;
private var _yw531:BitmapData;
private var _px708:_qr163;
private var _fo183:Array;
private var _vl902:BitmapData;
private var _vk817:Number;
private var _gs347:_xe622;
private var _cl279:ContextMenuItem;
private var _yp31:Class;
private var _sq723:Class;
private var _vf131:Class;
private var _jd631:BitmapData;
private var _kf617:Number;// = 0
private var _hj340:Class;
private var _cb148:Array;
private var _kc353:BitmapData;
private var _oh487:BitmapData;
private var _nc1129:BitmapData;
private var _fl929:Number;// = 0
private var _sf38:_xe622;
private var _ur435:BitmapData;
private var _iy995:BitmapData;
private var fps:int;// = 0
private var _jx1098:BitmapData;
private var _ov521:BitmapData;
private var _eh781:int;
private var _xm877:Class;
private var _tv15:BitmapData;
private var _oa874:Object;
private var _fl952:int;// = 0
private var _wr294:Class;
private var _ei645:Class;
private var _yq802:Class;
private var _rd555:Array;
private var _xl317:Class;
private var _es313:Class;
private var _nh480:Class;
private var _sh1114:Number;// = 0
private var _lr546:Class;
private var dom:String;
private var _vt212:Class;
private var _kn156:Class;
private var _he701:ContextMenuItem;
private var _ql496:Number;// = 0
private var _fa508:Class;
private var _uq396:Boolean;
private var _pc896:Class;
private var _ah25:Number;// = 0
private var _ao546:Array;
private var _kf213:Class;
private var _ti886:Object;
private var _co394:MovieClip;
private var _dt403:Class;
private var _dm1013:Number;
private var _ch769:MovieClip;
private var _vt1041:Class;
private var _no918:Class;
private var _br1115:Object;
private var _ao320:int;// = 0
private var _dq389:BitmapData;
private var _rm180:BitmapData;
private var _bk1047:Boolean;// = true
private var _mx926:Boolean;
private var _aw293:int;
private var _vu588:_gn1124;
private var _na664:Class;
private var _ok19:Class;
private var _nt380:Object;
private var _vb877:Class;
private var _ti674:Boolean;
private var _gx673:int;
private var _yd220:Class;
private var _is1032:ContextMenuItem;
private var _xf1054:BitmapData;
private var _qy488:Number;// = 0
private var _qf763:Array;
private var _wy766:int;
private var _kg585:ContextMenuItem;
private var _ob336:BitmapData;
private var _ba1118:_ft79;
private var _ks672:MovieClip;
private var _ir740:int;
private var _bf355:BitmapData;
private var _nj63:Boolean;
private var _ct423:_tk523;
private var _pr1116:BitmapData;
private var _nm790:Object;
public var _rj963:MovieClip;
private var _ai1071:Boolean;
private var _we994:Class;
public var boardID:String;
private var _dx838:Class;
private var _cy61:Number;// = 0
private var _st430:Number;// = 0
public var _ss105:MovieClip;
private var _ei291:BitmapData;
private var _xf654:Array;
private var _la407:Number;// = 0
private var _gm258:int;
private var _tv664:Class;
private var _xy130:Number;
private var _sv866:MovieClip;
private var _js670:int;
private var _jh682:int;
private var _qg442:Class;
private var _pe464:_gn1124;
private var _gp1082:Class;
private var _lh298:BitmapData;
private var _xc167:Class;
private var _oo338:int;// = 640
private var _xg762:BitmapData;
private var _eb202:BitmapData;
private var _vp508:BitmapData;
private var _bf172:Class;
private var _aw1032:Array;
private var _lj255:int;
private var _tw545:Class;
private var _tl557:ContextMenu;
private var _ka886:BitmapData;
private var _tx876:Class;
private var _mf937:int;
private var _cl761:int;// = 400
private var _ed403:BitmapData;
private var _uk277:BitmapData;
private var _rj303:Boolean;
private var _ll448:Number;// = 0
private var _li181:Class;
private var _so90:SimpleButton;
private var _bm828:Object;
private var _ev284:Array;
private var _is213:BitmapData;
private var _pw29:int;
private var _mo535:Class;
private var _al709:int;
private var _bu322:Number;// = 0
private var _rv894:Class;
private var _qw702:Array;
private var _to868:Boolean;
private var _lf935:Class;
private var _yh234:Boolean;
private var _um249:Number;// = 0
public var _cw313:Number;// = 0
private var _ck239:Class;
private var _xr100:ContextMenuItem;
private var _mo319:Array;
private var _vo238:BitmapData;
private var _wf462:Class;
private var _eh88:_qr163;
private var _dn791:int;
private var _dp977:BitmapData;
private var _mc246:int;// = -1
private var _bt268:BitmapData;
private var _sd851:Boolean;
private var _bi277:Number;// = 0
private var _og1053:Object;
private var _cd83:Class;
public static var _il36:Boolean;
public static var _qj350:Number = 0;
public static var _aw838:Number;
public static var _th619:Array = [];
public static var _jw1026:Number = 0;
public function _up777():void{
_so90 = new gamezhero_logo2_btn();
_ss489 = new gamezhero_logo1_btn();
_ks672 = new gamezhero_put_on_blog_btn();
_ch769 = new gamezhero_more_games_btn();
_nw750 = new gamezhero_top_score_btn();
_co394 = new gamezhero_send_to_friends_btn();
_gj925 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
_lr419 = [0, 0, 0, 0, 0, 0, 0, 0, 0];
_xh561 = [0, 0, 0, 0, 0, 0, 0, 0, 0];
filter = new BlurFilter(2, 2, 15);
_oa346 = irrcrpt("UncjqGqfxy", 5);
_eu430 = SharedObject.getLocal(_oa346);
_yp31 = _up777__yp31;
_tv15 = new _yp31().bitmapData;
_li181 = _up777__li181;
_rc1039 = new _li181().bitmapData;
_wr294 = _up777__wr294;
_ov521 = new _wr294().bitmapData;
_mo535 = _up777__mo535;
_aw1108 = new _mo535().bitmapData;
_og1053 = new Object();
_fa508 = _up777__fa508;
_af650 = new _fa508().bitmapData;
_hx100 = _up777__hx100;
_kc353 = new _hx100().bitmapData;
_he45 = _up777__he45;
_dp977 = new _he45().bitmapData;
_tw545 = _up777__tw545;
_tp195 = new _tw545().bitmapData;
_ys334 = _up777__ys334;
_ei291 = new _ys334().bitmapData;
_kh950 = _up777__kh950;
_iy995 = new _kh950().bitmapData;
_mg928 = _up777__mg928;
_fw824 = new _mg928().bitmapData;
_ck239 = _up777__ck239;
_et1040 = new _ck239().bitmapData;
_tx876 = _up777__tx876;
_fa285 = new _tx876().bitmapData;
_uo708 = _up777__uo708;
_te653 = new _uo708().bitmapData;
_dx838 = _up777__dx838;
_ky200 = new _dx838().bitmapData;
_vt1041 = _up777__vt1041;
_dv302 = new _vt1041().bitmapData;
_vf131 = _up777__vf131;
_fu942 = new _vf131().bitmapData;
_ke885 = _up777__ke885;
_ka886 = new _ke885().bitmapData;
_vb877 = _up777__vb877;
_jm672 = new _vb877().bitmapData;
_up544 = _up777__up544;
_vl902 = new _up544().bitmapData;
_nk477 = _up777__nk477;
_gl1048 = new _nk477().bitmapData;
_hj340 = _up777__hj340;
_ju136 = new _hj340().bitmapData;
_tv664 = _up777__tv664;
_is213 = new _tv664().bitmapData;
_oq147 = _up777__oq147;
_lh298 = new _oq147().bitmapData;
_qg442 = _up777__qg442;
_vo238 = new _qg442().bitmapData;
_nv257 = _up777__nv257;
_kj1065 = new _nv257().bitmapData;
_sa1122 = _up777__sa1122;
_bt268 = new _sa1122().bitmapData;
_yd220 = _up777__yd220;
_oa551 = new _yd220().bitmapData;
_rw840 = _up777__rw840;
_fv175 = new _rw840().bitmapData;
_di917 = _up777__di917;
_vr400 = new _di917().bitmapData;
_kf213 = _up777__kf213;
_ob336 = new _kf213().bitmapData;
_ls311 = _up777__ls311;
_vp508 = new _ls311().bitmapData;
_le708 = _up777__le708;
_ur435 = new _le708().bitmapData;
_ta241 = _up777__ta241;
_ug355 = new _ta241().bitmapData;
_ul816 = _up777__ul816;
_iu700 = new _ul816().bitmapData;
_ta892 = _up777__ta892;
_un70 = new _ta892().bitmapData;
_de593 = _up777__de593;
_tv107 = new _de593().bitmapData;
_mu358 = _up777__mu358;
_hd1109 = new _mu358().bitmapData;
_xl317 = _up777__xl317;
_dq389 = new _xl317().bitmapData;
_sq723 = _up777__sq723;
_ce873 = new _sq723().bitmapData;
_xc167 = _up777__xc167;
_bu846 = new _xc167().bitmapData;
_kg1116 = _up777__kg1116;
_nu927 = new _kg1116().bitmapData;
_wg897 = _up777__wg897;
_dl31 = new _wg897().bitmapData;
_yq802 = _up777__yq802;
_ok601 = new _yq802().bitmapData;
_xf654 = [_ce873, _dq389, _hd1109, _tv107, _un70, _iu700, _bu846, _nu927, _dl31, _ok601];
_cb148 = [330, 267, 206, 144, 98, 51, 391, 452, 513, 574];
_fo183 = [50, 50, 50, 50, 50, 50, 50, 50, 50, 50];
_es313 = _up777__es313;
_ih901 = new _es313().bitmapData;
_kn87 = _up777__kn87;
_gs666 = new _kn87().bitmapData;
_un213 = _up777__un213;
_bf355 = new _un213().bitmapData;
_cd83 = _up777__cd83;
_xf1054 = new _cd83().bitmapData;
_nh480 = _up777__nh480;
_ji223 = new _nh480().bitmapData;
_br1115 = new Object();
_fq112 = _up777__fq112;
_rm180 = new _fq112().bitmapData;
_nt380 = new Object();
_tp822 = new _qr163();
_ui29 = _up777__ui29;
_oh487 = new _ui29().bitmapData;
_xm877 = _up777__xm877;
_av435 = new _xm877().bitmapData;
_in810 = _up777__in810;
_lm434 = new _in810().bitmapData;
_dc163 = _up777__dc163;
_eb202 = new _dc163().bitmapData;
_we994 = _up777__we994;
_at1071 = new _we994().bitmapData;
_bw126 = _up777__bw126;
_ed403 = new _bw126().bitmapData;
_bk544 = _up777__bk544;
_jx1098 = new _bk544().bitmapData;
_vt212 = _up777__vt212;
_uh445 = _up777__uh445;
_bh861 = new _uh445().bitmapData;
_fl452 = _up777__fl452;
_gp1082 = _up777__gp1082;
_lf935 = _up777__lf935;
_pc896 = _up777__pc896;
_nc1129 = new _pc896().bitmapData;
_ok19 = _up777__ok19;
_fa645 = _up777__fa645;
_yd304 = _up777__yd304;
_qn922 = new _yd304().bitmapData;
_nm790 = new Object();
_dn600 = new Object();
_xj16 = _up777__xj16;
_xu911 = new _xj16().bitmapData;
_bm828 = new Object();
_xl826 = _up777__xl826;
_xg762 = new _xl826().bitmapData;
_oa874 = new Object();
_na664 = _up777__na664;
_de759 = new _na664().bitmapData;
_se29 = new Object();
_ti886 = new Object();
_sw652 = _up777__sw652;
_km566 = new _sw652().bitmapData;
_no918 = _up777__no918;
_le440 = new _no918().bitmapData;
_ba1118 = new _ft79();
_kn156 = _up777__kn156;
_or354 = _up777__or354;
_sf912 = new _ft79();
_lr546 = _up777__lr546;
_oc1034 = _up777__oc1034;
_rv894 = _up777__rv894;
_sm742 = _up777__sm742;
_vo324 = _up777__vo324;
_mj770 = _up777__mj770;
_fh1035 = _up777__fh1035;
_wf462 = _up777__wf462;
_dt403 = _up777__dt403;
_bf172 = _up777__bf172;
_tk130 = _up777__tk130;
_ei645 = _up777__ei645;
_sn304 = _up777__sn304;
_ev284 = [];
_mo319 = [];
_qf763 = [];
_qw702 = [];
_ct423 = new _tk523();
_vt306 = new _lg811();
_qx1096 = getTimer();
_vu588 = new _gn1124();
_ow1107 = new _na76();
_pe464 = new _gn1124();
_tu246 = new _xe622();
_ao546 = [];
_rd555 = new Array();
_qi312 = [_ym491, _mc522, _bx848, _yt128, _mc535, _gn517, _kw687, _ew183, _jq879, _cj733, _wt224];
_wp605 = [_vy1014, _tm657, _vw116, _nr561, _wh100, _xk915, _ny707, _nb1101, _dm381, _mx116, _lj1044];
_ak98 = [_sv931, _tp478, _df261, _ss208, _rh345, _ox977, _rl518, _la338, _le99, _xk129, _py121, _aq792, _cp711, _yy603, _qt1023];
_aw1032 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
_sf38 = new _xe622();
_uk785 = new _xe622();
_go44 = new _xe622();
_wk566 = new _xe622();
_gs347 = new _xe622();
_xq916 = new _xe622();
_bm966 = new _xe622();
_ba377 = new _gn1124();
_pv769 = new _qr163();
_eh88 = new _qr163();
_rm781 = new _qr163();
_px708 = new _qr163();
_vv315 = new _qr163();
_if179 = new _qr163();
_uy217 = new Object();
_om661 = new Object();
_ss105 = new MovieClip();
_rj963 = new MovieClip();
_lk1058 = new MovieClip();
o = {n:[13, 5, 0, 9, 11, 14, 13, 8, 10, 14, 9, 10, 0, 0, 5, 11], f:function (_arg1:Number, _arg2:String):String{
if (_arg2.length == 16){
return (_arg2);
};
return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16))));
}};
boardID = o.f(0, "");
super();
}
private function _qg55(_arg1:ContextMenuEvent):void{
if (_sf912._bk938() == true){
_sf912._cg655(false);
_xr100.caption = irrcrpt("Uqwpf - Qhh", 2);
} else {
_sf912._cg655(true);
_xr100.caption = irrcrpt("Xtzsi - Ts", 5);
};
_nc909();
_yd618();
}
private function _ew183(_arg1:_gn1124):void{
var _local2 = 5;
_vu588 = _eh88._nl73(_oh487, (_local2 * 21), 0, 21, 21, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_lo551(_vu588, _local2);
_vu588._kc611(_ba377, _ct423._mj866(0.025, 0.05), 0, 0);
_vu588._ho197 = baddie8hits;
_vu588._td675 = _ct423._mj866(500, 4000);
_vu588._nx634(_va915);
_vu588._if1006 = 8;
_vu588._rr1013(_oc311);
_vu588._kj640 = 8;
}
private function _rn977(_arg1:ContextMenuEvent):void{
GamezheroApi.linkMoreGames();
_yd618();
}
private function _au579(_arg1:_na76):void{
if ((((_arg1.parent.x < -320)) || ((_arg1.parent.x > 320)))){
_arg1._ap1113 = -(_arg1._ap1113);
_arg1.parent.x = (_arg1.parent.x + (_arg1._ap1113 * _aw838));
};
if ((((_arg1.parent.y < -200)) || ((_arg1.parent.y > 200)))){
_arg1._ip574 = -(_arg1._ip574);
_arg1.parent.y = (_arg1.parent.y + (_arg1._ip574 * _aw838));
};
}
private function _ac700(_arg1:ContextMenuEvent):void{
if (_tu246._xj596.smoothing == true){
_qv243.caption = irrcrpt("Knqyjwnsl - Tkk", 5);
_tu246._xj596.smoothing = false;
} else {
_qv243.caption = irrcrpt("Ilowhulqj - Rq", 3);
_tu246._xj596.smoothing = true;
};
_nc909();
_yd618();
}
private function _ai493(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local4:int;
var _local5:_gn1124;
var _local6:int;
_local4 = 100;
if (_arg3 == -1){
_arg3 = 0;
};
_local6 = 0;
while (_local6 < _local4) {
_local5 = _px708._nl73(_xu911, 0, 0, _xu911.width, _xu911.height, _tu246._fp1093, _arg1, _arg2, 0);
_local5._fh452(_bm828[_arg3], _ct423._mj866(0.01, 0.1), 30, 4);
_local5._mk239(_ct423._mj866(0, 359), 0, _ct423._mj866(0.00125, 0.1), 0, 8E-5);
_local6++;
};
}
private function _aw981(_arg1:Event):void{
_ug118 = true;
_to868 = false;
_ow1107 = _wk566._is39._of703[1];
if (_ow1107.state == 1){
_oq495 = true;
} else {
_gw534(_sf38.parent, 0.5, 0.5, 0.5);
_sf38.parent.mouseChildren = false;
_wk566.parent.visible = true;
_wk566.parent.mouseChildren = true;
_wk566.parent.scaleX = 0;
_wk566.parent.scaleY = 0;
Tweener.addTween(_wk566.parent, {scaleX:1, time:0.5});
Tweener.addTween(_wk566.parent, {scaleY:1, time:0.5});
_wk566.parent.visible = true;
};
_sf912._do191(irrcrpt("ckoenkem", 2));
}
private function _cp711(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4 = 15;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.03, 0.06);
if (_arg3 == -1){
_arg3 = 4;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], 0.01, 30, 4, 0);
_local6._mk239(_local5, 0, _local7);
_local6._qu875(30, 0.9);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _lo551(_arg1:_gn1124, _arg2:int):void{
_arg1._ow86(-5, -5, (319 + 5), (199 + 5));
_arg1._vi979(7, 7);
_arg1._ho197 = 1;
_arg1.id = _arg2;
_wh545++;
}
private function _hr152(_arg1:int, _arg2:int):void{
_gj925[_arg1] = _arg2;
}
private function _yd96(_arg1:KeyboardEvent):void{
_ev284[_arg1.keyCode] = false;
if (_qf763[_arg1.keyCode] == true){
_qf763[_arg1.keyCode] = false;
_mo319[_arg1.keyCode] = true;
_eh781 = _arg1.keyCode;
};
}
private function _yt128(_arg1:_gn1124):void{
var _local9:Number;
var _local2 = 3;
var _local3 = 2;
var _local4:Number = 0.01;
var _local5:Number = _ct423._mj866(0.004, 0.009);
var _local6:Number = 0;
var _local7:Number = 0;
var _local8:int;
while (_local8 < _local2) {
_local9 = _ct423._mj866(0, 359);
_vu588 = _eh88._nl73(_oh487, (_local3 * 21), 0, 21, 21, _tu246._fp1093, 0, 0, 0);
_lo551(_vu588, _local3);
_vu588._ai380((_arg1.x + _ct423._mj866(-5, 5)), (_arg1.y + _ct423._mj866(-5, 5)));
_local6 = _local5;
if (_mx498._na789() == true){
_local6 = -(_local5);
};
_local7 = _ct423._mj866(1E-6, 5E-6);
_vu588._gy218(_local9, _local6, _local4, _local9, _local6, _local4, _local7);
_vu588._ho197 = baddie4hits;
_vu588._if1006 = 4;
_vu588._kj640 = 4;
_vu588._gw688(_yc55);
_vu588._nx634(_ms204);
_local8++;
};
}
private function _md135():void{
_uk785.parent.visible = false;
}
private function _tm266():void{
_dn791 = 2;
_ow1107 = _tu246._is39._nl73(_tu246.parent, _vr400, 0, -((100 + (_vr400.height / 2))), 3);
Tweener.addTween(_ow1107, {y:-60, time:1, delay:0.5});
_ow1107 = _tu246._is39._cr123(_tu246.parent, _ur435, 0, 120, 2, _hi501, _ps1032, _xf560);
Tweener.addTween(_ow1107, {y:85, time:1, delay:1.25});
_id607();
_kf617 = _ct423._mj866(150, 2000);
_wc252 = true;
_yd618();
}
private function _sv281(_arg1:Number):void{
var _local2:int;
var _local3:int;
_local2 = 0;
_local3 = -1;
_aw293 = -1;
_local2 = 9;
while (_local2 > -1) {
if (_arg1 > _xh561[_local2]){
_local3 = _local2;
};
_local2--;
};
if (_local3 > -1){
if (_local3 < 9){
_local2 = 9;
while (_local2 > _local3) {
_xh561[_local2] = _xh561[(_local2 - 1)];
_local2--;
};
};
_xh561[_local3] = _arg1;
_aw293 = _local3;
};
}
private function _jv370():void{
_gs347.init(stage, _gl1048.width, _gl1048.height, true, 0);
_gs347._nk722(_gl1048);
_gs347.parent.x = 320;
_gs347.parent.y = 200;
_gs347._is39._cr123(_gs347.parent, _ur435, 0, 119, 1, _lg901, _ps1032, _xf560);
_gs347.parent.visible = false;
}
private function _kp631(_arg1:_gn1124):void{
if (_arg1._kd109 == 0){
if (_mx498._dt340(_arg1.x, _arg1.y, _ba377.x, _ba377.y) < 45){
_arg1._kc611(_ba377, _ct423._mj866(0.0008, 0.003), 0, 0.0001);
};
};
if (_al388(_arg1, _ba377) == true){
_arg1._xt293 = true;
_nx80 = true;
_hk272();
};
}
private function _mf333():void{
_tu246.lock();
_bk211();
_mx498._fl176(_ih901, 0, 0, 0, 0, 320, 200, _tu246._fp1093);
_iq816();
_hg193();
_vv315._mb1052();
_px708._mb1052();
_tp822._wy844(_kp631);
_pe1106();
_rm781._mb1052();
_if179._mb1052();
_eh88._wy844(_uh582);
_ix219();
_ba377._qh208(_aw838);
_mx498._xn1118(_ed403, _ba377.x, _ba377.y, _tu246._fp1093, 1, 1, 1, _bu322, 0, 0, 1, 1, 1, null, false);
_ba377._lf500();
_pv769._mb1052();
_tu246.unlock();
_rq434();
if (_eh781 > 0){
if (_eh781 == 80){
_hj986();
};
if (SkipLevelUsing_A_Active == true){
if (_eh781 == 65){
_ru884 = true;
};
};
_fc491(_eh781);
};
if (_tn93 == true){
if (_kf617 == 0){
_tn93 = false;
if (_ai1071 == true){
_ai1071 = false;
_be545();
};
if (_ti674 == true){
_ti674 = false;
_vr601();
};
if (_nj63 == true){
_nj63 = false;
_qp872();
};
};
};
}
private function _rw60(_arg1:Object, _arg2:Number=20, _arg3:Number=20, _arg4:Number=300, _arg5:Number=180):void{
_vu588 = _rm781._nl73(_lm434, 0, 0, _lm434.width, _lm434.height, _tu246._fp1093, -1, -1, 1);
_vu588._ai380(_ct423._mj866(_arg2, _arg4), _ct423._mj866(_arg3, _arg5));
_vu588._bw882(-0.0015, 0, 1.5, 3, 1.5);
_vu588._nx634(_eg562);
_vu588._ay906 = _arg1;
}
private function _yy603(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4 = 15;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.03, 0.06);
if (_arg3 == -1){
_arg3 = 0;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], 0.01, 30, 4, 0);
_local6._mk239(_local5, 0, _local7);
_local6._qu875(30, 0.9);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _jy413():void{
for each (_vu588 in _pv769._of703) {
_vu588._ty399 = false;
_vu588._xt293 = true;
_tp869(_vu588);
};
}
private function _hg193():void{
_dc676 = (_dc676 - _aw838);
if (_dc676 < 1){
_dc676 = 40;
if (((!((_ba377.x == _ba377._ee48))) || (!((_ba377.y == _ba377._hk593))))){
_ba377._mf226(_ba377.x, _ba377.y);
_ao320 = (_ao320 + 1);
if (_ao320 == 5){
_ao320 = 1;
};
_vu588 = _vv315._nl73(_km566, 0, 0, _km566.width, _km566.height, _tu246._fp1093, 0, 0, 0);
_vu588._ow86(-20, -20, (320 + 20), (200 + 20));
_vu588.y = _ba377.y;
_vu588.x = (int((_ba377.x / 8)) * 8);
_vu588._wr450(0, -0.2);
_vu588 = _vv315._nl73(_km566, 0, 0, _km566.width, _km566.height, _tu246._fp1093, 0, 0, 0);
_vu588._ow86(-20, -20, (320 + 20), (200 + 20));
_vu588.y = _ba377.y;
_vu588.x = (int((_ba377.x / 8)) * 8);
_vu588._wr450(0, 0.2);
_vu588 = _vv315._nl73(_le440, 0, 0, _le440.width, _le440.height, _tu246._fp1093, 0, 0, 0);
_vu588._ow86(-20, -20, (320 + 20), (200 + 20));
_vu588.x = _ba377.x;
_vu588.y = ((int((_ba377.y / 8)) * 8) + 1);
_vu588._wr450(-0.2, 0);
_vu588 = _vv315._nl73(_le440, 0, 0, _le440.width, _le440.height, _tu246._fp1093, 0, 0, 0);
_vu588._ow86(-20, -20, (320 + 20), (200 + 20));
_vu588.x = _ba377.x;
_vu588.y = ((int((_ba377.y / 8)) * 8) + 1);
_vu588._wr450(0.2, 0);
};
};
}
private function _kp880(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4:int = _ct423._xx1117(60, 200);
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.075, 0.3);
if (_arg3 == -1){
_arg3 = 0;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], _ct423._mj866(0.002, 0.05), 30, 4, 0);
_local6._mk239(_ct423._mj866(260, 280), 0, _ct423._mj866(0.05, 0.3), 0, 0.00025);
_local8++;
};
}
private function _wp1076():void{
_go44.init(stage, _iy995.width, _iy995.height, true, 0);
_mx498._fl176(_iy995, 0, 0, 0, 0, _iy995.width, _iy995.height, _go44._fp1093);
_go44.parent.x = 320;
_go44.parent.y = 200;
_go44._is39._cr123(_go44.parent, _ur435, 0, 140, 1, _vv183, _ps1032, _xf560);
_go44.parent.visible = false;
}
private function _sc594():void{
var _local1:String;
var _local2:Number;
var _local4:BitmapData;
_gm258 = Math.round(_mx498._ao850(_wy766, _wh545));
_jh682 = (_jh682 + _gm258);
_local2 = Math.round((_jh682 / _ld314));
var _local3:Number = Math.round((_local2 * 100));
_uk277 = new _fa645().bitmapData;
_local1 = ("" + _local2);
_cn76(_bh861, _uy217, _uk277, _local1, 158, 0, 1, false);
_mx498._fl176(_nc1129, (160 + (_local1.length * 8)), 0, 0, 0, _nc1129.width, _nc1129.height, _uk277);
_local4 = _uk277;
_vu588 = _vv315._nl73(_local4, 0, 0, _local4.width, _local4.height, _tu246._fp1093, 0, 0, 0, 0, true);
_vu588._ai380(162, 220);
Tweener.addTween(_vu588, {y:190, time:1, delay:1.5});
}
private function _um1069():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
_local3 = 14;
_ql496 = 0;
_local1 = 0;
while (_local1 < 15) {
_local4 = 0;
while (_local4 < 18) {
_local2 = _rd555[(((_ld314 - 1) * 15) + _local1)][_local4];
if (_local2 > 0){
_local2--;
_vu588 = _eh88._nl73(_aw1108, (_local2 * 16), 0, 16, 8, _tu246._fp1093, ((_local4 + 1) * 16), -16, 0, (_local3 * 200), false);
_vu588._uc998(((_local4 + 1) * 16), (16 + (_local1 * 8)), 0.05, 0.0001, false);
_vu588.id = _local2;
_vu588._ho197 = (_local2 + 1);
_ql496++;
};
_local4++;
};
_local3--;
_local1++;
};
}
private function _fy1009():void{
}
private function _eg562(_arg1:_gn1124):void{
_arg1._dv827 = _arg1._vk350;
if (_arg1._rx510 == 0){
_arg1._xt293 = true;
_arg1._ay906(_arg1);
};
}
private function _xj243():void{
_tp822._mj479();
_pv769._mj479();
_ba377._vk350 = 1;
_ba377._ff422 = 1;
_dn791 = 6;
_mf937 = 4;
_kf617 = 2000;
_tn93 = false;
_ai1071 = false;
_js670 = (_js670 - 1);
if (_js670 == -1){
_js670 = 0;
_tm266();
};
_wo439();
}
private function _ij290(_arg1:_gn1124):void{
switch (_arg1._jw697){
case 1:
if (_arg1._kd109 == 0){
_pj156(1, 2, _arg1);
_sh1114 = 300;
_sf912._do191(irrcrpt("klw7", 3));
_arg1._uc998((320 - 20), 99, 0.001, 0.0005);
_arg1._jw697 = 2;
};
break;
case 2:
if (_arg1._kd109 == 0){
_pj156(1, 2, _arg1);
_sh1114 = 300;
_sf912._do191(irrcrpt("lmx8", 4));
_arg1._uc998(159, 99, 0.001, 0.0005);
_arg1._jw697 = 3;
};
break;
case 3:
if (_arg1._kd109 == 0){
_arg1._uc998(159, 20, 0.001, 0.0005);
_arg1._jw697 = 4;
};
break;
case 4:
if (_arg1._kd109 == 0){
_pj156(1, 2, _arg1);
_sh1114 = 300;
_sf912._do191(irrcrpt("klw7", 3));
_arg1._uc998(159, (200 - 20), 0.001, 0.0005);
_arg1._jw697 = 5;
};
break;
case 5:
if (_arg1._kd109 == 0){
_pj156(1, 2, _arg1);
_sh1114 = 300;
_sf912._do191(irrcrpt("mny9", 5));
_arg1._uc998(159, 99, 0.001, 0.0005);
_arg1._jw697 = 6;
};
break;
case 6:
if (_arg1._kd109 == 0){
_arg1._td675 = (_arg1._td675 + 1);
if (_arg1._td675 == 4){
_arg1.state = 3;
_arg1._jw697 = 1;
_arg1._td675 = -5000;
_arg1._vm737 = 10000;
} else {
_arg1._uc998(20, 99, 0.001, 0.0005);
_arg1._jw697 = 1;
};
};
break;
};
}
private function _ps185(_arg1:Boolean=false):void{
_vu588 = _pv769._nl73(_aw1108, 112, 0, 8, 8, _tu246._fp1093, (160 - 4), (140 - 4), 0, 0, false);
_vu588._wr450(_ct423._mj866(-0.05, 0.05), 0.08);
_vu588._kd109 = 0;
_vu588._vi979(8, 8);
if (_arg1 == true){
_vu588._ai380((_ba377.x + (11 * _ba377._vk350)), (_ba377.y - 8));
_vu588._ip574 = -(_ct423._mj866(0.08, 0.15));
};
}
private function _kh713(_arg1:Boolean=false):void{
_yd618();
_ld314++;
_cy789 = _mx498._gf486(("" + _ld314), 2);
if (_ld314 == 11){
_ld314 = _fl830;
_tn93 = true;
_nj63 = true;
_kf617 = 2500;
_mf937 = 5;
} else {
_mf937 = 2;
if (_ld314 > 1){
if (_arg1 == false){
_uu1092();
_kf617 = 3000;
} else {
_kf617 = 500;
};
};
};
}
private function _dq452(_arg1:Number, _arg2:Number, _arg3:int=1):void{
var _local4:_gn1124;
var _local5:int;
while (_local5 < _arg3) {
_local4 = _tp822._nl73(_rm180, 0, 0, _rm180.width, _rm180.height, _tu246._fp1093, (_arg1 + _ct423._mj866(-8, 8)), (_arg2 + _ct423._mj866(-8, 8)), 0);
_local4._vi979(5, 5);
_local4._lv1005(8000);
_local5++;
};
}
private function _tg543(_arg1:ContextMenuEvent):void{
if (stage.quality == irrcrpt("MPX", 1)){
stage.quality = StageQuality.MEDIUM;
_he701.caption = irrcrpt("Kvetlmgw - Qihmyq", 4);
} else {
if (stage.quality == irrcrpt("RJINZR", 5)){
stage.quality = StageQuality.HIGH;
_he701.caption = irrcrpt("Hsbqijdt - Ijhi", 1);
} else {
if (stage.quality == irrcrpt("MNLM", 5)){
stage.quality = StageQuality.LOW;
_he701.caption = irrcrpt("Hsbqijdt - Mpx", 1);
};
};
};
_nc909();
_yd618();
}
private function _sh834():void{
_yd618();
_dn791 = 3;
_vk817 = 3000;
}
private function _kp683(_arg1:_gn1124):void{
_arg1._we885 = _ba377.x;
_arg1._oc603 = _ba377.y;
}
private function _nc909():void{
_ow1107 = _uk785._is39._of703[1];
if (stage.quality == irrcrpt("PSA", 4)){
_ow1107._nk722(_te653);
_he701.caption = irrcrpt("Kvetlmgw - Psa", 4);
} else {
if (stage.quality == irrcrpt("NFEJVN", 1)){
_ow1107._nk722(_ky200);
_he701.caption = irrcrpt("Itcrjkeu - Ogfkwo", 2);
} else {
if (stage.quality == irrcrpt("IJHI", 1)){
_ow1107._nk722(_dv302);
_he701.caption = irrcrpt("Hsbqijdt - Ijhi", 1);
};
};
};
_ow1107 = _uk785._is39._of703[3];
_ow1107._nk722(_et1040);
_xr100.caption = irrcrpt("Vrxqg - Rq", 3);
if (_sf912._bk938() == false){
_ow1107._nk722(_fw824);
_xr100.caption = irrcrpt("Vrxqg - Rii", 3);
};
_ow1107 = _uk785._is39._of703[4];
_ow1107._nk722(_et1040);
_is1032.caption = irrcrpt("Qywmg - Sr", 4);
if (_ba1118._bk938() == false){
_ow1107._nk722(_fw824);
_is1032.caption = irrcrpt("Pxvlf - Rii", 3);
};
_ow1107 = _uk785._is39._of703[6];
if (_tu246._xj596.smoothing == true){
_qv243.caption = irrcrpt("Jmpxivmrk - Sr", 4);
_ow1107._nk722(_et1040);
} else {
_qv243.caption = irrcrpt("Jmpxivmrk - Sjj", 4);
_ow1107._nk722(_fw824);
};
}
private function _fj426(_arg1:int):int{
return (_gj925[_arg1]);
}
override protected function Init():void{
var _local1:int;
stage.frameRate = _vq547;
stage.quality = StageQuality.HIGH;
stage.showDefaultContextMenu = false;
GamezheroApi.ini(irrcrpt("rkzgndncuv", 2));
_ap502();
_tu246.init(stage, 320, 200, true, 4278190080, true);
_tu246.parent.x = 320;
_tu246.parent.y = 200;
_tu246.parent.scaleX = 2;
_tu246.parent.scaleY = 2;
_dt106 = _tu246.parent.x;
_pm822 = _tu246.parent.y;
_sf38.init(stage, _oo338, _cl761, false, 4278190080);
_sf38.parent.visible = false;
_jy177();
_wp1076();
_gb612();
_jv370();
_ci1081();
_sf38.parent.contextMenu = _tl557;
_tu246.parent.contextMenu = _tl557;
_uk785.parent.contextMenu = _tl557;
_go44.parent.contextMenu = _tl557;
_wk566.parent.contextMenu = _tl557;
stage.addEventListener(MouseEvent.MOUSE_DOWN, _pa21);
stage.addEventListener(MouseEvent.MOUSE_UP, _uy414);
stage.addEventListener(KeyboardEvent.KEY_DOWN, _ln97);
stage.addEventListener(KeyboardEvent.KEY_UP, _yd96);
_dq191();
_un875();
_gy288 = new MochiDigits();
_mm252();
_ea265();
_fl344();
_jt370();
_ei648();
stage.quality = StageQuality.MEDIUM;
_sb753 = new _wu831();
_sb753.Init(stage, _ot588);
}
private function _be545():void{
var _local1:Number = 0;
var _local2:Number = 0;
var _local3 = 2000;
var _local4:Number = (360 / _local3);
_yd618();
_dn791 = 3;
_vk817 = 3000;
var _local5:int;
while (_local5 < _local3) {
_vu588 = _if179._nl73(_de759, 0, 0, 7, 7, _tu246._fp1093, _ba377.x, _ba377.y, 0);
_vu588._fh452(_se29[0], _ct423._mj866(0.03, 0.1), 30, 4);
_local4 = (_local4 + (360 / _local3));
_vu588._mk239(_local4, 0, _ct423._mj866(0.005, 0.4));
_local5++;
};
_by910();
}
private function _nw728(_arg1:int, _arg2:int=1):void{
var _local3:int = _ct423._xx1117(1, _arg2);
var _local4:int;
while (_local4 < _local3) {
if (_arg1 == 2){
if (_lx707(5) > 2){
_arg1 = 1;
};
};
if (_arg1 == 3){
if (_lx707(3) > 27){
_arg1 = 1;
};
};
if (_arg1 == 4){
if (_lx707(4) > 11){
_arg1 = 1;
};
};
if (_arg1 == 5){
if (_lx707(5) > 3){
_arg1 = 1;
};
};
if (_arg1 == 6){
if (_lx707(6) > 0){
_arg1 = 1;
};
};
if (_arg1 == 7){
if (_lx707(7) > 0){
_arg1 = 1;
};
};
if (_arg1 == 10){
if (_lx707(10) > 3){
_arg1 = 1;
};
};
var _local5 = _wp605;
_local5[(_arg1 - 1)]();
_local4++;
};
}
private function _pj156(_arg1:int, _arg2:int, _arg3:_gn1124):void{
var _local4:Number;
var _local5:Number;
var _local6:int;
_local4 = _arg3.x;
_local5 = _arg3.y;
_local6 = 0;
while (_local6 < _arg2) {
_arg3.x = (_local4 + _ct423._mj866(-10, 10));
_arg3.y = (_local5 + _ct423._mj866(-10, 10));
var _local7 = _qi312;
_local7[(_arg1 - 1)](_arg3);
_local6++;
};
_arg3.x = _local4;
_arg3.y = _local5;
}
private function _pa584(_arg1:Number):void{
_gy288.addValue(_arg1);
_ba675 = _mx498._gf486(_gy288.toString(), 6);
}
private function _gt386():void{
_xt181 = Math.round(((getTimer() - _ll448) / 1000));
_vt306.draw(_tu246._fp1093, ("" + _xt181), 180, 185);
}
private function _xk129(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4 = 150;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.075, 0.25);
if (_arg3 == -1){
_arg3 = 3;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], _ct423._mj866(0.005, 0.02), 30, 4, 0);
_local5 = _ct423._mj866(0, 359);
_local7 = _ct423._mj866(0, 0.15);
_local6._mk239(_local5, 0, _local7);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _al388(_arg1:_gn1124, _arg2:_gn1124):Boolean{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
_local3 = _arg1.x;
_local4 = _arg1.y;
_local5 = ((_arg1._ci843 - 1) * _arg1._vk350);
_local6 = ((_arg1._hp1101 - 1) * _arg1._dv827);
_local7 = _arg2.x;
_local8 = _arg2.y;
_local9 = ((_arg2._ci843 - 1) * _arg2._vk350);
_local10 = ((_arg2._hp1101 - 1) * _arg2._dv827);
if (_arg1._ta423 == true){
_local3 = (_local3 - (_local5 / 2));
_local4 = (_local4 - (_local6 / 2));
};
if (_arg2._ta423 == true){
_local7 = (_local7 - (_local9 / 2));
_local8 = (_local8 - (_local10 / 2));
};
if ((((_arg1._ty399 == true)) && ((_arg2._ty399 == true)))){
return (_ex110(_local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10));
};
return (false);
}
private function _ap502():void{
_tl557 = new ContextMenu();
_kg585 = new ContextMenuItem(irrcrpt("(d) NvotjfHbnft.dpn", 1));
_jh1002 = new ContextMenuItem(irrcrpt("Sodb Pruh Jdphv!", 3));
_jh1002.separatorBefore = true;
_qq206 = new ContextMenuItem(irrcrpt("Fii Ymnx Lfrj Yt Dtzw Xnyj", 5));
_xr100 = new ContextMenuItem(irrcrpt("Tpvoe - Po", 1));
_xr100.separatorBefore = true;
_is1032 = new ContextMenuItem(irrcrpt("Qywmg - Sr", 4));
_he701 = new ContextMenuItem(irrcrpt("Lwfumnhx - Rjinzr", 5));
_qv243 = new ContextMenuItem(irrcrpt("Ilowhulqj - Rq", 3));
_cl279 = new ContextMenuItem(irrcrpt("Gvmmtdsffo - Pgg", 1));
_cl279.separatorBefore = true;
_tl557.addEventListener(ContextMenuEvent.MENU_SELECT, _br1127);
_tl557.hideBuiltInItems();
_jh1002.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, _rn977);
_qq206.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, _me502);
_xr100.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, _qg55);
_is1032.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, _bo753);
_he701.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, _tg543);
_qv243.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, _ac700);
_cl279.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, _is772);
_tl557.customItems.push(_kg585, _jh1002, _qq206, _xr100, _is1032, _he701, _qv243, _cl279);
}
private function _lh781(_arg1:Event):void{
_ow1107 = _uk785._is39._of703[3];
if (_sf912._bk938() == true){
_sf912._cg655(false);
_ow1107._nk722(_fw824);
} else {
_sf912._cg655(true);
_ow1107._nk722(_et1040);
};
_sf912._do191(irrcrpt("emqgpmgo", 4));
}
private function _wd943(_arg1:BitmapData, _arg2:Object, _arg3:Object):void{
var _local4:int;
var _local5:int;
_local4 = 0;
_local5 = 0;
while (_local5 < 10) {
_arg2[(_local5 + 48)] = new Rectangle((59 + (_local5 * 8)), 0, 7, 7);
_local5++;
};
_local4 = 48;
while (_local4 < 58) {
_arg3[_local4] = new BitmapData(_arg2[_local4].width, _arg2[_local4].height, true, 0);
_mx498._fl176(_arg1, 0, 0, _arg2[_local4].x, _arg2[_local4].y, _arg2[_local4].width, _arg2[_local4].height, _arg3[_local4]);
_local4++;
};
}
private function _ac1077():void{
_gs347.parent.visible = false;
}
private function _sn172():void{
stage.addChild(_ss105);
MochiScores.showLeaderboard({boardID:boardID, clip:_ss105, onError:_cy429, onClose:_cy429});
}
private function _br737(_arg1:_gn1124):void{
_arg1._st183(5, 5, 5, 0.025, 0.025, 0.025);
}
private function _df261(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4 = 40;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.075, 0.25);
if (_arg3 == -1){
_arg3 = 3;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], 0.01, 30, 4, 0);
_local6._mk239(_local5, 0, _local7);
_local6._qu875(30, 0.9);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _ma1052():void{
_aw838 = (_aw838 / 3);
_tu246.lock();
_bk211();
_mx498._fl176(_ih901, 0, 0, 0, 0, 320, 200, _tu246._fp1093);
_ci50();
_nm787();
_vv315._mb1052();
_sg230();
_md335();
_eh88._mb1052();
_px708._mb1052();
_tu246.unlock();
_rq434();
_vk817 = (_vk817 - (_aw838 * 3));
if (_vk817 < 1){
_xj243();
};
}
private function _lv825():void{
var _local1:int;
while (_local1 < 10) {
_aw1032[_local1] = 0;
_local1++;
};
}
private function _xy411():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
_local1 = ((_qj350 / 2) - _ba377.x);
_local2 = ((_jw1026 / 2) - _ba377.y);
_local3 = (_local1 / 50);
_local4 = (_local2 / 50);
_ba377.x = (_ba377.x + (_local3 * _aw838));
_ba377.y = (_ba377.y + (_local4 * _aw838));
if (_ba377.x < 3){
_ba377.x = 3;
} else {
if (_ba377.x > 317){
_ba377.x = 317;
};
};
if (_ba377.y < 3){
_ba377.y = 3;
} else {
if (_ba377.y > 197){
_ba377.y = 197;
};
};
}
private function _ny707():void{
_ul1127(7, 1);
_rw60(_kw687, 10, 10, 310, 190);
}
private function _wv116(_arg1:Event):void{
_tu246._is39._mj479();
_tn93 = true;
_ti674 = true;
_sf912._do191(irrcrpt("bjndmjdl", 1));
}
private function _rq434():void{
if (_lx233 == true){
_sf912._do191((irrcrpt("klw", 3) + _ct423._xx1117(1, 3)));
_lx233 = false;
};
if (_pp957 == 0){
if (_pg1016 == true){
_sf912._do191(irrcrpt("knwj", 5));
_pp957 = 250;
};
} else {
_pp957 = (_pp957 - _aw838);
if (_pp957 < 1){
_pp957 = 0;
_pg1016 = false;
};
};
if (_nx80 == true){
_sf912._do191(irrcrpt("tmgoyt", 4));
_nx80 = false;
};
if (_sd851 == true){
_sf912._do191(irrcrpt("edgglhklw", 3));
_sd851 = false;
};
if (_rv14 == true){
_sf912._do191(irrcrpt("csjdl", 1));
_rv14 = false;
};
if (_mx926 == true){
_sf912._do191(irrcrpt("ycnn", 2));
_mx926 = false;
};
if (_fj693 == true){
_sf912._do191(irrcrpt("rcffng", 2));
_fj693 = false;
};
}
private function _st80():void{
_pv769._po376 = (200 - (_xy130 * 1.7));
_nt868 = (0.1 + (_xy130 * 0.000525));
}
private function _yi11(_arg1:_gn1124):void{
var _local2:int;
var _local3:Number;
var _local4:Number;
var _local5:int;
var _local6:int;
_arg1._td675 = (_arg1._td675 - _aw838);
if (_arg1._td675 < 0){
_arg1._nx634(null);
_arg1._xt293 = true;
_local2 = 30;
_local3 = (360 / _local2);
_local4 = _local3;
_local5 = 6;
_local6 = 0;
while (_local6 < _local2) {
_vu588 = _eh88._nl73(_oh487, 271, 0, 9, 9, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_lo551(_vu588, _local5);
_vu588._vi979(3, 3);
_vu588._mk239(_local4, 0, 0.05, 0);
_local4 = (_local4 + _local3);
_vu588._ho197 = 1;
_vu588._ah99 = true;
_vu588._kj640 = 12;
_local6++;
};
};
}
private function _sv931(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4 = 30;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.075, 0.25);
if (_arg3 == -1){
_arg3 = 0;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], 0.01, 30, 4, 0);
_local6._mk239(_local5, 0, _local7);
_local6._qu875(30, 0.9);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _jy290(_arg1:BitmapData, _arg2:Number=10, _arg3:Number=10):void{
_mu154();
_vt306.draw(_arg1, ("" + _so976), _arg2, _arg3, _lg811.LEFT);
}
private function _rg307(_arg1:int, _arg2:Number, _arg3:int, _arg4:Array):void{
var _local5:_fm115;
_arg1 = Math.round((_arg1 * 1.5));
_arg2 = Math.round((_arg2 * 1.25));
_local5 = new _fm115();
_local5._ty212 = _arg1;
_local5._tr1045 = ((_arg2 * 1000) / _local5._ty212);
_local5._qk912 = _arg3;
_local5._mv792 = _arg4;
_ao546[_ao546.length] = _local5;
_fl830 = _ao546.length;
}
private function _ao236(_arg1:_gn1124):void{
var _local2:_gn1124;
_arg1.target = null;
_arg1.x = (_arg1.x + (_arg1._ap1113 * _aw838));
if (_or746(_arg1) == true){
if ((_arg1.x + (_arg1.width / 2)) < (_arg1.target.x + (_arg1.target.width / 2))){
_arg1.x = (_arg1.target.x - _arg1.width);
} else {
_arg1.x = (_arg1.target.x + _arg1.target.width);
};
_arg1._ap1113 = -(_arg1._ap1113);
};
_arg1.y = (_arg1.y + (_arg1._ip574 * _aw838));
if (_or746(_arg1) == true){
if ((_arg1.y + (_arg1.height / 2)) < (_arg1.target.y + (_arg1.target.height / 2))){
_arg1.y = (_arg1.target.y - _arg1.height);
} else {
_arg1.y = (_arg1.target.y + _arg1.target.height);
};
_arg1._ip574 = -(_arg1._ip574);
};
if (_arg1.target != null){
_rv14 = true;
if (_arg1.target._ek238(1) == true){
_arg1.target._xt293 = true;
_ai493((_arg1.target.x + 7.5), (_arg1.target.y + 3.5), _arg1.target.id);
_ql496 = (_ql496 - 1);
_pa584(((_arg1.target.id + 1) * 100));
if (_ql496 == 0){
_jy413();
_kh713();
} else {
if (_mx498._na789() == true){
_kl634(_arg1.target.x, _arg1.target.y);
};
};
} else {
_arg1.target._fh452(_og1053[_arg1.target.id], 0.07, 20, 3);
};
};
if (_al388(_arg1, _ba377) == true){
_fj693 = true;
if ((_arg1.y + 4) < (_ba377.y + 6)){
_arg1.y = (_ba377.y - 8);
_arg1._ip574 = -(_arg1._ip574);
_arg1._td675 = 0;
if ((_arg1.x + 3.5) < (_ba377.x + (15.5 * _ba377._vk350))){
_arg1._td675 = ((_ba377.x + (15.5 * _ba377._vk350)) - (_arg1.x + 3.5));
_arg1._td675 = (-(_arg1._td675) * 0.007);
} else {
if ((_arg1.x + 3.5) > (_ba377.x + (15.5 * _ba377._vk350))){
_arg1._td675 = ((_arg1.x + 3.5) - (_ba377.x + (15.5 * _ba377._vk350)));
_arg1._td675 = (_arg1._td675 * 0.007);
};
};
_arg1._ap1113 = _arg1._td675;
_gu373();
};
};
if (_arg1.x < 0){
_arg1.x = 0;
_arg1._ap1113 = -(_arg1._ap1113);
_yf64(0, (_arg1.y + 4));
_mx926 = true;
} else {
if (_arg1.x > 312){
_arg1.x = 312;
_arg1._ap1113 = -(_arg1._ap1113);
_yf64(319, (_arg1.y + 4));
_mx926 = true;
};
};
if (_arg1.y < 0){
_arg1.y = 0;
_arg1._ip574 = -(_arg1._ip574);
_arg1._ip574 = (_arg1._ip574 + 0.015);
if (_arg1._ip574 > 0.18){
_arg1._ip574 = 0.18;
};
_yf64((_arg1.x + 4), 0);
_mx926 = true;
} else {
if (_arg1.y > 192){
_arg1._xt293 = true;
_arg1._ty399 = false;
_vy1068((_arg1.x + 4), (_arg1.y + 4));
if (_pv769._of703.length == 1){
_tn93 = true;
_ai1071 = true;
};
_by910();
};
};
}
private function _gm336(_arg1:_gn1124):void{
_arg1.x = (_arg1.x + _ct423._mj866(-2, 2));
_arg1.y = (_arg1.y + _ct423._mj866(-2, 2));
if (_arg1.x < 0){
_arg1.x = 0;
} else {
if (_arg1.x > 319){
_arg1.x = 319;
};
};
if (_arg1.y < 0){
_arg1.y = 0;
} else {
if (_arg1.y > 199){
_arg1.y = 199;
};
};
}
private function _oc311(_arg1:_gn1124):void{
_dq452(_arg1.x, _arg1.y, 2);
}
private function _gx338(_arg1:_gn1124):void{
if (_al388(_arg1, _ba377) == true){
_sf912._do191(irrcrpt("csfblpvuqjdlvq", 1));
_yf64((_arg1.x + 7), (_arg1.y + 4));
_arg1._xt293 = true;
if (_arg1.id == 1){
_ps185(true);
} else {
if (_arg1.id == 2){
_pa584(100);
} else {
if (_arg1.id == 3){
_ba377._ff422 = (_ba377._ff422 + 0.25);
_ba377._bw882(0.001, 0.25, _ba377._ff422, 3, _ba377._vk350);
} else {
if (_arg1.id == 4){
_ba377._ff422 = (_ba377._ff422 - 0.25);
if (_ba377._ff422 < 0.25){
_ba377._ff422 = 0.25;
};
_ba377._bw882(-0.001, _ba377._ff422, 100, 3, _ba377._vk350);
} else {
if (_arg1.id == 5){
_rm87();
};
};
};
};
};
};
}
private function _ss208(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4:int = _ct423._xx1117(50, 100);
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.075, 0.25);
if (_arg3 == -1){
_arg3 = 2;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], _ct423._mj866(0.005, 0.02), 30, 4, 0);
_local5 = _ct423._mj866(0, 359);
_local7 = _ct423._mj866(0, 0.08);
_local6._mk239(_local5, 0, _local7);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _ps1032(_arg1:Event):void{
Tweener.addTween(_arg1.currentTarget, {brightness:3, time:0.225, transition:irrcrpt("pmriev", 4)});
}
private function _qt1023(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:int;
var _local7:Number;
var _local8:int;
var _local4:Number = 0;
var _local5:Number = 0;
_local6 = 2000;
_local7 = (360 / _local6);
_eh88._yi748();
_local8 = 0;
while (_local8 < _local6) {
_vu588 = _eh88._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_vu588._fh452(_nm790[0], _ct423._mj866(0.005, 0.01), 30, 4);
_local7 = (_local7 + (360 / _local6));
_vu588._mk239(_local7, 0, _ct423._mj866(0.005, 0.1));
_vu588._ty399 = false;
_vu588.id = -1;
_local8++;
};
}
private function _ci50():void{
_cn76(_bh861, _uy217, _tu246._fp1093, _ba675, 43, 2, 1, false);
_cn76(_bh861, _uy217, _tu246._fp1093, _cy789, 118, 2, 1, false);
_cn76(_bh861, _uy217, _tu246._fp1093, _ck921, 161, 2, 1, false);
}
private function _fi193(_arg1:_gn1124):void{
_arg1.x = (_arg1.x + (_arg1._ap1113 * _aw838));
_arg1.y = (_arg1.y + (_arg1._ip574 * _aw838));
if ((((_arg1.x < _arg1._ur964)) || ((_arg1.x > _arg1._hl264)))){
_arg1._xt293 = true;
_arg1._ty399 = false;
_arg1._nx634(null);
_hb690(3);
};
if ((((_arg1.y < _arg1._xh330)) || ((_arg1.y > _arg1._wv249)))){
_arg1._xt293 = true;
_arg1._ty399 = false;
_arg1._nx634(null);
_hb690(3);
};
}
private function _ss693(_arg1:Event):void{
_uk785.parent.mouseChildren = false;
_gw534(_sf38.parent, 1, 1, 1);
_sf38.parent.mouseChildren = true;
Tweener.addTween(_uk785.parent, {scaleX:0, time:0.5, onComplete:_md135});
Tweener.addTween(_uk785.parent, {scaleY:0, time:0.5});
_sf912._do191(irrcrpt("ckoenkem", 2));
}
private function _om472(_arg1:MouseEvent):void{
switch (_arg1.target){
case _so90:
GamezheroApi.linkZorroLogo();
break;
case _ss489:
GamezheroApi.linkZorroLogo();
break;
case _nw750:
GamezheroApi.linkTopScore();
break;
case _co394:
GamezheroApi.linkSendToFrined();
break;
case _ks672:
GamezheroApi.linkPublish();
break;
case _ch769:
GamezheroApi.linkMoreGames();
break;
default:
GamezheroApi.linkMoreGames();
};
}
private function _ea670(_arg1:_gn1124):void{
if (_arg1._kd109 == 0){
_arg1._td675 = (_arg1._td675 + _aw838);
if (_arg1._td675 > 5000){
_arg1.state = 7;
_arg1._jw697 = 0;
_arg1._td675 = 0;
_arg1._vm737 = 0;
_arg1._ho20 = 0;
_arg1.id = 0;
_arg1._ho197 = bosshits;
_arg1._gw688(_br737);
};
};
}
private function _kd48():void{
if (_gy288.value > _dm1013){
_dm1013 = (_dm1013 + game_oneupscore_threshold);
_vu588 = _px708._nl73(_xf1054, 0, 0, _xf1054.width, _xf1054.height, _tu246._fp1093, 160, 100, 1);
_vu588._ja180(0.001, 1000);
_vu588._bw882(0.0015, 0, 10, 4, 0);
_vu588._ny258(0.0015, 0, 10, 4, 0);
_js670++;
_wo439();
};
}
private function _uv330():void{
if (_kf617 == 0){
_xy130 = (_xy130 - (player_bullets_pickup_decreasevalue * _aw838));
if (_xy130 < 1){
_xy130 = 1;
};
_st80();
};
}
private function _py121(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4 = 15;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.03, 0.06);
if (_arg3 == -1){
_arg3 = 2;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], 0.01, 30, 4, 0);
_local6._mk239(_local5, 0, _local7);
_local6._qu875(30, 0.9);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _ri526(_arg1:Event):void{
_sf912._do191(irrcrpt("bjndmjdl", 1));
GamezheroApi.linkZorroLogo();
}
private function _fx567(_arg1:Event):void{
_gw534(_sf38.parent, 0.5, 0.5, 0.5);
_sf38.parent.mouseChildren = false;
_wk566.parent.visible = true;
_wk566.parent.mouseChildren = true;
_wk566.parent.scaleX = 0;
_wk566.parent.scaleY = 0;
Tweener.addTween(_wk566.parent, {scaleX:1, time:0.5});
Tweener.addTween(_wk566.parent, {scaleY:1, time:0.5});
_wk566.parent.visible = true;
_sf912._do191(irrcrpt("emqgpmgo", 4));
}
private function _dm970():void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local1:_fm115 = _ao546[(_ld314 - 1)];
if (_qy488 < _local1._ty212){
_ot281 = (_ot281 + _aw838);
if (_ot281 > _local1._tr1045){
_ot281 = 0;
_qy488++;
_local3 = _ct423._xx1117(1, _local1._qk912);
_local4 = 0;
while (_local4 < _local3) {
_local2 = _local1._mv792[_ct423._xx1117(0, (_local1._mv792.length - 1))];
if (_local2 == 2){
if (_lx707(5) > 2){
_local2 = 1;
};
};
if (_local2 == 3){
if (_lx707(3) > 27){
_local2 = 1;
};
};
if (_local2 == 4){
if (_lx707(4) > 11){
_local2 = 1;
};
};
if (_local2 == 5){
if (_lx707(5) > 3){
_local2 = 1;
};
};
if (_local2 == 6){
if (_lx707(6) > 0){
_local2 = 1;
};
};
if (_local2 == 7){
if (_lx707(7) > 0){
_local2 = 1;
};
};
if (_local2 == 8){
if (_lx707(8) > 3){
_local2 = 1;
};
};
if (_local2 == 9){
if (_lx707(9) > 2){
_local2 = 1;
};
};
if (_local2 == 10){
if (_lx707(10) > 2){
_local2 = 1;
};
};
var _local5 = _wp605;
_local5[(_local2 - 1)]();
_local4++;
};
};
} else {
_ru884 = true;
};
}
private function _pn391():void{
var _local1:int;
_yi1065(_gy288.value);
_local1 = 0;
while (_local1 < 10) {
if (_aw293 == _local1){
_mx498._yo216(_jm672, 160, ((_local1 * 11) + 64), 0, 0, 76, 9, _ih901);
};
_cn76(_bh861, _uy217, _ih901, ("" + _lr419[_local1]), 160, ((_local1 * 11) + 60), 1, true);
_local1++;
};
}
private function _mc522(_arg1:_gn1124):void{
var _local8:_gn1124;
var _local10:Number;
var _local2 = 4;
var _local3 = 1;
var _local4:Number = _ct423._mj866(0.02, 0.08);
var _local5:Number = _ct423._mj866(0.005, 0.008);
var _local6:Number = _local5;
var _local7:Number = _ct423._mj866(0.008, 0.05);
_gf23++;
var _local9:int;
while (_local9 < _local2) {
_local10 = _ct423._mj866(0, 359);
_vu588 = _eh88._nl73(_oh487, (_local3 * 21), 0, 21, 21, _tu246._fp1093, 0, 0, 0);
_lo551(_vu588, _local3);
_vu588._ai380((_arg1.x + _ct423._mj866(-3, 3)), (_arg1.y + _ct423._mj866(-3, 3)));
_local4 = _ct423._mj866(0.02, 0.09);
_local6 = _local5;
if (_mx498._na789() == true){
_local6 = -(_local5);
};
_vu588._be984(_local10, _local6, _local4, _local10, _local6, _local4);
_vu588._nx634(_dx752);
_vu588._ff422 = _local7;
_vu588._ei207 = _gf23;
if (_local9 == 0){
_local8 = _vu588;
_vu588._ho197 = baddie2hits;
_vu588.target = _local8;
_vu588._if1006 = 2;
};
if (_local9 > 0){
_vu588.target = _local8;
_vu588._ho197 = 100000;
};
_vu588._kj640 = 2;
_vu588.target._rr1013(_nv1102);
_local9++;
};
}
private function _vy1014():void{
_ul1127(1, 1);
_rw60(_ym491, 10, 10, 310, 190);
}
private function _gg1044():void{
var _local1:int;
var _local2:Number;
_tu246.lock();
_mx498._fl176(_ih901, 0, 0, 0, 0, 320, 200, _tu246._fp1093);
_iq816();
_px708._mb1052();
_tu246.unlock();
_rq434();
_xy411();
if (_tu246.parent.scaleX == 2){
if (_ci563 > 1200){
_local1 = 0;
while (_local1 < 80) {
_vu588 = _px708._nl73(_de759, 0, 0, 7, 7, _tu246._fp1093, _ba377.x, _ba377.y, 0);
_vu588._fh452(_ti886[0], _ct423._mj866(0.005, 0.03), 30, 3);
_local2 = _ct423._mj866(0, 359);
_vu588._ai380((_ba377.x + _mx498._vw324(_local2, _ct423._mj866(0, 200))), (_ba377.y + _mx498._pd1029(_local2, _ct423._mj866(0, 150))));
_vu588._uc998(_ba377.x, _ba377.y, 0.01, _ct423._mj866(0.0002, 0.0003), true);
_vu588._nx634(_kp683);
_local1++;
};
};
_ci563 = (_ci563 - _aw838);
if (_ci563 < 1){
_dn791 = 1;
};
};
}
private function _mu154():void{
fps++;
if ((getTimer() - _qx1096) > 1000){
_qx1096 = getTimer();
_so976 = fps;
fps = 0;
};
}
private function _is772(_arg1:ContextMenuEvent):void{
var e = _arg1;
if (stage.displayState == StageDisplayState.NORMAL){
try {
stage.displayState = StageDisplayState.FULL_SCREEN;
_cl279.caption = irrcrpt("Hwnnuetggp - Qp", 2);
} catch(e:SecurityError) {
stage.displayState = StageDisplayState.NORMAL;
_cl279.caption = irrcrpt("Jyppwgviir - Sjj", 4);
};
} else {
stage.displayState = StageDisplayState.NORMAL;
_cl279.caption = irrcrpt("Hwnnuetggp - Qhh", 2);
};
}
private function _gd341():void{
_xq916.parent.visible = false;
}
private function _un875():void{
var _local1:Array;
var _local2:int;
var _local3:int;
_local3 = 0;
while (_local3 < 10) {
_gj925[_local3] = 0;
_lr419[_local3] = 0;
_xh561[_local3] = 0;
_local3++;
};
_local1 = _eu430.data._gj925;
if (_local1 != null){
_gj925 = _eu430.data._gj925;
};
_local1 = _eu430.data.scores;
if (_local1 != null){
_lr419 = _eu430.data.scores;
};
_local1 = _eu430.data.scores2;
if (_local1 != null){
_xh561 = _eu430.data.scores2;
};
}
private function _dd702(_arg1:_gn1124):void{
var _local2 = 7;
_arg1._td675 = (_arg1._td675 + (_arg1._vm737 * _aw838));
if (_arg1._td675 < 0){
_arg1._td675 = (_arg1._td675 + 360);
} else {
if (_arg1._td675 > 359){
_arg1._td675 = (_arg1._td675 - 360);
};
};
_arg1._ho20 = (_arg1._ho20 + _aw838);
if (_arg1._ho20 > 50){
_arg1._ho20 = 0;
_vu588 = _eh88._nl73(_oh487, 239, 0, 9, 9, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_lo551(_vu588, _local2);
_vu588._eq487(_oh487, 239, 0, 9, 9);
_vu588._vi979(3, 3);
_vu588._mk239(_arg1._td675, 0, 0.05);
_vu588._ah99 = true;
_vu588._kj640 = 11;
};
if ((((_arg1.x < 0)) || ((_arg1.x > 319)))){
if (_arg1.x < 0){
_arg1.x = 0;
};
if (_arg1.x > 319){
_arg1.x = 319;
};
_arg1._ap1113 = -(_arg1._ap1113);
_arg1.x = (_arg1.x + (_arg1._ap1113 * _aw838));
} else {
if ((((_arg1.y < 0)) || ((_arg1.y > 199)))){
if (_arg1.y < 0){
_arg1.y = 0;
};
if (_arg1.y > 199){
_arg1.y = 199;
};
_arg1._ip574 = -(_arg1._ip574);
_arg1.y = (_arg1.y + (_arg1._ip574 * _aw838));
};
};
}
private function _dx752(_arg1:_gn1124):void{
_arg1._tb290(_ba377, _arg1._ff422, _aw838);
}
private function _qi757(_arg1:_gn1124):void{
if (_arg1._vk350 > 2.7){
_arg1._yd751(-0.0005, 1);
_arg1._nx634(null);
};
}
private function _nv1102(_arg1:_gn1124):void{
trace(irrcrpt("ciw", 4));
_dq452(_arg1.x, _arg1.y, 2);
}
private function _jq1104(_arg1:_gn1124):void{
var _local3:_gn1124;
var _local2:int = _ct423._mj866(8, 20);
var _local4:int;
while (_local4 < _local2) {
_local3 = _px708._nl73(_xg762, 0, 0, _xg762.width, _xg762.height, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_local3._fh452(_oa874[_arg1.id], _ct423._mj866(0.005, 0.01), 30, 4, 0);
_local3._mk239(_ct423._mj866(0, 359), 0, _ct423._mj866(0.04, 0.08));
_local3._qu875(30, 0.95);
_local4++;
};
}
private function _wy235(_arg1:Event):void{
_sf912._do191(irrcrpt("bjndmjdl", 1));
GamezheroApi.linkSendToFrined();
}
private function _dt1089():void{
if (_sh1114 > 0){
_tu246.parent.x = (_dt106 + _ct423._mj866(-3, 3));
_tu246.parent.y = (_pm822 + _ct423._mj866(-3, 3));
_sh1114 = (_sh1114 - _aw838);
if (_sh1114 < 1){
_sh1114 = 0;
_tu246.parent.x = _dt106;
_tu246.parent.y = _pm822;
};
};
}
private function _dk340():void{
stage.removeChild(_sv866);
_sv866 = null;
_tu246._is39._mj479();
_xr1119();
_sf912._do191(irrcrpt("bjndmjdl", 1));
}
private function _mc535(_arg1:_gn1124):void{
var _local2 = 4;
_vu588 = _eh88._nl73(_oh487, (_local2 * 21), 0, 21, 21, _tu246._fp1093, 0, 0, 0);
_lo551(_vu588, _local2);
_vu588._ai380(_arg1.x, _arg1.y);
_vu588._jo896 = 1;
_vu588._rr1013(_bx859);
_vu588._nx634(_yq197);
_vu588._ho197 = baddie5hits;
_vu588._if1006 = 5;
_vu588._kj640 = 5;
_vu588._td675 = 90000;
}
private function _np1066():void{
var _local1:int;
_eu430.clear();
_local1 = 0;
while (_local1 < 10) {
_gj925[_local1] = 0;
_lr419[_local1] = 0;
_xh561[_local1] = 0;
_local1++;
};
_eu430.data._gj925 = _gj925;
_eu430.data.scores = _lr419;
_eu430.data.scores2 = _xh561;
_eu430.flush();
}
private function _xf560(_arg1:Event):void{
Tweener.addTween(_arg1.currentTarget, {brightness:1, time:0.225, transition:irrcrpt("mjofbs", 1)});
}
private function _vv183(_arg1:Event):void{
_go44.parent.visible = false;
_uk785.parent.mouseChildren = true;
_sf912._do191(irrcrpt("ckoenkem", 2));
}
private function _uy414(_arg1:MouseEvent):void{
_ut116 = false;
_il36 = false;
}
private function _or746(_arg1:_gn1124):Boolean{
var _local2:Boolean;
var _local3:_gn1124;
for each (_local3 in _eh88._of703) {
if (_al388(_arg1, _local3) == true){
_local2 = true;
_arg1.target = _local3;
};
};
return (_local2);
}
private function _le99(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4 = 80;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.028, 0.07);
if (_arg3 == -1){
_arg3 = 4;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], _ct423._mj866(0.0025, 0.02), 30, 4, 0);
_local6._mk239(_local5, 0, _local7);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _qr348():void{
_dn791 = 5;
_ow1107 = _tu246._is39._cr123(_tu246.parent, _ur435, 0, 200, 1, _wv116, _ps1032, _xf560);
Tweener.addTween(_ow1107, {y:60, time:1, delay:1.25});
_ow1107 = _tu246._is39._nl73(_tu246.parent, _ob336, 0, -((100 + (_ob336.height / 2))), 2);
Tweener.addTween(_ow1107, {y:-40, time:1, delay:0.5});
_kf617 = _ct423._mj866(150, 2000);
_wc252 = true;
_yd618();
}
private function _la338(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4 = 100;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.075, 0.25);
if (_arg3 == -1){
_arg3 = 0;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], _ct423._mj866(0.005, 0.02), 30, 4, 0);
_local5 = _ct423._mj866(0, 359);
_local7 = _ct423._mj866(0, 0.08);
_local6._mk239(_local5, 0, _local7);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _ea265():void{
_wd943(_bh861, _uy217, _om661);
}
private function _rm87():void{
for each (_vu588 in _pv769._of703) {
_vu588._ap1113 = (_vu588._ap1113 * 0.5);
_vu588._ip574 = (_vu588._ip574 * 0.5);
};
}
private function _me502(_arg1:ContextMenuEvent):void{
GamezheroApi.linkPublish();
_yd618();
}
private function _xr1119():void{
var _local1:BitmapData;
_wc252 = true;
_yd618();
_rh266 = false;
_ba1118._rm620(irrcrpt("ywfhp6", 5));
_cr1102();
_mj479();
_sf38._is39._mj479();
_ww121();
_oq495 = false;
if (_eq760() == true){
_mx498._fl176(_ug355, 0, 0, 0, 0, 640, 400, _sf38._fp1093);
_xy541();
_ba1118._do191(irrcrpt("ujumf", 1));
} else {
_tq230 = true;
_local1 = new _vt212().bitmapData;
_mx498._fl176(_local1, 0, 0, 0, 0, _local1.width, _local1.height, _sf38._fp1093);
};
_to868 = false;
_gx673 = 2;
_eb913 = 1;
_tu246.parent.visible = false;
_sf38.parent.visible = true;
_sf38.parent.alpha = 0;
Tweener.addTween(_sf38.parent, {alpha:1, time:2, transition:irrcrpt("mjofbs", 1)});
_um249 = 0;
}
private function _bs258(_arg1:_gn1124):void{
_arg1._td675 = (_arg1._td675 + _aw838);
if (_arg1._td675 > 500){
_arg1._td675 = 0;
_pj156(3, 1, _arg1);
};
_arg1._vm737 = (_arg1._vm737 - _aw838);
if (_arg1._vm737 < 1){
_arg1.state = 4;
_arg1._jw697 = 1;
_arg1._uc998(20, 99, 0.001, 0.0005);
_arg1._td675 = 0;
};
}
private function _se1052(_arg1:_gn1124):void{
if ((((_arg1._kd109 == 0)) && ((_arg1._vk350 == 0.25)))){
_arg1._bw882(0.001, 0, 1, 3, _arg1._vk350);
_arg1._ny258(0.001, 0, 1, 3, _arg1._dv827);
};
if ((((_arg1._vk350 == 1)) && ((_arg1._dv827 == 1)))){
_arg1.state = 2;
_arg1._jw697 = 1;
_arg1._uc998(20, 99, 0.001, 0.0005);
_arg1._td675 = 0;
};
}
private function _ke907():void{
var _local1:int;
var _local2:Number;
if (_kf617 > 1000){
_local1 = 0;
while (_local1 < 80) {
_vu588 = _px708._nl73(_de759, 0, 0, 7, 7, _tu246._fp1093, 160, 140, 0);
_vu588._fh452(_ti886[0], _ct423._mj866(0.005, 0.03), 30, 3);
_local2 = _ct423._mj866(0, 359);
_vu588._ai380((160 + _mx498._vw324(_local2, _ct423._mj866(0, 200))), (140 + _mx498._pd1029(_local2, _ct423._mj866(0, 150))));
_vu588._uc998(160, 140, 0.01, _ct423._mj866(0.0002, 0.0003), true);
_local1++;
};
};
}
private function _fc491(_arg1:int):void{
_ev284[_arg1] = false;
_qf763[_arg1] = false;
_mo319[_arg1] = false;
_eh781 = 0;
}
private function _vr601():void{
var _local1:String;
_dn791 = 2;
_ow1107 = _tu246._is39._nl73(_tu246.parent, _vr400, 0, -((100 + (_vr400.height / 2))), 3);
Tweener.addTween(_ow1107, {y:-60, time:1, delay:0.5});
_kf617 = _ct423._mj866(150, 2000);
if (_ug118 == true){
_ow1107 = _tu246._is39._cr123(_tu246.parent, _ur435, 0, 120, 2, _hi501, _ps1032, _xf560);
Tweener.addTween(_ow1107, {y:85, time:1, delay:1.25});
if (_ug118 == true){
_pn391();
} else {
_id607();
};
} else {
_sc594();
_sv866 = new MovieClip();
stage.addChild(_sv866);
GamezheroApi.score(_sv866, "201195158203220202150163209132150149155165171162157169150157153207150217216201196166198170155203152161083150151", _gy288.value, 0, 0, _dk340, _dk340, _dk340);
_sv866.scaleX = 0.75;
_sv866.scaleY = 0.75;
_sv866.x = 215;
_sv866.y = 126;
};
_wc252 = true;
_yd618();
}
private function _vy1068(_arg1:Number, _arg2:Number):void{
var _local5:int;
var _local6:Number;
var _local7:int;
var _local3:Number = 0;
var _local4:Number = 0;
_local5 = 2000;
_local6 = (360 / _local5);
_local7 = 0;
while (_local7 < _local5) {
_vu588 = _px708._nl73(_de759, 0, 0, 7, 7, _tu246._fp1093, _arg1, _arg2, 0);
_vu588._fh452(_se29[0], _ct423._mj866(0.03, 0.1), 30, 4);
_local6 = (_local6 + (360 / _local5));
_vu588._mk239(_local6, 0, _ct423._mj866(0.005, 0.4));
_local7++;
};
}
private function _ex110(_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);
}
private function _yl933(_arg1:Event):void{
_sf912._do191(irrcrpt("ckoenkem", 2));
GamezheroApi.linkTopScore();
}
private function _lg901(_arg1:Event):void{
_gs347.parent.mouseChildren = false;
_gw534(_sf38.parent, 1, 1, 1);
_sf38.parent.mouseChildren = true;
Tweener.addTween(_gs347.parent, {scaleX:0, time:0.5, onComplete:_ac1077});
Tweener.addTween(_gs347.parent, {scaleY:0, time:0.5});
_sf912._do191(irrcrpt("bjndmjdl", 1));
}
private function _tv130():void{
_aw838 = (_aw838 / 3);
_tu246.lock();
_mx498._fl176(_gs666, 0, 0, 0, 0, 320, 200, _tu246._fp1093);
_iq816();
_vv315._mb1052();
_px708._mb1052();
_if179._mb1052();
_eh88._wy844(_re1115);
_tu246.unlock();
_rq434();
_vk817 = (_vk817 - (_aw838 * 3));
if (_vk817 < 1){
_ao717();
};
}
private function _rm933(_arg1:Object, _arg2:Object, _arg3:BitmapData, _arg4:String, _arg5:Number, _arg6:Number, _arg7:Number=3, _arg8:Number=1, _arg9:Number=1, _arg10:Number=1, _arg11:Number=1, _arg12:Number=1, _arg13:Boolean=true, _arg14:Number=1, _arg15:Boolean=true):void{
var _local16:int;
var _local17:Number;
var _local18:int;
_local16 = _arg4.length;
_local17 = 0;
if (_arg13 == true){
_arg5 = (_arg5 - (_oy185(_arg4, _arg7, _arg8) / 2));
};
_local18 = 0;
while (_local18 < _local16) {
_local17 = _arg4.charCodeAt(_local18);
_mx498._mk790(_arg1[_local17], _arg5, _arg6, _arg3, _arg14, _arg8, _arg9, _arg10, _arg11, _arg12, null, _arg15);
_arg5 = ((_arg5 + (_arg2[_local17].width * _arg8)) + _arg7);
_local18++;
};
}
private function _hj986():void{
Mouse.show();
_ba1118._rm620(irrcrpt("wudfn4", 3));
_gx673 = 3;
_gw534(_tu246.parent, 0.5, 0.5, 0.5);
_xq916.parent.visible = true;
_xq916.parent.mouseChildren = true;
_tu246.parent.mouseChildren = false;
_xq916.parent.scaleX = 0;
_xq916.parent.scaleY = 0;
Tweener.addTween(_xq916.parent, {scaleX:1, time:0.5});
Tweener.addTween(_xq916.parent, {scaleY:1, time:0.5});
_xq916.parent.visible = true;
_sf912._do191(irrcrpt("fnrhqnhp", 5));
}
private function _mm252():void{
var _local1:BitmapData;
var _local2:BitmapData;
var _local3:int;
_mx498._be20(_nm790, 0, _qn922, 2, 0, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_nm790, 1, _qn922, 1.8, -0.5, 1.8, 0, true, 30, 0, 0, 0);
_mx498._be20(_nm790, 2, _qn922, 0, 0.25, 2, 0, true, 30, 0, 0, 0);
_mx498._be20(_nm790, 3, _qn922, 1.2, 0.85, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_nm790, 4, _qn922, 1, 1, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_nm790, 5, _qn922, 2, 0, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_nm790, 6, _qn922, 1.8, -0.5, 1.8, 0, true, 30, 0, 0, 0);
_mx498._be20(_nm790, 7, _qn922, 0, 0.25, 2, 0, true, 30, 0, 0, 0);
_mx498._be20(_nm790, 8, _qn922, 1.2, 0.85, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_nm790, 9, _qn922, 1, 1, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_bm828, 0, _xu911, 2, 0, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_bm828, 1, _xu911, 1.8, -0.5, 1.8, 0, true, 30, 0, 0, 0);
_mx498._be20(_bm828, 2, _xu911, 0, 0.25, 2, 0, true, 30, 0, 0, 0);
_mx498._be20(_bm828, 3, _xu911, 1.2, 0.85, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_bm828, 4, _xu911, 1, 1, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_bm828, 5, _xu911, 2, 0, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_bm828, 6, _xu911, 1.8, -0.5, 1.8, 0, true, 30, 0, 0, 0);
_mx498._be20(_bm828, 7, _xu911, 0, 0.25, 2, 0, true, 30, 0, 0, 0);
_mx498._be20(_bm828, 8, _xu911, 1.2, 0.85, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_bm828, 9, _xu911, 1, 1, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_oa874, 0, _xg762, 2, 0, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_oa874, 1, _xg762, 1.8, -0.5, 1.8, 0, true, 30, 0, 0, 0);
_mx498._be20(_oa874, 2, _xg762, 0, 0.25, 2, 0, true, 30, 0, 0, 0);
_mx498._be20(_oa874, 3, _xg762, 1.2, 0.85, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_oa874, 4, _xg762, 1, 1, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_oa874, 5, _xg762, 2, 0, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_oa874, 6, _xg762, 1.8, -0.5, 1.8, 0, true, 30, 0, 0, 0);
_mx498._be20(_oa874, 7, _xg762, 0, 0.25, 2, 0, true, 30, 0, 0, 0);
_mx498._be20(_oa874, 8, _xg762, 1.2, 0.85, 0, 0, true, 30, 0, 0, 0);
_mx498._be20(_oa874, 9, _xg762, 1, 1, 0, 0, true, 30, 0, 0, 0);
_mx498._ch950(_nt380, 0, _rm180, 1, 1, 1, 10, 0.5);
_mx498._ch950(_br1115, 0, _ji223, 1, 1, 1, 30);
_mx498._ch950(_se29, 0, _de759, 1, 1, 1, 30);
_mx498._ch950(_ti886, 0, _de759, 1, 1, 1, 30, 1, false);
_local2 = new BitmapData(16, 8, true, 0);
_mx498._fl176(_aw1108, 0, 0, 120, 0, 16, 8, _local2, true);
_local3 = 0;
while (_local3 < 5) {
_local1 = new BitmapData(16, 8, true, 0);
_mx498._fl176(_aw1108, 0, 0, (_local3 * 16), 0, 16, 8, _local1, true);
_mx498._oj259(_og1053, _local3, _local1, _local2, 20);
_local3++;
};
}
private function _oy185(_arg1:String, _arg2:int, _arg3:Number=1):Number{
var _local4:int;
var _local5:Number;
var _local6:int;
_local4 = _arg1.length;
_local5 = 0;
_local6 = 0;
while (_local6 < _local4) {
_local5 = (_local5 + ((_uy217[_arg1.charCodeAt(_local6)].width * _arg3) + _arg2));
_local6++;
};
return ((_local5 - _arg2));
}
private function _sf900():void{
if (_rj303 == false){
_fl929 = (_fl929 - _aw838);
if (_fl929 < 1){
_rj303 = true;
_fl929 = 2000;
};
};
if (_rj303 == true){
_lk813 = (_lk813 + _aw838);
if (_lk813 > 80){
_lk813 = 0;
_mc246 = (_mc246 + 1);
_vu588 = _xl961[_mc246];
if (_st430 == 0){
Tweener.addTween(_vu588, {_vk350:1.5, time:0.1, transition:irrcrpt("pmriev", 4), delay:0});
Tweener.addTween(_vu588, {_dv827:1.5, time:0.1, transition:irrcrpt("pmriev", 4), delay:0});
Tweener.addTween(_vu588, {_vk350:1, time:0.2, transition:irrcrpt("mjofbs", 1), delay:0.25});
Tweener.addTween(_vu588, {_dv827:1, time:0.2, transition:irrcrpt("nkpgct", 2), delay:0.25});
} else {
if (_st430 == 1){
_vu588._st183(3, 3, 3, 0.003, 0.003, 0.003);
} else {
if (_st430 == 2){
Tweener.addTween(_vu588, {_vk350:0, time:0.1, transition:irrcrpt("olqhdu", 3), delay:0});
Tweener.addTween(_vu588, {_dv827:0, time:0.1, transition:irrcrpt("nkpgct", 2), delay:0});
Tweener.addTween(_vu588, {_vk350:1, time:0.2, transition:irrcrpt("nkpgct", 2), delay:0.25});
Tweener.addTween(_vu588, {_dv827:1, time:0.2, transition:irrcrpt("mjofbs", 1), delay:0.25});
} else {
if (_st430 == 3){
_vu588._st183(3, 3, 3, 0.003, 0.003, 0.003);
} else {
if (_st430 == 4){
Tweener.addTween(_vu588, {_vk350:0, time:0.1, transition:irrcrpt("olqhdu", 3), delay:0});
Tweener.addTween(_vu588, {_vk350:1, time:0.2, transition:irrcrpt("nkpgct", 2), delay:0.25});
} else {
if (_st430 == 5){
_vu588._st183(3, 3, 3, 0.003, 0.003, 0.003);
};
};
};
};
};
};
if (_mc246 == 9){
_mc246 = -1;
_rj303 = false;
_st430 = (_st430 + 1);
if (_st430 == 6){
_st430 = 0;
};
};
};
};
}
private function _sl215(_arg1:Event):void{
_nc909();
_gw534(_sf38.parent, 0.5, 0.5, 0.5);
_uk785.parent.visible = true;
_uk785.parent.mouseChildren = true;
_sf38.parent.mouseChildren = false;
_uk785.parent.scaleX = 0;
_uk785.parent.scaleY = 0;
Tweener.addTween(_uk785.parent, {scaleX:1, time:0.5});
Tweener.addTween(_uk785.parent, {scaleY:1, time:0.5});
_uk785.parent.visible = true;
_sf912._do191(irrcrpt("bjndmjdl", 1));
}
private function _ht423():void{
_xt1012(0, 0, 286, 63, 310, 279, 11, 143);
_xt1012(11, 143, -231, 7, -331, 367, -57, 283);
_xt1012(-57, 283, 231, 187, 324, 455, 67, 388);
_xt1012(67, 388, -203, 265, -305, 546, 7, 623);
}
private function _es936(_arg1:BitmapData, _arg2:int=200, _arg3:int=200):void{
_arg1.applyFilter(_arg1, new Rectangle(0, 0, _arg2, _arg3), new Point(0, 0), filter);
}
private function _yq197(_arg1:_gn1124):void{
if ((((_arg1.x < 0)) || ((_arg1.x > 319)))){
if (_arg1.x < 0){
_arg1.x = 0;
};
if (_arg1.x > 319){
_arg1.x = 319;
};
_arg1._ap1113 = -(_arg1._ap1113);
_arg1.x = (_arg1.x + (_arg1._ap1113 * _aw838));
} else {
if ((((_arg1.y < 0)) || ((_arg1.y > 199)))){
if (_arg1.y < 0){
_arg1.y = 0;
};
if (_arg1.y > 199){
_arg1.y = 199;
};
_arg1._ip574 = -(_arg1._ip574);
_arg1.y = (_arg1.y + (_arg1._ip574 * _aw838));
};
};
_arg1._td675 = (_arg1._td675 - _aw838);
if (_arg1._td675 < 1){
_arg1._td675 = 0;
_arg1._nx634(null);
_arg1._kc611(_ba377, 0.05);
};
}
private function _lc330(_arg1:_gn1124):void{
_dq452(_arg1.x, _arg1.y, 5);
}
private function _yc55(_arg1:_gn1124):void{
_arg1._ho20 = _ct423._mj866(150, 1000);
}
private function _tp869(_arg1:_gn1124):void{
var _local2:_gn1124;
var _local3:int;
var _local4:int;
_local3 = 100;
_local4 = 0;
while (_local4 < _local3) {
_local2 = _px708._nl73(_de759, 0, 0, 7, 7, _tu246._fp1093, (_arg1.x + 4), (_arg1.y + 4), 0);
_local2._fh452(_se29[0], _ct423._mj866(0.01, 0.1), 30, 4);
_local2._mk239(_ct423._mj866(0, 359), 0, _ct423._mj866(0.00125, 0.1), 0, 8E-5);
_local4++;
};
}
private function _eq760():Boolean{
var _local1:String;
var _local2:Boolean;
var _local3:Array;
var _local4:int;
_local1 = _mt62();
_local2 = false;
_local3 = ["test.swf", "flashgamelicense.com", "munsiegames.com"];
_local4 = 0;
while (_local4 < _local3.length) {
if (_local1.indexOf(_local3[_local4]) > 0){
_local2 = true;
};
_local4++;
};
_local2 = true;
return (_local2);
}
private function _uq523(_arg1:Event):void{
_yd618();
_ba1118._do191(irrcrpt("wudfn4", 3));
_gx673 = 1;
_xq916.parent.mouseChildren = false;
_gw534(_tu246.parent, 1, 1, 1);
_tu246.parent.mouseChildren = true;
Tweener.addTween(_xq916.parent, {scaleX:0, time:0.5, onComplete:_gd341});
Tweener.addTween(_xq916.parent, {scaleY:0, time:0.5});
_sf912._do191(irrcrpt("dlpfolfn", 3));
}
private function _pc14(_arg1:_gn1124):void{
var _local2:int = _ct423._xx1117(1, 4);
if (_local2 == 1){
_arg1.x = _ct423._mj866(0, 319);
_arg1.y = -5;
};
if (_local2 == 2){
_arg1.x = _ct423._mj866(0, 319);
_arg1.y = (199 + 5);
};
if (_local2 == 3){
_arg1.y = _ct423._mj866(0, 199);
_arg1.x = -5;
};
if (_local2 == 4){
_arg1.y = _ct423._mj866(0, 199);
_arg1.x = (319 + 5);
};
}
private function _ex170(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4:int = _ct423._xx1117(60, 200);
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.075, 0.3);
if (_arg3 == -1){
_arg3 = 0;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], _ct423._mj866(0.005, 0.05), 30, 4, 0);
_local6._mk239(_ct423._mj866(0, 359), 0, _ct423._mj866(0.005, 0.1), 0, 5E-5);
_local8++;
};
}
private function _cf705():void{
_rh266 = true;
_ba1118._rm620(irrcrpt("xmxpi", 4));
_sf38.parent.visible = false;
_wc252 = true;
_yd618();
_ih901 = null;
_ih901 = new _es313().bitmapData;
_ct423._eh604 = _ct423._xx1117(1, 500000);
_sh1114 = 0;
_tu246.parent.x = _dt106;
_tu246.parent.y = _pm822;
_tu246.parent.visible = true;
_tu246.parent.alpha = 1;
_tu246.parent.scaleX = 0;
_tu246.parent.scaleY = 0;
Tweener.addTween(_tu246.parent, {scaleX:4, time:1, transition:irrcrpt("olqhdu", 3)});
Tweener.addTween(_tu246.parent, {scaleY:4, time:1, transition:irrcrpt("pmriev", 4)});
Tweener.addTween(_tu246.parent, {scaleX:2, time:1, transition:irrcrpt("olqhdu", 3), delay:1});
Tweener.addTween(_tu246.parent, {scaleY:2, time:1, transition:irrcrpt("nkpgct", 2), delay:1});
_ti674 = false;
_tn93 = false;
_ai1071 = false;
_ti674 = false;
_nj63 = false;
_mj479();
_gy288.value = 0;
_pa584(0);
_dn791 = 6;
_mf937 = 0;
_gx673 = 1;
_js670 = 3;
_wo439();
_ld314 = 0;
_gm258 = 0;
_jh682 = 0;
_yh234 = false;
_kh713();
_ba1118._do191(irrcrpt("vtcem3", 2));
_la407 = getTimer();
_ll448 = getTimer();
_qt1044._my455();
_ga187();
_kf617 = 3000;
}
private function _cx573():void{
_ba377 = new _gn1124();
_ba377._ku861(_bf355, 0, 0, _bf355.width, _bf355.height, _tu246._fp1093, 0);
_ba377._vi979(7, 7);
_lj255 = 0;
_bu322 = 270;
_rl199 = true;
_xy130 = 50;
_aa561 = 159;
_gn682 = 99;
_st80();
_dn791 = 4;
_ci563 = 2000;
}
private function _dm381():void{
_ul1127(9, 1);
_rw60(_jq879, 10, 10, 310, 190);
}
private function _cy429(_arg1:String=null):void{
stage.removeChild(_ss105);
}
private function _sl252(_arg1:_gn1124):void{
var _local2 = 4;
var _local3:int;
while (_local3 < 4) {
_vu588 = _eh88._nl73(_oh487, 297, 0, 9, 9, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_lo551(_vu588, _local2);
_vu588._eq487(_oh487, 297, 0, 9, 9);
_vu588._vi979(3, 3);
_vu588._mk239(_mx498._bd1068(_arg1.x, _arg1.y, _ba377.x, _ba377.y), 40, _ct423._mj866(0.05, 0.1));
_vu588._ah99 = true;
_vu588._kj640 = 13;
_local3++;
};
}
private function _rs1094(_arg1:Event):void{
if (_fj426(0) == 0){
_gw534(_sf38.parent, 0.5, 0.5, 0.5);
_sf38.parent.mouseChildren = false;
_gs347.parent.visible = true;
_gs347.parent.mouseChildren = true;
_gs347.parent.scaleX = 0;
_gs347.parent.scaleY = 0;
Tweener.addTween(_gs347.parent, {scaleX:1, time:0.5});
Tweener.addTween(_gs347.parent, {scaleY:1, time:0.5});
_gs347.parent.visible = true;
} else {
_oq495 = true;
_to868 = true;
};
_sf912._do191(irrcrpt("emqgpmgo", 4));
}
private function _sa263():void{
stage.removeChild(_ss105);
_xr1119();
}
private function _nr561():void{
_ul1127(4, 3);
_rw60(_yt128, 10, 10, 310, 190);
}
private function _lj1044():void{
_ul1127(11, 1);
_rw60(_wt224, 159, -20, 159, -20);
}
private function _wh100():void{
_ul1127(5, 1);
_rw60(_mc535, 10, 10, 310, 190);
}
private function _va915(_arg1:_gn1124):void{
var _local2 = 5;
_arg1._td675 = (_arg1._td675 - _aw838);
if (_arg1._td675 < 1){
_arg1._td675 = _ct423._mj866(500, 4000);
_vu588 = _eh88._nl73(_oh487, 281, 0, 15, 15, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_lo551(_vu588, _local2);
_vu588._vi979(5, 5);
_vu588._mk239(_mx498._bd1068(_arg1.x, _arg1.y, _ba377.x, _ba377.y), 20, 0.15, 0, 0);
_vu588._ho197 = 1;
_vu588._ah99 = true;
_vu588._kj640 = 14;
};
}
private function _rd992(_arg1:Number, _arg2:Number, _arg3:int, _arg4:int):void{
var _local5 = 4;
var _local6:int;
while (_local6 < _arg3) {
_vu588 = _eh88._nl73(_oh487, (_local5 * 21), 0, 21, 21, _tu246._fp1093, _arg1, _arg2, 0);
_lo551(_vu588, _local5);
if (_arg4 == 2){
_vu588._eq487(_oh487, 211, 0, 17, 17);
_vu588._vi979(6, 6);
} else {
if (_arg4 == 3){
_vu588._eq487(_oh487, 308, 0, 15, 15);
_vu588._vi979(5, 5);
};
};
_vu588._mk239(_ct423._mj866(0, 359), 0, _ct423._mj866(0.025, 0.08));
_vu588._qu875(50, 0.95);
_vu588._rr1013(_bx859);
_vu588._nx634(_yq197);
_vu588._ho197 = baddie5hits;
_vu588._td675 = 90000;
_vu588._jo896 = _arg4;
_vu588._kj640 = 5;
_local6++;
};
}
private function _tq766():void{
if (_mo319[32] == true){
};
}
private function _ul1127(_arg1:int, _arg2:int=1):void{
if (_arg1 > 0){
_aw1032[(_arg1 - 1)] = (_aw1032[(_arg1 - 1)] + _arg2);
};
}
private function _sh66(_arg1:Event):void{
_tu246._is39._mj479();
_xr1119();
_sf912._do191(irrcrpt("dlpfolfn", 3));
}
private function _am774(_arg1:Array):void{
_rd555.push(_arg1);
}
private function _ao717():void{
_mj479();
_ld314 = (_ld314 - 1);
_ur957(true);
_cx573();
_js670 = (_js670 - 1);
if (_js670 == -1){
_js670 = 0;
_vr601();
};
_wo439();
}
private function _pe1106():void{
if (_ug118 == false){
if (_kf617 > 0){
_kf617 = (_kf617 - _aw838);
if (_kf617 < 1){
_kf617 = 0;
};
} else {
if (_ru884 == false){
_dm970();
} else {
if (_eh88._pv795() == 0){
if (_rm781._pv795() == 0){
_ur957();
};
};
};
};
} else {
if (_kf617 > 0){
_kf617 = (_kf617 - _aw838);
if (_kf617 < 1){
_kf617 = 0;
};
} else {
_bt80();
};
};
}
private function _id607():void{
var _local1:int;
_sv281(_gy288.value);
_local1 = 0;
while (_local1 < 10) {
if (_aw293 == _local1){
_mx498._yo216(_jm672, 160, ((_local1 * 11) + 64), 0, 0, 76, 9, _ih901);
};
_cn76(_bh861, _uy217, _ih901, ("" + _xh561[_local1]), 160, ((_local1 * 11) + 60), 1, true);
_local1++;
};
}
private function _bo753(_arg1:ContextMenuEvent):void{
if (_ba1118._bk938() == true){
_ba1118._cg655(false);
_is1032.caption = irrcrpt("Nvtjd - Pgg", 1);
if (_rh266 == true){
_ba1118._rm620(irrcrpt("usbdl2", 1));
} else {
_ba1118._rm620(irrcrpt("wlwoh", 3));
};
} else {
_ba1118._cg655(true);
_is1032.caption = irrcrpt("Qywmg - Sr", 4);
if (_rh266 == true){
_ba1118._do191(irrcrpt("wudfn4", 3));
} else {
_ba1118._do191(irrcrpt("ynyqj", 5));
};
};
_nc909();
_yd618();
}
private function _pa21(_arg1:MouseEvent):void{
_ut116 = true;
_il36 = true;
}
private function _yl335(_arg1:Event):void{
_ug118 = false;
_to868 = false;
_ow1107 = _wk566._is39._of703[1];
if (_ow1107.state == 1){
_oq495 = true;
} else {
_gw534(_sf38.parent, 0.5, 0.5, 0.5);
_sf38.parent.mouseChildren = false;
_wk566.parent.visible = true;
_wk566.parent.mouseChildren = true;
_wk566.parent.scaleX = 0;
_wk566.parent.scaleY = 0;
Tweener.addTween(_wk566.parent, {scaleX:1, time:0.5});
Tweener.addTween(_wk566.parent, {scaleY:1, time:0.5});
_wk566.parent.visible = true;
};
_sf912._do191(irrcrpt("bjndmjdl", 1));
}
private function _xa547(_arg1:_gn1124):void{
_arg1._td675 = (_arg1._td675 - _aw838);
if (_arg1._td675 < 1){
_arg1._td675 = _ct423._mj866(500, 3000);
_vu588 = _eh88._nl73(_oh487, 249, 0, 21, 21, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_lo551(_vu588, -1);
_vu588._eq487(_oh487, 249, 0, 21, 21);
_vu588._vi979(7, 7);
_vu588._td675 = _ct423._mj866(3000, 20000);
_vu588._nx634(_yi11);
};
if ((((_arg1.x < 0)) || ((_arg1.x > 319)))){
if (_arg1.x < 0){
_arg1.x = 0;
};
if (_arg1.x > 319){
_arg1.x = 319;
};
_arg1._ap1113 = -(_arg1._ap1113);
_arg1.x = (_arg1.x + (_arg1._ap1113 * _aw838));
} else {
if ((((_arg1.y < 0)) || ((_arg1.y > 199)))){
if (_arg1.y < 0){
_arg1.y = 0;
};
if (_arg1.y > 199){
_arg1.y = 199;
};
_arg1._ip574 = -(_arg1._ip574);
_arg1.y = (_arg1.y + (_arg1._ip574 * _aw838));
};
};
}
private function _ot588():void{
_xr1119();
_qt1044._my455();
stage.addEventListener(Event.ENTER_FRAME, _ts197);
}
private function _yd618():void{
if (_wc252 == true){
Mouse.show();
} else {
Mouse.hide();
};
}
private function _nb1101():void{
_ul1127(8, 1);
_rw60(_ew183, 10, 10, 310, 190);
}
private function _rn685():void{
_vu588 = _px708._nl73(_jx1098, 0, 0, _jx1098.width, _jx1098.height, _tu246._fp1093, 160, 100, 1);
_vu588._bw882(0.0015, 0, 10, 4, 0);
_vu588._ny258(0.0015, 0, 10, 4, 0);
_vu588._nx634(_qi757);
_vu588._wr450(0, -0.05, 0, 3E-5);
}
private function _ln97(_arg1:KeyboardEvent):void{
_ev284[_arg1.keyCode] = true;
if (_qf763[_arg1.keyCode] == false){
_qf763[_arg1.keyCode] = true;
_mo319[_arg1.keyCode] = false;
};
trace((irrcrpt("Pjd: ", 5) + _arg1.keyCode));
}
private function _uo177(_arg1:_gn1124, _arg2:_gn1124):Boolean{
if ((((_arg1._ty399 == true)) && ((_arg2._ty399 == true)))){
if (Math.sqrt((((_arg2.x - _arg1.x) * (_arg2.x - _arg1.x)) + ((_arg2.y - _arg1.y) * (_arg2.y - _arg1.y)))) <= ((_arg1._sg944 * _arg1._vk350) + (_arg2._sg944 * _arg2._vk350))){
return (true);
};
return (false);
//unresolved jump
};
return (false);
}
private function _xb879(_arg1:_gn1124):void{
_arg1._xt293 = true;
}
private function _gb612():void{
_wk566.init(stage, _vl902.width, _vl902.height, true, 0);
_wk566._nk722(_vl902);
_wk566.parent.x = 320;
_wk566.parent.y = 200;
_wk566._is39._cr123(_wk566.parent, _fu942, 60, 127, 1, _pp813, _ps1032, _xf560);
_wk566._is39._cr123(_wk566.parent, _fw824, -218, 126, 2, _gj390, _ps1032, _xf560);
_wk566.parent.visible = false;
}
private function _ei648():void{
_ba1118._ya338(irrcrpt("vtcem3", 2), new _kn156(), 0, int.MAX_VALUE);
_ba1118._ya338(irrcrpt("ujumf", 1), new _or354(), 50, int.MAX_VALUE);
_sf912._ya338(irrcrpt("klw4", 3), new _lr546());
_sf912._ya338(irrcrpt("mny7", 5), new _oc1034());
_sf912._ya338(irrcrpt("jkv5", 2), new _rv894());
_sf912._ya338(irrcrpt("klw7", 3), new _sm742());
_sf912._ya338(irrcrpt("hktg", 2), new _vo324());
_sf912._ya338(irrcrpt("slfnxs", 3), new _mj770());
_sf912._ya338(irrcrpt("edgglhklw", 3), new _fh1035());
_sf912._ya338(irrcrpt("ckoenkem", 2), new _wf462());
_sf912._ya338(irrcrpt("ljmmfe", 1), new _dt403());
_sf912._ya338(irrcrpt("gwnhp", 5), new _bf172());
_sf912._ya338(irrcrpt("aepp", 4), new _tk130());
_sf912._ya338(irrcrpt("qbeemf", 1), new _ei645());
_sf912._ya338(irrcrpt("fvieosyxtmgoyt", 4), new _sn304());
}
private function _wt224(_arg1:_gn1124):void{
var _local2:int;
_local2 = 0;
_vu588 = _eh88._nl73(_av435, 0, 0, 41, 41, _tu246._fp1093, _arg1.x, _arg1.y, 1);
_lo551(_vu588, _local2);
_vu588._nx634(_dn932);
_vu588._vi979(39, 39);
_vu588._ho197 = 100000;
_vu588._if1006 = 11;
_vu588._kj640 = 15;
_vu588.state = 1;
_vu588._sh498(0.25, 0.25);
_vu588._uc998(159, 99, 0.025);
_vu588._ow86(-500, -500, (320 + 500), (200 + 500));
_vu588.id = -1;
_yh234 = true;
}
private function _tp478(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4:int = _ct423._xx1117(15, 25);
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.075, 0.25);
if (_arg3 == -1){
_arg3 = 1;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], _ct423._mj866(0.005, 0.02), 30, 4, 0);
_local5 = _ct423._mj866(0, 359);
_local7 = _ct423._mj866(0, 0.08);
_local6._mk239(_local5, 0, _local7);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _iq816():void{
_cn76(_bh861, _uy217, _tu246._fp1093, _ba675, 43, 2, 1, false);
_cn76(_bh861, _uy217, _tu246._fp1093, _cy789, 118, 2, 1, false);
_cn76(_bh861, _uy217, _tu246._fp1093, _ck921, 161, 2, 1, false);
_mx498._fl176(_at1071, 219, 2, 0, 0, _xy130, 7, _tu246._fp1093);
}
private function _uu1092():void{
var _local1:int;
while (_local1 < 3) {
_vu588 = _vv315._nl73(_eb202, 0, 0, _eb202.width, _eb202.height, _tu246._fp1093, 160, 100, 1, (_local1 * 550));
_vu588._bw882(0.004, 0, 12, 4, 0);
_vu588._ny258(0.004, 0, 12, 4, 0);
_vu588._db82 = irrcrpt("bee", 1);
_local1++;
};
}
private function _cp456():void{
_kf617 = (_kf617 - _aw838);
if (_kf617 < 1){
_kf617 = _ct423._mj866(150, 2000);
_ex170(_ct423._mj866(50, (320 - 50)), _ct423._mj866(50, (200 - 50)), _ct423._xx1117(0, 9));
};
_tu246.lock();
_bk211();
_mx498._fl176(_ih901, 0, 0, 0, 0, 320, 200, _tu246._fp1093);
_iq816();
_vv315._mb1052();
_px708._mb1052();
_tu246.unlock();
_rq434();
if (_eh781 > 0){
_fc491(_eh781);
};
}
private function _yi1065(_arg1:Number):void{
var _local2:int;
var _local3:int;
_local2 = 0;
_local3 = -1;
_aw293 = -1;
_local2 = 9;
while (_local2 > -1) {
if (_arg1 > _lr419[_local2]){
_local3 = _local2;
};
_local2--;
};
if (_local3 > -1){
if (_local3 < 9){
_local2 = 9;
while (_local2 > _local3) {
_lr419[_local2] = _lr419[(_local2 - 1)];
_local2--;
};
};
_lr419[_local3] = _arg1;
_aw293 = _local3;
};
}
private function _ms204(_arg1:_gn1124):void{
var _local2:Number;
if (_arg1._ho20 > 0){
_arg1._tb290(_ba377, 0.07, _aw838);
_arg1._ho20 = (_arg1._ho20 - _aw838);
if (_arg1._ho20 < 1){
_arg1._ho20 = 0;
};
};
}
private function _ix219():void{
var _local1:_gn1124;
_uv330();
_xy411();
_pv769._hy722 = (_pv769._hy722 + _aw838);
if (_pv769._hy722 > _pv769._po376){
_pv769._hy722 = 0;
_local1 = _pv769._nl73(_ji223, 0, 0, 17, 17, _tu246._fp1093, _ba377.x, _ba377.y, 0);
_local1._fh452(_br1115[0], 0.019, 30, 4);
_local1._mk239(_bu322, 0, _nt868);
_local1._ow86(-5, -5, (319 + 5), (199 + 5));
_local1._vi979(7, 7);
_pg1016 = true;
};
if (_rl199 == true){
if (_il36 == true){
_sf912._do191(irrcrpt("bjndmjdl", 1));
_lj255 = (_lj255 + 1);
if (_lj255 == 2){
_lj255 = 0;
};
};
if (_lj255 == 0){
_bu322 = _mx498._bd1068(_ba377.x, _ba377.y, _aa561, _gn682);
};
} else {
if (_eh781 > 0){
if ((((_eh781 == 65)) || ((_eh781 == 37)))){
_bu322 = 180;
} else {
if ((((_eh781 == 68)) || ((_eh781 == 39)))){
_bu322 = 0;
} else {
if ((((_eh781 == 87)) || ((_eh781 == 38)))){
_bu322 = 270;
} else {
if ((((_eh781 == 88)) || ((_eh781 == 40)))){
_bu322 = 90;
};
};
};
};
_fc491(_eh781);
};
};
}
private function _ox977(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local8:int;
var _local4 = 50;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.075, 0.25);
if (_arg3 == -1){
_arg3 = 2;
};
_local7 = _ct423._mj866(0.025, 0.05);
_local8 = 0;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], 0.01, 30, 4, 0);
_local6._mk239(_local5, 0, _local7);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
_local7 = (_local7 * 2);
_local8 = 0;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], 0.01, 30, 4, 0);
_local6._mk239(_local5, 0, _local7);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _wm1120(_arg1:_gn1124):void{
_dq452(_arg1.x, _arg1.y, 7);
}
private function _pp813(_arg1:Event):void{
_oq495 = true;
_wk566.parent.mouseChildren = false;
_gw534(_sf38.parent, 1, 1, 1);
_sf38.parent.mouseChildren = true;
Tweener.addTween(_wk566.parent, {scaleX:0, time:0.5, onComplete:_kv927});
Tweener.addTween(_wk566.parent, {scaleY:0, time:0.5});
_sf912._do191(irrcrpt("emqgpmgo", 4));
}
private function _gw534(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Number):void{
var _local5:ColorTransform;
_local5 = new ColorTransform();
_local5.redMultiplier = _arg2;
_local5.greenMultiplier = _arg3;
_local5.blueMultiplier = _arg4;
_arg1.transform.colorTransform = _local5;
}
private function _cn76(_arg1:BitmapData, _arg2:Object, _arg3:BitmapData, _arg4:String, _arg5:Number, _arg6:Number, _arg7:Number=3, _arg8:Boolean=true):void{
var _local9:int;
var _local10:Number;
var _local11:Point;
var _local12:int;
_local9 = _arg4.length;
_local10 = 0;
if (_arg8 == true){
_arg5 = (_arg5 - (_oy185(_arg4, _arg7) / 2));
};
_local12 = 0;
while (_local12 < _local9) {
_local10 = _arg4.charCodeAt(_local12);
_local11 = new Point(_arg5, _arg6);
_arg3.copyPixels(_arg1, _arg2[_local10], _local11, null, null, true);
_arg5 = (_arg5 + (_arg2[_local10].width + _arg7));
_local12++;
};
}
private function _ir924(_arg1:Event):void{
_uk785.parent.mouseChildren = false;
_go44.parent.visible = true;
_sf912._do191(irrcrpt("dlpfolfn", 3));
}
private function _jq879(_arg1:_gn1124):void{
var _local3:int;
var _local2 = 9;
_vu588 = _eh88._nl73(_oh487, (_local2 * 21), 0, 21, 21, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_lo551(_vu588, _local2);
_vu588._ho197 = baddie9hits;
_vu588._td675 = _ct423._mj866(3000, 13000);
_vu588._nx634(_gm336);
_vu588._ho197 = baddie9hits;
_vu588._gw688(_sl252);
_vu588._rr1013(_dx639);
_vu588._if1006 = 9;
_vu588._kj640 = 9;
}
private function _uh582(_arg1:_gn1124):void{
var _local2:_gn1124;
if (_bk1047 == true){
_arg1._cl807 = (_arg1._cl807 - _aw838);
if (_arg1._cl807 < 1){
_arg1._cl807 = 40;
if (((!((_arg1.x == _arg1._ee48))) || (!((_arg1.y == _arg1._hk593))))){
_arg1._mf226(_arg1.x, _arg1.y);
if (_arg1.id > -1){
_local2 = _if179._nl73(_xu911, 0, 0, _xu911.width, _xu911.height, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_local2._fh452(_bm828[_arg1.id], 0.015, 30, 4);
};
};
};
};
for each (_local2 in _pv769._of703) {
if (_al388(_arg1, _local2) == true){
_local2._xt293 = true;
_local2._ty399 = false;
if (_arg1._ei207 > 0){
if (_arg1.target._ek238(1) == true){
for each (_vu588 in _eh88._of703) {
if (_vu588._ei207 == _arg1._ei207){
_vu588._xt293 = true;
_vu588._ty399 = false;
var _local7 = _ak98;
_local7[(_vu588._kj640 - 1)](_vu588.x, _vu588.y);
};
};
_wy766++;
_dq452(_arg1.target.x, _arg1.target.y);
_pa584(((_arg1.target.id + 1) * 65));
_kd48();
_lx233 = true;
_hb690(_arg1.target._if1006);
if (_arg1.target._yf597 != null){
_arg1.target._yf597(_arg1.target);
};
} else {
_jq1104(_arg1);
_sd851 = true;
if (_arg1._dn902 != null){
_arg1._dn902(_arg1);
};
};
} else {
if (_arg1.id > -1){
if (_arg1._ek238(1) == true){
_hb690(_arg1._if1006);
_arg1._xt293 = true;
_arg1._ty399 = false;
_wy766++;
var _local5 = _ak98;
_local5[(_arg1._kj640 - 1)](_arg1.x, _arg1.y);
if (_arg1._ah99 == false){
_dq452(_arg1.x, _arg1.y);
};
_pa584(((_arg1.id + 1) * 65));
_kd48();
_lx233 = true;
if (_arg1._yf597 != null){
_arg1._yf597(_arg1);
};
} else {
_jq1104(_arg1);
_sd851 = true;
if (_arg1._dn902 != null){
_arg1._dn902(_arg1);
};
};
} else {
_sd851 = true;
};
};
};
};
if (_arg1._xt293 == false){
if (_al388(_arg1, _ba377) == true){
if (NoPlayerCollisions == false){
_tn93 = true;
_ai1071 = true;
};
};
};
}
private function _hb690(_arg1:int):void{
if (_arg1 > 0){
_aw1032[(_arg1 - 1)] = (_aw1032[(_arg1 - 1)] - 1);
};
}
private function _qp872():void{
_dn791 = 5;
_ow1107 = _tu246._is39._cr123(_tu246.parent, _ur435, 0, 200, 1, _wv116, _ps1032, _xf560);
Tweener.addTween(_ow1107, {y:60, time:1, delay:1.25});
_ow1107 = _tu246._is39._nl73(_tu246.parent, _ob336, 0, -((100 + (_ob336.height / 2))), 2);
Tweener.addTween(_ow1107, {y:-40, time:1, delay:0.5});
_kf617 = _ct423._mj866(150, 2000);
_wc252 = true;
_yd618();
}
private function _xh1095():void{
_sf38.parent.visible = false;
}
private function _he964():Boolean{
var _local1:Boolean;
var _local2:String;
_local1 = false;
_local2 = _mt62();
if (_local2 == irrcrpt("eorfnwklvgrpdlq.frp", 3)){
_local1 = true;
};
return (_local1);
}
private function _hk272():void{
_xy130 = (_xy130 + player_bullets_pickup_increasingvalue);
if (_xy130 > 100){
_xy130 = 100;
};
_st80();
}
private function _gu373():void{
var _local1:int;
var _local2:int;
_local1 = 200;
_local2 = 0;
while (_local2 < _local1) {
_vu588 = _px708._nl73(_de759, 0, 0, 7, 7, _tu246._fp1093, (_ba377.x + (16 * _ba377._vk350)), (_ba377.y + 4), 0);
_vu588._fh452(_se29[0], _ct423._mj866(0.01, 0.1), 30, 4);
_vu588._mk239(_ct423._mj866(0, 359), 0, _ct423._mj866(0.00125, 0.1), 0, 8E-5);
_local2++;
};
}
private function _hu189(_arg1:Event):void{
_sf912._do191(irrcrpt("dlpfolfn", 3));
GamezheroApi.linkPublish();
}
private function _ti415(_arg1:_gn1124):void{
_dq452(_arg1.x, _arg1.y, 4);
}
private function _xy541():void{
var _local1:int;
var _local2:BitmapData;
var _local3:Number;
_local3 = 0;
_xl961 = new Array();
_local1 = 0;
while (_local1 < 10) {
_local2 = _xf654[_local1];
_vu588 = _eh88._nl73(_local2, 0, 0, _local2.width, _local2.height, _sf38._fp1093, (_cb148[_local1] + 8), (_fo183[_local1] + 10), 1);
_local3 = (_local3 + 1);
if (_local2 == _iu700){
_vu588.id = 1;
};
if (_local2 == _un70){
_vu588.id = 2;
};
if (_local2 == _tv107){
_vu588.id = 3;
};
if (_local2 == _hd1109){
_vu588.id = 4;
};
if (_local2 == _dq389){
_vu588.id = 5;
};
if (_local2 == _ce873){
_vu588.id = 6;
};
if (_local2 == _bu846){
_vu588.id = 7;
};
if (_local2 == _nu927){
_vu588.id = 8;
};
if (_local2 == _dl31){
_vu588.id = 9;
};
if (_local2 == _ok601){
_vu588.id = 10;
};
_local1++;
};
_fl929 = 3000;
_local1 = 0;
while (_local1 < 10) {
_vu588 = _eh88._ur54((_local1 + 1));
_xl961[_xl961.length] = _vu588;
_local1++;
};
_sf38._is39._cr123(_sf38.parent, _bt268, 0, -30, 1, _yl335, _ps1032, _xf560);
_sf38._is39._cr123(_sf38.parent, _oa551, -200, 25, 2, _aw981, _ps1032, _xf560);
_sf38._is39._cr123(_sf38.parent, _fv175, 200, 15, 3, _rs1094, _ps1032, _xf560);
_sf38._is39._cr123(_sf38.parent, _ka886, -20, 158, 4, _ri526, _ps1032, _xf560);
_sf38._is39._cr123(_sf38.parent, _is213, 200, (129 + 8), 5, _fl554, _ps1032, _xf560);
_sf38._is39._cr123(_sf38.parent, _vo238, 200, (162 + 8), 6, _wy235, _ps1032, _xf560);
_sf38._is39._cr123(_sf38.parent, _kj1065, -220, (129 + 3), 7, _yl933, _ps1032, _xf560);
_sf38._is39._cr123(_sf38.parent, _lh298, -220, (167 + 4), 8, _hu189, _ps1032, _xf560);
_sf38._is39._cr123(_sf38.parent, _tp195, 0, 70, 9, _sl215, _ps1032, _xf560);
_pe464.x = 0;
_pe464.y = 0;
_pe464.state = 1;
}
private function _br1127(_arg1:ContextMenuEvent):void{
_nc909();
_yd618();
}
private function _dt1109():void{
_mu154();
_vt306.draw(_sf38._fp1093, ("" + _so976), 10, 460, _lg811.LEFT);
}
private function _ym491(_arg1:_gn1124):void{
var _local2:int;
var _local3 = 1;
var _local4:Number = 0.05;
var _local5:int;
while (_local5 < _local3) {
_vu588 = _eh88._nl73(_oh487, (_local2 * 21), 0, 21, 21, _tu246._fp1093, (_arg1.x + _ct423._mj866(-5, 5)), (_arg1.y + _ct423._mj866(-5, 5)), 0);
_lo551(_vu588, _local2);
if (_yh234 == true){
_local4 = _ct423._mj866(0.025, 0.08);
};
_vu588._kc611(_ba377, _local4, 0, 0);
_vu588._ho197 = baddie1hits;
_vu588._if1006 = 1;
_vu588._kj640 = 1;
_local5++;
};
}
private function _gn517(_arg1:_gn1124):void{
var _local2 = 7;
_vu588 = _eh88._nl73(_oh487, (_local2 * 21), 0, 21, 21, _tu246._fp1093, 0, 0, 0);
_lo551(_vu588, _local2);
_vu588._ai380(_arg1.x, _arg1.y);
_vu588._mk239(_ct423._mj866(0, 359), 0, _ct423._mj866(0.02, 0.04));
_vu588._td675 = _ct423._mj866(0, 359);
_vu588._vm737 = 0.2;
if (_mx498._na789() == true){
_vu588._vm737 = -(_vu588._vm737);
};
_vu588._ho20 = 0;
_vu588._nx634(_dd702);
_vu588._rr1013(_ti415);
_vu588._ho197 = baddie6hits;
_vu588._if1006 = 6;
_vu588._kj640 = 6;
}
private function _gj390(_arg1:Event):void{
_sf912._do191(irrcrpt("emqgpmgo", 4));
_ow1107 = _wk566._is39._of703[1];
if (_ow1107.state == 0){
_ow1107.state = 1;
_ow1107._nk722(_et1040);
} else {
_ow1107.state = 0;
_ow1107._nk722(_fw824);
};
}
private function _ec906(_arg1:String):void{
stage.removeChild(_ss105);
_xr1119();
}
private function _mv523():void{
_kf617 = (_kf617 - _aw838);
if (_kf617 < 1){
_kf617 = _ct423._mj866(0, 500);
_kp880(_ct423._mj866(0, 319), 199, _ct423._xx1117(0, 9));
};
_tu246.lock();
_bk211();
_mx498._fl176(_ih901, 0, 0, 0, 0, 320, 200, _tu246._fp1093);
_iq816();
_vv315._mb1052();
_px708._mb1052();
_tu246.unlock();
_rq434();
if (_eh781 > 0){
_fc491(_eh781);
};
if (_tn93 == true){
_tn93 = false;
if (_ti674 == true){
_ti674 = false;
_vr601();
};
};
}
private function _kv927():void{
_wk566.parent.visible = false;
}
private function _cj733(_arg1:_gn1124):void{
var _local2 = 8;
var _local3 = 1;
var _local4:int;
while (_local4 < _local3) {
_vu588 = _eh88._nl73(_oh487, (_local2 * 21), 0, 21, 21, _tu246._fp1093, _arg1.x, _arg1.y, 0);
if (_local4 > 0){
_vu588._ai380((_arg1.x + _ct423._mj866(-10, 10)), (_arg1.y + _ct423._mj866(-10, 10)));
};
_lo551(_vu588, _local2);
_vu588._td675 = _ct423._mj866(0, 2000);
_vu588._nx634(_ee980);
_vu588._ho197 = baddie10hits;
_vu588._if1006 = 10;
_vu588._kj640 = 10;
_vu588._rr1013(_wm1120);
_local4++;
};
}
private function _re1115(_arg1:_gn1124):void{
var _local2:_gn1124;
if (_bk1047 == true){
_arg1._cl807 = (_arg1._cl807 - _aw838);
if (_arg1._cl807 < 1){
_arg1._cl807 = 40;
if (((!((_arg1.x == _arg1._ee48))) || (!((_arg1.y == _arg1._hk593))))){
_arg1._mf226(_arg1.x, _arg1.y);
if (_arg1.id > -1){
_local2 = _if179._nl73(_xu911, 0, 0, _xu911.width, _xu911.height, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_local2._fh452(_bm828[_arg1.id], 0.015, 30, 4);
};
};
};
};
}
private function _fl554(_arg1:Event):void{
_sf912._do191(irrcrpt("dlpfolfn", 3));
GamezheroApi.linkMoreGames();
}
private function _jy177():void{
_uk785.init(stage, _fa285.width, _fa285.height, true, 0);
_uk785.parent.x = 320;
_uk785.parent.y = 200;
_mx498._fl176(_fa285, 0, 0, 0, 0, _fa285.width, _fa285.height, _uk785._fp1093);
_uk785.parent.visible = false;
_uk785._is39._cr123(_uk785.parent, _ur435, 0, 140, 1, _ss693, _ps1032, _xf560);
_uk785._is39._cr123(_uk785.parent, _ky200, 0, -74, 2, _dm1094, _ps1032, _xf560);
_uk785._is39._cr123(_uk785.parent, _ei291, 0, 105, 3, _ir924, _ps1032, _xf560);
_uk785._is39._cr123(_uk785.parent, _et1040, 55, -42, 4, _lh781, _ps1032, _xf560);
_uk785._is39._cr123(_uk785.parent, _et1040, 55, (-42 + 35), 5, _nr618, _ps1032, _xf560);
_uk785._is39._cr123(_uk785.parent, _et1040, 55, (-42 + (35 * 2)), 6, _ul329, _ps1032, _xf560);
_uk785._is39._cr123(_uk785.parent, _et1040, 55, (-42 + (35 * 3)), 7, _sk695, _ps1032, _xf560);
}
private function _em1007(_arg1:_gn1124):void{
_arg1._td675 = (_arg1._td675 + (_arg1._vm737 * _aw838));
if (_arg1._td675 < 0){
_arg1._td675 = (_arg1._td675 + 360);
} else {
if (_arg1._td675 > 359){
_arg1._td675 = (_arg1._td675 - 360);
};
};
_arg1._ho20 = (_arg1._ho20 + _aw838);
if (_arg1._ho20 > 50){
_arg1._ho20 = 0;
_vu588 = _eh88._nl73(_oh487, 239, 0, 9, 9, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_lo551(_vu588, 2);
_vu588._eq487(_oh487, 239, 0, 9, 9);
_vu588._vi979(3, 3);
_vu588._mk239(_arg1._td675, 0, 0.05);
_vu588._ah99 = true;
_vu588._kj640 = 11;
};
_arg1._ff422 = (_arg1._ff422 + _aw838);
if (_arg1._ff422 > 10000){
_arg1.state = 6;
_arg1._jw697 = 0;
_arg1._td675 = 0;
_arg1._vm737 = 0;
_arg1._ho20 = 0;
_arg1._uc998(159, 99, 0.025);
};
}
private function _cr1102():void{
_eu430.data._gj925 = _gj925;
_eu430.data.scores = _lr419;
_eu430.data.scores2 = _xh561;
_eu430.flush();
}
private function _pc226():void{
switch (_dn791){
case 1:
_mf333();
break;
case 2:
if (_to868 == true){
_vn324();
} else {
_cp456();
};
break;
case 3:
if (_to868 == true){
_ma1052();
} else {
_tv130();
};
break;
case 4:
_gg1044();
break;
case 5:
if (_to868 == true){
_lb926();
} else {
_mv523();
};
break;
case 6:
_vq879();
break;
};
}
private function _lb926():void{
_kf617 = (_kf617 - _aw838);
if (_kf617 < 1){
_kf617 = _ct423._mj866(0, 500);
_kp880(_ct423._mj866(0, 319), 199, _ct423._xx1117(0, 9));
};
_tu246.lock();
_bk211();
_mx498._fl176(_ih901, 0, 0, 0, 0, 320, 200, _tu246._fp1093);
_iq816();
_vv315._mb1052();
_px708._mb1052();
_tu246.unlock();
_rq434();
if (_eh781 > 0){
_fc491(_eh781);
};
if (_tn93 == true){
_tn93 = false;
if (_ti674 == true){
_ti674 = false;
_tm266();
};
};
}
private function _sg230():void{
_ba377.x = ((_qj350 / 2) - ((_ba377.width * _ba377._vk350) / 2));
if (_ba377.x < 0){
_ba377.x = 0;
} else {
if (_ba377.x > (320 - (32 * _ba377._vk350))){
_ba377.x = (320 - (32 * _ba377._vk350));
};
};
_ba377._qh208(_aw838);
_ba377._lf500();
}
private function _qf546():void{
if (_fj426(0) == 0){
_hr152(0, 1);
_vu588 = _vv315._nl73(_ju136, 0, 0, _ju136.width, _ju136.height, _tu246._fp1093, 0, 0, 0, 0, false);
_vu588._ai380(320, (200 - _ju136.height));
Tweener.addTween(_vu588, {x:(320 - _ju136.width), time:1.5});
Tweener.addTween(_vu588, {x:320, time:1.5, delay:3, onComplete:_xb879, onCompleteParams:[_vu588]});
};
}
private function _ww121():void{
var _local1:int;
_local1 = 0;
while (_local1 < 0x0100) {
_fc491(_local1);
_local1++;
};
}
private function _mj479():void{
_vv315._mj479();
_px708._mj479();
_tp822._mj479();
_rm781._mj479();
_if179._mj479();
_eh88._mj479();
_pv769._mj479();
}
private function _dq191():void{
var _local1:int;
_local1 = 0;
while (_local1 < 0x0100) {
_ev284[_local1] = false;
_mo319[_local1] = false;
_qf763[_local1] = false;
_qw702[_local1] = false;
_local1++;
};
_eh781 = 0;
}
private function _nm787():void{
_dc676 = (_dc676 - _aw838);
if (_dc676 < 1){
_dc676 = 40;
if (((!((_ba377.x == _ba377._ee48))) || (!((_ba377.y == _ba377._hk593))))){
_ba377._mf226(_ba377.x, _ba377.y);
_ao320 = (_ao320 + 1);
if (_ao320 == 5){
_ao320 = 1;
};
_vu588 = _vv315._nl73(_km566, 0, 0, _km566.width, _km566.height, _tu246._fp1093, 0, 0, 0);
_vu588._ow86(-20, -20, (320 + 20), (200 + 20));
_vu588.y = (_ba377.y + 4);
_vu588.x = ((int((_ba377.x / 8)) * 8) + 16);
_vu588._wr450(0, -0.2);
_vu588 = _vv315._nl73(_km566, 0, 0, _km566.width, _km566.height, _tu246._fp1093, 0, 0, 0);
_vu588._ow86(-20, -20, (320 + 20), (200 + 20));
_vu588.y = (_ba377.y + 4);
_vu588.x = ((int((_ba377.x / 8)) * 8) + 16);
_vu588._wr450(0, 0.2);
_vu588 = _vv315._nl73(_le440, 0, 0, _le440.width, _le440.height, _tu246._fp1093, 0, 0, 0);
_vu588._ow86(-20, -20, (320 + 20), (200 + 20));
_vu588.y = (_ba377.y + 4);
_vu588.x = ((int((_ba377.x / 8)) * 8) + 16);
_vu588._wr450(-0.2, 0);
_vu588 = _vv315._nl73(_le440, 0, 0, _le440.width, _le440.height, _tu246._fp1093, 0, 0, 0);
_vu588._ow86(-20, -20, (320 + 20), (200 + 20));
_vu588.y = (_ba377.y + 4);
_vu588.x = ((int((_ba377.x / 8)) * 8) + 16);
_vu588._wr450(0.2, 0);
};
};
}
private function _aq792(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4 = 15;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.03, 0.06);
if (_arg3 == -1){
_arg3 = 1;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], 0.01, 30, 4, 0);
_local6._mk239(_local5, 0, _local7);
_local6._qu875(30, 0.9);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _lx707(_arg1:int):int{
return (_aw1032[(_arg1 - 1)]);
}
private function _fl344():void{
_rg307(5, 10, 1, [1]);
_rg307(7, 15, 1, [2]);
_rg307(9, 20, 2, [1, 2]);
_rg307(11, 25, 2, [3]);
_rg307(13, 30, 2, [1, 2, 3]);
_rg307(15, 35, 2, [4]);
_rg307(17, 40, 2, [1, 2, 3, 4]);
_rg307(19, 45, 2, [5]);
_rg307(21, 50, 2, [1, 2, 3, 4, 5]);
_rg307(23, 55, 2, [6]);
_rg307(25, 60, 2, [1, 2, 3, 4, 5, 6]);
_rg307(27, 65, 2, [7]);
_rg307(29, 70, 2, [1, 2, 3, 4, 5, 6, 7]);
_rg307(31, 75, 2, [8]);
_rg307(33, 80, 2, [1, 2, 3, 4, 5, 6, 7, 8]);
_rg307(35, 85, 2, [9]);
_rg307(37, 90, 2, [1, 2, 3, 4, 5, 6, 7, 8, 9]);
_rg307(39, 95, 2, [10]);
_rg307(41, 100, 3, [1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
_rg307(1, 1, 1, [11]);
}
private function _nx309(_arg1:Number):void{
stage.addChild(_ss105);
MochiScores.showLeaderboard({boardID:boardID, clip:_ss105, score:_arg1, onError:_ec906, onClose:_sa263});
}
private function _dn932(_arg1:_gn1124):void{
switch (_arg1.state){
case 1:
_se1052(_arg1);
break;
case 2:
_ij290(_arg1);
break;
case 3:
_bs258(_arg1);
break;
case 4:
_ib954(_arg1);
break;
case 5:
_em1007(_arg1);
break;
case 6:
_ea670(_arg1);
break;
case 7:
_qk1018(_arg1);
break;
case 8:
_ib954(_arg1);
break;
case 9:
_ib954(_arg1);
break;
case 10:
_ib954(_arg1);
break;
};
}
private function _fe964():void{
_rh266 = true;
_ba1118._rm620(irrcrpt("wlwoh", 3));
_sf38.parent.visible = false;
_wc252 = false;
_yd618();
_ct423._eh604 = _ct423._xx1117(1, 500000);
_sh1114 = 0;
_ih901 = null;
_ih901 = new _es313().bitmapData;
_tu246.parent.x = _dt106;
_tu246.parent.y = _pm822;
_tu246.parent.visible = true;
_tu246.parent.alpha = 1;
_tu246.parent.scaleX = 0;
_tu246.parent.scaleY = 0;
Tweener.addTween(_tu246.parent, {scaleX:4, time:1, transition:irrcrpt("olqhdu", 3)});
Tweener.addTween(_tu246.parent, {scaleY:4, time:1, transition:irrcrpt("pmriev", 4)});
Tweener.addTween(_tu246.parent, {scaleX:2, time:1, transition:irrcrpt("nkpgct", 2), delay:1});
Tweener.addTween(_tu246.parent, {scaleY:2, time:1, transition:irrcrpt("mjofbs", 1), delay:1});
_ti674 = false;
_tn93 = false;
_ai1071 = false;
_ti674 = false;
_nj63 = false;
_mj479();
_gy288.value = 0;
_pa584(0);
_dm1013 = game_oneupscore_threshold;
_dn791 = 1;
_mf937 = 0;
_gx673 = 1;
_js670 = 3;
if (_ug118 == true){
_js670 = 0;
_up321 = 2000;
_nu1122 = _up321;
_ah25 = 1;
_fl952 = 1;
_ha719 = 10000;
};
_wo439();
_ld314 = 0;
_gm258 = 0;
_jh682 = 0;
_yh234 = false;
_ur957();
_ba1118._do191(irrcrpt("ywfhp6", 5));
_la407 = getTimer();
_ll448 = getTimer();
_qt1044._my455();
_cx573();
}
private function _xt1012(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):void{
var _local9:_ej123;
_local9 = new _ej123();
_local9._qd1110 = _arg1;
_local9._ds561 = _arg2;
_local9._ct225 = _arg3;
_local9._aj392 = _arg4;
_local9._sj1084 = _arg5;
_local9._id875 = _arg6;
_local9._lh790 = _arg7;
_local9._cd289 = _arg8;
_th619.push(_local9);
}
private function _dm1094(_arg1:Event):void{
_ow1107 = _uk785._is39._of703[1];
if (stage.quality == irrcrpt("ORZ", 3)){
stage.quality = StageQuality.MEDIUM;
_ow1107._nk722(_ky200);
} else {
if (stage.quality == irrcrpt("PHGLXP", 3)){
stage.quality = StageQuality.HIGH;
_ow1107._nk722(_dv302);
} else {
if (stage.quality == irrcrpt("LMKL", 4)){
stage.quality = StageQuality.LOW;
_ow1107._nk722(_te653);
};
};
};
_sf912._do191(irrcrpt("ckoenkem", 2));
}
private function _tc947():void{
_xl836 = Math.round((((getTimer() - _la407) / 1000) / 60));
_vt306.draw(_tu246._fp1093, ("" + _xl836), 140, 185);
}
private function _wo439():void{
_ck921 = ("" + _js670);
}
private function _ul329(_arg1:Event):void{
_ow1107 = _uk785._is39._of703[5];
if (_bk1047 == true){
_bk1047 = false;
_ow1107._nk722(_fw824);
} else {
_bk1047 = true;
_ow1107._nk722(_et1040);
};
_sf912._do191(irrcrpt("ckoenkem", 2));
}
private function _vw116():void{
_ul1127(3, 10);
_rw60(_bx848, 50, 50, (320 - 50), (200 - 50));
}
private function _ap250():void{
if (_mo319[32] == true){
};
}
private function _qk1018(_arg1:_gn1124):void{
_arg1._td675 = (_arg1._td675 + _aw838);
if (_arg1._td675 > 4000){
var _local2 = _wp605;
_local2[_ct423._xx1117(0, 9)]();
_arg1._td675 = 0;
};
_arg1._vk350 = (_arg1._ho197 * 0.001);
if (_arg1._vk350 < 0.1){
_arg1._vk350 = 0.1;
};
_arg1._dv827 = _arg1._vk350;
}
private function _ga187():void{
_ba377 = new _gn1124();
_ba377._ku861(_af650, 0, 0, 32, 8, _tu246._fp1093, 1, 0, false);
_ba377._vi979(32, 10);
_ba377._ai380(160, 180);
_ba377._ff422 = 1;
}
private function _vn324():void{
_kf617 = (_kf617 - _aw838);
if (_kf617 < 1){
_kf617 = _ct423._mj866(150, 2000);
_ex170(_ct423._mj866(50, (320 - 50)), _ct423._mj866(50, (200 - 50)), _ct423._xx1117(0, 9));
};
_tu246.lock();
_bk211();
_mx498._fl176(_ih901, 0, 0, 0, 0, 320, 200, _tu246._fp1093);
_iq816();
_vv315._mb1052();
_px708._mb1052();
_tu246.unlock();
_rq434();
}
private function _rh345(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4 = 20;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.075, 0.25);
if (_arg3 == -1){
_arg3 = 4;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], _ct423._mj866(0.008, 0.015), 30, 4, 0);
_local7 = _ct423._mj866(0.02, 0.05);
_local6._mk239(_local5, 0, _local7);
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _tb880(_arg1:Event):void{
_yd618();
_gx673 = 1;
_xq916.parent.mouseChildren = false;
_gw534(_tu246.parent, 1, 1, 1);
_tu246.parent.mouseChildren = true;
Tweener.addTween(_xq916.parent, {scaleX:0, time:0.5, onComplete:_gd341});
Tweener.addTween(_xq916.parent, {scaleY:0, time:0.5});
_sf912._do191(irrcrpt("emqgpmgo", 4));
_tn93 = true;
_ti674 = true;
}
private function _dx639(_arg1:_gn1124):void{
_dq452(_arg1.x, _arg1.y, 6);
}
private function _kl634(_arg1:Number, _arg2:Number):void{
var _local3:int;
if (_sw632 == 0){
_sw632 = 2000;
if (_tp822._of703.length < 3){
_local3 = _ct423._xx1117(1, 5);
_vu588 = _tp822._nl73(_kc353, ((_local3 - 1) * 16), 0, 16, 16, _tu246._fp1093, _arg1, _arg2, 0, 0, false);
_vu588.id = _local3;
_vu588._wr450(0, 0.05);
_vu588._ow86(-16, -16, 320, 200);
};
};
}
private function _ts197(_arg1:Event):void{
_aw838 = _qt1044._wj500();
_qj350 = mouseX;
_jw1026 = mouseY;
switch (_gx673){
case 1:
_pc226();
break;
case 2:
_kp52();
break;
case 3:
break;
};
_il36 = false;
}
private function _xk915():void{
_ul1127(6, 1);
_rw60(_gn517, 10, 10, 310, 190);
}
private function _tm657():void{
_ul1127(2, 1);
_rw60(_mc522, 10, 10, 310, 190);
}
private function _hi501(_arg1:Event):void{
_tu246._is39._mj479();
_xr1119();
_sf912._do191(irrcrpt("bjndmjdl", 1));
}
private function _ee980(_arg1:_gn1124):void{
_arg1._td675 = (_arg1._td675 - _aw838);
if (_arg1._td675 < 1){
_arg1._td675 = _ct423._mj866(1000, 5000);
_arg1._mk239(_mx498._bd1068(_arg1.x, _arg1.y, _ba377.x, _ba377.y), 0, _ct423._mj866(0.05, 0.125), _ct423._mj866(500, 3000));
};
if (_arg1.x < 0){
_arg1.x = 0;
} else {
if (_arg1.x > 319){
_arg1.x = 319;
};
};
if (_arg1.y < 0){
_arg1.y = 0;
} else {
if (_arg1.y > 199){
_arg1.y = 199;
};
};
}
private function _rk1017():void{
}
private function _fy117():void{
if (_dy1124 == false){
_dy1124 = true;
stage.addChild(_rj963);
MochiServices.connect(irrcrpt("ie42582515d90d76", 3), _rj963, _og86);
} else {
trace(irrcrpt("Xvmih xs qsglm gsrrigx ekemr!!", 4));
};
}
private function _by910():void{
_sf912._do191(irrcrpt("nloohg", 3));
}
private function _yf64(_arg1:Number, _arg2:Number):void{
var _local3:int;
var _local4:int;
_local3 = 100;
_local4 = 0;
while (_local4 < _local3) {
_vu588 = _px708._nl73(_de759, 0, 0, 7, 7, _tu246._fp1093, _arg1, _arg2, 0);
_vu588._fh452(_se29[0], _ct423._mj866(0.01, 0.1), 30, 4);
_vu588._mk239(_ct423._mj866(0, 359), 0, _ct423._mj866(0.00125, 0.1), 0, 8E-5);
_local4++;
};
}
private function _sk695(_arg1:Event):void{
_ow1107 = _uk785._is39._of703[6];
if (_tu246._xj596.smoothing == true){
_tu246._xj596.smoothing = false;
_ow1107._nk722(_fw824);
} else {
_tu246._xj596.smoothing = true;
_ow1107._nk722(_et1040);
};
_sf912._do191(irrcrpt("dlpfolfn", 3));
}
private function _vq879():void{
_tu246.lock();
_bk211();
_mx498._fl176(_ih901, 0, 0, 0, 0, 320, 200, _tu246._fp1093);
_ci50();
_nm787();
_vv315._mb1052();
_pv769._wy844(_ao236);
_sw632 = (_sw632 - _aw838);
if (_sw632 < 1){
_sw632 = 0;
};
switch (_mf937){
case 1:
_md335();
_eh88._mb1052();
break;
case 2:
_eh88._mb1052();
_kf617 = (_kf617 - _aw838);
if (_kf617 < 1){
_kf617 = 5000;
_um1069();
_mf937 = 3;
};
break;
case 3:
_eh88._mb1052();
_kf617 = (_kf617 - _aw838);
if (_kf617 < 1){
_kf617 = 2000;
_mf937 = 4;
};
break;
case 4:
_ke907();
_md335();
_eh88._mb1052();
_kf617 = (_kf617 - _aw838);
if (_kf617 < 1){
_kf617 = 0;
_mf937 = 1;
_ps185();
};
break;
case 5:
_kf617 = (_kf617 - _aw838);
if (_kf617 < 1){
_kf617 = 0;
};
break;
};
_tp822._wy844(_gx338);
_sg230();
_px708._mb1052();
_tu246.unlock();
_rq434();
if (_eh781 > 0){
if (_eh781 == 80){
_hj986();
};
_fc491(_eh781);
};
if (_tn93 == true){
if (_kf617 == 0){
_tn93 = false;
if (_ai1071 == true){
_ai1071 = false;
_sh834();
};
if (_ti674 == true){
_ti674 = false;
_tm266();
};
if (_nj63 == true){
_nj63 = false;
_qr348();
};
};
};
}
private function _du166():void{
if (_af427 > 0){
_af427 = (_af427 - (0.01 * _aw838));
if (_af427 < 0){
_af427 = 0;
};
filter.quality = _af427;
_tu246._fp1093.applyFilter(_tu246._fp1093, new Rectangle(0, 0, 200, 200), new Point(0, 0), filter);
};
}
private function _mt62():String{
var _local1:String;
var _local2:String;
_local1 = this.root.loaderInfo.url;
_local2 = _local1;
return (_local2.toLowerCase());
}
private function _nr618(_arg1:Event):void{
_ow1107 = _uk785._is39._of703[4];
if (_ba1118._bk938() == true){
_ba1118._cg655(false);
_ow1107._nk722(_fw824);
_ba1118._rm620(irrcrpt("vkvng", 2));
} else {
_ba1118._cg655(true);
_ow1107._nk722(_et1040);
_ba1118._do191(irrcrpt("ujumf", 1));
};
_sf912._do191(irrcrpt("fnrhqnhp", 5));
}
private function _mx116():void{
_ul1127(10, 1);
_rw60(_cj733, 10, 10, 310, 190);
}
private function _cd40():void{
var _local1:Number;
var _local2:int;
_local1 = 0.4;
if (_pe464.state == 1){
_pe464.x = (_pe464.x + (_local1 * _aw838));
if (_pe464.x > 639){
_pe464.x = 639;
_pe464.state = 2;
};
};
if (_pe464.state == 2){
_pe464.y = (_pe464.y + (_local1 * _aw838));
if (_pe464.y > 399){
_pe464.y = 399;
_pe464.state = 3;
};
};
if (_pe464.state == 3){
_pe464.x = (_pe464.x - (_local1 * _aw838));
if (_pe464.x < 0){
_pe464.x = 0;
_pe464.state = 4;
};
};
if (_pe464.state == 4){
_pe464.y = (_pe464.y - (_local1 * _aw838));
if (_pe464.y < 0){
_pe464.y = 0;
_pe464.state = 1;
};
};
_local2 = 0;
while (_local2 < 8) {
_vu588 = _px708._nl73(_ji223, 0, 0, _ji223.width, _ji223.height, _sf38._fp1093, _pe464.x, _pe464.y, 0);
_vu588._fh452(_br1115[0], _ct423._mj866(0.008, 0.05), 30, 4);
_vu588._mk239(_mx498._ct423._mj866(0, 359), 0, _ct423._mj866(0.05, 0.2));
_vu588._ow86(-5, -5, (640 + 5), (400 + 5));
_local2++;
};
_local2 = 0;
while (_local2 < 8) {
_vu588 = _px708._nl73(_ji223, 0, 0, _ji223.width, _ji223.height, _sf38._fp1093, (639 - _pe464.x), (399 - _pe464.y), 0);
_vu588._fh452(_br1115[0], _ct423._mj866(0.008, 0.05), 30, 4);
_vu588._mk239(_mx498._ct423._mj866(0, 359), 0, _ct423._mj866(0.05, 0.2));
_vu588._ow86(-5, -5, (640 + 5), (400 + 5));
_local2++;
};
}
private function _kp52():void{
if (_tq230 == false){
_sf38.lock();
switch (_eb913){
case 1:
_mx498._fl176(_ug355, 0, 0, 0, 0, 640, 400, _sf38._fp1093);
_px708._mb1052();
_eh88._mb1052();
_sf900();
_cd40();
break;
case 2:
break;
case 3:
break;
case 4:
break;
};
_sf38.unlock();
if (_eh781 > 0){
if ((((_eh781 == 32)) && ((sponsortest_keypressactive == true)))){
_hr152(0, 1);
};
_fc491(_eh781);
};
if (_oq495 == true){
if (_to868 == false){
_fe964();
} else {
_cf705();
};
};
};
}
private function _rl518(_arg1:Number, _arg2:Number, _arg3:int=-1):void{
var _local6:_gn1124;
var _local4 = 80;
var _local5:Number = 0;
var _local7:Number = _ct423._mj866(0.08, 0.3);
if (_arg3 == -1){
_arg3 = 1;
};
var _local8:int;
while (_local8 < _local4) {
_local6 = _px708._nl73(_qn922, 0, 0, _qn922.width, _qn922.height, _tu246._fp1093, _arg1, _arg2, 0);
_local6._fh452(_nm790[_arg3], 0.01, 30, 4, 0);
_local6._mk239(_local5, 0, _ct423._mj866(0.08, 0.3));
_local6._qu875(30, _ct423._mj866(0.85, 0.95));
_local5 = (_local5 + (360 / _local4));
_local8++;
};
}
private function _bx848(_arg1:_gn1124):void{
var _local7:Number;
var _local2 = 10;
var _local3:Number = (360 / _local2);
var _local4:Number = _ct423._mj866(0, 359);
var _local5 = 3;
var _local6:int;
while (_local6 < _local2) {
_local7 = _ct423._mj866(0, 359);
_vu588 = _eh88._nl73(_oh487, (_local5 * 21), 0, 21, 21, _tu246._fp1093, 0, 0, 0);
_lo551(_vu588, _local5);
_vu588._ai380(_arg1.x, _arg1.y);
_vu588._mk239(_local4, 0, 0.05, 0);
_vu588._kd109 = 0;
_vu588._nx634(_fi193);
_local4 = (_local4 + _local3);
if (_local4 > 359){
_local4 = (_local4 - 360);
};
_vu588._ho197 = baddie3hits;
_vu588._if1006 = 3;
_vu588._kj640 = 3;
_local6++;
};
}
private function _bt80():void{
_nu1122 = (_nu1122 - _aw838);
if (_nu1122 < 1){
_nu1122 = _up321;
_nw728(_ct423._xx1117(1, _fl952), _ct423._xx1117(1, _ah25));
};
_ha719 = (_ha719 - _aw838);
if (_ha719 < 1){
_ha719 = 10000;
if (_fl952 < 10){
_fl952++;
};
_up321 = (_up321 - 50);
if (_up321 < 100){
_up321 = 100;
};
};
}
private function _og86(_arg1:String):void{
trace((irrcrpt("OqejkEqppgevOguucig: ", 2) + _arg1));
}
private function _jt370():void{
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0]);
_am774([0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0]);
_am774([0, 1, 1, 2, 1, 2, 1, 1, 0, 0, 1, 1, 2, 1, 2, 1, 1, 0]);
_am774([0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0]);
_am774([0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0]);
_am774([0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0]);
_am774([0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0]);
_am774([0, 0, 2, 0, 1, 0, 2, 0, 0, 0, 0, 2, 0, 1, 0, 2, 0, 0]);
_am774([0, 2, 0, 1, 0, 1, 0, 2, 0, 0, 2, 0, 1, 0, 1, 0, 2, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 2, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 2, 1, 3, 1, 1, 1, 1, 3, 1, 2, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 2, 3, 1, 1, 1, 1, 1, 1, 3, 2, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 2, 1, 3, 1, 1, 1, 1, 3, 1, 2, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 2, 1, 1, 3, 3, 3, 3, 1, 1, 2, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 2, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0, 0]);
_am774([0, 0, 0, 2, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 2, 0, 0, 0]);
_am774([0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0]);
_am774([0, 0, 2, 1, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 1, 2, 0, 0]);
_am774([0, 0, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 0, 0]);
_am774([0, 0, 2, 1, 1, 2, 2, 3, 2, 2, 3, 2, 2, 1, 1, 2, 0, 0]);
_am774([0, 0, 2, 1, 1, 2, 3, 3, 3, 3, 3, 3, 2, 1, 1, 2, 0, 0]);
_am774([0, 0, 2, 1, 1, 2, 2, 3, 3, 3, 3, 2, 2, 1, 1, 2, 0, 0]);
_am774([0, 0, 0, 2, 1, 1, 2, 2, 3, 3, 2, 2, 1, 1, 2, 0, 0, 0]);
_am774([0, 0, 0, 0, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 2, 1, 1, 2, 2, 1, 1, 2, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 2, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0]);
_am774([0, 2, 4, 2, 0, 2, 4, 2, 0, 0, 2, 4, 2, 0, 2, 4, 2, 0]);
_am774([0, 3, 3, 3, 0, 3, 3, 3, 0, 0, 3, 3, 3, 0, 3, 3, 3, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0]);
_am774([0, 0, 0, 2, 4, 2, 0, 2, 4, 4, 2, 0, 2, 4, 2, 0, 0, 0]);
_am774([0, 0, 0, 3, 3, 3, 0, 3, 3, 3, 3, 0, 3, 3, 3, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0]);
_am774([0, 2, 4, 2, 0, 2, 4, 2, 0, 0, 2, 4, 2, 0, 2, 4, 2, 0]);
_am774([0, 3, 3, 3, 0, 3, 3, 3, 0, 0, 3, 3, 3, 0, 3, 3, 3, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0]);
_am774([0, 0, 3, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 3, 0, 0]);
_am774([0, 0, 3, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 3, 0, 0]);
_am774([0, 0, 3, 0, 2, 0, 0, 0, 1, 1, 0, 0, 0, 2, 0, 3, 0, 0]);
_am774([0, 0, 3, 0, 2, 0, 1, 1, 1, 1, 1, 1, 0, 2, 0, 3, 0, 0]);
_am774([0, 0, 3, 0, 2, 0, 1, 3, 3, 3, 3, 1, 0, 2, 0, 3, 0, 0]);
_am774([0, 0, 3, 1, 2, 1, 1, 3, 4, 4, 3, 1, 1, 2, 1, 3, 0, 0]);
_am774([0, 0, 3, 0, 2, 0, 1, 3, 3, 3, 3, 1, 0, 2, 0, 3, 0, 0]);
_am774([0, 0, 3, 0, 2, 0, 1, 1, 1, 1, 1, 1, 0, 2, 0, 3, 0, 0]);
_am774([0, 0, 3, 0, 2, 0, 0, 0, 1, 1, 0, 0, 0, 2, 0, 3, 0, 0]);
_am774([0, 0, 3, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 3, 0, 0]);
_am774([0, 0, 3, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 3, 0, 0]);
_am774([0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 2, 1, 2, 1, 2, 1, 2, 3, 3, 2, 1, 2, 1, 2, 1, 2, 0]);
_am774([0, 0, 0, 0, 0, 4, 4, 4, 1, 1, 4, 4, 4, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 4, 4, 3, 3, 4, 4, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 2, 0, 0, 0, 4, 1, 1, 4, 0, 0, 0, 2, 0, 0, 0]);
_am774([0, 0, 2, 1, 2, 0, 0, 0, 3, 3, 0, 0, 0, 2, 1, 2, 0, 0]);
_am774([0, 2, 1, 1, 1, 2, 0, 0, 1, 1, 0, 0, 2, 1, 1, 1, 2, 0]);
_am774([3, 3, 3, 3, 3, 3, 3, 0, 3, 3, 0, 3, 3, 3, 3, 3, 3, 3]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 2, 0, 0, 0, 0, 3, 3, 0, 0, 0, 0, 2, 0, 0, 0]);
_am774([0, 0, 2, 1, 2, 0, 0, 0, 1, 1, 0, 0, 0, 2, 1, 2, 0, 0]);
_am774([0, 2, 1, 1, 1, 2, 0, 0, 3, 3, 0, 0, 2, 1, 1, 1, 2, 0]);
_am774([3, 3, 3, 3, 3, 3, 3, 0, 1, 1, 0, 3, 3, 3, 3, 3, 3, 3]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2]);
_am774([2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3]);
_am774([3, 0, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 0, 2]);
_am774([2, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 3]);
_am774([3, 0, 2, 0, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 0, 3, 0, 2]);
_am774([2, 0, 3, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 2, 0, 3]);
_am774([3, 0, 2, 0, 3, 0, 4, 4, 4, 4, 4, 4, 0, 2, 0, 3, 0, 2]);
_am774([2, 0, 3, 0, 2, 0, 4, 0, 0, 0, 0, 4, 0, 3, 0, 2, 0, 3]);
_am774([3, 0, 2, 0, 3, 0, 4, 0, 0, 0, 0, 4, 0, 2, 0, 3, 0, 2]);
_am774([2, 0, 3, 0, 2, 0, 4, 0, 0, 0, 0, 4, 0, 3, 0, 2, 0, 3]);
_am774([3, 0, 2, 0, 3, 0, 4, 0, 5, 5, 0, 4, 0, 2, 0, 3, 0, 2]);
_am774([2, 0, 3, 0, 2, 0, 4, 0, 5, 5, 0, 4, 0, 3, 0, 2, 0, 3]);
_am774([3, 0, 2, 0, 3, 0, 4, 0, 0, 0, 0, 4, 0, 2, 0, 3, 0, 2]);
_am774([2, 0, 3, 0, 2, 0, 4, 0, 0, 0, 0, 4, 0, 3, 0, 2, 0, 3]);
_am774([3, 0, 2, 0, 3, 0, 4, 0, 0, 0, 0, 4, 0, 2, 0, 3, 0, 2]);
_am774([3, 0, 0, 1, 1, 0, 2, 0, 3, 3, 0, 2, 0, 1, 1, 0, 0, 3]);
_am774([4, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4]);
_am774([2, 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 2]);
_am774([1, 2, 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 4, 2, 1]);
_am774([2, 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 2]);
_am774([4, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4]);
_am774([3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3]);
_am774([0, 0, 4, 0, 1, 2, 3, 4, 5, 5, 4, 3, 2, 1, 0, 4, 0, 0]);
_am774([3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3]);
_am774([4, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4]);
_am774([2, 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 2]);
_am774([1, 2, 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 4, 2, 1]);
_am774([2, 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 2]);
_am774([4, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4]);
_am774([3, 0, 0, 1, 1, 0, 2, 0, 3, 3, 0, 2, 0, 1, 1, 0, 0, 3]);
_am774([1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1]);
_am774([1, 5, 5, 1, 0, 2, 2, 0, 2, 2, 0, 2, 2, 0, 1, 5, 5, 1]);
_am774([1, 5, 5, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 5, 5, 1]);
_am774([1, 5, 5, 1, 0, 2, 2, 0, 2, 2, 0, 2, 2, 0, 1, 5, 5, 1]);
_am774([1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([5, 0, 5, 5, 5, 5, 0, 5, 5, 5, 5, 0, 5, 5, 5, 5, 0, 5]);
_am774([4, 0, 4, 4, 4, 4, 0, 4, 4, 4, 4, 0, 4, 4, 4, 4, 0, 4]);
_am774([3, 0, 3, 3, 3, 3, 0, 3, 3, 3, 3, 0, 3, 3, 3, 3, 0, 3]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([2, 2, 2, 2, 0, 0, 4, 0, 4, 0, 4, 0, 4, 0, 2, 2, 2, 2]);
_am774([2, 1, 1, 2, 0, 5, 0, 5, 0, 5, 0, 5, 0, 0, 2, 1, 1, 2]);
_am774([2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 2]);
_am774([2, 1, 1, 2, 0, 0, 4, 0, 4, 0, 4, 0, 4, 0, 2, 1, 1, 2]);
_am774([5, 5, 5, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 0, 5, 5, 5, 5]);
_am774([1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1]);
_am774([1, 5, 5, 1, 0, 2, 2, 0, 2, 2, 0, 2, 2, 0, 1, 5, 5, 1]);
_am774([1, 5, 5, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 5, 5, 1]);
_am774([1, 5, 5, 1, 0, 2, 2, 0, 2, 2, 0, 2, 2, 0, 1, 5, 5, 1]);
_am774([1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([5, 0, 5, 5, 5, 5, 0, 5, 5, 5, 5, 0, 5, 5, 5, 5, 0, 5]);
_am774([4, 0, 4, 4, 4, 4, 0, 4, 4, 4, 4, 0, 4, 4, 4, 4, 0, 4]);
_am774([3, 0, 3, 3, 3, 3, 0, 3, 3, 3, 3, 0, 3, 3, 3, 3, 0, 3]);
_am774([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
_am774([2, 2, 2, 2, 0, 0, 4, 0, 4, 0, 4, 0, 4, 0, 2, 2, 2, 2]);
_am774([2, 1, 1, 2, 0, 5, 0, 5, 0, 5, 0, 5, 0, 0, 2, 1, 1, 2]);
_am774([2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 2]);
_am774([2, 1, 1, 2, 0, 0, 4, 0, 4, 0, 4, 0, 4, 0, 2, 1, 1, 2]);
_am774([5, 5, 5, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 0, 5, 5, 5, 5]);
}
private function _mv1097():void{
var _local1:String;
var _local5:BitmapData;
_gm258 = Math.round(_mx498._ao850(_wy766, _wh545));
_jh682 = (_jh682 + _gm258);
var _local2:Number = Math.round((_jh682 / (_ld314 - 1)));
var _local3:Number = Math.round((_local2 * 100));
_ky520 = new _fl452().bitmapData;
_cn76(_bh861, _uy217, _ky520, ("" + _wh545), 106, 0, 1, false);
_iv668 = new _gp1082().bitmapData;
_cn76(_bh861, _uy217, _iv668, ("" + _wy766), 106, 0, 1, false);
_pr1116 = new _ok19().bitmapData;
_local1 = ("" + _gm258);
_cn76(_bh861, _uy217, _pr1116, _local1, 98, 0, 1, false);
_mx498._fl176(_nc1129, (100 + (_local1.length * 8)), 0, 0, 0, _nc1129.width, _nc1129.height, _pr1116);
_uk277 = new _fa645().bitmapData;
_local1 = ("" + _local2);
_cn76(_bh861, _uy217, _uk277, _local1, 158, 0, 1, false);
_mx498._fl176(_nc1129, (160 + (_local1.length * 8)), 0, 0, 0, _nc1129.width, _nc1129.height, _uk277);
_jd631 = new _lf935().bitmapData;
_cn76(_bh861, _uy217, _jd631, ("" + _local3), 46, 0, 1, false);
var _local4:Array = [_ky520, _iv668, _pr1116, _uk277, _jd631];
var _local6 = 150;
var _local7:int;
while (_local7 < 5) {
_local5 = _local4[_local7];
_vu588 = _vv315._nl73(_local5, 0, 0, _local5.width, _local5.height, _tu246._fp1093, 0, 0, 0, 0, false);
_vu588._ai380(-(_local5.width), (_local6 + (_local7 * 10)));
Tweener.addTween(_vu588, {x:5, time:1.5, delay:(_local7 * 0.25)});
Tweener.addTween(_vu588, {x:-(_local5.width), time:2, delay:(5 + (_local7 * 0.25)), onComplete:_xb879, onCompleteParams:[_vu588]});
_local7++;
};
_pa584(_local3);
_kd48();
}
private function _bx859(_arg1:_gn1124):void{
var _local2:int;
if (_arg1._jo896 == 1){
_rd992(_arg1.x, _arg1.y, 2, 2);
} else {
if (_arg1._jo896 == 2){
_rd992(_arg1.x, _arg1.y, 3, 3);
} else {
if (_arg1._jo896 == 3){
};
};
};
}
private function _kw687(_arg1:_gn1124):void{
var _local2 = 6;
_vu588 = _eh88._nl73(_oh487, (_local2 * 21), 0, 21, 21, _tu246._fp1093, _arg1.x, _arg1.y, 0);
_lo551(_vu588, _local2);
_vu588._ho197 = baddie7hits;
_vu588._mk239(_ct423._mj866(0, 359), 0, _ct423._mj866(0.04, 0.08));
_vu588._nx634(_xa547);
_vu588._td675 = _ct423._mj866(500, 3000);
_vu588._ho197 = baddie7hits;
_vu588._if1006 = 7;
_vu588._kj640 = 7;
_vu588._rr1013(_lc330);
}
private function _ci1081():void{
_xq916.init(stage, _tv15.width, _tv15.height, true, 0);
_xq916._nk722(_tv15);
_xq916.parent.x = 320;
_xq916.parent.y = 200;
_xq916._is39._cr123(_xq916.parent, _ov521, 0, 80, 1, _tb880, _ps1032, _xf560);
_xq916._is39._cr123(_xq916.parent, _rc1039, 0, 130, 2, _uq523, _ps1032, _xf560);
_xq916.parent.visible = false;
}
private function _ib954(_arg1:_gn1124):void{
switch (_arg1._jw697){
case 1:
if (_arg1._kd109 == 0){
_pj156(8, 1, _arg1);
_sh1114 = 300;
_sf912._do191(irrcrpt("lmx8", 4));
_arg1._uc998((320 - 20), 99, 0.001, 0.0005);
_arg1._jw697 = 2;
};
break;
case 2:
if (_arg1._kd109 == 0){
_pj156(8, 1, _arg1);
_sh1114 = 300;
_sf912._do191(irrcrpt("iju5", 1));
_arg1._uc998(159, 99, 0.001, 0.0005);
_arg1._jw697 = 3;
};
break;
case 3:
if (_arg1._kd109 == 0){
_arg1._uc998(159, 20, 0.001, 0.0005);
_arg1._jw697 = 4;
};
break;
case 4:
if (_arg1._kd109 == 0){
_pj156(8, 1, _arg1);
_sh1114 = 300;
_sf912._do191(irrcrpt("lmx8", 4));
_arg1._uc998(159, (200 - 20), 0.001, 0.0005);
_arg1._jw697 = 5;
};
break;
case 5:
if (_arg1._kd109 == 0){
_pj156(8, 1, _arg1);
_sh1114 = 300;
_sf912._do191(irrcrpt("klw7", 3));
_arg1._uc998(159, 99, 0.001, 0.0005);
_arg1._jw697 = 6;
};
break;
case 6:
if (_arg1._kd109 == 0){
_arg1._td675 = (_arg1._td675 + 1);
if (_arg1._td675 == 4){
_arg1.state = 5;
_arg1._jw697 = 1;
_arg1._td675 = 0;
_arg1._vm737 = 0.2;
if (_mx498._na789() == true){
_arg1._vm737 = -0.2;
};
_arg1._ho20 = 0;
_arg1._ff422 = 0;
_arg1._kc611(_ba377, 0.05);
} else {
_arg1._uc998(20, 99, 0.001, 0.0005);
_arg1._jw697 = 1;
};
};
break;
};
}
private function _bk211():void{
if (_sh1114 > 0){
_tu246.parent.x = (_dt106 + _ct423._mj866(-4, 4));
_tu246.parent.y = (_pm822 + _ct423._mj866(-4, 4));
_sh1114 = (_sh1114 - _aw838);
if (_sh1114 < 1){
_sh1114 = 0;
_tu246.parent.x = _dt106;
_tu246.parent.y = _pm822;
};
};
}
private function _ur957(_arg1:Boolean=false):void{
var _local2:_fm115;
_yd618();
_ot281 = 0;
_qy488 = 0;
_ql496 = 0;
_ru884 = false;
_yh234 = false;
_lv825();
_ld314 = (_ld314 + 1);
if (_ld314 > 1){
if (_arg1 == false){
_mv1097();
_uu1092();
_kf617 = 3000;
if (_ld314 == 15){
_qf546();
};
};
};
if (_ld314 > _fl830){
_ld314 = _fl830;
_tn93 = true;
_nj63 = true;
_kf617 = 6000;
};
_local2 = _ao546[(_ld314 - 1)];
_ot281 = (_local2._tr1045 / 2);
_ll448 = getTimer();
_wh545 = 0;
_wy766 = 0;
_cy789 = _mx498._gf486(("" + _ld314), 2);
}
private function _md335():void{
for each (_vu588 in _eh88._of703) {
_mx498._fl176(_dp977, (_vu588.x - 9), (_vu588.y - 9), (_vu588.id * 34), 0, 34, 26, _tu246._fp1093);
};
}
}
}//package
Section 122
//_up777__bf172 (_up777__bf172)
package {
import mx.core.*;
public class _up777__bf172 extends SoundAsset {
}
}//package
Section 123
//_up777__bk544 (_up777__bk544)
package {
import mx.core.*;
public class _up777__bk544 extends BitmapAsset {
}
}//package
Section 124
//_up777__bw126 (_up777__bw126)
package {
import mx.core.*;
public class _up777__bw126 extends BitmapAsset {
}
}//package
Section 125
//_up777__cd83 (_up777__cd83)
package {
import mx.core.*;
public class _up777__cd83 extends BitmapAsset {
}
}//package
Section 126
//_up777__ck239 (_up777__ck239)
package {
import mx.core.*;
public class _up777__ck239 extends BitmapAsset {
}
}//package
Section 127
//_up777__dc163 (_up777__dc163)
package {
import mx.core.*;
public class _up777__dc163 extends BitmapAsset {
}
}//package
Section 128
//_up777__de593 (_up777__de593)
package {
import mx.core.*;
public class _up777__de593 extends BitmapAsset {
}
}//package
Section 129
//_up777__di917 (_up777__di917)
package {
import mx.core.*;
public class _up777__di917 extends BitmapAsset {
}
}//package
Section 130
//_up777__dt403 (_up777__dt403)
package {
import mx.core.*;
public class _up777__dt403 extends SoundAsset {
}
}//package
Section 131
//_up777__dx838 (_up777__dx838)
package {
import mx.core.*;
public class _up777__dx838 extends BitmapAsset {
}
}//package
Section 132
//_up777__ei645 (_up777__ei645)
package {
import mx.core.*;
public class _up777__ei645 extends SoundAsset {
}
}//package
Section 133
//_up777__es313 (_up777__es313)
package {
import mx.core.*;
public class _up777__es313 extends BitmapAsset {
}
}//package
Section 134
//_up777__fa508 (_up777__fa508)
package {
import mx.core.*;
public class _up777__fa508 extends BitmapAsset {
}
}//package
Section 135
//_up777__fa645 (_up777__fa645)
package {
import mx.core.*;
public class _up777__fa645 extends BitmapAsset {
}
}//package
Section 136
//_up777__fh1035 (_up777__fh1035)
package {
import mx.core.*;
public class _up777__fh1035 extends SoundAsset {
}
}//package
Section 137
//_up777__fl452 (_up777__fl452)
package {
import mx.core.*;
public class _up777__fl452 extends BitmapAsset {
}
}//package
Section 138
//_up777__fq112 (_up777__fq112)
package {
import mx.core.*;
public class _up777__fq112 extends BitmapAsset {
}
}//package
Section 139
//_up777__gp1082 (_up777__gp1082)
package {
import mx.core.*;
public class _up777__gp1082 extends BitmapAsset {
}
}//package
Section 140
//_up777__he45 (_up777__he45)
package {
import mx.core.*;
public class _up777__he45 extends BitmapAsset {
}
}//package
Section 141
//_up777__hj340 (_up777__hj340)
package {
import mx.core.*;
public class _up777__hj340 extends BitmapAsset {
}
}//package
Section 142
//_up777__hx100 (_up777__hx100)
package {
import mx.core.*;
public class _up777__hx100 extends BitmapAsset {
}
}//package
Section 143
//_up777__in810 (_up777__in810)
package {
import mx.core.*;
public class _up777__in810 extends BitmapAsset {
}
}//package
Section 144
//_up777__ke885 (_up777__ke885)
package {
import mx.core.*;
public class _up777__ke885 extends BitmapAsset {
}
}//package
Section 145
//_up777__kf213 (_up777__kf213)
package {
import mx.core.*;
public class _up777__kf213 extends BitmapAsset {
}
}//package
Section 146
//_up777__kg1116 (_up777__kg1116)
package {
import mx.core.*;
public class _up777__kg1116 extends BitmapAsset {
}
}//package
Section 147
//_up777__kh950 (_up777__kh950)
package {
import mx.core.*;
public class _up777__kh950 extends BitmapAsset {
}
}//package
Section 148
//_up777__kn156 (_up777__kn156)
package {
import mx.core.*;
public class _up777__kn156 extends SoundAsset {
}
}//package
Section 149
//_up777__kn87 (_up777__kn87)
package {
import mx.core.*;
public class _up777__kn87 extends BitmapAsset {
}
}//package
Section 150
//_up777__le708 (_up777__le708)
package {
import mx.core.*;
public class _up777__le708 extends BitmapAsset {
}
}//package
Section 151
//_up777__lf935 (_up777__lf935)
package {
import mx.core.*;
public class _up777__lf935 extends BitmapAsset {
}
}//package
Section 152
//_up777__li181 (_up777__li181)
package {
import mx.core.*;
public class _up777__li181 extends BitmapAsset {
}
}//package
Section 153
//_up777__lr546 (_up777__lr546)
package {
import mx.core.*;
public class _up777__lr546 extends SoundAsset {
}
}//package
Section 154
//_up777__ls311 (_up777__ls311)
package {
import mx.core.*;
public class _up777__ls311 extends BitmapAsset {
}
}//package
Section 155
//_up777__mg928 (_up777__mg928)
package {
import mx.core.*;
public class _up777__mg928 extends BitmapAsset {
}
}//package
Section 156
//_up777__mj770 (_up777__mj770)
package {
import mx.core.*;
public class _up777__mj770 extends SoundAsset {
}
}//package
Section 157
//_up777__mo535 (_up777__mo535)
package {
import mx.core.*;
public class _up777__mo535 extends BitmapAsset {
}
}//package
Section 158
//_up777__mu358 (_up777__mu358)
package {
import mx.core.*;
public class _up777__mu358 extends BitmapAsset {
}
}//package
Section 159
//_up777__na664 (_up777__na664)
package {
import mx.core.*;
public class _up777__na664 extends BitmapAsset {
}
}//package
Section 160
//_up777__nh480 (_up777__nh480)
package {
import mx.core.*;
public class _up777__nh480 extends BitmapAsset {
}
}//package
Section 161
//_up777__nk477 (_up777__nk477)
package {
import mx.core.*;
public class _up777__nk477 extends BitmapAsset {
}
}//package
Section 162
//_up777__no918 (_up777__no918)
package {
import mx.core.*;
public class _up777__no918 extends BitmapAsset {
}
}//package
Section 163
//_up777__nv257 (_up777__nv257)
package {
import mx.core.*;
public class _up777__nv257 extends BitmapAsset {
}
}//package
Section 164
//_up777__oc1034 (_up777__oc1034)
package {
import mx.core.*;
public class _up777__oc1034 extends SoundAsset {
}
}//package
Section 165
//_up777__ok19 (_up777__ok19)
package {
import mx.core.*;
public class _up777__ok19 extends BitmapAsset {
}
}//package
Section 166
//_up777__oq147 (_up777__oq147)
package {
import mx.core.*;
public class _up777__oq147 extends BitmapAsset {
}
}//package
Section 167
//_up777__or354 (_up777__or354)
package {
import mx.core.*;
public class _up777__or354 extends SoundAsset {
}
}//package
Section 168
//_up777__pc896 (_up777__pc896)
package {
import mx.core.*;
public class _up777__pc896 extends BitmapAsset {
}
}//package
Section 169
//_up777__qg442 (_up777__qg442)
package {
import mx.core.*;
public class _up777__qg442 extends BitmapAsset {
}
}//package
Section 170
//_up777__rw840 (_up777__rw840)
package {
import mx.core.*;
public class _up777__rw840 extends BitmapAsset {
}
}//package
Section 171
//_up777__rv894 (_up777__rv894)
package {
import mx.core.*;
public class _up777__rv894 extends SoundAsset {
}
}//package
Section 172
//_up777__sa1122 (_up777__sa1122)
package {
import mx.core.*;
public class _up777__sa1122 extends BitmapAsset {
}
}//package
Section 173
//_up777__sm742 (_up777__sm742)
package {
import mx.core.*;
public class _up777__sm742 extends SoundAsset {
}
}//package
Section 174
//_up777__sn304 (_up777__sn304)
package {
import mx.core.*;
public class _up777__sn304 extends SoundAsset {
}
}//package
Section 175
//_up777__sq723 (_up777__sq723)
package {
import mx.core.*;
public class _up777__sq723 extends BitmapAsset {
}
}//package
Section 176
//_up777__sw652 (_up777__sw652)
package {
import mx.core.*;
public class _up777__sw652 extends BitmapAsset {
}
}//package
Section 177
//_up777__ta241 (_up777__ta241)
package {
import mx.core.*;
public class _up777__ta241 extends BitmapAsset {
}
}//package
Section 178
//_up777__ta892 (_up777__ta892)
package {
import mx.core.*;
public class _up777__ta892 extends BitmapAsset {
}
}//package
Section 179
//_up777__tk130 (_up777__tk130)
package {
import mx.core.*;
public class _up777__tk130 extends SoundAsset {
}
}//package
Section 180
//_up777__tw545 (_up777__tw545)
package {
import mx.core.*;
public class _up777__tw545 extends BitmapAsset {
}
}//package
Section 181
//_up777__tv664 (_up777__tv664)
package {
import mx.core.*;
public class _up777__tv664 extends BitmapAsset {
}
}//package
Section 182
//_up777__tx876 (_up777__tx876)
package {
import mx.core.*;
public class _up777__tx876 extends BitmapAsset {
}
}//package
Section 183
//_up777__uh445 (_up777__uh445)
package {
import mx.core.*;
public class _up777__uh445 extends BitmapAsset {
}
}//package
Section 184
//_up777__ui29 (_up777__ui29)
package {
import mx.core.*;
public class _up777__ui29 extends BitmapAsset {
}
}//package
Section 185
//_up777__ul816 (_up777__ul816)
package {
import mx.core.*;
public class _up777__ul816 extends BitmapAsset {
}
}//package
Section 186
//_up777__un213 (_up777__un213)
package {
import mx.core.*;
public class _up777__un213 extends BitmapAsset {
}
}//package
Section 187
//_up777__uo708 (_up777__uo708)
package {
import mx.core.*;
public class _up777__uo708 extends BitmapAsset {
}
}//package
Section 188
//_up777__up544 (_up777__up544)
package {
import mx.core.*;
public class _up777__up544 extends BitmapAsset {
}
}//package
Section 189
//_up777__vb877 (_up777__vb877)
package {
import mx.core.*;
public class _up777__vb877 extends BitmapAsset {
}
}//package
Section 190
//_up777__we994 (_up777__we994)
package {
import mx.core.*;
public class _up777__we994 extends BitmapAsset {
}
}//package
Section 191
//_up777__vf131 (_up777__vf131)
package {
import mx.core.*;
public class _up777__vf131 extends BitmapAsset {
}
}//package
Section 192
//_up777__wf462 (_up777__wf462)
package {
import mx.core.*;
public class _up777__wf462 extends SoundAsset {
}
}//package
Section 193
//_up777__wg897 (_up777__wg897)
package {
import mx.core.*;
public class _up777__wg897 extends BitmapAsset {
}
}//package
Section 194
//_up777__vo324 (_up777__vo324)
package {
import mx.core.*;
public class _up777__vo324 extends SoundAsset {
}
}//package
Section 195
//_up777__wr294 (_up777__wr294)
package {
import mx.core.*;
public class _up777__wr294 extends BitmapAsset {
}
}//package
Section 196
//_up777__vt1041 (_up777__vt1041)
package {
import mx.core.*;
public class _up777__vt1041 extends BitmapAsset {
}
}//package
Section 197
//_up777__vt212 (_up777__vt212)
package {
import mx.core.*;
public class _up777__vt212 extends BitmapAsset {
}
}//package
Section 198
//_up777__xc167 (_up777__xc167)
package {
import mx.core.*;
public class _up777__xc167 extends BitmapAsset {
}
}//package
Section 199
//_up777__xj16 (_up777__xj16)
package {
import mx.core.*;
public class _up777__xj16 extends BitmapAsset {
}
}//package
Section 200
//_up777__xl317 (_up777__xl317)
package {
import mx.core.*;
public class _up777__xl317 extends BitmapAsset {
}
}//package
Section 201
//_up777__xl826 (_up777__xl826)
package {
import mx.core.*;
public class _up777__xl826 extends BitmapAsset {
}
}//package
Section 202
//_up777__xm877 (_up777__xm877)
package {
import mx.core.*;
public class _up777__xm877 extends BitmapAsset {
}
}//package
Section 203
//_up777__yd220 (_up777__yd220)
package {
import mx.core.*;
public class _up777__yd220 extends BitmapAsset {
}
}//package
Section 204
//_up777__yd304 (_up777__yd304)
package {
import mx.core.*;
public class _up777__yd304 extends BitmapAsset {
}
}//package
Section 205
//_up777__yp31 (_up777__yp31)
package {
import mx.core.*;
public class _up777__yp31 extends BitmapAsset {
}
}//package
Section 206
//_up777__yq802 (_up777__yq802)
package {
import mx.core.*;
public class _up777__yq802 extends BitmapAsset {
}
}//package
Section 207
//_up777__ys334 (_up777__ys334)
package {
import mx.core.*;
public class _up777__ys334 extends BitmapAsset {
}
}//package
Section 208
//gamezhero_logo1_btn (gamezhero_logo1_btn)
package {
import flash.display.*;
public dynamic class gamezhero_logo1_btn extends SimpleButton {
public var blick2:MovieClip;
public var blick:MovieClip;
}
}//package
Section 209
//gamezhero_logo2_btn (gamezhero_logo2_btn)
package {
import flash.display.*;
public dynamic class gamezhero_logo2_btn extends SimpleButton {
}
}//package
Section 210
//gamezhero_more_games_btn (gamezhero_more_games_btn)
package {
import flash.display.*;
public dynamic class gamezhero_more_games_btn extends MovieClip {
}
}//package
Section 211
//gamezhero_put_on_blog_btn (gamezhero_put_on_blog_btn)
package {
import flash.display.*;
public dynamic class gamezhero_put_on_blog_btn extends MovieClip {
public var putThisGameText_mc:MovieClip;
public function gamezhero_put_on_blog_btn(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 212
//gamezhero_send_to_friends_btn (gamezhero_send_to_friends_btn)
package {
import flash.display.*;
public dynamic class gamezhero_send_to_friends_btn extends MovieClip {
}
}//package
Section 213
//gamezhero_top_score_btn (gamezhero_top_score_btn)
package {
import flash.display.*;
public dynamic class gamezhero_top_score_btn extends MovieClip {
}
}//package
Section 214
//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