Main Page | Packages | Class Tree | Index | Help

mx.effects

class Tween

Object
  |
  +--mx.effects.Tween


class Tween
extends Object

Copyright (C) 2003 Macromedia, Inc.

All Rights Reserved. The following is Sample Code and is subject to all restrictions on such code as contained in the End User License Agreement accompanying this product.



Field Summary

static
ActiveTweens: Array



arrayMode: Boolean


static
Dispatcher: Object



duration: Number



endFunc: Function



endVal



ID: Number



initVal


static
Interval: Number


static
IntervalToken: Number



listener: Object
Tween arguments : listenerObj (tweenListener obj) init (array of nums, or one num) end (array of num, or one num) [ dur (int msecs),] tweenListener interface is : function onTweenUpdate(tweenValue) parameter : tweenValues an Array of the current values in each dimension function onTweenEnd(tweenValue);


startTime: Number



updateFunc: Function


Fields inherited from class Object

__proto__, constructor, prototype

Constructor


Tween ( listenerObj, init, end, dur)


Method Summary

static
AddTween ( tween : Tween ): Void


static
DispatchTweens ( Void ): Void



doInterval ( )



easingEquation ( t, b, c, d )
defaults to sin


endTween ( )



getCurVal ( curTime )


static
RemoveTweenAt ( index : Number ): Void



setTweenHandlers ( update, end )


Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

ActiveTweens

static var ActiveTweens: Array

arrayMode

var arrayMode: Boolean

Dispatcher

static var Dispatcher: Object

duration

var duration: Number

endFunc

var endFunc: Function

endVal

var endVal

ID

var ID: Number

initVal

var initVal

Interval

static var Interval: Number

IntervalToken

static var IntervalToken: Number

listener

var listener: Object
Tween arguments : listenerObj (tweenListener obj) init (array of nums, or one num) end (array of num, or one num) [ dur (int msecs),] tweenListener interface is : function onTweenUpdate(tweenValue) parameter : tweenValues an Array of the current values in each dimension function onTweenEnd(tweenValue);

startTime

var startTime: Number

updateFunc

var updateFunc: Function

Constructor Documentation

Tween

function Tween(listenerObj,
 init,
 end,
 dur)

Method Documentation

AddTween

static function AddTween(tween : Tween): Void

DispatchTweens

static function DispatchTweens(Void): Void

doInterval

function doInterval()

easingEquation

function easingEquation(t,
 b,
 c,
 d)
defaults to sin

endTween

function endTween()

getCurVal

function getCurVal(curTime)

RemoveTweenAt

static function RemoveTweenAt(index : Number): Void

setTweenHandlers

function setTweenHandlers(update,
 end)

The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc