Packagegs.plugins
Classpublic class RoundPropsPlugin
InheritanceRoundPropsPlugin Inheritance TweenPlugin

Public Properties
 PropertyDefined by
 InheritedchangeFactor : Number
TweenPlugin
 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
 Inherited_changeFactor : Number = 0
TweenPlugin
 Inherited_tweens : Array
TweenPlugin
Public Methods
 MethodDefined by
  
RoundPropsPlugin
 Inherited
activate($plugins:Array):Boolean
[static] Handles integrating the plugin into the GreenSock tweening platform.
TweenPlugin
  
add($object:Object, $propName:String, $start:Number, $change:Number):void
RoundPropsPlugin
 Inherited
killProps($lookup:Object):void
Gets called on plugins that have multiple overwritable properties by OverwriteManager when in AUTO mode.
TweenPlugin
 Inherited
onInitTween($target:Object, $value:TweenLite, $tween:*):Boolean
Gets called when any tween of the special property begins.
TweenPlugin
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
 Inherited
updateTweens($changeFactor:Number):void
Updates all the tweens in the _tweens Array.
TweenPlugin
Public Constants
 ConstantDefined by
  API : Number = 1.0
[static]
RoundPropsPlugin
  VERSION : Number = 1.0
[static]
RoundPropsPlugin
Constructor detail
RoundPropsPlugin()constructor
public function RoundPropsPlugin() Init Parameters
Method detail
add()method
public function add($object:Object, $propName:String, $start:Number, $change:Number):void Parameters
$object:Object
 
$propName:String
 
$start:Number
 
$change:Number
Constant detail
APIconstant
public static const API:Number = 1.0
VERSIONconstant 
public static const VERSION:Number = 1.0
Wiki link
Click to go to the wiki page for 'gs.plugins.RoundPropsPlugin'

Code examples

Comments