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

Components language reference
Table of Contents

Advertisement

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
corresponding settings of the target movie clips in the following properties:
,
,
_yscale
_alpha
_rotation
. These properties are saved, and the
colorTransform
TransitionManager.startTransition()
Example
The following example calls
property settings of the TransitionManager object's 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
The MovieClip object to which to apply the transition effect.
content
1244
TransitionManager class
contains a recording of the original
,
,
_innerBounds
_outerBounds
method is called.
TransitionManager.contentAppearance()
,
,
_width
_height
TransitionManager.start()
to get the original
,
,
,
_x
_y
_xscale
, and
or

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents