| Package | com.gskinner.motion |
| Class | public class GTweenFilter |
| Inheritance | GTweenFilter GTween flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
![]() | activeTicker : ITicker [static] The currently active Ticker object.
| GTween | |
![]() | autoPlay : Boolean = true
Indicates whether the tween should automatically play when an end value is changed.
| GTween | |
![]() | autoRotation : Boolean = false
When true, the tween will always rotate in the shortest direction to reach an end rotation value.
| GTween | |
![]() | autoVisible : Boolean = true
Indicates whether the target's visible property should automatically be set to false when its alpha value is tweened to 0 or less.
| 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 = 1
The length of the tween in frames or seconds (depending on the timingMode).
| GTween | |
![]() | ease : Function
The easing 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 | ||
![]() | lockStartProperties : Boolean
If set to true, this prevents the tween from reinitializing its start properties automatically (ex.
| GTween | |
![]() | nextTween : GTween
Specifies another GTween instance that will have paused=false 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.
| 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 | |
![]() | reflect : Boolean = false
Indicates whether the tween should use the reflect mode when repeating.
| GTween | |
![]() | repeat : int = 0
The number of times this tween will repeat.
| GTween | |
![]() | reversed : Boolean
Indicates whether a tween should run in reverse.
| GTween | |
![]() | rotationProperties : Object [static] A hash table specifying properties that should be affected by autoRotation.
| GTween | |
![]() | snapping : Boolean = false
If set to true, tweened values specified by snappingProperties will be rounded (snapped) before they are assigned to the target.
| 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 | |
![]() | tweenPosition : Number
Returns the calculated absolute position in the tween.
| GTween | |
| Method | Defined by | ||
|---|---|---|---|
|
GTweenFilter(target:Object = null, duration:Number = 10, properties:Object = null, tweenProperties:Object = null)
Constructs a new GTweenFilter instance.
| GTweenFilter | ||
![]() |
beginning():void
Jumps the tween to its beginning.
| GTween | |
![]() |
deleteProperty(name:String):Boolean
Removes a end value from the tween.
| GTween | |
![]() |
end():void
Jumps the tween to its end.
| GTween | |
![]() |
getProperties():Object
Returns the hash table of all end properties and their values.
| GTween | |
![]() |
getProperty(name:String):Number
Returns the end value for the specified property if one exists.
| GTween | |
![]() |
getStartProperties():Object
Returns the hash table of all start properties and their values.
| 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(t:Number, b:Number, c:Number, d:Number):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 | |
![]() |
reverse(suppressEvents:Boolean = true):void
Toggles the reversed property and inverts the current tween position.
| 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 | |
![]() |
setPosition(position:Number, suppressEvents:Boolean = true):void
Sets the position of the tween.
| GTween | |
![]() |
setProperties(properties:Object):void
Shorthand method for making multiple setProperty calls quickly.
| GTween | |
![]() |
setProperty(name:String, value:Number):void
Sets the numeric end value for a property on the target object that you would like to tween.
| GTween | |
![]() |
setStartProperties(properties:Object):void
Allows you to manually assign the start property values for a tween.
| GTween | |
![]() |
setTweenProperties(properties:Object):void
Shortcut method for setting multiple properties on the tween instance quickly.
| GTween | |
| filterIndex | property |
public var filterIndex:uint = 0Indicates 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) |