The problem i am having is that the whole array animates at the same time, no delay between the tweens.
Because for all items, delay is 1, instead i*n, then all items animates after 1 seconds.
for (i in 0...myarr.length)
{
var img = myarr[i];
Actuate.tween(img, 1, {scaleX:1, scaleY:1}).delay(i*2).onComplete(function(){
Actuate.tween(img, 1, {scaleX:0, scaleY:0});
});
}
OR
for (i in 0...myarr.length)
{
Actuate.tween(myarr[i], 1, {scaleX:1, scaleY:1}, false).delay(i*2);
Actuate.tween(myarr[i], 1, {scaleX:0, scaleY:0}, false).delay(i*2 + 1);
}