Tween.duration; Tween.fforward() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Tween.duration

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
tweenInstance.duration
Description
Property (read-only); a number indicating the duration of the tweened animation in frames or
seconds. This property is set as a parameter when creating a new Tween instance or when
calling the
method.
Tween.yoyo()
Example
The following example traces the current
setting of a Tween object by getting the
duration
property. A movie clip instance named
is required on the Stage for
Tween.duration
img1_mc
this example:
import mx.transitions.Tween;
var myTween:Tween = new Tween(img1_mc, "_y",
mx.transitions.easing.Strong.easeOut,0, Stage.height, 50, false);
var theDuration:Number = myTween.duration;
trace(theDuration);

Tween.fforward()

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
tweenInstance.fforward()
Returns
Nothing.
1320
Tween class

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents