I did an experiment with the Blur Filter in AS 2.0 and I thought it will be great to share this little code 😀
I used MC Tween to animate this 😉

[kml_flashembed movie=”http://blog.vamapaull.com/wp-content/uploads/2008/03/blur-button.swf” height=”200″ width=”450″ /]

Here is the code:

#include "mc_tween2.as"
import flash.filters.BlurFilter;
 
theButton.xBlurTo(11, 3, 1);
theButton.onRollOver = function() {
	this.xBlurTo(0, 3, 2);
}
theButton.onRollOut = function() {
	this.xBlurTo(11, 3, 2);
}
theButton.onRelease = function() {
	this.xBlurTo(110, 3, 2);
	this.alphaTo(0, 1, "linear");
	this.enabled = false;	
}

Something like this can be used for some Enter Site button or some image transmission… or whatever pops to your mind.
Here you have the Source Files