The answers were correct ... you need DisplacementMapFilter
!!
The displacement value should be gray in general β means the absence of distortion and the addition of a white and gray radial gradient to each lower and upper edge:



And with Map you will go like this:
package { import flash.display.BitmapData; import flash.display.BitmapDataChannel; import flash.display.Loader; import flash.display.Sprite; import flash.events.Event; import flash.filters.DisplacementMapFilter; import flash.filters.DisplacementMapFilterMode; import flash.geom.Point; import flash.net.URLRequest; public class DistortImage extends Sprite { private var sourceImage:Loader; private var distortMap:Loader; public function DistortImage() { super();
source share