If you are using this effect on the timeline you can easily set the parameters in the component inspector inside of Flash 8 or Flash CS3 (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, 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 come "in" or move "out" If true, the filter will redraw every frame (i.e. for video) |
| removeFilter() | none | Remove the filter from stage |
Example:
| // attach filter on stage myFilter = attachMovie("IrisTransitionEffectAS2", "IrisTransitionEffectAS2", 1); // init the filter with parameter myFilter.init(img01, 75, "easeInOutBounce", "in", false); // 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.