home *** CD-ROM | disk | FTP | other *** search
/ Clickx 44 / Clickx 44.iso / assets / swf / start.swf / scripts / __Packages / clickx / ui / UIGroupPanel.as < prev    next >
Encoding:
Text File  |  2007-01-01  |  10.2 KB  |  321 lines

  1. var ┬º\x01┬º = 798;
  2. loop0:
  3. while(true)
  4. {
  5.    if(eval("\x01") == 798)
  6.    {
  7.       set("\x01",eval("\x01") - 41);
  8.       ┬º┬ºpush(true);
  9.       continue;
  10.    }
  11.    if(eval("\x01") == 419)
  12.    {
  13.       set("\x01",eval("\x01") + 275);
  14.       if(┬º┬ºpop())
  15.       {
  16.          set("\x01",eval("\x01") - 441);
  17.       }
  18.       continue;
  19.    }
  20.    if(eval("\x01") == 105)
  21.    {
  22.       set("\x01",eval("\x01") + 314);
  23.       ┬º┬ºpush(true);
  24.       continue;
  25.    }
  26.    if(eval("\x01") == 979)
  27.    {
  28.       set("\x01",eval("\x01") - 874);
  29.       break;
  30.    }
  31.    if(eval("\x01") != 694)
  32.    {
  33.       if(eval("\x01") != 757)
  34.       {
  35.          if(eval("\x01") == 253)
  36.          {
  37.             set("\x01",eval("\x01") + 290);
  38.             if(!_global.clickx)
  39.             {
  40.                _global.clickx = new Object();
  41.             }
  42.             ┬º┬ºpop();
  43.             if(!_global.clickx.ui)
  44.             {
  45.                _global.clickx.ui = new Object();
  46.             }
  47.             ┬º┬ºpop();
  48.             if(!_global.clickx.ui.UIGroupPanel)
  49.             {
  50.                clickx.ui.UIGroupPanel extends MovieClip;
  51.                var _loc2_ = clickx.ui.UIGroupPanel = function()
  52.                {
  53.                   super();
  54.                }.prototype;
  55.                _loc2_.slideIn = function()
  56.                {
  57.                   var _loc2_ = (18 - this._x) / 2;
  58.                   if(Math.abs(_loc2_) < 0.2)
  59.                   {
  60.                      this._x = 18;
  61.                      delete this.onEnterFrame;
  62.                   }
  63.                   else
  64.                   {
  65.                      this._x += _loc2_;
  66.                   }
  67.                };
  68.                _loc2_.slideOut = function()
  69.                {
  70.                   var _loc2_ = (-233 - this._x) / 2;
  71.                   if(Math.abs(_loc2_) < 0.2)
  72.                   {
  73.                      this._x = -233;
  74.                      delete this.onEnterFrame;
  75.                      if(this.groupToLoad != "")
  76.                      {
  77.                         this.renderGroup(this.groupToLoad);
  78.                         this.groupToLoad = "";
  79.                         this.onEnterFrame = mx.utils.Delegate.create(this,this.slideIn);
  80.                      }
  81.                   }
  82.                   else
  83.                   {
  84.                      this._x += _loc2_;
  85.                   }
  86.                };
  87.                _loc2_.renderGroup = function(id)
  88.                {
  89.                   var _loc2_ = clickx.data.DataProvider.getInstance().getSoftwareList(id);
  90.                   if(_loc2_.length > 15)
  91.                   {
  92.                      this.slider_mc._visible = true;
  93.                      this.slider_mc.init();
  94.                   }
  95.                   else
  96.                   {
  97.                      this.slider_mc._visible = false;
  98.                   }
  99.                   this.itemList_mc.fillList(_loc2_,false,"mc_itemTemplate2");
  100.                };
  101.                _loc2_.loadGroup = function(id)
  102.                {
  103.                   if(this._x > -233)
  104.                   {
  105.                      this.groupToLoad = id;
  106.                      if(this._parent.softwareDetail_mc.isOpen())
  107.                      {
  108.                         this._parent.softwareDetail_mc.addEventListener("onSoftwarePanelHidden",this);
  109.                         this._parent.softwareDetail_mc.slideOutAndDoCallBack();
  110.                      }
  111.                      else
  112.                      {
  113.                         this.onEnterFrame = mx.utils.Delegate.create(this,this.slideOut);
  114.                      }
  115.                   }
  116.                   else
  117.                   {
  118.                      this.slider_mc.init();
  119.                      this.renderGroup(id);
  120.                      this.onEnterFrame = mx.utils.Delegate.create(this,this.slideIn);
  121.                   }
  122.                };
  123.                _loc2_.doScroll = function(val)
  124.                {
  125.                   this.itemList_mc.scrollList(val);
  126.                };
  127.                _loc2_.scrollTo = function(val)
  128.                {
  129.                   this.itemList_mc.setScrollPos(val);
  130.                };
  131.                _loc2_.getListScrollPos = function()
  132.                {
  133.                   return this.itemList_mc.getScrollPos();
  134.                };
  135.                _loc2_.getListMaxScrollPos = function()
  136.                {
  137.                   return this.itemList_mc.getMaxScroll();
  138.                };
  139.                _loc2_.selectItem = function(id)
  140.                {
  141.                   this._parent.selectSoftwareTitle(id);
  142.                };
  143.                _loc2_.onLoad = function()
  144.                {
  145.                   this._x = -233;
  146.                   this.slider_mc._visible = false;
  147.                };
  148.                _loc2_.onSoftwarePanelHidden = function(eventObject)
  149.                {
  150.                   this._parent.softwareDetail_mc.removeEventListener("onSoftwarePanelHidden",this);
  151.                   this.onEnterFrame = mx.utils.Delegate.create(this,this.slideOut);
  152.                };
  153.                _loc2_.groupToLoad = "";
  154.                ┬º┬ºpush(ASSetPropFlags(clickx.ui.UIGroupPanel.prototype,null,1));
  155.             }
  156.             ┬º┬ºpop();
  157.          }
  158.          break;
  159.       }
  160.       set("\x01",eval("\x01") + 222);
  161.       if(┬º┬ºpop())
  162.       {
  163.          set("\x01",eval("\x01") - 874);
  164.       }
  165.       continue;
  166.    }
  167.    set("\x01",eval("\x01") - 441);
  168.    loop1:
  169.    while(true)
  170.    {
  171.       set(┬º┬ºpop(),eval("\x01") + 264);
  172.       loop2:
  173.       while(true)
  174.       {
  175.          while(true)
  176.          {
  177.             if(eval("\x01") == 374)
  178.             {
  179.                set("\x01",eval("\x01") + 453);
  180.                ┬º┬ºpush(true);
  181.             }
  182.             else
  183.             {
  184.                if(eval("\x01") == 460)
  185.                {
  186.                   break loop2;
  187.                }
  188.                if(eval("\x01") == 627)
  189.                {
  190.                   set("\x01",eval("\x01") - 167);
  191.                   if(┬º┬ºpop())
  192.                   {
  193.                      set("\x01",eval("\x01") - 202);
  194.                   }
  195.                }
  196.                else if(eval("\x01") == 354)
  197.                {
  198.                   set("\x01",eval("\x01") + 273);
  199.                   ┬º┬ºpush(true);
  200.                }
  201.                else if(eval("\x01") == 601)
  202.                {
  203.                   set("\x01",eval("\x01") - 63);
  204.                   if(┬º┬ºpop())
  205.                   {
  206.                      set("\x01",eval("\x01") + 104);
  207.                   }
  208.                }
  209.                else if(eval("\x01") == 147)
  210.                {
  211.                   set("\x01",eval("\x01") - 30);
  212.                   if(┬º┬ºpop())
  213.                   {
  214.                      set("\x01",eval("\x01") + 707);
  215.                   }
  216.                }
  217.                else
  218.                {
  219.                   if(eval("\x01") == 42)
  220.                   {
  221.                      set("\x01",eval("\x01") + 264);
  222.                      stopAllSounds();
  223.                      break loop0;
  224.                   }
  225.                   if(eval("\x01") == 538)
  226.                   {
  227.                      set("\x01",eval("\x01") + 104);
  228.                      stopDrag();
  229.                      ┬º┬ºpush(┬º┬ºpop() instanceof ┬º┬ºpop());
  230.                      break loop0;
  231.                   }
  232.                   if(eval("\x01") == 637)
  233.                   {
  234.                      set("\x01",eval("\x01") - 283);
  235.                      break loop0;
  236.                   }
  237.                   if(eval("\x01") == 900)
  238.                   {
  239.                      set("\x01",eval("\x01") - 263);
  240.                      if(┬º┬ºpop())
  241.                      {
  242.                         set("\x01",eval("\x01") - 283);
  243.                      }
  244.                   }
  245.                   else if(eval("\x01") == 258)
  246.                   {
  247.                      set("\x01",eval("\x01") - 111);
  248.                      ┬º┬ºpush(true);
  249.                   }
  250.                   else
  251.                   {
  252.                      if(eval("\x01") == 117)
  253.                      {
  254.                         set("\x01",eval("\x01") + 707);
  255.                         stopAllSounds();
  256.                         break loop0;
  257.                      }
  258.                      if(eval("\x01") == 824)
  259.                      {
  260.                         set("\x01",eval("\x01") - 638);
  261.                         ┬º┬ºpush(true);
  262.                      }
  263.                      else
  264.                      {
  265.                         if(eval("\x01") == 186)
  266.                         {
  267.                            break;
  268.                         }
  269.                         if(eval("\x01") == 87)
  270.                         {
  271.                            set("\x01",eval("\x01") + 813);
  272.                            ┬º┬ºpush(true);
  273.                         }
  274.                         else
  275.                         {
  276.                            if(eval("\x01") == 116)
  277.                            {
  278.                               set("\x01",eval("\x01") - 29);
  279.                               break loop0;
  280.                            }
  281.                            if(eval("\x01") == 827)
  282.                            {
  283.                               set("\x01",eval("\x01") - 711);
  284.                               if(┬º┬ºpop())
  285.                               {
  286.                                  set("\x01",eval("\x01") - 29);
  287.                               }
  288.                            }
  289.                            else
  290.                            {
  291.                               if(eval("\x01") != 306)
  292.                               {
  293.                                  if(eval("\x01") == 642)
  294.                                  {
  295.                                     set("\x01",eval("\x01") - 545);
  296.                                     initEndScreen1();
  297.                                     stop();
  298.                                  }
  299.                                  break loop0;
  300.                               }
  301.                               set("\x01",eval("\x01") + 295);
  302.                               ┬º┬ºpush(true);
  303.                            }
  304.                         }
  305.                      }
  306.                   }
  307.                }
  308.             }
  309.          }
  310.          set("\x01",eval("\x01") - 144);
  311.          if(!┬º┬ºpop())
  312.          {
  313.             continue;
  314.          }
  315.          continue loop1;
  316.       }
  317.       set("\x01",eval("\x01") - 202);
  318.       break loop0;
  319.    }
  320. }
  321.