Class caurina.transitions.TweenListObj

Field Index

count, hasStarted, isCaller, isPaused, onComplete, onCompleteParams, onCompleteScope, onError, onErrorScope, onOverwrite, onOverwriteParams, onOverwriteScope, onStart, onStartParams, onStartScope, onUpdate, onUpdateParams, onUpdateScope, properties, rounded, scope, skipUpdates, timeComplete, timePaused, timesCalled, timeStart, transition, transitionParams, updatesSkipped, useFrames, waitFrames

Method Index

new TweenListObj()
clone(), makePropertiesChain(), toString()

Constructor Detail

TweenListObj

function TweenListObj(p_scope:Object, p_timeStart:Number, p_timeComplete:Number, p_useFrames:Boolean, p_transition:Function, p_transitionParams:Object)

Initializes the basic TweenListObj

Parameters

p_scopeObject Object affected by this tweening
p_timeStartNumber Time when this tweening should start
p_timeCompleteNumber Time when this tweening should end
p_useFramesBoolean Whether or not to use frames instead of time
p_transitionFunction Equation to control the transition animation

Field Detail

scope

public scope:Object

properties

public properties:Object

timeStart

public timeStart:Number

timeComplete

public timeComplete:Number

useFrames

public useFrames:Boolean

transition

public transition:Function

transitionParams

public transitionParams:Object

onStart

public onStart:Function

onUpdate

public onUpdate:Function

onComplete

public onComplete:Function

onOverwrite

public onOverwrite:Function

onError

public onError:Function

onStartParams

public onStartParams:Array

onUpdateParams

public onUpdateParams:Array

onCompleteParams

public onCompleteParams:Array

onOverwriteParams

public onOverwriteParams:Array

onStartScope

public onStartScope:Object

onUpdateScope

public onUpdateScope:Object

onCompleteScope

public onCompleteScope:Object

onOverwriteScope

public onOverwriteScope:Object

onErrorScope

public onErrorScope:Object

rounded

public rounded:Boolean

isPaused

public isPaused:Boolean

timePaused

public timePaused:Number

isCaller

public isCaller:Boolean

count

public count:Number

timesCalled

public timesCalled:Number

waitFrames

public waitFrames:Boolean

skipUpdates

public skipUpdates:Number

updatesSkipped

public updatesSkipped:Number

hasStarted

public hasStarted:Boolean

Method Detail

clone

public function clone(omitEvents:Boolean):TweenListObj

Clones this tweening and returns the new TweenListObj

Parameters

omitEventsBoolean Whether or not events such as onStart (and its parameters) should be omitted

Return

TweenListObj A copy of this object

toString

public function toString():String

Returns this object described as a String.

Return

String The description of this object.

makePropertiesChain

static public function makePropertiesChain(p_obj:Object):Object

Checks if p_obj "inherits" properties from other objects, as set by the "base" property. Will create a new object, leaving others intact. o_bj.base can be an object or an array of objects. Properties are collected from the first to the last element of the "base" filed, with higher indexes overwritting smaller ones. Does not modify any of the passed objects, but makes a shallow copy of all properties.

Parameters

p_objObject Object that should be tweened: a movieclip, textfield, etc.. OR an array of objects

Return

Object A new object with all properties from the p_obj and p_obj.base.