Packagegs.plugins
Classpublic class VisiblePlugin
InheritanceVisiblePlugin Inheritance TweenPlugin

Public Properties
 PropertyDefined by
  changeFactor : Number
[write-only]
VisiblePlugin
 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
VisiblePlugin
  _tween : TweenLite
VisiblePlugin
 Inherited_tweens : Array
TweenPlugin
  _visible : Boolean
VisiblePlugin
Public Methods
 MethodDefined by
  
VisiblePlugin
 Inherited
activate($plugins:Array):Boolean
[static] Handles integrating the plugin into the GreenSock tweening platform.
TweenPlugin
 Inherited
killProps($lookup:Object):void
Gets called on plugins that have multiple overwritable properties by OverwriteManager when in AUTO mode.
TweenPlugin
  
VisiblePlugin
  
onInitTween($target:Object, $value:TweenLite, $tween:*):Boolean
VisiblePlugin
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]
VisiblePlugin
  VERSION : Number = 1.0
[static]
VisiblePlugin
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
_visibleproperty 
protected var _visible:Boolean
Constructor detail
VisiblePlugin()constructor
public function VisiblePlugin() Init Parameters
Method detail
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.VisiblePlugin'

Code examples

Comments