Packagegraphics.transitions
Classpublic class TweenEntry
InheritanceTweenEntry Inheritance Object
Implements Cloneable

A basic TweenEntry used in the Tween and TweenLite class.



Public Properties
 PropertyDefined By
  begin : Number
Defines the begin value of the value.
TweenEntry
  change : Number
[read-only] Indicates the change value of this tween entry.
TweenEntry
  easing : Function
Defines the easing method reference of this entry (use a Function or an Easing object).
TweenEntry
  finish : Number
Defines the finish value of the entry.
TweenEntry
  prop : String
The property of the tween entry.
TweenEntry
Public Methods
 MethodDefined By
  
TweenEntry(prop:String = null, easing:* = null, begin:Number, finish:Number)
Creates a new TweenEntry instance.
TweenEntry
  
clone():*
Returns a shallow copy of this entry.
TweenEntry
  
getPosition(t:Number, d:Number):Number
Returns the current position of this entry with the specified time value and with the specified duration.
TweenEntry
  
set(t:Number, d:Number):Number
Sets the position of the tween entry with the specified time value and with the specified duration.
TweenEntry
  
toString():String
Returns the String representation of the object.
TweenEntry
Property Detail
beginproperty
public var begin:Number

Defines the begin value of the value.

changeproperty 
change:Number  [read-only]

Indicates the change value of this tween entry.


Implementation
    public function get change():Number
easingproperty 
easing:Function

Defines the easing method reference of this entry (use a Function or an Easing object).


Implementation
    public function get easing():Function
    public function set easing(value:Function):void
finishproperty 
finish:Number

Defines the finish value of the entry.


Implementation
    public function get finish():Number
    public function set finish(value:Number):void
propproperty 
public var prop:String

The property of the tween entry.

Constructor Detail
TweenEntry()Constructor
public function TweenEntry(prop:String = null, easing:* = null, begin:Number, finish:Number)

Creates a new TweenEntry instance.

Parameters
prop:String (default = null) — the property string value.
 
easing:* (default = null) — the easing function of the tween entry (use a Function or an Easing object).
 
begin:Number (default = NaN) — the begin value.
 
finish:Number (default = NaN) — the finish value.
Method Detail
clone()method
public function clone():*

Returns a shallow copy of this entry.

Returns
* — a shallow copy of this entry.
getPosition()method 
public function getPosition(t:Number, d:Number):Number

Returns the current position of this entry with the specified time value and with the specified duration.

Parameters

t:Number — The time position of the motion.
 
d:Number — The duration value of the motion.

Returns
Number — the current position of this entry with the specified time value and with the specified duration.
set()method 
public function set(t:Number, d:Number):Number

Sets the position of the tween entry with the specified time value and with the specified duration.

Parameters

t:Number — The time position of the motion.
 
d:Number — The duration value of the motion.

Returns
Number — the current position of this entry with the specified time value and with the specified duration.
toString()method 
public function toString():String

Returns the String representation of the object.

Returns
String — the String representation of the object.