home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Swf / Completos.swf / scripts / __Packages / mx / transitions / Tween.as < prev   
Encoding:
Text File  |  2010-02-24  |  15.6 KB  |  485 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 1723;
  4. }
  5. var ┬º\x01┬º = -1060 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 663)
  9.    {
  10.       set("\x01",eval("\x01") - 194);
  11.       ┬º┬ºpush(true);
  12.    }
  13.    else
  14.    {
  15.       if(eval("\x01") == 622)
  16.       {
  17.          set("\x01",eval("\x01") - 213);
  18.          getURL(┬º┬ºpop(),[]);
  19.          break;
  20.       }
  21.       if(eval("\x01") == 736)
  22.       {
  23.          set("\x01",eval("\x01") - 569);
  24.          var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  25.          {
  26.             return 1723;
  27.          };
  28.       }
  29.       else if(eval("\x01") == 210)
  30.       {
  31.          set("\x01",eval("\x01") + 526);
  32.          ┬º┬ºpush("\x0f");
  33.          ┬º┬ºpush(1);
  34.       }
  35.       else if(eval("\x01") == 237)
  36.       {
  37.          set("\x01",eval("\x01") + 407);
  38.       }
  39.       else if(eval("\x01") == 167)
  40.       {
  41.          set("\x01",eval("\x01") + 616);
  42.          ┬º┬ºpush("\x0f");
  43.       }
  44.       else if(eval("\x01") == 647)
  45.       {
  46.          set("\x01",eval("\x01") - 25);
  47.          if(function ┬º\x01\x02┬º()
  48.          {
  49.             return 1723;
  50.          })
  51.          {
  52.             set("\x01",eval("\x01") - 213);
  53.          }
  54.       }
  55.       else
  56.       {
  57.          if(eval("\x01") == 644)
  58.          {
  59.             set("\x01",eval("\x01") - 340);
  60.             if(!_global.mx)
  61.             {
  62.                _global.mx = new Object();
  63.             }
  64.             function ┬º\x01\x02┬º()
  65.             {
  66.                return 1723;
  67.             }
  68.             if(!_global.mx.transitions)
  69.             {
  70.                _global.mx.transitions = new Object();
  71.             }
  72.             ┬º┬ºpop();
  73.             if(!_global.mx.transitions.Tween)
  74.             {
  75.                var _loc2_ = mx.transitions.Tween = function(obj, prop, func, begin, finish, duration, useSeconds)
  76.                {
  77.                   mx.transitions.OnEnterFrameBeacon.init();
  78.                   if(!arguments.length)
  79.                   {
  80.                      return undefined;
  81.                   }
  82.                   this.obj = obj;
  83.                   this.prop = prop;
  84.                   this.begin = begin;
  85.                   this.position = begin;
  86.                   this.duration = duration;
  87.                   this.useSeconds = useSeconds;
  88.                   if(func)
  89.                   {
  90.                      this.func = func;
  91.                   }
  92.                   this.finish = finish;
  93.                   this._listeners = [];
  94.                   this.addListener(this);
  95.                   this.start();
  96.                }.prototype;
  97.                _loc2_.__set__time = function(t)
  98.                {
  99.                   this.prevTime = this._time;
  100.                   if(t > this.duration)
  101.                   {
  102.                      if(this.looping)
  103.                      {
  104.                         this.rewind(t - this._duration);
  105.                         this.update();
  106.                         this.broadcastMessage("onMotionLooped",this);
  107.                      }
  108.                      else
  109.                      {
  110.                         if(this.useSeconds)
  111.                         {
  112.                            this._time = this._duration;
  113.                            this.update();
  114.                         }
  115.                         this.stop();
  116.                         this.broadcastMessage("onMotionFinished",this);
  117.                      }
  118.                   }
  119.                   else if(t < 0)
  120.                   {
  121.                      this.rewind();
  122.                      this.update();
  123.                   }
  124.                   else
  125.                   {
  126.                      this._time = t;
  127.                      this.update();
  128.                   }
  129.                   return this.time;
  130.                };
  131.                _loc2_.__get__time = function()
  132.                {
  133.                   return this._time;
  134.                };
  135.                _loc2_.__set__duration = function(d)
  136.                {
  137.                   this._duration = !(d == null || d <= 0) ? d : _global.Infinity;
  138.                   return this.duration;
  139.                };
  140.                _loc2_.__get__duration = function()
  141.                {
  142.                   return this._duration;
  143.                };
  144.                _loc2_.__set__FPS = function(fps)
  145.                {
  146.                   var _loc2_ = this.isPlaying;
  147.                   this.stopEnterFrame();
  148.                   this._fps = fps;
  149.                   if(_loc2_)
  150.                   {
  151.                      this.startEnterFrame();
  152.                   }
  153.                   return this.FPS;
  154.                };
  155.                _loc2_.__get__FPS = function()
  156.                {
  157.                   return this._fps;
  158.                };
  159.                _loc2_.__set__position = function(p)
  160.                {
  161.                   this.setPosition(p);
  162.                   return this.position;
  163.                };
  164.                _loc2_.setPosition = function(p)
  165.                {
  166.                   this.prevPos = this._pos;
  167.                   this.obj[this.prop] = this._pos = p;
  168.                   this.broadcastMessage("onMotionChanged",this,this._pos);
  169.                   updateAfterEvent();
  170.                };
  171.                _loc2_.__get__position = function()
  172.                {
  173.                   return this.getPosition();
  174.                };
  175.                _loc2_.getPosition = function(t)
  176.                {
  177.                   if(t == undefined)
  178.                   {
  179.                      t = this._time;
  180.                   }
  181.                   return this.func(t,this.begin,this.change,this._duration);
  182.                };
  183.                _loc2_.__set__finish = function(f)
  184.                {
  185.                   this.change = f - this.begin;
  186.                   return this.finish;
  187.                };
  188.                _loc2_.__get__finish = function()
  189.                {
  190.                   return this.begin + this.change;
  191.                };
  192.                _loc2_.continueTo = function(finish, duration)
  193.                {
  194.                   this.begin = this.position;
  195.                   this.finish = finish;
  196.                   if(duration != undefined)
  197.                   {
  198.                      this.duration = duration;
  199.                   }
  200.                   this.start();
  201.                };
  202.                _loc2_.yoyo = function()
  203.                {
  204.                   this.continueTo(this.begin,this.time);
  205.                };
  206.                _loc2_.startEnterFrame = function()
  207.                {
  208.                   if(this._fps == undefined)
  209.                   {
  210.                      _global.MovieClip.addListener(this);
  211.                   }
  212.                   else
  213.                   {
  214.                      this._intervalID = setInterval(this,"onEnterFrame",1000 / this._fps);
  215.                   }
  216.                   this.isPlaying = true;
  217.                };
  218.                _loc2_.stopEnterFrame = function()
  219.                {
  220.                   if(this._fps == undefined)
  221.                   {
  222.                      _global.MovieClip.removeListener(this);
  223.                   }
  224.                   else
  225.                   {
  226.                      clearInterval(this._intervalID);
  227.                   }
  228.                   this.isPlaying = false;
  229.                };
  230.                _loc2_.start = function()
  231.                {
  232.                   this.rewind();
  233.                   this.startEnterFrame();
  234.                   this.broadcastMessage("onMotionStarted",this);
  235.                };
  236.                _loc2_.stop = function()
  237.                {
  238.                   this.stopEnterFrame();
  239.                   this.broadcastMessage("onMotionStopped",this);
  240.                };
  241.                _loc2_.resume = function()
  242.                {
  243.                   this.fixTime();
  244.                   this.startEnterFrame();
  245.                   this.broadcastMessage("onMotionResumed",this);
  246.                };
  247.                _loc2_.rewind = function(t)
  248.                {
  249.                   this._time = t != undefined ? t : 0;
  250.                   this.fixTime();
  251.                   this.update();
  252.                };
  253.                _loc2_.fforward = function()
  254.                {
  255.                   this.time = this._duration;
  256.                   this.fixTime();
  257.                };
  258.                _loc2_.nextFrame = function()
  259.                {
  260.                   if(this.useSeconds)
  261.                   {
  262.                      this.time = (getTimer() - this._startTime) / 1000;
  263.                   }
  264.                   else
  265.                   {
  266.                      this.time = this._time + 1;
  267.                   }
  268.                };
  269.                _loc2_.onEnterFrame = function()
  270.                {
  271.                   this.nextFrame();
  272.                };
  273.                _loc2_.prevFrame = function()
  274.                {
  275.                   if(!this.useSeconds)
  276.                   {
  277.                      this.time = this._time - 1;
  278.                   }
  279.                };
  280.                _loc2_.toString = function()
  281.                {
  282.                   return "[Tween]";
  283.                };
  284.                _loc2_.fixTime = function()
  285.                {
  286.                   if(this.useSeconds)
  287.                   {
  288.                      this._startTime = getTimer() - this._time * 1000;
  289.                   }
  290.                };
  291.                _loc2_.update = function()
  292.                {
  293.                   this.position = this.getPosition(this._time);
  294.                };
  295.                mx.transitions.Tween = function(obj, prop, func, begin, finish, duration, useSeconds)
  296.                {
  297.                   mx.transitions.OnEnterFrameBeacon.init();
  298.                   if(!arguments.length)
  299.                   {
  300.                      return undefined;
  301.                   }
  302.                   this.obj = obj;
  303.                   this.prop = prop;
  304.                   this.begin = begin;
  305.                   this.position = begin;
  306.                   this.duration = duration;
  307.                   this.useSeconds = useSeconds;
  308.                   if(func)
  309.                   {
  310.                      this.func = func;
  311.                   }
  312.                   this.finish = finish;
  313.                   this._listeners = [];
  314.                   this.addListener(this);
  315.                   this.start();
  316.                }.version = "1.1.0.52";
  317.                mx.transitions.Tween = function(obj, prop, func, begin, finish, duration, useSeconds)
  318.                {
  319.                   mx.transitions.OnEnterFrameBeacon.init();
  320.                   if(!arguments.length)
  321.                   {
  322.                      return undefined;
  323.                   }
  324.                   this.obj = obj;
  325.                   this.prop = prop;
  326.                   this.begin = begin;
  327.                   this.position = begin;
  328.                   this.duration = duration;
  329.                   this.useSeconds = useSeconds;
  330.                   if(func)
  331.                   {
  332.                      this.func = func;
  333.                   }
  334.                   this.finish = finish;
  335.                   this._listeners = [];
  336.                   this.addListener(this);
  337.                   this.start();
  338.                }.__initBeacon = mx.transitions.OnEnterFrameBeacon.init();
  339.                mx.transitions.Tween = function(obj, prop, func, begin, finish, duration, useSeconds)
  340.                {
  341.                   mx.transitions.OnEnterFrameBeacon.init();
  342.                   if(!arguments.length)
  343.                   {
  344.                      return undefined;
  345.                   }
  346.                   this.obj = obj;
  347.                   this.prop = prop;
  348.                   this.begin = begin;
  349.                   this.position = begin;
  350.                   this.duration = duration;
  351.                   this.useSeconds = useSeconds;
  352.                   if(func)
  353.                   {
  354.                      this.func = func;
  355.                   }
  356.                   this.finish = finish;
  357.                   this._listeners = [];
  358.                   this.addListener(this);
  359.                   this.start();
  360.                }.__initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype,true);
  361.                _loc2_.func = function(t, b, c, d)
  362.                {
  363.                   return c * t / d + b;
  364.                };
  365.                ┬º┬ºpush(_loc2_.addProperty("FPS",_loc2_.__get__FPS,_loc2_.__set__FPS));
  366.                ┬º┬ºpush(_loc2_.addProperty("duration",_loc2_.__get__duration,_loc2_.__set__duration));
  367.                ┬º┬ºpush(_loc2_.addProperty("finish",_loc2_.__get__finish,_loc2_.__set__finish));
  368.                ┬º┬ºpush(_loc2_.addProperty("position",_loc2_.__get__position,_loc2_.__set__position));
  369.                ┬º┬ºpush(_loc2_.addProperty("time",_loc2_.__get__time,_loc2_.__set__time));
  370.                ┬º┬ºpush(ASSetPropFlags(mx.transitions.Tween.prototype,null,1));
  371.             }
  372.             ┬º┬ºpop();
  373.             break;
  374.          }
  375.          if(eval("\x01") == 783)
  376.          {
  377.             set("\x01",eval("\x01") - 275);
  378.             ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  379.             {
  380.                return 1723;
  381.             }));
  382.          }
  383.          else if(eval("\x01") == 508)
  384.          {
  385.             set("\x01",eval("\x01") - 140);
  386.             ┬º┬ºpush(!function ┬º\x01\x02┬º()
  387.             {
  388.                return 1723;
  389.             });
  390.          }
  391.          else if(eval("\x01") == 319)
  392.          {
  393.             set("\x01",eval("\x01") - 317);
  394.          }
  395.          else if(eval("\x01") == 744)
  396.          {
  397.             set("\x01",eval("\x01") - 534);
  398.          }
  399.          else if(eval("\x01") == 368)
  400.          {
  401.             set("\x01",eval("\x01") - 131);
  402.             if(function ┬º\x01\x02┬º()
  403.             {
  404.                return 1723;
  405.             })
  406.             {
  407.                set("\x01",eval("\x01") + 407);
  408.             }
  409.          }
  410.          else if(eval("\x01") == 735)
  411.          {
  412.             set("\x01",eval("\x01") - 543);
  413.          }
  414.          else
  415.          {
  416.             if(eval("\x01") == 304)
  417.             {
  418.                set("\x01",eval("\x01") - 304);
  419.                break;
  420.             }
  421.             if(eval("\x01") == 917)
  422.             {
  423.                set("\x01",eval("\x01") - 707);
  424.             }
  425.             else if(eval("\x01") == 469)
  426.             {
  427.                set("\x01",eval("\x01") + 309);
  428.                if(function ┬º\x01\x02┬º()
  429.                {
  430.                   return 1723;
  431.                })
  432.                {
  433.                   set("\x01",eval("\x01") + 76);
  434.                }
  435.             }
  436.             else
  437.             {
  438.                if(eval("\x01") == 108)
  439.                {
  440.                   set("\x01",eval("\x01") + 809);
  441.                   break;
  442.                }
  443.                if(eval("\x01") == 409)
  444.                {
  445.                   set("\x01",eval("\x01") - 407);
  446.                }
  447.                else if(eval("\x01") == 2)
  448.                {
  449.                   set("\x01",eval("\x01") + 717);
  450.                   ┬º┬ºpush(true);
  451.                }
  452.                else if(eval("\x01") == 719)
  453.                {
  454.                   set("\x01",eval("\x01") - 611);
  455.                   if(function ┬º\x01\x02┬º()
  456.                   {
  457.                      return 1723;
  458.                   })
  459.                   {
  460.                      set("\x01",eval("\x01") + 809);
  461.                   }
  462.                }
  463.                else if(eval("\x01") == 192)
  464.                {
  465.                   set("\x01",eval("\x01") + 455);
  466.                   ┬º┬ºpush(true);
  467.                }
  468.                else
  469.                {
  470.                   if(eval("\x01") != 854)
  471.                   {
  472.                      if(eval("\x01") == 778)
  473.                      {
  474.                         set("\x01",eval("\x01") + 76);
  475.                      }
  476.                      break;
  477.                   }
  478.                   set("\x01",eval("\x01") - 662);
  479.                }
  480.             }
  481.          }
  482.       }
  483.    }
  484. }
  485.