Package | com.gskinner.motion |
Class | public class GTweenFilter |
Inheritance | GTweenFilter ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
![]() | assignmentProperty : String
Allows you to reassign the .target object back to a property specified by assignmentProperty of an object specified by assignmentTarget.
| GTween | |
![]() | assignmentTarget : Object
Allows you to reassign the .target object back to a property specified by assignmentProperty of an object specified by assignmentTarget.
| GTween | |
![]() | autoHide : Boolean
Indicates whether the target's visible property should automatically be set to false when its alpha value is tweened to 0 or less.
| GTween | |
![]() | autoPlay : Boolean = true
Indicates whether the tween should automatically play when a destination value is changed.
| GTween | |
![]() | autoReverse : Boolean = false
Specifies whether the tween should automatically reverse its initial and destination property values when it reaches its end.
| GTween | |
![]() | data : *
Allows you to associate arbitrary data with your tween.
| GTween | |
![]() | defaultEase : Function [static] Specifies the default easing function to use with new tweens.
| GTween | |
![]() | delay : Number
The length of the delay in frames or seconds (depending on the timingMode).
| GTween | |
![]() | duration : Number
The length of the tween in frames or seconds (depending on the timingMode).
| GTween | |
![]() | ease : Function
The transition function to use for calculating the tween.
| GTween | |
filterIndex : uint = 0 Indicates the index of the filter in the target's .filters array to apply the tween to.
| GTweenFilter | ||
![]() | lastProgressPoint : *
Returns the name of the last progress point that was passed, or null if none.
| GTween | |
![]() | nextTween : GTween
Specifies another GTween instance that will have .play() called on it when this tween completes.
| GTween | |
![]() | pauseAll : Boolean = false [static] Setting this to true pauses all tween instances.
| GTween | |
![]() | paused : Boolean
Indicates whether the tween is currently paused (including when it is at the beginning or end).
| GTween | |
![]() | position : Number
Gets and sets the position in the tween in frames or seconds (depending on the timingMode).
| GTween | |
propertyTarget : Object [read-only]
| GTweenFilter | ||
![]() | proxy : Object
The proxy object allows you to work with the properties and methods of the target object directly through GTween.
| GTween | |
![]() | rotationProperties : Object [static] A hash table specifying properties that should be affected by smartRotation.
| GTween | |
![]() | snappingProperties : Object [static] A hash table specifying properties that should have their value rounded (snapped) before being applied.
| GTween | |
![]() | state : String
Returns the current positional state of the tween.
| GTween | |
![]() | target : Object
The target object to tween.
| GTween | |
![]() | timeInterval : uint [static]
Sets the time in milliseconds between updates when timingMode is set to GTween.TIME ("time").
| GTween | |
![]() | timingMode : String [static]
Indicates how GTween should deal with timing.
| GTween | |
![]() | useSetSize : Boolean = true
Allows you to specify whether to use .setSize() to set width and height properties if it is available.
| GTween | |
![]() | useSmartRotation : Boolean = true
When true, the tween will always rotate in the shortest direction to reach the destination rotation.
| GTween | |
![]() | useSnapping : Boolean = false
If set to true, tweened values specified by snapProperties will be rounded (snapped) before they are assigned to the target.
| GTween |
Method | Defined by | ||
---|---|---|---|
GTweenFilter(target:Object = null, duration:Number = 10, properties:Object = null, tweenProperties:Object = null)
Constructs a new GTweenFilter instance.
| GTweenFilter | ||
![]() |
Adds a child tween.
| GTween | |
![]() |
addProgressPoint(position:Number, data:* = null):void
Adds a tween position at which to generate a progress event.
| GTween | |
![]() |
beginning():void
Jumps the tween to its beginning and pauses it.
| GTween | |
![]() |
Creates a clone of the GTween instance.
| GTween | |
![]() |
deleteProperty(propertyName:String):Boolean
Removes a destination value from the tween.
| GTween | |
![]() |
end(endNextTween:Boolean = true):void
Jumps the tween to its end.
| GTween | |
![]() |
getProperty(propertyName:String):Number
Returns the destination value for the specified property if one exists.
| GTween | |
![]() |
invalidate():void
Invalidate forces the tween to repopulate all of the initial properties from the target object, and start playing if autoplay is set to true.
| GTween | |
![]() |
linearEase(value:Number, ... args):Number
[static] The default easing function used by GTween.
| GTween | |
![]() |
pause():void
Pauses the tween by stopping tick from being automatically called.
| GTween | |
![]() |
play():void
Plays a tween by incrementing the position property each frame.
| GTween | |
![]() |
removeAllProgressPoints():void
Removes all progress points.
| GTween | |
![]() |
removeChild(child:GTween):void
Removes a child tween.
| GTween | |
![]() |
removeProgressPoint(position:Number, data:* = null):void
Removes the specified progress point.
| GTween | |
![]() |
reset():void
Resets the tween, pausing it, deleting all destination values, resetting the tween position to the beginning, and nulling the lastProgressPoint.
| GTween | |
![]() |
reverse(reverseChildren:Boolean = false):void
Reverses the tween by swapping its initial and destination properties.
| GTween | |
![]() |
setAssignment(assignmentTarget:Object = null, assignmentProperty:String = null):void
Allows you to tween objects that require re-assignment whenever they are modified by reassigning the target object to a specified property of another
object.
| GTween | |
![]() |
setProperties(properties:Object):void
Shorthand method for making multiple setProperty calls quickly.
| GTween | |
![]() |
setProperty(propertyName:String, value:Number):void
Sets the numeric destination value for a property on the target object that you would like to tween.
| GTween | |
![]() |
setTweenProperties(tweenProperties:Object):void
Shortcut method for setting multiple properties on the tween object quickly.
| GTween |
filterIndex | property |
public var filterIndex:uint = 0
Indicates the index of the filter in the target's .filters array to apply the tween to. Defaults to 0, which will tween the first filter in the target's filters array.
propertyTarget | property |
propertyTarget:Object
[read-only]Implementation
public function get propertyTarget():Object
GTweenFilter | () | constructor |
public function GTweenFilter(target:Object = null, duration:Number = 10, properties:Object = null, tweenProperties:Object = null)
Constructs a new GTweenFilter instance. See the GTween documentation for a description of the parameters.
Parameterstarget:Object (default = null )
|
|
duration:Number (default = 10 )
|
|
properties:Object (default = null )
|
|
tweenProperties:Object (default = null )
|