If you are using this effect on the timeline you can easily set the parameters in the component inspector inside of 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, end_mc:MovieClip, tileHeight:Number, tileWidth:Number, duration:Number, distance:Number, color:Number, turn:String, randomSeed:Number, refreshFrame:Boolean |
MovieClip the transition will start with Movieclip the trasition will end with Sets the width of the tile in pixel Sets the height of the tile in pixel Duration in frames of the transition Distance of the tiles Color of the transition between the images Turn of the tiles Random Seed to generate the distance of the tiles 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:FlyingTileTransitionEffectAS3 = new FlyingTileTransitionEffectAS3(); // init with parameters effect.init(img04_mc, img05_mc, 75, 75, 50, 30, 0xFFFFFF, FlyingTileTransitionEffectAS3.TURN_RIGHT, 1); // add to stage addChild(effect); // add callback listener effect.addEventListener(FlyingTileTransitionEffectAS3.ANIMATION_DONE, _onAnimationDone); // callback function function _onAnimationDone(e:Event):void { trace("onAnimationDone"); } |
The example files delivered with the filter contain ActionScript examples.