Wipe transition

ActionScript Class Name mx.transitions.Wipe

Parameters

startPoint An integer that indicates a starting position. Range of 1 to 4 and 6 to 9:

Top Left, 1; Top Center, 2; Top Right, 3; Left Center, 4; Right Center, 6; Bottom Left, 7; Bottom Center, 8; Bottom Right, 9.

Description

A transition effect: Reveals or hides the movie clip object by using an animated mask of a shape that moves horizontally.

This class is used by specifying mx.transitions.Wipe as a transObject.type parameter for the TransitionManager class.

Example

The following code creates an instance of TransitionManager that applies the Wipe transition with a startPoint from the top left (1). The content target of the transition is the movie clip img1_mc. The TransitionManager applies a direction of mx.transitions.Transition.IN over a duration of 2 seconds with no easing.

import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Wipe, direction:Transition.IN, duration:2, easing:None.easeNone, startPoint:1});