MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 1249

Components language reference
Table of Contents

Advertisement

A collection of parameters that are passed within an object.
transParams
The
object should contain a
transParams
class to be applied, followed by
you must include any parameters required by that transition effect class. For example, the
mx.transitions.Iris
parameters. So, in addition to the
transition requires, you would also add (to the
parameters that the
shape
and
startPoint
shape
{type:mx.transitions.Iris, direction:mx.transitions.Transition.IN,
duration:5, easing:mx.transitions.easing.Bounce.easeOut,
startPoint:5, shape:mx.transitions.Iris.CIRCLE}
To verify the additional required parameters for the transition class effect that you are
specifying in the
transParam
For example, for more information about the Blinds transition class, see
on page
1250.
The transParams object's type parameter should include the full class-package name of
the classes specified for its parameters unless they are already imported by using the
import statement. To avoid having to provide the full class-package name for all the
transParams parameter collection, place the following import statements previously in
your code to import all mx.transitions classes and all mx.transitions.easing
classes:
import mx.transitions.*;
import mx.transitions.easing.*;
Returns
An instance of the Transition object that the TransitionManager instance is assigned to apply.
Description
Method; creates an instance of the TransitionManager class if one does not already exist,
creates an instance of the specified transition class designated in the transParams.type
parameter, and then starts the transition. The transition is applied to the slide or movie clip
that is designated in the content parameter.
type
,
direction
duration,
transition effect class requires additional
,
type
duration,
mx.transitions.Iris
parameters to the
mx.transitions.Iris
object's
parameter, see the API for that transition class.
type
parameter that indicates the transition effect
and
easing
startPoint
and
parameters that every
easing
object) the
transParams
effect requires. The following code adds
effect:
TransitionManager.start()
parameters. In addition,
and
shape
and
startPoint
"Blinds transition"
1245

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents