Tween.toString()

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX 2004.

Usage

tweenInstance.toString()

Returns

The following string is returned: "[Tween]".

Description

Method; returns the class name, "[Tween]".

Example

In the following example a Tween object is identified by calling the Tween.toString() method to return "[Tween]", identifying the object's class name. A movie clip instance named img1_mc, is required on the Stage for this example:

import mx.transitions.Tween;
var myTween:Tween = new Tween(img1_mc, "_alpha", mx.transitions.easing.None.easeNone,0, 100, 50, false);
var theClassName:String = myTween.toString();
trace(theClassName);