Tuesday, February 24, 2009

Blur Using AS3

var blur:BlurFilter = new BlurFilter();
blur.blurX=20;
blur.blurY=20;
blur.quality=BitmapFilterQuality.LOW;
displayObjectToBlur_mc.filters=[blur];

1 comment:

Anonymous said...

can also shorten that to:

target_mc.filters[new BlurFilter(4,4,BitmapFilterQuality.LOW)];

:)