Transitionmanager.tostring() - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Example
The following code imports the TransitionManager class and creates a new
TransitionManager instance. Next, the
method
TransitionManager.startTransition()
designates a
transition in its
parameter. The
mx.transitions.Zoom
type
direction
parameter indicates that the transition should move in the out direction by designating
. The duration of the transition is 3 seconds. The easing is
mx.transitions.Transition.OUT
calculated by using the
method of the Bounce class.
mx.transitions.Bounce.easeOut()
This effect causes the img1_mc movie clip to appear to zoom out in a bouncing motion until
it disappears, with the entire effect lasting 3 seconds.
import mx.transitions.*;
import mx.transitions.easing.*;
var myTransitionManager:TransitionManager = new TransitionManager(img1_mc);
myTransitionManager.startTransition({type:Zoom, direction:Transition.OUT,
duration:3, easing:Bounce.easeOut});

TransitionManager.toString()

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
transitionManagerInstance.toString()
Returns
The following string is returned:
.
"[TransitionManager]"
Description
Method; returns the TransitionManager object's type as a string.
Example
The following code instructs the TransitionManager instance to return a string indicating
its type:
import mx.transitions.*;
import mx.transitions.easing.*;
var myTransitionManager:TransitionManager = new TransitionManager(img1_mc);
var myType:String = myTransitionManager.toString();
trace(myType);
1248
TransitionManager class

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents