Hi,
I have managed to crib a script to blur a movie clip on my main stage, however i cant work out how to un-blur it, if you see what i mean.
Im after the simplest way of bluring and unbluring a movie. I dont want to use the actual filters tab as the content of the movie clip will change.
The code i have got to blur the clip is:
Code:
import flash.filters.BlurFilter;
var blurX:Number = 20;
var blurY:Number = 20;
var quality:Number = 1;
var filter:BlurFilter = new BlurFilter(blurX, blurY, quality);
var filterArray:Array = new Array();
filterArray.push(filter);
_root.allContent.filters = filterArray;
_root.allContent._alpha=40;
Is there an easier way of doing this? and how can i remove all the filter settings? ideally toggle it on and off using a frame action.
Hope that makes sense.
Cheers
Neil