MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1256

Components language reference
Table of Contents

Advertisement

Description
A transition effect: Slides the movie clip object in from a specified direction.
This class is used by specifying
the TransitionManager class.
Example
The following code creates an instance of TransitionManager that applies the Fly transition
with a
set to the bottom right (9). The content target of the transition is the
startPoint
movie clip img1_mc. The TransitionManager instance applies a direction of
mx.transitions.Transition.IN
easing effect.
import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Fly, direction:Transition.IN,
duration:3, easing:Elastic.easeOut, startPoint:9});
Iris transition
ActionScript Class Name
Parameters
An integer indicating 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.
A mask shape of either
shape
mx.transitions.Iris.CIRCLE
Description
A transition effect: Reveals the movie clip object by using an animated mask of a square shape
or a circle shape that zooms in or out.
This class is used by specifying
the TransitionManager class.
1252
TransitionManager class
mx.transitions.Fly
over a duration of 3 seconds with an
mx.transitions.Iris
mx.transitions.Iris.SQUARE
(a circle).
mx.transitions.Iris
as a
transObject.type
Elastic.easeOut
(a square) or
as a
transObject.type
parameter for
parameter for

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents