Packagegs.plugins
Classpublic class BezierPlugin
InheritanceBezierPlugin Inheritance TweenPlugin
SubclassesBezierThroughPlugin

Public Properties
 PropertyDefined by
  changeFactor : Number
[write-only]
BezierPlugin
 InheritedonComplete : Function
Called when the tween is complete.
TweenPlugin
 InheritedoverwriteProps : Array
Array containing the names of the properties that should be overwritten in OverwriteManager's AUTO mode.
TweenPlugin
 InheritedpropName : String
Name of the special property that the plugin should intercept/handle
TweenPlugin
 Inheritedround : Boolean
If the values should be rounded to the nearest integer, set this to true.
TweenPlugin
Protected Properties
 PropertyDefined by
  _beziers : Object
BezierPlugin
 Inherited_changeFactor : Number = 0
TweenPlugin
  _future : Object
BezierPlugin
  _orient : Boolean
BezierPlugin
  _orientData : Array
BezierPlugin
  _target : Object
BezierPlugin
 Inherited_tweens : Array
TweenPlugin
Public Methods
 MethodDefined by
  
BezierPlugin
 Inherited
activate($plugins:Array):Boolean
[static] Handles integrating the plugin into the GreenSock tweening platform.
TweenPlugin
  
killProps($lookup:Object):void
BezierPlugin
  
onInitTween($target:Object, $value:TweenLite, $tween:*):Boolean
BezierPlugin
  
parseBeziers($props:Object, $through:Boolean = false):Object
[static]
BezierPlugin
Protected Methods
 MethodDefined by
 Inherited
addTween($object:Object, $propName:String, $start:Number, $end:String, $overwriteProp:* = null):void
Offers a simple way to add tweening values to the plugin.
TweenPlugin
  
init($tween:TweenLite, $beziers:Array, $through:Boolean):void
BezierPlugin
 Inherited
updateTweens($changeFactor:Number):void
Updates all the tweens in the _tweens Array.
TweenPlugin
Public Constants
 ConstantDefined by
  API : Number = 1.0
[static]
BezierPlugin
  VERSION : Number = 1.01
[static]
BezierPlugin
Protected Constants
 ConstantDefined by
  _RAD2DEG : Number = 57.29577951308232
[static]
BezierPlugin
Property detail
_beziersproperty
protected var _beziers:Object
changeFactorproperty 
changeFactor:Number  [write-only]Implementation
    public function set changeFactor(value:Number):void
_futureproperty 
protected var _future:Object
_orientproperty 
protected var _orient:Boolean
_orientDataproperty 
protected var _orientData:Array
_targetproperty 
protected var _target:Object
Constructor detail
BezierPlugin()constructor
public function BezierPlugin() Init Parameters
Method detail
init()method
protected function init($tween:TweenLite, $beziers:Array, $through:Boolean):void Parameters
$tween:TweenLite
 
$beziers:Array
 
$through:Boolean
killProps()method 
public override function killProps($lookup:Object):void Parameters
$lookup:Object
onInitTween()method 
public override function onInitTween($target:Object, $value:TweenLite, $tween:*):Boolean Parameters
$target:Object
 
$value:TweenLite
 
$tween:*

Returns
Boolean
parseBeziers()method 
public static function parseBeziers($props:Object, $through:Boolean = false):Object Parameters
$props:Object
 
$through:Boolean (default = false)

Returns
Object
Constant detail
APIconstant
public static const API:Number = 1.0
_RAD2DEGconstant 
protected static const _RAD2DEG:Number = 57.29577951308232
VERSIONconstant 
public static const VERSION:Number = 1.01
Wiki link
Click to go to the wiki page for 'gs.plugins.BezierPlugin'

Code examples

Comments