New to AS3 and I’ve tried a few methods but they aren’t worth posting. Here is the AS2 code, all it is is a roll-over and roll-off event/effect.
var gf:GlowFilter = new GlowFilter(0xFFFFFF, 100, 0, 0, 3, 3, false, false);
var blurXTween:Tween = new Tween(gf, "blurX", Elastic.easeOut, 5, 2, 1, true);
var blurYTween:Tween = new Tween(gf, "blurY", Elastic.easeOut, 5, 2, 1, true);
title.onRollOver = function( ) {
blurXTween.continueTo(15, 1);
blurYTween.continueTo(15, 1);
}
title.onRollOut = function( ) {
blurXTween.continueTo(5, 2);
blurYTween.continueTo(5, 2);
}
blurXTween.onMotionChanged = function(){
title.filters = [gf]
}