Packageorg.goasap.managers
Classpublic class LinearGoRepeater
InheritanceLinearGoRepeater Inheritance Repeater

An iterator used by LinearGo instances to track repeat play.

See also

LinearGo


Public Properties
 PropertyDefined by
 InheritedcurrentCycle : uint
Current cycle starting at 0, which will continue to increase up to cycles or indefinitely if cycles is set to Repeater.INFINITE (zero).
Repeater
 Inheritedcycles : uint
Number of times the Repeater will iterate, which can be set to zero or Repeater.INFINITE for indefinite repeating.
Repeater
  direction : int
[read-only] Current play direction depending on reverseOnCycle and currentCycle.
LinearGoRepeater
 Inheriteddone : Boolean
True if cycles is not infinite and currentCycle has reached cycles.
Repeater
  easingOnCycle : Function
Storage for optional secondary easing to use on reverse cycles.
LinearGoRepeater
  extraEasingParams : Array
Additional parameters to use with easingOnCycle if the function accepts more than four.
LinearGoRepeater
  reverseOnCycle : Boolean
Whether tween direction should reverse every other cycle.
LinearGoRepeater
Public Methods
 MethodDefined by
  
LinearGoRepeater(cycles:uint = 1, reverseOnCycle:Boolean = true, easingOnCycle:Function = null, extraEasingParams:Array = null)
LinearGoRepeater
Public Constants
 ConstantDefined by
 InheritedINFINITE : uint = 0
[static] Makes code more human-readable, like new Repeater(Repeater.INFINITE);
Repeater
Property detail
directionproperty
direction:int  [read-only]

Current play direction depending on reverseOnCycle and currentCycle.

Implementation
    public function get direction():int
easingOnCycleproperty 
easingOnCycle:Function  [read-write]

Storage for optional secondary easing to use on reverse cycles.

Implementation
    public function get easingOnCycle():Function
    public function set easingOnCycle(value:Function):void
extraEasingParamsproperty 
extraEasingParams:Array  [read-write]

Additional parameters to use with easingOnCycle if the function accepts more than four.

Implementation
    public function get extraEasingParams():Array
    public function set extraEasingParams(value:Array):void
reverseOnCycleproperty 
reverseOnCycle:Boolean  [read-write]

Whether tween direction should reverse every other cycle.

Implementation
    public function get reverseOnCycle():Boolean
    public function set reverseOnCycle(value:Boolean):void
Constructor detail
LinearGoRepeater()constructor
public function LinearGoRepeater(cycles:uint = 1, reverseOnCycle:Boolean = true, easingOnCycle:Function = null, extraEasingParams:Array = null)

Parameters
cycles:uint (default = 1) — Number of times to play the LinearGo tween.
 
reverseOnCycle:Boolean (default = true) — Whether tween direction should reverse every other cycle.
 
easingOnCycle:Function (default = null) — Storage for optional secondary easing to use on reverse cycles.
 
extraEasingParams:Array (default = null) — Additional parameters to use with easingOnCycle if the function accepts more than four.