google-code-export / eaze-tween

Automatically exported from code.google.com/p/eaze-tween
1 stars 0 forks source link

using apply( {...} ) and delay( 0 ) the tween stops. #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
eaze( this ).apply( { scale: 0 } ).delay( ( index * .04 ) ).to( .4, {
scale: 1 } ).onComplete( onIntroComplete );

will break the chain if index == 0. (.to) never runs.
The delay is unnecessary in that case but I often use delay based on a
value from a loop with an index starting on zero. 

.delay( ( index * .04 ) + .001 ) will do the trick but is pretty ugly. 

I'm using eaze-r68

Original issue reported on code.google.com by jakobste...@gmail.com on 10 Feb 2010 at 2:34

GoogleCodeExporter commented 9 years ago

Original comment by philippe...@gmail.com on 10 Feb 2010 at 3:52

GoogleCodeExporter commented 9 years ago
Fixed in r69 - that was a defect in chaining of O-duration tweens (delay, 
apply, to(0), 
from(0))

Original comment by philippe...@gmail.com on 23 Feb 2010 at 11:05