home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2012 January / ME_2012_01.iso / Galileo-Video / system / ChromeLinux.swf / scripts / com / greensock / plugins / RoundPropsPlugin.as < prev    next >
Encoding:
Text File  |  2010-11-16  |  593 b   |  23 lines

  1. package com.greensock.plugins
  2. {
  3.    public class RoundPropsPlugin extends TweenPlugin
  4.    {
  5.       public static const API:Number = 1;
  6.       
  7.       public function RoundPropsPlugin()
  8.       {
  9.          super();
  10.          this.propName = "roundProps";
  11.          this.overwriteProps = [];
  12.          this.round = true;
  13.       }
  14.       
  15.       public function add(param1:Object, param2:String, param3:Number, param4:Number) : void
  16.       {
  17.          addTween(param1,param2,param3,param3 + param4,param2);
  18.          this.overwriteProps[this.overwriteProps.length] = param2;
  19.       }
  20.    }
  21. }
  22.  
  23.