Animating Blur Filter With Actionscript

Hey guys,

I’ve been scouring the internet for the past hour or so in search of how to do this. It’s very simple, but every example seem to want me to bring a loaded movie clip, or trace mouse position. I don’t need that!

Basically I have a button that when clicked comes to the front (using behaviours), moves to a new position, scales and then I want every other button behind it to blur. Obviously I want them to blur gradually to keep the flow going.

Here’s my current code so you can see where its going:

[FONT=“Courier New”]on (release) {

import mx.transitions.easing.*;
import mx.transitions.Tween;
import flash.filters.BlurFilter;

//Bring to Front Behavior
mx.behaviors.DepthControl.bringToFront(_root.testimonials_content.testimonial1);
//End Behavior

//gets rid of buttons
gotoAndPlay("no_buttons");

//brings to centre	
var testimonialX:Tween = new Tween(testimonial1, "_x", mx.transitions.easing.Back.easeOut, -377, 0, 10, false);

testimonialX.onMotionFinished = function() {

	//scaling
	var testimonialH:Tween = new Tween(testimonial1, "_height", mx.transitions.easing.Bounce.easeOut, 134, 333, 10, false);
	var testimonialW:Tween = new Tween(testimonial1, "_width", mx.transitions.easing.Bounce.easeOut, 146, 363, 10, false);

	[COLOR="Red"]//blurs other testimonials[/COLOR]

}

}[/FONT]

All the instances are already on the stage so I don’t want to go calling anything else in.

So how do I simply say I want testimonial to blur over 5 frames or so?

Cheers!