If you are using this effect on the timeline you can easily set the parameters in the component inspector inside of Flash 8, Flash CS3 or Flash CS4 (what is a component inspector?).
To see what results you get from changing any of these options please click Try Yourself and play around with the seetings.

Below the methods for this effect.
| Method | Parameter | Description |
|---|---|---|
| init() | start_mc:MovieClip, duration:Number, direction:String, lines:Number, refreshFrame:Boolean |
MovieClip the transition will apply to Time in frames the trasition will take Direction of the lines to apear Number of lines to create If true, the filter will redraw every frame (i.e. for video) |
| removeFilter() | none | Remove the filter from stage |
Example:
| // create effect instance var effect:WipeTransitionEffectAS3 = new WipeTransitionEffectAS3(); // init with parameter effect.init(img04_mc, 75, WipeTransitionEffectAS3.BOTTOM_TO_TOP, 4, true); // add to stage addChild(effect); // add callback listener effect.addEventListener(WipeTransitionEffectAS3.ANIMATION_DONE, _onAnimationDone); // callback function function _onAnimationDone(e:Event):void { trace("onAnimationDone"); } |
The example files delivered with the filter contain ActionScript examples.