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

  1. package com.greensock.plugins
  2. {
  3.    import com.greensock.TweenLite;
  4.    
  5.    public class BezierThroughPlugin extends BezierPlugin
  6.    {
  7.       public static const API:Number = 1;
  8.       
  9.       public function BezierThroughPlugin()
  10.       {
  11.          super();
  12.          this.propName = "bezierThrough";
  13.       }
  14.       
  15.       override public function onInitTween(param1:Object, param2:*, param3:TweenLite) : Boolean
  16.       {
  17.          if(!(param2 is Array))
  18.          {
  19.             return false;
  20.          }
  21.          init(param3,param2 as Array,true);
  22.          return true;
  23.       }
  24.    }
  25. }
  26.  
  27.