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, ease:String, direction:String, moveDirection:String, refreshFrame:Boolean |
MovieClip the transition will start with Time in frames the trasition will take ease setting for moving-in transition (easy demo here) set whether the transition will flap "in" or "out" Moving direction of the transition If true, the filter will redraw every frame (i.e. for video) |
| removeFilter() | none | Remove the filter from stage |
Example:
| // attach filter on stage var myFilter:MovieClip = attachMovie("CutTransitionEffectAS2", "CutTransitionEffectAS2", 1); // init the filter with parameter myFilter.init(img01, 50, "easeInOutQuad", "in", "l->r", true); // set a listener to get an event when the transition in done var eventListener = new Object(); eventListener.onComplete = function(){ trace("transition done"); } myFilter.addEventListener("onComplete",eventListener); |
The example files delivered with the filter contain ActionScript examples.