home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / bashing-pumpkins.swf / scripts / DefineSprite_141 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-12-12  |  9.3 KB  |  250 lines

  1. var ┬º\x01┬º = 23;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 23)
  5.    {
  6.       set("\x01",eval("\x01") + 178);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else if(eval("\x01") == 833)
  10.    {
  11.       set("\x01",eval("\x01") - 414);
  12.       ┬º┬ºpush(true);
  13.    }
  14.    else if(eval("\x01") == 279)
  15.    {
  16.       set("\x01",eval("\x01") + 583);
  17.       if(┬º┬ºpop())
  18.       {
  19.          set("\x01",eval("\x01") - 29);
  20.       }
  21.    }
  22.    else
  23.    {
  24.       if(eval("\x01") == 68)
  25.       {
  26.          set("\x01",eval("\x01") + 160);
  27.          gotoAndStop(┬º┬ºpop());
  28.          break;
  29.       }
  30.       if(eval("\x01") == 748)
  31.       {
  32.          set("\x01",eval("\x01") + 91);
  33.          ┬º┬ºpush(true);
  34.       }
  35.       else
  36.       {
  37.          if(eval("\x01") == 441)
  38.          {
  39.             set("\x01",eval("\x01") + 307);
  40.             break;
  41.          }
  42.          if(eval("\x01") == 122)
  43.          {
  44.             set("\x01",eval("\x01") + 280);
  45.             if(┬º┬ºpop())
  46.             {
  47.                set("\x01",eval("\x01") + 387);
  48.             }
  49.          }
  50.          else
  51.          {
  52.             if(eval("\x01") == 723)
  53.             {
  54.                set("\x01",eval("\x01") - 547);
  55.                break;
  56.             }
  57.             if(eval("\x01") == 595)
  58.             {
  59.                set("\x01",eval("\x01") - 316);
  60.                ┬º┬ºpush(true);
  61.             }
  62.             else if(eval("\x01") == 839)
  63.             {
  64.                set("\x01",eval("\x01") - 771);
  65.                if(┬º┬ºpop())
  66.                {
  67.                   set("\x01",eval("\x01") + 160);
  68.                }
  69.             }
  70.             else
  71.             {
  72.                if(eval("\x01") == 609)
  73.                {
  74.                   set("\x01",eval("\x01") + 383);
  75.                   break;
  76.                }
  77.                if(eval("\x01") == 862)
  78.                {
  79.                   set("\x01",eval("\x01") - 29);
  80.                   break;
  81.                }
  82.                if(eval("\x01") == 409)
  83.                {
  84.                   set("\x01",eval("\x01") + 186);
  85.                   break;
  86.                }
  87.                if(eval("\x01") == 419)
  88.                {
  89.                   set("\x01",eval("\x01") + 43);
  90.                   if(┬º┬ºpop())
  91.                   {
  92.                      set("\x01",eval("\x01") + 352);
  93.                   }
  94.                }
  95.                else if(eval("\x01") == 228)
  96.                {
  97.                   set("\x01",eval("\x01") - 106);
  98.                   ┬º┬ºpush(true);
  99.                }
  100.                else
  101.                {
  102.                   if(eval("\x01") == 462)
  103.                   {
  104.                      set("\x01",eval("\x01") + 352);
  105.                      ┬º┬ºpop() implements ;
  106.                      break;
  107.                   }
  108.                   if(eval("\x01") == 554)
  109.                   {
  110.                      set("\x01",eval("\x01") + 169);
  111.                      if(┬º┬ºpop())
  112.                      {
  113.                         set("\x01",eval("\x01") - 547);
  114.                      }
  115.                   }
  116.                   else if(eval("\x01") == 992)
  117.                   {
  118.                      set("\x01",eval("\x01") - 438);
  119.                      ┬º┬ºpush(true);
  120.                   }
  121.                   else if(eval("\x01") == 201)
  122.                   {
  123.                      set("\x01",eval("\x01") + 208);
  124.                      if(┬º┬ºpop())
  125.                      {
  126.                         set("\x01",eval("\x01") + 186);
  127.                      }
  128.                   }
  129.                   else if(eval("\x01") == 814)
  130.                   {
  131.                      set("\x01",eval("\x01") - 474);
  132.                      ┬º┬ºpush(true);
  133.                   }
  134.                   else
  135.                   {
  136.                      if(eval("\x01") == 402)
  137.                      {
  138.                         set("\x01",eval("\x01") + 387);
  139.                         ┬º┬ºpop();
  140.                         break;
  141.                      }
  142.                      if(eval("\x01") == 340)
  143.                      {
  144.                         set("\x01",eval("\x01") + 101);
  145.                         if(┬º┬ºpop())
  146.                         {
  147.                            set("\x01",eval("\x01") + 307);
  148.                         }
  149.                      }
  150.                      else if(eval("\x01") == 789)
  151.                      {
  152.                         set("\x01",eval("\x01") - 150);
  153.                         ┬º┬ºpush(true);
  154.                      }
  155.                      else
  156.                      {
  157.                         if(eval("\x01") != 639)
  158.                         {
  159.                            if(eval("\x01") == 176)
  160.                            {
  161.                               set("\x01",eval("\x01") + 668);
  162.                               if(_global.Communication == null)
  163.                               {
  164.                                  _global.Communication = new Object();
  165.                               }
  166.                               if(_global.Shell == null)
  167.                               {
  168.                                  _global.Shell = new Object();
  169.                               }
  170.                               if(Shell.shellState == null)
  171.                               {
  172.                                  Shell.shellState = new Object();
  173.                               }
  174.                               Shell.shellState.ctaAd = this;
  175.                               this._name = "ctaAd";
  176.                               Communication.getCTAad = function()
  177.                               {
  178.                                  if(Shell.gameSettings.preferences.legalApproved)
  179.                                  {
  180.                                     Shell.shellState.ctaAd.ad_lv = new LoadVars();
  181.                                     Shell.shellState.ctaAd.ad_lv.onData = function(rawData)
  182.                                     {
  183.                                        var _loc2_ = "";
  184.                                        if(rawData != null)
  185.                                        {
  186.                                           rawData = rawData.split("\n");
  187.                                           _loc2_ = 0;
  188.                                           clickURL = Shell.gameSettings.urlLocations.ctaClickLocation;
  189.                                           var _loc1_ = 0;
  190.                                           while(_loc1_ < rawData.length)
  191.                                           {
  192.                                              if(rawData[_loc1_].indexOf("http://") > -1)
  193.                                              {
  194.                                                 trace(_loc1_ + " : " + _loc2_ + ":" + rawData[_loc1_]);
  195.                                                 if(_loc2_ == 0)
  196.                                                 {
  197.                                                    _loc2_ = rawData[_loc1_];
  198.                                                    _loc2_ = _loc2_.substring(_loc2_.indexOf("http://"));
  199.                                                 }
  200.                                                 else
  201.                                                 {
  202.                                                    clickURL = rawData[_loc1_];
  203.                                                    clickURL = clickURL.substring(clickURL.indexOf("http://"));
  204.                                                    trace("|" + clickURL + "|");
  205.                                                 }
  206.                                              }
  207.                                              _loc1_ = _loc1_ + 1;
  208.                                           }
  209.                                        }
  210.                                        if(_loc2_ != "")
  211.                                        {
  212.                                           Shell.shellState.ctaAd.gotoAndPlay("dynamicAd");
  213.                                           Shell.shellState.ctaAd.onRelease = function()
  214.                                           {
  215.                                              Shell.openURL(clickURL);
  216.                                           };
  217.                                           Shell.shellState.ctaAd.ctaAd.loadMovie(_loc2_);
  218.                                        }
  219.                                        else
  220.                                        {
  221.                                           Shell.shellState.ctaAd.gotoAndPlay("standardAd");
  222.                                           Shell.shellState.ctaAd.onRelease = function()
  223.                                           {
  224.                                              Shell.openURL("kewlbox");
  225.                                           };
  226.                                        }
  227.                                     };
  228.                                     var _loc3_ = Shell.gameSettings.urlLocations.ctaImage;
  229.                                     trace("getting cta at: " + _loc3_);
  230.                                     Shell.shellState.ctaAd.ad_lv.load("http://" + _loc3_,Shell.shellState.ctaAd.ad_lv);
  231.                                  }
  232.                               };
  233.                               Communication.getCTAad();
  234.                            }
  235.                            break;
  236.                         }
  237.                         set("\x01",eval("\x01") - 30);
  238.                         if(┬º┬ºpop())
  239.                         {
  240.                            set("\x01",eval("\x01") + 383);
  241.                         }
  242.                      }
  243.                   }
  244.                }
  245.             }
  246.          }
  247.       }
  248.    }
  249. }
  250.