Packagegs.plugins
Classpublic class HexColorsPlugin
InheritanceHexColorsPlugin Inheritance TweenPlugin

Public Properties
 PropertyDefined by
  changeFactor : Number
[write-only]
HexColorsPlugin
 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
  _colors : Array
HexColorsPlugin
 Inherited_tweens : Array
TweenPlugin
Public Methods
 MethodDefined by
  
HexColorsPlugin
 Inherited
activate($plugins:Array):Boolean
[static] Handles integrating the plugin into the GreenSock tweening platform.
TweenPlugin
  
initColor($target:Object, $propName:String, $start:uint, $end:uint):void
HexColorsPlugin
  
killProps($lookup:Object):void
HexColorsPlugin
  
onInitTween($target:Object, $value:TweenLite, $tween:*):Boolean
HexColorsPlugin
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]
HexColorsPlugin
  VERSION : Number = 1.01
[static]
HexColorsPlugin
Property detail
changeFactorproperty
changeFactor:Number  [write-only]Implementation
    public function set changeFactor(value:Number):void
_colorsproperty 
protected var _colors:Array
Constructor detail
HexColorsPlugin()constructor
public function HexColorsPlugin() Init Parameters
Method detail
initColor()method
public function initColor($target:Object, $propName:String, $start:uint, $end:uint):void Parameters
$target:Object
 
$propName:String
 
$start:uint
 
$end:uint
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
Constant detail
APIconstant
public static const API:Number = 1.0
VERSIONconstant 
public static const VERSION:Number = 1.01
Wiki link
Click to go to the wiki page for 'gs.plugins.HexColorsPlugin'

Code examples

Comments