Based on this very good tutorial by Canadian http://www.kirupa.com/developer/flash8/filter_effects2.htm
I would like to have the filter onEnterframe and when it goes for ex. up blurX equal to 20 it would go gf.blurX–; until it reaches 0 , and then loop up to 20 and so on.
Can anyone help?
I have used this code so far dont know how to continue:
import flash.filters.GlowFilter;
var gf:GlowFilter = new GlowFilter(0x356D83, 100, 3, 3, 5, 3, false, false);
kText.filters = [gf];
kText.onEnterFrame = function() {
if (gf.blurX < 10) {
gf.blurX++;
gf.blurY++;
}
if (gf.blurY >3) function(){
gf.blurX--;
gf.blurY--;
}
kText.filters = [gf];
};