Animating (and easing?) Filter Effects

:block:

i was using the kirupa tutorial about “Animating Filter Effects” but i can’t find a way to make an easing in the filter animation…

any ideas?

are you using scripted tweening or timeline?

scripted
http://www.kirupa.com/developer/flash8/filter_effects.htm

[AS]import flash.filters.GlowFilter;
var gf:GlowFilter = new GlowFilter(0x356D83, 100, 3, 3, 5, 3, false, false);
kText.filters = [gf];
kText.onRollOver = function() {
this.onEnterFrame = function() {
if (gf.blurX<20) {
gf.blurX++;
gf.blurY++;
} else {
delete this.onEnterFrame;
}
this.filters = [gf];
};
};
kText.onRollOut = function() {
this.onEnterFrame = function() {
this.filters = [gf];
if (gf.blurX>3) {
gf.blurX–;
gf.blurY–;
} else {
delete this.onEnterFrame;
}
};
};
[/AS]

http://www.kirupa.com/developer/actionscript/tween_part2_pg2.htm