O'Reilly logo

ActionScript 2.0 Language Reference for Macromedia® Flash® 8 by Shimul Rahim, Robert L. Dixon, Jen deHaan, Francis Cheng

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DisplacementMapFilter (flash.filters.DisplacementMapFilter)

Object
  |
  +-flash.filters.BitmapFilter
     |
     +-flash.filters.DisplacementMapFilter

public class DisplacementMapFilter
extends BitmapFilter

The DisplacementMapFilter class uses the pixel values from the specified BitmapData object (called the displacement map image) to perform a displacement of an object on the Stage, such as a MovieClip instance. You can use this filter to achieve a warped or mottled effect on a BitmapData or MovieClip instance.

The use of filters depends on the object to which you apply the filter.

To apply filters to movie clips at runtime, use the filters property. Setting the filters property of an object does not modify the object and can be undone by clearing the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required