MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1255

Components language reference
Table of Contents

Advertisement

Example
The following code creates an instance of TransitionManager that applies the Blinds transition
with ten
numStrips
the transition is the movie clip img1_mc. The TransitionManager instance applies a direction
of
mx.transitions.Transition.IN
import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Blinds, direction:Transition.IN,
duration:2, easing:None.easeNone, numStrips:10, dimension:0});
Fade transition
ActionScript Class Name
Description
A transition effect: Fades the movie clip object in or out.
This class is used by specifying
the TransitionManager class.
Example
The following code creates an instance of TransitionManager that applies the Fade transition.
The content target of the transition is the movie clip img1_mc. The TransitionManager
instance applies a direction of
with no easing.
import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Fade, direction:Transition.IN,
duration:3, easing:None.easeNone});
Fly transition
ActionScript Class Name
Parameters
An integer that indicates a starting position; the range is 1 to 9:
startPoint
Top Left, 1; Top Center, 2; Top Right, 3; Left Center, 4; Center, 5; Right Center, 6;
Bottom Left, 7; Bottom Center, 8; Bottom Right, 9.
and a
integer specified as vertical (0). The content target of
dimension
over a duration of 2 seconds with no easing.
mx.transitions.Fade
mx.transitions.Fade
mx.transitions.Transition.IN
mx.transitions.Fly
as a
transObject.type
over a duration of 3 seconds
Transition-based classes
parameter for
1251

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents