So I've got this clip that I want to apply a super smooth scripted
blur. This script does a great job however, the blur sort of pops at
the end and than just becomes clear. Instead of smoothly making
its transition from blurred to clear you see a noticeable transition
from blurred to clear. Am I missing something here that would make
my clip, main_image_mc, smoothly transition? Would you consider this
the best practice for doing a blurred image->clear image transition?
import flash.filters.BlurFilter;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var myTween:Tween = new Tween(main_image_mc, "blur",
Regular.easeIn, 10, 0, 5, true);
myTween.onMotionChanged = function() {
main_image_mc.filters = [new BlurFilter(main_image_mc.blur,
main_image_mc.blur, 5)];
};
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com