Blur filter

Hi,

i am trying to use the blur filter… myMc is blurred fine untill i load a new swf into it, than the blur filter is removed… is there any way to avoid this?

  import flash.filters.BlurFilter;
 var filterArray:Array = new Array();
 var filter:BlurFilter = new BlurFilter(100, 100, 2);
 filterArray[0] = filter;
 myMC.filters = filterArray;

many thanks,
Gareth

You could try putting it in a function and everytime u load an swf into myMC u call the function.

Or you can put another movieclip into myMC and load the external files into that MC instead.

/Mirandir

yep tried that but the blur is still lost once the movie is loaded

apply the blur after the movie is loaded…

If its not part of some sort of animation you could just blur the graphic in photoshop.

yep tried that but the blur is still lost once the movie is loaded

Strange. It works just fine for me. Loading a movie into a child movieclip should not remove a filter on the parent movieclip.

/Mirandir

I agree with Mirandir. Filter should stay. It’s the way videos can be applied filters… put them in a container…