Tween
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Classpath: | mx.transitions.Tween |
| File last modified: | Tuesday, 18 December 2007, 15:44:38 |
Summary
Constructor
- Tween (obj, prop, func, begin, finish, duration, useSeconds)
Class properties
- version : String
- __initBeacon
- __initBroadcaster
Instance properties
- isPlaying : Boolean
- addListener : Function
- removeListener : Function
- broadcastMessage : Function
- obj : Object
- prop : String
- func : Function
- begin : Number
- change : Number
- useSeconds : Boolean
- prevTime : Number
- prevPos : Number
- looping : Boolean
- _listeners : Array
- _duration : Number
- _time : Number
- _pos : Number
- _fps : Number
- _position : Number
- _startTime : Number
- _intervalID : Number
- _finish : Number
- time (t:Number) : Number
- duration (d:Number) : Number
- FPS (fps:Number) : Number
- position (p:Number) : Number
- finish (f:Number) : Number
Instance methods
- setPosition (p:Number) : Void
- getPosition (t:Number) : Number
- continueTo (finish:Number, duration:Number) : Void
- yoyo : Void
- startEnterFrame : Void
- stopEnterFrame : Void
- start : Void
- stop : Void
- resume : Void
- rewind (t) : Void
- fforward : Void
- nextFrame : Void
- prevFrame : Void
- toString : String
- fixTime : Void
- update : Void
Event handlers
- onMotionFinished : Function
- onMotionLooped : Function
- onMotionChanged : Function
- onMotionStarted : Function
- onMotionStopped : Function
- onMotionResumed : Function
- onEnterFrame : Void
Constructor
Tween
function Tween (
obj,
prop,
func,
begin,
finish,
duration,
useSeconds)
Class properties
__initBeacon
static __initBeacon = OnEnterFrameBeacon.init()
(read)
__initBroadcaster
static __initBroadcaster = BroadcasterMX.initialize (Tween.prototype, true)
(read)
version
static version:String = "1.1.0.52"
(read)
Instance properties
_duration
private _duration:Number
(read)
_finish
private _finish:Number
(read)
_fps
private _fps:Number
(read)
_intervalID
private _intervalID:Number
(read)
_listeners
private _listeners:Array
(read)
_pos
private _pos:Number
(read)
_position
private _position:Number
(read)
_startTime
private _startTime:Number
(read)
_time
private _time:Number
(read)
addListener
addListener:Function
(read)
begin
begin:Number
(read)
broadcastMessage
broadcastMessage:Function
(read)
change
change:Number
(read)
duration
duration:Number
(read,write)
finish
finish:Number
(read,write)
FPS
FPS:Number
(read,write)
func
func:Function = function (t, b, c, d) { return c*t/d + b
(read)
isPlaying
isPlaying:Boolean
(read)
looping
looping:Boolean
(read)
obj
obj:Object
(read)
position
position:Number
(read,write)
prevPos
prevPos:Number
(read)
prevTime
prevTime:Number
(read)
prop
prop:String
(read)
removeListener
removeListener:Function
(read)
time
time:Number
(read,write)
useSeconds
useSeconds:Boolean
(read)
Instance methods
continueTo
function continueTo (
finish:Number,
duration:Number) : Void
fforward
function fforward (
) : Void
fixTime
private function fixTime (
) : Void
getPosition
function getPosition (
t:Number) : Number
nextFrame
function nextFrame (
) : 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
update
private function update (
) : Void
yoyo
function yoyo (
) : Void
Event handlers
onEnterFrame
function onEnterFrame (
) : Void
onMotionChanged
onMotionChanged:Function
(read)
onMotionFinished
onMotionFinished:Function
(read)
onMotionLooped
onMotionLooped:Function
(read)
onMotionResumed
onMotionResumed:Function
(read)
onMotionStarted
onMotionStarted:Function
(read)
onMotionStopped
onMotionStopped:Function
(read)