[Tweener] x and y settings change during scaleX/Y Tween

Graeme Blackwood grayhammy at hotmail.com
Thu Oct 29 02:23:01 PDT 2009


Matt,

Sounds to me like you have your registration point top left?  Just go into the Movie Clip or button and make sure everything is aligned centre (using the align panel).  And of course you have to ensure you scale both x AND y.  Simply scaling x is just going to stretch it horizontally.  If you are scaling bitmaps, I would also make sure that smoothing is on.  To do this right click on the bitmap in the library panel and click properties.  Then check the enable smoothing button.

This is all if I have understood your correctly.  Oh and Bardo, from what I can tell Tweener is absolutely fine for what Matt wants to do.  It's still a great tweening engine.  I am starting to use TweenLite a bit more now, but that is mainly because of the performance with a lot of simulatenous tweens.  Tweener performs equally well with all the other engines (from what I can tell) for less complex requirements.

G

From: Matt Tedeschi 
Sent: Thursday, October 29, 2009 1:25 AM
To: tweener at lists.caurinauebi.com 
Subject: Re: [Tweener] x and y settings change during scaleX/Y Tween


Just wanted to say this wasn't a Tweener issue, sorry for the extra post.


--------------------------------------------------------------------------------


Rough, not sure what to do here.  All I need to do is tween some images so that when you roll on, the object scales straight forward keeping its perspective, but it scales to the right & down.  

Any value I give x: makes the others lose there footing and slice all over the place.

I'm using e.target as my object to Tween.  Everything works great except providing a value for x:.  

Is there any way to lock my X/Y values or change the registration point my object?

Thanks -


--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
New Windows 7: Find the right PC for you. Learn more. 


--------------------------------------------------------------------------------


_______________________________________________
Tweener mailing list
Tweener at lists.caurinauebi.com
http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20091029/b20713ad/attachment.htm>


More information about the Tweener mailing list