retorna filters a null ejemplo
Código PHP:
var sprite:Sprite=new Sprite();
sprite.graphics.beginFill(0xff0000);
sprite.graphics.drawRect(0, 0, 100, 100);
sprite.graphics.endFill();
sprite.filters=[getBitmapFilter()];
addChild(sprite);
function getBitmapFilter():BitmapFilter {
var color:Number=0x33CCFF;
var alpha:Number=0.8;
var blurX:Number=35;
var blurY:Number=35;
var strength:Number=2;
var inner:Boolean=false;
var knockout:Boolean=false;
var quality:Number=BitmapFilterQuality.HIGH;
return new GlowFilter(color,
alpha,
blurX,
blurY,
strength,
quality,
inner,
knockout);
}
addEventListener(MouseEvent.CLICK,clearEffect)
function clearEffect(event:MouseEvent):void{
sprite.filters=null
}