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, speed:Number, flipSide:Number, ease:String, dir:String |
MovieClip the transition will start with Time in frames the trasition will take Side of flaping ease setting for moving-in transition (easy demo here) set whether the transition will flap "in" or "out" |
| removeFilter() | none | Remove the filter from stage |
Example:
| // attach filter on stage var myFilter:MovieClip = this.attachMovie("FlapTransitionEffectAS2", "FlapTransitionEffectAS2", 1); // init the filter with parameter myFilter.init(img1_mc, 50, "L", "easeInOutBounce", "in"); // 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.