This content has been marked as final. Show 9 replies
check the tween class.
> check the tween class.
I looked at it today, but only found out to tween regular properties.
what is it that you want to tween?
> what is it that you want to tween?
I have a four squares but with a centerpoint not in the center, on
different positions. I can tween it with keyframes but I thought it
might be possible to tween them with the bounds. Like in director you
can tween easily a sprite rect because you can calculate two rects into
Once I saw some prototypes setting the left,upper etc. witch comes near
my idea. The thing is, some tweens look more dynamicly when you programm
them. With bounce back etc. like Bounce and Elastic transitions in the
tween class. But the ones in the tween class looked a bit to stiff for
me (with to few parameters).
Well I did some frame tweening and will see if my customer likes it this
the tween class has bounce and elastic etc transitions. and is there some reason you've positioned your square's registration point in an inconvenient location?
> the tween class has bounce and elastic etc transitions.
yes, but I only found a way to set time, property, start, end and
destination. no space finetuning?
> and is there some reason you've positioned your square's registration point in an inconvenient location?
for conveniece in first place.
> destination. no space finetuning?
I meant no space for fine tuning. Like making it reeeal smooth or
something like that.
then use setInterval() and updateAfterEvent() for your tweens.
> then use setInterval() and updateAfterEvent() for your tweens.
I usually use onEnterFrame scripts that I put on a clip and delete it
after animation is done. Or I just overwrite it.
But this has not much to do with the subject ... "setBounds"!?