Automatic Tween Overwriting

2 views
Skip to first unread message

Mark

unread,
Jul 23, 2008, 11:11:52 AM7/23/08
to KitchenSyncLib for AS3
Does KitchenSync automatically overwrite tweens on an object, or do I
explicitly have to set it to do so? That is, if I have two separate
KSTween actions competing for the same property of the same object
(say scaleX), does the second tween stomp on the first tween, or wait
for it to complete, or immediately set the first tween to the final
value and then start executing?

I'm thinking of an equivalent to TweenLite and its "overwrite"
property.

-Mark

mimsh...@gmail.com

unread,
Jul 23, 2008, 6:42:48 PM7/23/08
to KitchenSyncLib for AS3
Hey mark,

The short answer is no. There is no management of tweens that target
the same property at the moment. I think you would get 'unpredictable
results' if you tried it. You'll just have to make sure to stop the
first tween before starting the second.
Feel free to add a feature request to the project site and I'll try to
add it to the next version (of course you're welcome to add that
feature yourself if you're up to it)

Mims H. Wright
http://mimswright.com

Mark Llobrera

unread,
Jul 24, 2008, 1:05:22 PM7/24/08
to kitchen...@googlegroups.com
Mims-

Thanks. I might look into it when I have an extra minute. In the meantime I'll just make sure to explicitly stop any previous tweens that might compete for an object.

-Mark
Reply all
Reply to author
Forward
0 new messages