Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9 |
The Fly class slides the movie clip object in from a specified direction. This effect requires the
following parameters:
startPoint
: An integer indicating a starting position; the range
is 1 to 9: 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
.
For example, the following code uses the Fly transition for the movie clip
instance img1_mc
:
import fl.transitions.*;
import fl.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Fly, direction:Transition.IN, duration:3, easing:Elastic.easeOut, startPoint:9});