Advertisement
Guest User

§_-1CT§.§_-0qO§

a guest
Dec 29th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package §_-1CT§
  2. {
  3.    import §_-1O0§.EventDispatcherWrapper;
  4.    import §_-3VE§.§_-1I6§;
  5.    import flash.events.Event;
  6.    import flash.events.HTTPStatusEvent;
  7.    
  8.    class §_-0qO§ extends EventDispatcherWrapper implements §_-1I6§
  9.    {
  10.      
  11.       public static const NONE:uint = 0;
  12.      
  13.       public static const IO_ERROR:uint = 1;
  14.      
  15.       public static const SECURITY_ERROR:uint = 2;
  16.        
  17.      
  18.       protected var §_-21v§:int = 0;
  19.      
  20.       protected var §_-23Y§:int = 0;
  21.      
  22.       protected var §_-LA§:int = 2;
  23.      
  24.       protected var §_-26I§:uint = 0;
  25.      
  26.       function §_-0qO§()
  27.       {
  28.          super();
  29.       }
  30.      
  31.       public function get errorCode() : uint
  32.       {
  33.          return §_-26I§;
  34.       }
  35.      
  36.       protected function loadEventHandler(param1:Event) : void
  37.       {
  38.          var _loc2_:* = param1.type;
  39.          if("httpStatus" !== _loc2_)
  40.          {
  41.             if("complete" !== _loc2_)
  42.             {
  43.                if("unload" !== _loc2_)
  44.                {
  45.                   if("open" !== _loc2_)
  46.                   {
  47.                      if("progress" !== _loc2_)
  48.                      {
  49.                         if("ioError" !== _loc2_)
  50.                         {
  51.                            if("securityError" === _loc2_)
  52.                            {
  53.                               §_-26I§ = 2;
  54.                               if(!retry())
  55.                               {
  56.                                  dispatchEvent(new AssetLoaderEvent("AssetLoaderEventError",§_-21v§));
  57.                               }
  58.                            }
  59.                         }
  60.                         else
  61.                         {
  62.                            §_-26I§ = 1;
  63.                            if(!retry())
  64.                            {
  65.                               dispatchEvent(new AssetLoaderEvent("AssetLoaderEventError",§_-21v§));
  66.                            }
  67.                         }
  68.                      }
  69.                      else
  70.                      {
  71.                         dispatchEvent(new AssetLoaderEvent("AssetLoaderEventProgress",§_-21v§));
  72.                      }
  73.                   }
  74.                   else
  75.                   {
  76.                      dispatchEvent(new AssetLoaderEvent("AssetLoaderEventOpen",§_-21v§));
  77.                   }
  78.                }
  79.                else
  80.                {
  81.                   dispatchEvent(new AssetLoaderEvent("AssetLoaderEventUnload",§_-21v§));
  82.                }
  83.             }
  84.             else
  85.             {
  86.                dispatchEvent(new AssetLoaderEvent("AssetLoaderEventComplete",§_-21v§));
  87.             }
  88.          }
  89.          else
  90.          {
  91.             §_-21v§ = HTTPStatusEvent(param1).status;
  92.             dispatchEvent(new AssetLoaderEvent("AssetLoaderEventStatus",§_-21v§));
  93.          }
  94.       }
  95.      
  96.       protected function retry() : Boolean
  97.       {
  98.          return false;
  99.       }
  100.    }
  101. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement