MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1257

Components language reference
Table of Contents

Advertisement

Example
The following code creates an instance of TransitionManager that applies the Iris transition
with a
from the center (5) and a masking shape of
startPoint
mx.transitions.Iris.CIRCLE
img1_mc. The TransitionManager applies a direction of
over a duration of 2 seconds with an easing of Strong with an emphasis on the easeOut by
specifying the
mx.transitions.easing.Strong.easeOut
import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Iris, direction:Transition.IN,
duration:2, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
Photo transition
ActionScript Class Name
Description
A transition effect: Makes the movie clip object appear or disappear like a photographic flash.
This class is used by specifying
for the TransitionManager class.
Example
The following code creates an instance of TransitionManager that applies the Photo transition
to a content target movie clip img1_mc. The TransitionManager class applies a direction of
mx.transitions.Transition.IN
import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start (img1_mc, {type:Photo, direction:Transition.IN,
duration:1, easing:None.easeNone});
PixelDissolve transition
ActionScript Class Name
Parameters
An integer that indicates the number of masking rectangle sections along the
xSections
horizontal axis. The recommended range is 1 to 50.
An integer that indicates the number of masking rectangle sections along the
ySections
vertical axis. The recommended range is 1 to 50.
. The
target of the transition is the movie clip
content
mx.transitions.Photo
mx.transitions.Photo
over a duration of 1 second with no easing.
mx.transitions.PixelDissolve
mx.transitions.Transition.IN
easing calculation method.
as a
transObject.type
Transition-based classes
parameter
1253

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents