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

Zeh Fernando zeh at zehfernando.com
Wed Jul 23 11:36:10 PDT 2008


> Thanks Zeh, I think my problem has something to do with tweening a movie 
> within a movie with the filter applied to the child.  When I applied the 
> filter to the container, it worked fine, and will work for what I need.
> Whats the reasoning for not using height and using scale instead?

Because then they're too dependent of the content, which may change, 
because you can't use some values (like 0, or very low values) without 
screwing up the object scale, because you cannot use negative values, 
and because you can't set a width/height if there's no readily visible 
assets inside of it. Those are conditions in which changing the *scale* 
instead works as expected.

Of course using scale means you have to know what's the scale instead, 
so mathematically it can be more difficult animating to it, but it's a 
'more correct' way of doing things most of the time. Not *every* time - 
if you want to scale a single, static image, it makes sense to use width 
and height - but *most* of the time.

Zeh


More information about the Tweener mailing list