Main Page | Packages | Class Tree | Index | Help

mx.transitions

class Tween

Object
  |
  +--mx.transitions.Tween


class Tween
extends Object



Field Summary

static
__initBeacon


static
__initBroadcaster


public
addListener: Function


public
begin: Number


public
broadcastMessage: Function


public
change: Number


public
func: Function


public
isPlaying: Boolean


public
looping: Boolean


public
obj: Object


public
prevPos: Number


public
prevTime: Number


public
prop: String


public
removeListener: Function


public
useSeconds: Boolean


Fields inherited from class Object

__proto__, constructor, prototype

Property Summary


duration: Number (read, write)



finish: Number (read, write)



FPS: Number (read, write)



position: Number (read, write)



time: Number (read, write)


Constructor


Tween ( obj, prop, func, begin, finish, duration, useSeconds)
constructor for Tween class obj: reference - the object which the Tween targets prop: string - name of the property (in obj) that will be affected begin: number - the starting value of prop duration: number - the length of time of the motion; set to infinity if negative or omitted useSeconds: boolean - a flag specifying whether to use seconds instead of frames

Method Summary


continueTo ( finish: Number, duration: Number ): Void



fforward ( ): Void



getPosition ( t: Number ): Number



nextFrame ( ): Void



onEnterFrame ( ): Void



prevFrame ( ): Void



resume ( ): Void



rewind ( t ): Void



setPosition ( p: Number ): Void



start ( ): Void



startEnterFrame ( ): Void



stop ( ): Void



stopEnterFrame ( ): Void



toString ( ): String



yoyo ( ): Void


Methods inherited from class Object

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



Field Documentation

__initBeacon

static var __initBeacon

__initBroadcaster

static var __initBroadcaster

addListener

public var addListener: Function

begin

public var begin: Number

broadcastMessage

public var broadcastMessage: Function

change

public var change: Number

func

public var func: Function

isPlaying

public var isPlaying: Boolean

looping

public var looping: Boolean

obj

public var obj: Object

prevPos

public var prevPos: Number

prevTime

public var prevTime: Number

prop

public var prop: String

removeListener

public var removeListener: Function

useSeconds

public var useSeconds: Boolean

Property Documentation

duration

duration: Number (read, write)

finish

finish: Number (read, write)

FPS

FPS: Number (read, write)

position

position: Number (read, write)

time

time: Number (read, write)

Constructor Documentation

Tween

function Tween(obj,
 prop,
 func,
 begin,
 finish,
 duration,
 useSeconds)
constructor for Tween class obj: reference - the object which the Tween targets prop: string - name of the property (in obj) that will be affected begin: number - the starting value of prop duration: number - the length of time of the motion; set to infinity if negative or omitted useSeconds: boolean - a flag specifying whether to use seconds instead of frames


Method Documentation

continueTo

function continueTo(finish: Number,
 duration: Number): Void

fforward

function fforward(): Void

getPosition

function getPosition(t: Number): Number

nextFrame

function nextFrame(): Void

onEnterFrame

function onEnterFrame(): Void

prevFrame

function prevFrame(): Void

resume

function resume(): Void

rewind

function rewind(t): Void

setPosition

function setPosition(p: Number): Void

start

function start(): Void

startEnterFrame

function startEnterFrame(): Void

stop

function stop(): Void

stopEnterFrame

function stopEnterFrame(): Void

toString

function toString(): String
Overrides:

yoyo

function yoyo(): Void

The documentation was generated from the following file:


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