Packagegs.plugins
Classpublic class AutoAlphaPlugin
InheritanceAutoAlphaPlugin Inheritance TweenPlugin

Public Properties
 PropertyDefined by
  changeFactor : Number
[write-only]
AutoAlphaPlugin
 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
  _target : Object
AutoAlphaPlugin
  _tween : TweenLite
AutoAlphaPlugin
 Inherited_tweens : Array
TweenPlugin
  _tweenVisible : Boolean
AutoAlphaPlugin
  _visible : Boolean
AutoAlphaPlugin
Public Methods
 MethodDefined by
  
AutoAlphaPlugin
 Inherited
activate($plugins:Array):Boolean
[static] Handles integrating the plugin into the GreenSock tweening platform.
TweenPlugin
  
killProps($lookup:Object):void
AutoAlphaPlugin
  
AutoAlphaPlugin
  
onInitTween($target:Object, $value:TweenLite, $tween:*):Boolean
AutoAlphaPlugin
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]
AutoAlphaPlugin
  VERSION : Number = 1.0
[static]
AutoAlphaPlugin
Property detail
changeFactorproperty
changeFactor:Number  [write-only]Implementation
    public function set changeFactor(value:Number):void
_targetproperty 
protected var _target:Object
_tweenproperty 
protected var _tween:TweenLite
_tweenVisibleproperty 
protected var _tweenVisible:Boolean
_visibleproperty 
protected var _visible:Boolean
Constructor detail
AutoAlphaPlugin()constructor
public function AutoAlphaPlugin() Init Parameters
Method detail
killProps()method
public override function killProps($lookup:Object):void Parameters
$lookup:Object
onCompleteTween()method 
public function onCompleteTween():void
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.0
Wiki link
Click to go to the wiki page for 'gs.plugins.AutoAlphaPlugin'

Code examples

Comments