var blur:BlurFilter = new BlurFilter();
blur.blurX=20;
blur.blurY=20;
blur.quality=BitmapFilterQuality.LOW;
displayObjectToBlur_mc.filters=[blur];
Subscribe to:
Post Comments (Atom)
Very simple snippets that tell you just what you need to solve everyday ActionScript tasks.
1 comment:
can also shorten that to:
target_mc.filters[new BlurFilter(4,4,BitmapFilterQuality.LOW)];
:)
Post a Comment