Implemented the blur filter to the scroll. The maximum width and height for a bitmap instance is 2880 pixels, if a filter were to apply to the instance, the filter wont not work.
However we can work around this by using the scrollRect property. If the scrollRect is set to a flash.geom.Rectangle object, the movie clip will be cropped to the size set, this will ensure that the apply area will not be larger than 2880 pixels unless you set your stage size larger to that.
// set the scrollbar content width and height var sWidth:Number=350; var sHeight:Number=250;
// set allowance at the end of the scroll var allowance:Number=3;
// declare the scrollRect area using the Rectangle class var rect:Rectangle=new Rectangle(0,0,sWidth,sHeight);
// declare blur filter using the Filter class var blur:BlurFilter=new BlurFilter(0,3,5);
// calculate the content height & add allowance to it var cHeight:Number=Math.ceil(content_mc._height)+allowance;
scroll_mc._height=Math.floor(sHeight/cHeight*sHeight); // set the scrollbar height
// bitmap caching for content_mc
content_mc.cacheAsBitmap=true;
var top:Number=0; var btm:Number=sHeight-scroll_mc._height;