Blinds transition

ActionScript Class Name mx.transitions.Blinds

Parameters

numStrips The number of masking strips in the Blinds effect. The recommended range is 1 to 50.

dimension An integer that indicates that the Blinds strips are to be vertical (0) or horizontal (1).

Description

A transition effect: Reveals the movie clip object by using appearing or disappearing rectangles.

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

Example

The following code creates an instance of TransitionManager that applies the Blinds transition with ten numStrips and a dimension integer specified as vertical (0). The content target of the transition is the movie clip img1_mc. The TransitionManager instance 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:Blinds, direction:Transition.IN, duration:2, easing:None.easeNone, numStrips:10, dimension:0});