User Guide

1244 TransitionManager class
Description
Property (read-only); an object that contains a snapshot of the properties of the target movie
clip of a TransitionManager instance before the transition is applied. This object is helpful for
obtaining information about what property values you can expect the movie clip to return to
after the transition completes. The object returned from
TransitionManager.contentAppearance contains a recording of the original
corresponding settings of the target movie clips in the following properties:
_x, _y, _xscale,
_yscale, _alpha, _rotation, _innerBounds, _outerBounds, _width, _height, and
colorTransform. These properties are saved, and the TransitionManager.start() or
TransitionManager.startTransition() method is called.
Example
The following example calls TransitionManager.contentAppearance() to get the original
property settings of the TransitionManager objects target movie clip before the transition
is applied:
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});
var myMovieClip:MovieClip = myTransitionManager.content;
var myOriginalMovieClipProps:Object =
myTransitionManager.contentAppearance;
for (var prop in myOriginalMovieClipProps) {
trace(myMovieClip._name + "." +prop+" = "+myOriginalMovieClipProps[prop]);
}
TransitionManager.start()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
transitionManagerInstance.start(content, transParams)
Parameters
content The MovieClip object to which to apply the transition effect.