CLICK HERE TO COPY
Actionscript:
[SWF(width = 800, height= 600)]
var sw:Number = 800;
var sh:Number = 600;
var pixelNum:int = sw * sh;
var blurAmount:Number = 10;
var pnt:Point = new Point(0,0);
var rect:Rectangle = new Rectangle(0,0,sw,sh);
var canvas:BitmapData = new BitmapData(sw, sh, false, 0x000000);
var buffer:BitmapData = new BitmapData(sw, sh, false, 0x000000);
var feed :BitmapData = new BitmapData(sw, sh, false, 0x000000);
var prev :BitmapData = [...]