Effects Flex


               width="460" height="428">

    
        
            import flash.filters.*;
            protected const SHADOW:Class = flash.filters.DropShadowFilter;
            
            protected function addFilter(value:Class):void {
                
                var arr:Array = this.filters.concat();
                var fil:BitmapFilter = new value() as BitmapFilter;
                arr.push(fil);
                filters = arr;
            }