MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1260

Components language reference
Table of Contents

Advertisement

Top Left, 1; Top Center, 2; Top Right, 3; Left Center, 4; Right Center, 6; Bottom Left, 7;
Bottom Center, 8; Bottom Right, 9.
Description
A transition effect: Reveals or hides the movie clip object by using an animated mask of a
shape that moves horizontally.
This class is used by specifying
the TransitionManager class.
Example
The following code creates an instance of TransitionManager that applies the Wipe transition
with a
from the top left (1). The content target of the transition is the movie clip
startPoint
img1_mc. The TransitionManager applies a direction of
over a duration of 2 seconds with no easing.
import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Wipe, direction:Transition.IN,
duration:2, easing:None.easeNone, startPoint:1});
Zoom transition
ActionScript Class Name
Description
A transition effect: Zooms the movie clip object in or out by scaling it in proportion.
This class is used by specifying
the TransitionManager class.
Example
The following code creates an instance of TransitionManager that applies a Zoom transition
to the content target movie clip img1_mc. The TransitionManager applies a direction of
mx.transitions.Transition.IN
that starts fast and eases slowly at the finish.
import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Zoom, direction:Transition.IN,
duration:2, easing:Elastic.easeOut});
1256
TransitionManager class
mx.transitions.Wipe
mx.transitions.Zoom
mx.transitions.Zoom
over a duration of 2 seconds with an Elastic type easing
as a
transObject.type
mx.transitions.Transition.IN
as a
transObject.type
parameter for
parameter for

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents