for some reason i can’t seem to get my head around how to do this.
basically i want to tween in a movieclip (flies in vertically) and as it tweens in i want it to blur and as the tween class tween ends, i want the blur to fade out. Maybe as the tween reaches it’s halfway point the blur could decrease so it comes to a nice natural stop.
i’ve been over the tutes and can’t seem to get a grip on it…
here’s my (NEW) code (not anywhere close at this point):
startMain=function(){
var t1:Tween = new Tween(tallClip, "_y", Bounce.easeOut, startPos, targetPos, 3, true);
var t2:Tween = new Tween(tallClip, "_alpha", None.easeNone, 0, 100, .25, true);
t1.onMotionChanged=function(){
trace("duration: "+this.duration);
trace(this.time);
var blurAm:Number = ((this.duration - this.time)*10)/2;
trace("BLURAM: "+blurAm);
var myBlur = new flash.filters.BlurFilter();
var myBlur:BlurFilter = new BlurFilter(0, blurAm, 3);
var myTempFilters:Array = new Array();
myTempFilters.push(myBlur);
_root.tallClip.filters = myTempFilters;
}
}
startMain(startPos, targetPos);
at this point i can’t seem to even get the blur applied to my clip properly…
ggrrr!!!