The displacementMapFilter class gives us the ability to displace image pixels by using colors. You can use this filter to achieve a warped or mottled effect on a BitmapData or MovieClip. It uses the pixel values from the specified BitmapData (called the displacement map image) to perform a displacement. Combined with noise or perlinNoise effects this can be a powerfull image manipulation tool.
In this example I am using a gradient movieClip to displace my image and create a flag effect. The black and white make my pixels grow or shrink using.
DisplacementMapFilter(bitmap, point, componentX, componentY, scaleX, scaleY);
Where component X & Y describe which color channel to use in the map image to displace the x & y result. Use the slider to accentuate the componentX & Y values and reach the desired effect.

felsefe said...
Looks very informative.
Thanks for article,
Keep up the good work.
Regards.
Annette said...
good effect - do you seel these onto template developers? - If not you should. I paid a small fortune for a water ripple recently
Directorio de Tomelloso said...
These effects are great, well documented and very useful for newbies like us.
If you made a component with some of these, would be
a success of sales.