[Tweener] Applying filter after Tween results in movie shifting...

Mike Lohrman mikelohrman at yahoo.com
Wed Jul 23 10:24:29 PDT 2008


I have a movie clip(movie2) within a movie clip(movie1).   Originally I had a drop shadow filter on (movie2), and it worked fine.  I later decided to tween (movie2) and after it was done tweening, add the drop shadow.  It adds the shadow, but shifts (movie2) to the right 4px...Any idea why adding the filter changes the position?  I'm not even sure this is a Tweener problem, but I know it works fine if I don't tween the movie first.

var dropShadow:DropShadowFilter = new DropShadowFilter(3, 55, 0x000000, .5, 10, 10, 1, 1, false, false, false);

Tweener.addTween(movie1.blah1.blah2, {height: 322, transition: "easeOutExpo", time: .25, delay: .4, onComplete: function() {movie1.movie2.filters = [dropShadow];}});


Thanks for any help!

Mike



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20080723/4fe6a2fa/attachment.htm>


More information about the Tweener mailing list