Package | gs.plugins |
Class | public class TintPlugin |
Inheritance | TintPlugin ![]() |
Subclasses | RemoveTintPlugin |
Property | Defined by | ||
---|---|---|---|
changeFactor : Number [write-only]
| TintPlugin | ||
![]() | onComplete : Function
Called when the tween is complete.
| TweenPlugin | |
![]() | overwriteProps : Array
Array containing the names of the properties that should be overwritten in OverwriteManager's
AUTO mode.
| TweenPlugin | |
![]() | propName : String
Name of the special property that the plugin should intercept/handle
| TweenPlugin | |
![]() | round : Boolean
If the values should be rounded to the nearest integer, set this to true.
| TweenPlugin |
Property | Defined by | ||
---|---|---|---|
![]() | _changeFactor : Number = 0 | TweenPlugin | |
_ct : ColorTransform | TintPlugin | ||
_ignoreAlpha : Boolean | TintPlugin | ||
_props : Array [static]
| TintPlugin | ||
_target : DisplayObject | TintPlugin | ||
![]() | _tweens : Array | TweenPlugin |
Method | Defined by | ||
---|---|---|---|
TintPlugin
() | TintPlugin | ||
![]() |
activate($plugins:Array):Boolean
[static]
Handles integrating the plugin into the GreenSock tweening platform.
| TweenPlugin | |
init($target:DisplayObject, $end:ColorTransform):void
| TintPlugin | ||
![]() |
killProps($lookup:Object):void
Gets called on plugins that have multiple overwritable properties by OverwriteManager when
in AUTO mode.
| TweenPlugin | |
TintPlugin |
Constant | Defined by | ||
---|---|---|---|
API : Number = 1.0 [static]
| TintPlugin | ||
VERSION : Number = 1.1 [static]
| TintPlugin |
changeFactor | property |
changeFactor:Number
[write-only]Implementation
public function set changeFactor(value:Number):void
_ct | property |
protected var _ct:ColorTransform
_ignoreAlpha | property |
protected var _ignoreAlpha:Boolean
_props | property |
protected static var _props:Array
_target | property |
protected var _target:DisplayObject
TintPlugin | () | constructor |
public function TintPlugin()
Init Parameters
init | () | method |
public function init($target:DisplayObject, $end:ColorTransform):void
Parameters
$target:DisplayObject |
|
$end:ColorTransform |
onInitTween | () | method |
public override function onInitTween($target:Object, $value:TweenLite, $tween:*):Boolean
Parameters
$target:Object |
|
$value:TweenLite |
|
$tween:* |
Boolean |
API | constant |
public static const API:Number = 1.0
VERSION | constant |
public static const VERSION:Number = 1.1